
    :root{
      --primary:#8ec04f;
      --primary-2:#7eb145;
      --secondary:#010064;
      --accent:#386e4d;
      --muted:#000000;
      --light-bg:#e2e7db;
      --card-bg: rgba(43,81,117, 0.55);

        /* define consistent heights */
  --topbar-height: 32px;   /* adjust to your actual top-bar height */
  --nav-height: 54px;      /* adjust to your navbar height */
  --footer-height: 50px;   /* adjust to your footer height */
    }

    /* Basic page constraints - single viewport, no scroll */
    
    
    body, html{
      height:100%;
      margin:0;
      padding:0;
      font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial;
      background: var(--light-bg);
      overflow: hidden; /* NO scrolling */
      color: var(--muted);
      top: 0px !important;
      
    }


    body.inner-page, html{
      overflow: visible;
    }

    /* Top bar (solid) */
    .top-bar{
      position: sticky;
      top: 0;
      left: 0;
      color: #fff;
      z-index: 1050; /* stay above slider */
      font-size: 0.85rem;
      width:100%;
      background: rgba(7,62,22,1);
      padding: 10px 1rem;
      display:flex;
      justify-content:space-between;
      align-items:center;
      box-sizing: border-box;
      min-height: 40px;
    }

    /* Topbar content styling */
    .top-bar .flex-grow-1 {
      flex: 1;
      margin-right: 1rem;
      font-size: 0.85rem;
      line-height: 1.4;
    }

    /* Language select styling */
    .top-bar #customTranslate {
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      color: #fff;
      border-radius: 4px;
      padding: 0.25rem 0.5rem;
      font-size: 0.8rem;
      min-width: 140px;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 0.5rem center;
      background-size: 12px;
      padding-right: 2rem;
    }

    .top-bar #customTranslate:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(142, 192, 79, 0.3);
    }

    .top-bar #customTranslate option {
      background: rgba(7,62,22,0.95);
      color: #fff;
      padding: 0.5rem;
    }

    /* Hide Google Translate element */
    .top-bar #google_translate_element {
      display: none !important;
    }

    /* Topbar hover effects */
    .top-bar #customTranslate:hover {
      background: rgba(255,255,255,0.15);
      border-color: rgba(255,255,255,0.3);
    }

    /* Topbar contact info styling */
    .top-bar .flex-grow-1 {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Ensure proper spacing between elements */
    .top-bar > * {
      flex-shrink: 0;
    }

    /* Topbar container improvements */
    .top-bar {
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    

/*----------------------------*/


    /* Transparent navbar overlay */
    .site-nav {
      position: fixed;
      left:0;
      right:0;
      background: rgba(7,62,22, 0.4); /* slight tint for legibility */
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      padding: 0.05rem 1rem;
      box-sizing: border-box;
      top: var(--topbar-height);
      width: 100%;
      z-index: 1040;
    }

    /* Navbar brand area: logo left, multiline title to its right */
    .brand-block{
      display:flex;
      align-items:center;
      gap:0.8rem;
    }
    .brand-block img.logo {
      width: calc(6vw + 28px); /* responsive logo size */
      max-width: 64px;
      height: auto;
      display:block;
    }
    .site-title {
      line-height:0.6;
      color: #fff;
      font-weight:600;
      text-shadow: 0 1px 2px rgba(0,0,0,0.4);
      font-size: calc(1rem + 0.2vw);
      white-space:pre-line;
    }
    .site-title small {
      display:block;
      font-weight:600;
      font-size:0.85em;
      color: rgba(255,255,255,0.95);
    }

    /* Make nav links white and readable */
    .site-nav .nav-link, .site-nav .navbar-toggler { color: #fff !important; }
    .site-nav .nav-link:hover { color: var(--primary) !important; }
    .site-nav .dropdown-menu { background: rgba(10,40,20,0.9); border:none; }
    .site-nav .dropdown-item { color: #fff; }
    .site-nav .dropdown-item:hover { background: rgba(255,255,255,0.03); }
    
    .dropdown-hover:hover > .dropdown-menu {
  display: block;
  margin-top: 0; /* fix jump */
}


    /* Hero (slider) occupies the calculated "hero-height" area, JS sets it */
    .hero {
      position: fixed;
      top: calc(var(--topbar-height));
      left: 0;
      width: 100%;
      height: calc(100vh - var(--topbar-height) );
      overflow: hidden;
      margin: 0 !important; /* remove margin-top gap */
    }
/* kenburn carousel*/
.carousel, .carousel-inner, .carousel-item {
  height: 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1) translate(0,0);
}

/* Ken Burns on active slide */
.carousel-item.active img {
  animation: kenburns 10s ease-in-out forwards;
}

/* Reset others */
.carousel-item:not(.active) img {
  animation: none !important;
  transform: scale(1) translate(0,0);
}

@keyframes kenburns {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.2) translate(1.5%, 1.5%); }
}

    
    /* Keep captions styled */
    .carousel-caption {
      position: relative;
      left: 20%;
      bottom: 65%;
      background: rgba(94,94,94,0.5);
      padding: 1.1rem 1.6rem;
      border-radius: 10px;
      color: #fff;
      max-width: 60%;
      text-align:center;
      opacity:0;
      transition: opacity .6s ease;
      box-shadow: 0 6px 22px rgba(3,16,6,0.45);
    }
    .carousel-item.active .carousel-caption {
      opacity:1;
    }
    

/*tabs styles*/

  .profile-pic {
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  .profile-pic:hover {
    transform: scale(1.1);
  }

  /* Dynamic sizes */
  @media (max-width: 576px) {   /* Mobile */
    .profile-pic { width: 70px; height: 70px; }
  }
  @media (min-width: 577px) and (max-width: 992px) { /* Tablet */
    .profile-pic { width: 90px; height: 90px; }
  }
  @media (min-width: 993px) {   /* Desktop */
    .profile-pic { width: 130px; height: 130px; }
  }

    
    /* Overlay cards container (just above footer) */
    .overlay-cards {
      position: absolute;
      left: 2%;
      right: 2%;
      bottom: calc(var(--footer-height, 2vh) + 1%); /* leave space for footer, JS sets footer height var //*/
      z-index:1050;
      display:flex;
      gap: 1.6%;
      justify-content: space-between; /* ensure justification */
      align-items: flex-end;
      pointer-events: auto;
      box-sizing: border-box;
      flex-wrap: wrap;
    }

    /* Each card sized with % (flex-basis) so no px reliance */
    .overlay-card {
      flex: 1 1 18%; /* 5 cards across on large screens (18% each + gaps) */
      min-width: 14%;
      max-width: 18%;
      background: rgba(7,62,22, 0.4);
      border-radius: 12px;
      padding: 1rem;
      box-sizing: border-box;
      text-align:center;
      box-shadow: 0 6px 18px rgba(6,15,10,0.12);
      transform: translateY(18px);
      opacity: 0;
      transition: transform .55s cubic-bezier(.2,.9,.2,1), opacity .55s ease;
      backdrop-filter: blur(6px);
    }
    .overlay-card.show {
      transform: translateY(0);
      opacity: 1;
    }
    .overlay-card i { font-size: 1.6rem; color: #fff; margin-bottom: .45rem; }
    .overlay-card h3 { margin: .45rem 0 .25rem; color: #fff !important; font-weight:700;  }
    .overlay-card h5 { margin:0; color: #fff !important; }
    .overlay-card:hover{
        transform: scale(1.1);
    }

    /* Responsive card sizes */
    @media (max-width: 1100px){
      .overlay-card { flex-basis: 30%; max-width: 30%; min-width: 26%; }
    }
    @media (max-width: 700px){
      .overlay-card { flex-basis: 48%; max-width: 48%; min-width: 46%; }
      .site-title { line-height: 0.6;font-size: 0.95rem; text-align:left; }
    }
    @media (max-width: 420px){
      .overlay-card { flex-basis: 98%; max-width: 98%; min-width: 98%; }
      
      .brand-block img.logo { width: 46px; }
      .site-title {line-height: 0.6; font-size: 0.88rem; }
    }

    /* Footer fixed with 3 sections in a single line */
    footer.site-footer{
      position: fixed;
      left:0;
      right:0;
      bottom:0;
      z-index:1200;
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:1rem;
      padding: 0.6rem 1.2rem;
      box-sizing:border-box;
      background: rgba(7,62,22);
      backdrop-filter: blur(8px);
      color: #fff;
      font-size: 1rem;
      --footer-h: auto;
      font-weight: 600;
    }
    footer.site-footer .left, footer.site-footer .center, footer.site-footer .right{
      display:flex;
      gap: 0.6rem;
      align-items:center;
    }
    footer.site-footer a { color: #fff; text-decoration:none; font-weight:600; }
    footer.site-footer a:hover { text-decoration: underline; color: #c4df9c; }

    footer .dropup .dropdown-menu {
  background: rgba(10,40,20,0.9);
  border: none;
  min-width: 150px;
  top: auto !important;
  bottom: 100%;
  margin-bottom: .5rem;
}
footer .dropup .dropdown-item {
  color: #fff;
}
footer .dropup .dropdown-item:hover {
  background: rgba(255,255,255,0.03);
  color: #fff;
}

.dropdown-hover:hover > .dropdown-menu {
  display: block;
  margin-bottom: 0; /* prevent pushing content */
}
.dropdown-hover > a::after {
  margin-left: 5px;
}

/* small visual helpers */
    .search-input {
      width: 180px;
      max-width: 30vw;
    }
    .lang-select {
      width: 150px;
      max-width: 25vw;
    }
    /* ensure nav toggler visible contrast */
    .navbar-toggler-icon { filter: invert(1) brightness(2); }

    #FaqAccordion1 .accordion-button::after {background-image:none !important;}
    #FaqAccordion1 .accordion-button:not(.collapsed) {background-color:transparent !important;border-bottom:0 !important;box-shadow:none !important}
    
    /* Mobile toggle button styling */
    @media (max-width: 1200px) {
      .navbar-toggler {
        border: 2px solid rgba(255,255,255,0.3);
        border-radius: 6px;
        padding: 0.4rem 0.6rem;
        background: rgba(255,255,255,0.1);
        transition: all 0.3s ease;
      }
      
      .navbar-toggler:hover {
        background: rgba(255,255,255,0.2);
        border-color: rgba(255,255,255,0.5);
      }
      
      .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
      }
      
      .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
        filter: invert(1) brightness(2);
      }
    }

    /* Hero Section Responsive */
    @media (max-width: 991px) {
      .hero {
        height: calc(100vh - var(--topbar-height, 40px) - 60px);
        margin-top: calc(var(--topbar-height, 40px) + 60px);
      }
      
      .carousel-caption {
        position: absolute;
        bottom: 20%;
        left: 20%;
        /*transform: translateX(-50%);*/
        text-align: center;
        width: 90%;
      }
      
      .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
      }
      
      .carousel-caption h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
      }
    }
    
    @media (max-width: 767px) {
      .carousel-caption h2 {
        font-size: 1.2rem;
      }
      
      .carousel-caption h4 {
        font-size: 0.9rem;
      }
      
    }


    /* Footer Responsive */
    @media (max-width: 991px) {
      footer.site-footer {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        text-align: center;
        font-size: 0.8rem;
      }
      
      footer.site-footer .left,
      footer.site-footer .center,
      footer.site-footer .right {
        justify-content: center;
        flex-wrap: wrap;
      }
      
      footer.site-footer .center {
        order: -1;
        margin-bottom: 0.5rem;
      }
    }
    
    @media (max-width: 767px) {
      footer.site-footer {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
      }
      
      footer.site-footer .center a {
        font-size: 0.7rem;
        margin: 0 0.2rem;
      }
      
      footer.site-footer .right a {
        font-size: 1rem;
        margin: 0 0.3rem;
      }
    }

    /* Topbar Responsive */
    @media (max-width: 991px) {
      .top-bar {
        font-size: 0.75rem;
        padding: 8px 0.5rem;
        min-height: 36px;
      }
      
      .top-bar .flex-grow-1 {
        font-size: 0.75rem;
        margin-right: 0.8rem;
      }
      
      .top-bar #customTranslate {
        font-size: 0.75rem;
        min-width: 120px;
        padding: 0.2rem 0.4rem;
        padding-right: 1.8rem;
      }
    }
    
    @media (max-width: 767px) {
      .top-bar {
        font-size: 0.7rem;
        padding: 6px 0.3rem;
        flex-direction: column;
        gap: 0.3rem;
        min-height: auto;
        align-items: stretch;
      }
      
      .top-bar .flex-grow-1 {
        font-size: 0.7rem;
        margin-right: 0;
        text-align: center;
        margin-bottom: 0.2rem;
      }
      
      .top-bar #customTranslate {
        font-size: 0.7rem;
        min-width: 100px;
        padding: 0.2rem 0.3rem;
        padding-right: 1.6rem;
        align-self: center;
        max-width: 200px;
      }
    }

    @media (max-width: 575px) {
      .top-bar {
        padding: 5px 0.2rem;
        gap: 0.2rem;
      }
      
      .top-bar .flex-grow-1 {
        font-size: 0.65rem;
        line-height: 1.3;
      }
      
      .top-bar #customTranslate {
        font-size: 0.65rem;
        min-width: 90px;
        padding: 0.15rem 0.25rem;
        padding-right: 1.4rem;
      }
    }

    @media (max-width: 480px) {
      .top-bar {
        padding: 4px 0.1rem;
        gap: 0.1rem;
      }
      
      .top-bar .flex-grow-1 {
        font-size: 0.6rem;
        line-height: 1.2;
      }
      
      .top-bar #customTranslate {
        font-size: 0.6rem;
        min-width: 80px;
        padding: 0.1rem 0.2rem;
        padding-right: 1.2rem;
      }
    }

/* Inner pages layout fix */
.inner-page body, 
.inner-page html {

  display: flex;
  flex-direction: column;
}

/* Topbar + navbar fixed */
.inner-page .top-bar,
.inner-page .site-nav {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1200;
}

/* Navbar neeche topbar ke adjust ho */
/* .inner-page .site-nav {
  top: calc(--topbar-height);
  position: sticky;
} */



/* Footer fixed */
.inner-page footer.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Sirf inner page ke liye apply hoga */

.sec-padding-overview {
  padding: 140px 0 30px;
}
.sec-padding-history {
  padding: 135px 0 60px;
}
.sec-padding-3 {
  padding: 150px 0 40px;
}

.img-wrap {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-wrap img{
  width: 70%;
  text-align: center;
  margin: 0 auto;
  display: table;
}


@media (max-width: 991px) {
  .sec-padding-history {
    padding: 120px 0 160px;
  }

  .img-wrap img{
    width: 40%;
    text-align: center;
    margin: 0 auto;
        display: table;
  }

}

/* Mobile: 2 cards per row */
@media (max-width: 768px) {
  .img-wrap img{
    width: 60%;
     text-align: center;
     margin: 0 auto;
        display: table;
  }
}

/* Small Mobile: 100% width (1 card per row) */
@media (max-width: 576px) {

}

/* body.inner-page .content {

} */

.bg-image{
  background-image: url(../images/bg.jpg);
  background-repeat: repeat ;
}

.ov-box {
  padding: 3rem;
}

.carousel-buttons {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 35%;
}

/*-------------------------------------------*/
/* Contact Cards Flexbox Layout */
.contact-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  text-align: center;
}

/* Desktop: Equal width cards (5 cards in a row) */
.contact-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  border-radius: 12px;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
}

/* Tablet: 3 cards per row */
@media (max-width: 991px) {
  .contact-card {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 250px;
  }
}

/* Mobile: 2 cards per row */
@media (max-width: 768px) {
  .contact-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 200px;
  }
}

/* Small Mobile: 100% width (1 card per row) */
@media (max-width: 576px) {
  .contact-card {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
}
/* - ----Nav pills----- */
.nav-pill > li.active > button,
.nav-pill > li.active > button:focus,
.nav-pill > li.active > button:hover {
  color: #ffffff !important; /* Desired text color for active state */
  background-color: #8ec04f !important; /* Desired background color for active state */
}
.nav-pill > li > button:not(.active) {
  background-color: #7eb145 !important; /* Desired background color for inactive state */
  color: #ffffff !important; /* Desired text color for inactive state */
}

/* ========== MOBILE & TABLET RESPONSIVE STYLES ========== */
/* These styles only affect mobile and tablet - desktop remains unchanged */

/* Tablet Responsive (768px - 1200px) */
@media (max-width: 1200px) {
  /* Navigation adjustments for tablet */
  .site-nav {
    padding: 0.3rem 0.8rem;
  }
  
  .site-title {
    font-size: 0.85rem;
    line-height: 0.6;
  }
  
  .brand-block .logo {
    width: 40px;
    height: 40px;
  }
  
  /* Hero section tablet adjustments */
  .hero {
    height: calc(100vh - var(--topbar-height, 40px) - 50px);
    margin-top: calc(var(--topbar-height, 40px) + 50px);
  }
  
  .carousel-caption {
    bottom: 60%;
    width: 85%;
    padding: 1.2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    backdrop-filter: blur(3px);
  }
  
  .carousel-caption h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }
  
  .carousel-caption h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }
  
  
  /* Overlay cards for tablet */
  .overlay-cards {
    display: none !important;
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #f8f9fa;
    margin-top: 0;
  }
  
  .overlay-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: #073e16;
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  
  .overlay-card h3 {
    font-size: 1.6rem;
    margin: 0.5rem 0;
    color: #fff;
    font-weight: 700;
  }
  
  .overlay-card h5 {
    font-size: 1rem;
    margin: 0;
    color: #fff;
    font-weight: 500;
  }
  
  /* Content pages adjustments */
  .content {
    padding-top: 12vh !important;
  }
  
  /* Message page tabs tablet responsive */
  .nav-pills .nav-pill {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border: none;
    background: #f8f9fa;
    color: #073e16;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }
  
  .nav-pills .nav-pill.active {
    background: #073e16;
    color: #fff;
    border: none;
  }
  
  .nav-pills .nav-pill:hover {
    background: #0a4a1f;
    color: #fff;
    border: none;
  }
  
  .tab-content {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
  }
  
 
  
  /* Organogram page tablet responsive */
  .content.px-5 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  
  .content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  
  .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  

  /* Cards and content adjustments */
  .card-body {
    padding: 1rem;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
  
  /* Contact cards tablet responsive */
  .contact-cards-container {
    gap: 1rem;
  }
  
  .contact-card {
    margin-bottom: 1rem;
  }
  
  .contact-card .card-body {
    padding: 1rem;
  }
  
  .contact-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-card .card-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  
  /* Footer adjustments */
  footer.site-footer {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.8rem;
  }
  
  footer.site-footer .left,
  footer.site-footer .center,
  footer.site-footer .right {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  footer.site-footer .center {
    order: -1;
    margin-bottom: 0.5rem;
  }


}

/* Mobile Responsive (max-width: 767px) */
@media (max-width: 572px) {

  .ov-box {
    padding: 2rem;
  }
  /* Navigation adjustments for mobile */
  .site-nav {
    padding: 0.2rem 0.5rem;
  }
  
  .site-title {
    font-size: 0.75rem;
    line-height: 0.6;
  }
  
  .brand-block .logo {
    width: 35px;
    height: 35px;
    margin-right: 0.5rem;
  }
  
  /* Mobile Navigation Menu Styling */
  .navbar-collapse {
    background: rgba(7,62,22, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    text-align: left;
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Ensure mobile menu container is full width */
  .navbar-collapse.show {
    width: 100%;
    left: 0;
    right: 0;
  }
  
 
  
  
  
  /* Toggle button styling */
  .navbar-toggler {
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
  }
  
  .navbar-toggler:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
  }
  
  .navbar-toggler-icon {
    filter: invert(1) brightness(2);
    width: 1.2em;
    height: 1.2em;
  }
  
  .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
    margin: 0;
  }
  
  /* Hide first nav item (Home icon) on mobile 
  .navbar-nav .nav-item:first-child {
    display: none;
  }*/
  
  .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.05);
    margin-bottom: 0.5rem;
    color: #fff;
    text-decoration: none;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
    color: var(--primary);
  }
  
  /* Dashboard button special styling */
  .navbar-nav .nav-item[style*="background: #073e16"] .nav-link {
    background: #073e16;
    border-radius: 8px;
    padding: 1rem;
  }
  
  .navbar-nav .nav-item[style*="background: #073e16"] .nav-link:hover {
    background: #0a4a1f;
    transform: translateX(5px);
  }
  
  /* Dropdown menus - full width */
  .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
    background: rgba(10,40,20,0.9);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    padding: 0.5rem 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 0.25rem 0.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    width: calc(100% - 1rem);
    display: block;
  }
  
  .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary);
  }
  
  /* Search bar full width */
  .search-input {
    width: 100%;
    margin-top: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    max-width: 100%;
  }
  
  .search-input .form-control {
    background: none;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
    padding: 0.5rem;
    flex: 1;
  }
  
  .search-input .form-control::placeholder {
    color: rgba(255,255,255,0.7);
  }
  
  .search-input .btn {
    background: none;
    border: none;
    color: #fff;
    padding: 0.5rem;
    flex-shrink: 0;
  }
  
  /* Hero section mobile adjustments */
  .hero {
    height: calc(100vh - var(--topbar-height, 40px) - 60px);
    margin-top: calc(var(--topbar-height, 40px) + 60px);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }
  
  
  .carousel-caption h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  }
  
  .carousel-caption h4 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }
  
  
  /* Overlay cards slider on mobile */
  .overlay-cards {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    margin-top: 2rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
  }
  
  .overlay-cards::-webkit-scrollbar {
    display: none;
  }
  
  .overlay-card {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
    background: #073e16;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    scroll-snap-align: start;
    margin-right: 0;
  }
  
  .overlay-card h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #fff;
    font-weight: 700;
  }
  
  .overlay-card h5 {
    font-size: 0.9rem;
    margin: 0;
    color: #fff;
    font-weight: 500;
  }
  
  /* Slider indicators for mobile */
  .overlay-cards::after {
    content: "";
    flex: 0 0 1rem;
  }
  
  /* Add subtle fade effect to indicate scrollable content */
  .overlay-cards {
    position: relative;
    z-index: 2;
  }
  
  .overlay-cards::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to left, #f8f9fa, transparent);
    pointer-events: none;
    z-index: 1;
  }
  
  /* Content pages mobile adjustments */
  .content {
    padding-top: 15vh !important;
    overflow-y: auto;
    height: calc(100vh - var(--topbar-height, 40px) - 60px);
  }
  

  
  /* Cards mobile adjustments */
  .card-body {
    padding: 0.8rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  .card-text {
    font-size: 0.85rem;
  }
  
  /* Team cards mobile */
  .col-xl-2, .col-xl-3, .col-lg-2, .col-lg-4, .col-md-2, .col-md-6 {
    margin-bottom: 1rem;
  }
  
  /* Contact form mobile */
  .col-md-6 {
    margin-bottom: 1rem;
  }
  
  /* Contact cards mobile responsive */
  .contact-cards-container {
    gap: 0.8rem;
  }
  
  .contact-card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 0.8rem;
  }
  
  .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .card-text {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Footer mobile */
  footer.site-footer {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
  
  footer.site-footer .center a {
    font-size: 0.7rem;
    margin: 0 0.2rem;
  }
  
  footer.site-footer .right a {
    font-size: 1rem;
    margin: 0 0.3rem;
  }
  
  /* Topbar mobile */
  .top-bar {
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .lang-select {
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* .sec-padding {
    padding: 30px 0;
  } */
  .ov-box {
    padding: 1.5rem;
  }
  .site-title {
    font-size: 0.7rem;
    line-height: 0.6;
  }
  
  .brand-block .logo {
    width: 30px;
    height: 30px;
  }
  
  /* Hero section small mobile adjustments */
  .hero {
    height: calc(100vh - var(--topbar-height, 40px) - 80px);
    
  }
  
  .carousel-caption {
    bottom: 60%;
    width: 100%;
    padding: 0.8rem;
  }
  
  .carousel-caption h2 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  
  .carousel-caption h4 {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  
  /* Overlay cards slider for small mobile */
  .overlay-cards {
    padding: 1rem 0.8rem;
    gap: 0.8rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .overlay-card {
    width: 250px;
    min-width: 250px;
    padding: 0.8rem;
  }
  
  .overlay-card h3 {
    font-size: 1.3rem;
  }
  
  .overlay-card h5 {
    font-size: 0.8rem;
  }
  
  
  /* Message page tabs mobile responsive */
  .nav-pills .nav-pill {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border: none;
    background: #f8f9fa;
    color: #073e16;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .nav-pills .nav-pill.active {
    background: #073e16;
    color: #fff;
    border: none;
  }
  
  .nav-pills .nav-pill:hover {
    background: #0a4a1f;
    color: #fff;
    border: none;
  }
  
  .tab-content {
    border: none;
    box-shadow: none;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
  }
  
  
  
  /* Message page layout mobile adjustments */
  .row.h-100 {
    flex-direction: column;
  }
  
  .col-md-2 {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .col-md-10 {
    width: 100%;
  }
  
  .tab-pane .row {
    flex-direction: column;
  }
  
  .tab-pane .col-md-3,
  .tab-pane .col-md-9 {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Organogram page mobile responsive */
  .content.px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  /* General section padding mobile adjustments */
  .container-fluid.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  .text-center.mb-4 {
    margin-bottom: 1rem !important;
  }
  
  .text-center h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .text-center p {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  
 
  
  .card-body {
    padding: 0.6rem;
  }
  
  .card-title {
    font-size: 0.9rem;
  }
  
  .card-text {
    font-size: 0.8rem;
  }
}
.nav-pill > li > button:not(.active):hover {
  background-color: #aaaaaa !important; /* Desired background color on hover for inactive state */
  color: #000000 !important; /* Desired text color on hover for inactive state */
}
.mb-8 {
  margin-bottom:4.5rem!important
  }
  
  .mb-9 {
  margin-bottom:5rem!important
  }
  
  .mb-auto {
  margin-bottom:auto!important
  }
  
  .py-8 {
  padding-bottom:4.5rem!important;
  padding-top:4.5rem!important
  }
  
  .py-9 {
  padding-bottom:5rem!important;
  padding-top:5rem!important
  }
  
  @media(min-width:576px) {
    .mb-sm-8 {
    margin-bottom:4.5rem!important
    }
    
    .mb-sm-9 {
    margin-bottom:5rem!important
    }
    
    .mb-sm-auto {
    margin-bottom:auto!important
    }
    
    .py-sm-8 {
    padding-bottom:4.5rem!important;
    padding-top:4.5rem!important
    }
    
    .py-sm-9 {
    padding-bottom:5rem!important;
    padding-top:5rem!important
    }
  }
  
  @media(min-width:768px) {
    .mb-md-8 {
    margin-bottom:4.5rem!important
    }
    
    .mb-md-9 {
    margin-bottom:5rem!important
    }
    
    .mb-md-auto {
    margin-bottom:auto!important
    }
    
    .py-md-8 {
    padding-bottom:4.5rem!important;
    padding-top:4.5rem!important
    }
    
    .py-md-9 {
    padding-bottom:5rem!important;
    padding-top:5rem!important
    }
  }
  
  @media(min-width:992px) {
    .mb-lg-8 {
    margin-bottom:4.5rem!important
    }
    
    .mb-lg-9 {
    margin-bottom:5rem!important
    }
    
    .mb-lg-auto {
    margin-bottom:auto!important
    }
    
    .py-lg-8 {
    padding-bottom:4.5rem!important;
    padding-top:4.5rem!important
    }
    
    .py-lg-9 {
    padding-bottom:5rem!important;
    padding-top:5rem!important
    }
  }
  
  @media(min-width:1200px) {
    .mb-xl-8 {
    margin-bottom:4.5rem!important
    }
    
    .mb-xl-9 {
    margin-bottom:5rem!important
    }
    
    .mb-xl-auto {
    margin-bottom:auto!important
    }
    
    .py-xl-8 {
    padding-bottom:4.5rem!important;
    padding-top:4.5rem!important
    }
    
    .py-xl-9 {
    padding-bottom:5rem!important;
    padding-top:5rem!important
    }
  }
  
  @media(min-width:1400px) {
    .mb-xxl-8 {
    margin-bottom:4.5rem!important
    }
    
    .mb-xxl-9 {
    margin-bottom:5rem!important
    }
    
    .mb-xxl-auto {
    margin-bottom:auto!important
    }
    
    .py-xxl-8 {
    padding-bottom:4.5rem!important;
    padding-top:4.5rem!important
    }
    
    .py-xxl-9 {
    padding-bottom:5rem!important;
    padding-top:5rem!important
    }
  }

  #customTranslate {
    border: 1px solid #198754;   /* Bootstrap green */
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.9rem;
    color: #198754;
    background-color: #fff;
    cursor: pointer;
  }
  
  #customTranslate:hover {
    background-color: #198754;
    color: #fff;
  }
/* Hide the Google Translate top banner */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;  /* Prevents layout shift after banner removal */
}

/* Optional: Hide Google branding */
.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}  



/* Hide Google Translate top ribbon completely */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

/* ========== INDEX.PHP RESPONSIVE STYLES ========== */

/* Tablet Responsive (max-width: 991px) */
@media (max-width: 991px) {
  /* Hero section adjustments */
  .hero {
    height: calc(100vh - var(--topbar-height, 40px) - 60px);
    margin-top: calc(var(--topbar-height, 40px) + 60px);
  }
  
  /* Carousel caption responsive */
  .carousel-caption {
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    padding: 1.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    backdrop-filter: blur(5px);
  }
  
  .carousel-caption h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    line-height: 1.2;
  }
  
  .carousel-caption h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    line-height: 1.4;
  }
  
  /* Carousel buttons tablet */
  .carousel-buttons {
    position: absolute;
    left: 50%;
    bottom: 35%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 10;
    width: 90%;
    max-width: 600px;
  }
  
  .carousel-buttons .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
  }
  
  .carousel-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  }
  
  /* Overlay cards tablet */
  .overlay-cards {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #f8f9fa;
    margin-top: 0;
    border-top: 1px solid #e9ecef;
  }
  
  .overlay-card {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    background: #073e16;
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
  }
  
  .overlay-card:hover {
    transform: scale(1.05);
  }
  
  .overlay-card h3 {
    font-size: 1.6rem;
    margin: 0.5rem 0;
    color: #fff;
    font-weight: 700;
  }
  
  .overlay-card h5 {
    font-size: 1rem;
    margin: 0;
    color: #fff;
    font-weight: 500;
  }
}

/* Small Tablet Responsive (max-width: 768px) */
@media (max-width: 768px) {
  /* Hero section adjustments */
  .hero {
    height: calc(100vh - var(--topbar-height, 40px) - 70px);
    margin-top: calc(var(--topbar-height, 40px) + 70px);
  }
  
  /* Carousel caption responsive */
  .carousel-caption {
    bottom: 45%;
    width: 95%;
    padding: 1.2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
  }
  
  .carousel-caption h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
  }
  
  .carousel-caption h4 {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
  }
  
  /* Carousel buttons small tablet */
  .carousel-buttons {
    bottom: 35%;
    gap: 0.6rem;
    width: 95%;
    max-width: 540px;
  }
  
  .carousel-buttons .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    min-width: 100px;
  }
  
  /* Overlay cards small tablet */
  .overlay-cards {
    padding: 1.2rem;
    gap: 0.8rem;
  }
  
  .overlay-card {
    min-width: 160px;
    max-width: 200px;
    padding: 1rem;
  }
  
  .overlay-card h3 {
    font-size: 1.4rem;
  }
  
  .overlay-card h5 {
    font-size: 0.9rem;
  }
}

/* Mobile Responsive (max-width: 575px) */
@media (max-width: 575px) {
  /* Hero section adjustments */
  .hero {
    height: calc(100vh - var(--topbar-height, 40px) - 80px);
    margin-top: calc(var(--topbar-height, 40px) + 80px);
  }
  
  /* Carousel caption responsive */
  .carousel-caption {
    bottom: 60%;
    width: 98%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
  }
  
  .carousel-caption h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  
  .carousel-caption h4 {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  /* Carousel buttons mobile */
  .carousel-buttons {
    bottom: 40%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    width: 90%;
    max-width: 300px;
  }
  
  .carousel-buttons .btn {
    width: 100%;
    max-width: 250px;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
  }

  .carousel-buttons a {
    width: 100%;
    max-width: 250px;
    font-size: 0.75rem;
    border-radius: 6px;
  }
  
  /* Overlay cards mobile */
  .overlay-cards {
    position: static;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    margin-top: 1rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
  }
  
  .overlay-cards::-webkit-scrollbar {
    display: none;
  }
  
  .overlay-card {
    flex: 0 0 auto;
    width: 200px;
    min-width: 200px;
    background: #073e16;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    scroll-snap-align: start;
    margin-right: 0;
  }
  
  .overlay-card h3 {
    font-size: 1.2rem;
    margin: 0.3rem 0;
    color: #fff;
    font-weight: 700;
  }
  
  .overlay-card h5 {
    font-size: 0.8rem;
    margin: 0;
    color: #fff;
    font-weight: 500;
  }
  
  /* Add subtle fade effect to indicate scrollable content */
  .overlay-cards::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to left, #f8f9fa, transparent);
    pointer-events: none;
    z-index: 1;
  }
}

/* Small Mobile Responsive (max-width: 320px) */
@media (max-width: 320px) {
  /* Hero section adjustments */
  .hero {
    height: calc(100vh - var(--topbar-height, 40px) - 90px);
    margin-top: calc(var(--topbar-height, 40px) + 90px);
  }
  
  /* Carousel caption responsive */
  .carousel-caption {
    bottom: 35%;
    width: 100%;
    padding: 0.8rem;
    background: rgba(0,0,0,0.6);
    border-radius: 6px;
  }
  
  .carousel-caption h2 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.1;
  }
  
  .carousel-caption h4 {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
    line-height: 1.1;
  }
  
  /* Carousel buttons small mobile */
  .carousel-buttons {
    bottom: 8%;
    gap: 0.4rem;
    width: 95%;
    max-width: 280px;
  }
  
  .carousel-buttons .btn {
    width: 100%;
    max-width: 220px;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
  }
  
  /* Overlay cards small mobile */
  .overlay-cards {
    padding: 0.8rem;
    gap: 0.8rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
  }
  
  .overlay-card {
    width: 180px;
    min-width: 180px;
    padding: 0.6rem;
    border-radius: 8px;
  }
  
  .overlay-card h3 {
    font-size: 1rem;
    margin: 0.2rem 0;
  }
  
  .overlay-card h5 {
    font-size: 0.7rem;
  }
}

/* ========== RTI PAGE TABLE RESPONSIVE STYLES ========== */

/* RTI Table responsive wrapper */
.rti-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.rti-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.rti-table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.rti-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.rti-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--primary-2);
}

/* RTI Table base styles */
.rti-table-wrapper .table {
  margin-bottom: 0;
  min-width: 800px; /* Ensure minimum width for readability */
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .rti-table-wrapper .table {
    min-width: 100%;
    font-size: 1rem;
  }
  
  .rti-table-wrapper .table th,
  .rti-table-wrapper .table td {
    padding: 1rem 0.75rem;
  }
}

/* Medium Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .rti-table-wrapper .table {
    min-width: 100%;
    font-size: 0.95rem;
  }
  
  .rti-table-wrapper .table th,
  .rti-table-wrapper .table td {
    padding: 0.8rem 0.6rem;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .rti-table-wrapper {
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  
  .rti-table-wrapper .table {
    min-width: 700px;
    font-size: 0.9rem;
  }
  
  .rti-table-wrapper .table th,
  .rti-table-wrapper .table td {
    padding: 0.6rem 0.4rem;
    white-space: nowrap;
  }
  
  .rti-table-wrapper .table th:nth-child(1),
  .rti-table-wrapper .table td:nth-child(1) {
    position: sticky;
    left: 0;
    background: var(--primary);
    color: white;
    z-index: 10;
  }
}

/* Small Tablet (576px - 767px) */
@media (max-width: 767px) {
  .rti-table-wrapper {
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
  }
  
  .rti-table-wrapper .table {
    min-width: 600px;
    font-size: 0.85rem;
  }
  
  .rti-table-wrapper .table th,
  .rti-table-wrapper .table td {
    padding: 0.5rem 0.3rem;
  }
  
  .rti-table-wrapper .table th:nth-child(1),
  .rti-table-wrapper .table td:nth-child(1) {
    min-width: 40px;
  }
  
  .rti-table-wrapper .table th:nth-child(2),
  .rti-table-wrapper .table td:nth-child(2) {
    min-width: 120px;
  }
  
  .rti-table-wrapper .table th:nth-child(3),
  .rti-table-wrapper .table td:nth-child(3) {
    min-width: 100px;
  }
}

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .rti-table-wrapper {
    margin: 0 -0.25rem;
    padding: 0 0.25rem;
  }
  
  .rti-table-wrapper .table {
    min-width: 500px;
    font-size: 0.8rem;
  }
  
  .rti-table-wrapper .table th,
  .rti-table-wrapper .table td {
    padding: 0.4rem 0.2rem;
  }
  
  /* Hide less important columns on very small screens */
  .rti-table-wrapper .table th:nth-child(4),
  .rti-table-wrapper .table td:nth-child(4) {
    display: none;
  }
  
  .rti-table-wrapper .table th:nth-child(5),
  .rti-table-wrapper .table td:nth-child(5) {
    min-width: 80px;
  }
  
  .rti-table-wrapper .table th:nth-child(6),
  .rti-table-wrapper .table td:nth-child(6) {
    min-width: 100px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .rti-table-wrapper .table {
    min-width: 450px;
    font-size: 0.75rem;
  }
  
  .rti-table-wrapper .table th,
  .rti-table-wrapper .table td {
    padding: 0.3rem 0.15rem;
  }
  
  /* Further column optimization for very small screens */
  .rti-table-wrapper .table th:nth-child(5),
  .rti-table-wrapper .table td:nth-child(5) {
    min-width: 70px;
  }
  
  .rti-table-wrapper .table th:nth-child(6),
  .rti-table-wrapper .table td:nth-child(6) {
    min-width: 90px;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .rti-table-wrapper .table {
    min-width: 400px;
    font-size: 0.7rem;
  }
  
  .rti-table-wrapper .table th,
  .rti-table-wrapper .table td {
    padding: 0.25rem 0.1rem;
  }
  
  /* Hide contact number column on very small screens */
  .rti-table-wrapper .table th:nth-child(5),
  .rti-table-wrapper .table td:nth-child(5) {
    display: none;
  }
}

/* ========== RTI PAGE CONTENT RESPONSIVE ========== */

/* RTI page section padding */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {

}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
 
}

/* Small Tablet (576px - 767px) */
@media (max-width: 767px) {

}

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {

}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {

}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {

}

/* ========== RTI PAGE TYPOGRAPHY RESPONSIVE ========== */

/* RTI page typography */
.sec-padding-3 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--muted);
}

.sec-padding-3 h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.sec-padding-3 h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--muted);
}

.sec-padding-3 p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.sec-padding-3 ul {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.sec-padding-3 ul li {
  margin-bottom: 0.5rem;
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .sec-padding-3 h1 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
  }
  
  .sec-padding-3 h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .sec-padding-3 h4 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  
  .sec-padding-3 p,
  .sec-padding-3 ul {
    font-size: 1.2rem;
    line-height: 1.8;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .sec-padding-3 h1 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
  }
  
  .sec-padding-3 h3 {
    font-size: 1.6rem;
    margin-bottom: 1.3rem;
  }
  
  .sec-padding-3 h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .sec-padding-3 p,
  .sec-padding-3 ul {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.3rem;
  }
}

/* Small Tablet (576px - 767px) */
@media (max-width: 767px) {
  .sec-padding-3 h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .sec-padding-3 h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  
  .sec-padding-3 h4 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
  
  .sec-padding-3 p,
  .sec-padding-3 ul {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }
}

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .sec-padding-3 h1 {
    font-size: 1.8rem;
    margin-bottom: 1.3rem;
  }
  
  .sec-padding-3 h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .sec-padding-3 h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .sec-padding-3 p,
  .sec-padding-3 ul {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .sec-padding-3 h1 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  
  .sec-padding-3 h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .sec-padding-3 h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .sec-padding-3 p,
  .sec-padding-3 ul {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .sec-padding-3 h1 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .sec-padding-3 h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }
  
  .sec-padding-3 h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }
  
  .sec-padding-3 p,
  .sec-padding-3 ul {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 0.7rem;
  }
}
.bg-grey{
    background-color: rgba(224,224,224,0.6);
}

/* Smooth scroll within modal */
#searchResults::-webkit-scrollbar {
  width: 6px;
}
#searchResults::-webkit-scrollbar-thumb {
  background: #2e7d32;
  border-radius: 10px;
}
#searchResults a {
  color: #b6ffb6;
  text-decoration: none;
  font-weight: 500;
}
#searchResults a:hover {
  color: #fff;
  text-decoration: underline;
}
#searchResults .result-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
#searchResults .result-item:last-child {
  border-bottom: none;
}
/* Highlighted search terms */
mark.highlight {
  background-color: #b6ffb6;
  color: #073e16;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

/* gallery */

/* Gallery Specific Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.gallery-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image-container:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-image-container:hover .gallery-overlay {
  opacity: 1;
}

.gallery-filters .btn {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.gallery-filters .btn.active,
.gallery-filters .btn:hover {
  background-color: #198754;
  border-color: #198754;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .gallery-image-container {
    height: 200px;
  }
  
  .gallery-filters .btn {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-image-container {
    height: 180px;
  }
}
.team-member-card {
  flex: 1;
  min-width: 200px;
  max-width: 220px;
}

@media (max-width: 991.98px) {
  .team-member-card {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 575.98px) {
  .team-member-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}