/* Add your custom styles here */

/*h1,h2*/
h1{
  color: #11461e;
}
h2{
  color: #11461e;
}

.navbar-nav .nav-item {
  position: relative;
}
.navbar-link {
  font-weight: bold;
}
.nav-link {
  color: #11461e !important;
  font-weight: bold !important;
  font-size: 18px !important;  /* Change the size as per your preference */
}
.navbar-nav .nav-item::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #f21008;
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-item:hover::before {
  width: 100%;
}

.card{
  width: 100%;
}
/*css class*/
.text-center-card{
  text-align: center;
}

.card-img-top {
  margin-top: auto;
  width: 100%;
  height: 100%;
}
/*make footer bg green*/
footer{
  background-color: #000000;
  color: white;
}
/*footer links make them not underlined and white not hilighted blue */
footer a{
  color: white;
  text-decoration: none;
}
/*footer links when u hover over them make them grey underlined*/
footer a:hover{
  color: red;
  text-decoration: none;
}
/*footer image size*/
.custom-logo {
  max-width: 200px; /* or any size you want */
}

/* Adds a bit of spacing to "Responsive Grid Row" blocks. */
.crx-grid {
  padding-top: 40px;
  padding-bottom: 40px;
}
.crx-grid .crx-grid {
  padding-top: 0;
  padding-bottom: 0;
}

/* Carousel styling */
.carousel {
  z-index: 1;
}

/* Navbar/Dropdown styling */
.navbar, .dropdown-menu {
  z-index: 1000; /* This ensures the navbar and dropdown menu appear above the carousel */
}

/*touch-navbar*/
.touch-navbar {
  margin-top: -38px !important; /* Adjust based on what you found in developer tools */
}

/*Key Milestones/Achievements - ensure cards are equally spaced*/
.uniform-card .card-body {
  display: flex;
  flex-direction: column; 
  justify-content: space-between;
  height: 100%;
}

.uniform-card .card-title, .uniform-card .card-subtitle {
  height: 75px;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
}

.uniform-card .card-text {
  overflow: hidden; /* Hide overflow content */
  padding-bottom: 1rem; /* Spacing between text and image */
}

.uniform-card .card-img-top {
  object-fit: cover;
  width: 100%; /* Ensure image takes full width of the container */
  flex-shrink: 0; /* Prevents the image from shrinking if there's space constraint */
}


@media (min-width: 768px) { /* Adjust breakpoint if necessary */
  .uniform-card .card-body {
    flex-direction: column; /* Image on top for larger screens */
  }
}


/*events*/

.events .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ensures the card body takes the full height of the card */
}
@media (min-width: 768px) { /* Adjust breakpoint if necessary */
  .events .card-body {
    flex-direction: column; /* Image on top for larger screens */
  }
}

.events .card-title{
  height: 65px; /* Or whatever fixed height you want */
  overflow: hidden; /* Hide any content that exceeds the fixed height */
}

.events .card-text {
  height: 150px; /* Adjust based on your needs */
  overflow: hidden; /* Hide overflow content */
  padding-bottom: 1rem; /* Spacing between text and image */
}
.events .card-img-top {
  object-fit: cover;
  width: 100%; /* Ensure image takes full width of the container */
  flex-shrink: 0; /* Prevents the image from shrinking if there's space constraint */
}
/*news*/
.latestnews .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* Ensures the card body takes the full height of the card */
}

.latestnews .card-title{
  height: 40px; /* Or whatever fixed height you want */
}

.latestnews .card-text {
  height: 110px; /* Adjust based on your needs */
}
.latestnews .card-img-top{
  object-fit: cover;
  width: 100%; /* Ensure image takes full width of the container */
  flex-shrink: 0; /* Prevents the image from shrinking if there's space constraint */
}

.whatsapp-wrapper {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}

.floating-whatsapp {
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}