:root { 
    --primary:#3a8b68;
    --secondary: #007749;
    --yellow: #ffd700;
    --light: #EEF9FF;
    --gray:#f8f9fa;
    --dark-gray:#999999;
    --dark: #091E3E;
    --district-capricorn: #198754;
      --district-mopani: #ffc107;
      --district-sekhukhune: #999999;
      --district-waterberg: #000;
      --district-vhembe: #dc3545;
}

/* --- Base typography --- */
html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: "Arial";
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
}

a{
    text-decoration: none;
}

a:hover{
   color : var(--primary) !important ;
}

img, .carousel-item img, .team-item img, .partner-logo-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}
.bg-custom{
  background-color: var(--yellow) !important;
  color:white;
}

.color-custom{
  color: var(--primary) !important;
}

.text-custom{
  color: var(--yellow) !important;
}
/* Section below carousel*/
#facts{
    margin-top: -100px;
    z-index: 10;
    position: relative;
}
  /* Remove all spacing between columns */
  .stat-col {
    padding: 0 !important;
    margin: 0 !important;
  }

  .btn-custom{
    background-color: var(--yellow) !important;
  color:var(--dark) !important;
  }
  /* Remove bootstrap default row spacing */
  #facts .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Remove radius */
  .no-radius {
    border-radius: 0 !important;
  }

  /* Increase height */
  .tall-card {
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .tall-card:hover {
    color: white !important;
  }

  /* Big fonts */
  .stat-number {
    font-size: 2.4rem;
    line-height: 1;
  }
  .stat-number i {
    font-size: 2.4rem;
    vertical-align: middle;
  }

  .stat-label {
    font-size: 1.15rem;
  }

  /* Hover effect */
  .stat-card {
    transition: transform .2s, box-shadow .2s;
  }
  .stat-card:hover {
    color:white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }
/* Carousel image *//* Carousel image & sizing */
.carousel-item {
    position: relative;
}

/* ✅ Use viewport height for responsive hero section */
.carousel-item img {
    width: 100%;
    height: 90vh; /* Full screen height desktop */
    object-fit: cover;
    object-position: top;
}

/* ✅ Tablet sizing */
@media (max-width: 992px) {
    .carousel-item img {
        height: 80vh;
    }
}

/* ✅ Mobile Height */
@media (max-width: 576px) {
    .carousel-item img {
        height: 55vh;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    color: #3a8b68 !important;;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    color: #3a8b68 !important;;
    width: 3rem;
    height: 3rem;
}

/*** ✅ CAPTION*/
.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;

    padding: 0 1.25rem;
    background: rgba(10, 26, 18, 0.65);
    z-index: 5;
}
/* ✅ Prevent text clipping when caption content is tall */
.carousel-caption {
    overflow-y: auto; /* allow scroll if needed */
    overscroll-behavior: contain;
}

/* ✅ For first slide (typically with most text) allow more space */
.carousel-item.active .carousel-caption {
    padding-bottom: 80px; /* push search fully into view */
}

/* ✅ Mobile improvement */
@media (max-width: 768px) {
    .carousel-caption {
        justify-content: flex-start; /* align content higher */
        padding-top: 60px; /* ensure full content visible */
    }
}

/*** ✅ Responsive & safe text sizes ***/
.carousel-caption h5 {
    font-size: clamp(0.9rem, 1.8vw, 1.4rem);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.carousel-caption h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

/*** ✅ Prevent edge-to-edge stretch ***/
.carousel-caption > * {
    max-width: 900px;
}

/* Prevent overlay from blocking arrows */
.carousel-caption {
    pointer-events: none;
}

/* Re-enable clicking inside caption elements (buttons, links, search bar) */
.carousel-caption * {
    pointer-events: auto;
}

/*** ✅ Small phone safety ***/
@media (max-width: 480px) {
    .carousel-caption {
        padding: 0 1rem;
    }
    .carousel-caption h1 {
        font-size: 1.6rem;
    }
    .carousel-caption h5 {
        font-size: 0.85rem;
    }
}

/*** ✅ Desktop fine-tuning ***/
@media (min-width: 1400px) {
    .carousel-caption h1 {
        font-size: 4rem;
    }
}
/* ============================================================
   TOPBAR RESPONSIVE FIXED
   ============================================================ */

/* General Styling for Social Icons */
.social-btn, .social-btn-mobile {
    width: 36px;       /* unified width */
    height: 36px;      /* unified height */
    padding: 4px;      /* enough padding for icon to breathe */
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    transition: all 0.2s ease;
}

.social-btn img,
.social-btn-mobile img {
    width: 20px;       /* slightly larger for clarity */
    height: 20px;
    object-fit: contain; /* keep proportions */
    display: block;
}

/* Hover effect */
.social-btn:hover,
.social-btn-mobile:hover {
    background-color: #333;
    border-color: #333;
}

.social-btn:hover img,
.social-btn-mobile:hover img {
    filter: brightness(0) invert(1);
}

/* MOBILE TOPBAR */
.topbar-mobile {
    background: #f8f9fa;
    padding: 8px 12px !important;
    border-bottom: 1px solid #d9d9d9;
}

/* Compact Icons for Mobile */
.social-btn-mobile {
    margin-left: 8px; /* spacing between icons */
}

/* Mobile dropdown tweaks */
.topbar-mobile .dropdown-menu {
    min-width: 180px;
}

/* Reduce dropdown font on very small screens */
@media (max-width: 480px) {
    .dropdown-menu {
        font-size: 0.75rem;
    }
}

/*** Navbar centering ***/
.navbar-nav-centered {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}
.navbar .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

/*** Flag ***/
/* Header middle area */
.header-middle {
  /* ensure width matches your container (same width as nav) */
}



/* Banner image */
.header-white-full .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-white-full img {
    max-width: 100%;
}


/* Logo and flag */
.logo-img {
    height: 110px;
    width: auto;
}

.flag-img {
    height: 120px;
    width: auto;
}

/* Container that holds the multi-image banner */
.multi-banner {
    display: flex;
    align-items: center;
    flex: 1;                 
    justify-content: center; 
    gap: 8px;                
    padding: 0 20px;
    overflow: hidden;        
}

/* Each image inside the banner */
.multi-banner img {
    height: 80px;           
    width: auto;
    object-fit: cover;
    border-radius: 3px;     
}


/* ✅ Tablet screens */
@media (max-width: 991px) {
    .logo-img {
        height: 70px;
    }

    .flag-img {
        height: 60px;
    }
}

/* ✅ Small phones */
@media (max-width: 575px) {
    .logo-img {
        height: 55px;
    }

    .flag-img {
        height: 45px;
    }
}

/* ✅ Banner strip images (side-by-side) */
.banner-strip {
    flex: 1;                     /* Take available middle space */
    max-width: 100%;             /* Never overflow */
    display: flex;
    gap: 12px;
    justify-content: center;
    overflow-x: auto;            /* Allow slide only when needed */
}

/* Desktop sizes */
.banner-strip img {
    height: 90px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;          /* ✅ Prevents images from squishing */
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* ✅ Tablet + Mobile responsive sizes */
@media (max-width: 1400px) {
  .banner-strip img {
      height: 70px;
      width: 70px;
  }
}


/* ✅ Small phones */
@media (max-width: 575px) {
    .banner-strip {
        gap: 6px;
    }

    .banner-strip img {
        height: 55px;
        width: 55px;
    }
}

/* ✅ Desktop spacing */
.header-white-full {
    padding: 15px 0;
}

.header-top-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;        /* Space between logo and flag */
}


/* ✅ Tablet spacing (reduce crowding) */
@media (max-width: 991px) {
    .header-white-full {
        padding: 12px 0;
    }

    .header-top-wrapper {
        gap: 15px;          /* More breathing room */
    }

    .banner-strip {
        margin-top: 12px;
        gap: 8px;
    }
}

/* ✅ Mobile phones (fix closeness issue) */
@media (max-width: 575px) {
    .header-white-full {
        padding: 18px 0;    /* ✅ More vertical spacing */
    }

    .header-top-wrapper {
        gap: 20px;          /* ✅ Separate logo & flag */
        margin-bottom: 10px;
    }

    .banner-strip {
        margin-top: 15px;   /* ✅ Add space APPROPRIATELY */
        gap: 6px;
    }
}

/* ✅ Navbar attaches to carousel */
.no-gap-nav {
  margin-bottom: 0 !important;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Navbar styling (same as earlier but ensure clear separation) */
.main-nav {
  border-top: 3px solid #198754;
  border-bottom: 2px solid #eee;
}
.nav-link {
  font-weight: 600;
  padding: 12px 16px !important;
  color:  #000 !important;
}


.nav-link:hover {
  font-weight: 600;
  padding: 12px 16px !important;
  color: #198754 !important;
}
.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: dropdownFade .2s ease-in-out;
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

/*** Partner Logo Wrapper ***/
.partner-logo-wrapper {
    padding: 8px;
    height: 100px;
    border: 1px solid #3a8b68;
    border-radius: 6px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/*** Utilities ***/
.section-title,
.heading-section,
.notice-item {
    word-wrap: break-word;
}

.sticky-shadow {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/************************************************
 ✅ NESTED DROPDOWN FIX (Mobile + Desktop)
*************************************************/

/* Desktop Hover */
@media (min-width: 992px) {
  .dropdown-submenu { position: relative; }
  .dropdown-submenu > .dropdown-menu {
      position: absolute;
      top: 0;
      left: 100%;
      display: none;
      min-width: 12rem;
  }
  .dropdown-submenu:hover > .dropdown-menu {
      display: block;
  }
}

/* Hover Style */
.dropdown-menu .dropdown-item:hover,
.dropdown-submenu:hover > .dropdown-item {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* Mobile: full width & toggle behavior */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        padding-left: .75rem;
        box-shadow: none;
    }
    .dropdown-submenu > .dropdown-menu.show {
        display: block;
    }
}

/* Ensure show works for desktop JS assist */
.dropdown-submenu > .dropdown-menu.show {
    display: block;
}

/* Mobile: Nested Dropdowns */
@media (max-width: 991.98px) {
  .dropdown-submenu {
    position: relative;
  }
  .dropdown-submenu > .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 0;
    background-color: #f8f9fa;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }
  .dropdown-submenu > .dropdown-menu.show {
    display: block;
  }
  .dropdown-submenu > a:after {
    display: none; /* Optional: hide caret on mobile */
  }
}





/************************************************
 ✅ SEARCH BAR
*************************************************/
.search-wrapper { 
    display: flex; 
    align-items: center; 
    width: 100%; max-width: 
    450px; background: #fff; 
    border-radius: 50px; 
    overflow:hidden;
     box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      border: 1px solid #e5e5e5; 
    } 

    /* Input Styling */
    .search-input { 
    flex: 1; 
    border: none;
        padding: 12px 20px;
        font-size: 15px; 
        outline: none;
        background: transparent;
        } 
        /* Button Styling */ 
        .search-btn {
            background: #198754 ;
            /* Bootstrap success */
            border: none;
            padding: 12px 20px;
                display: flex;
                align-items: center; 
                justify-content: center;
                color: #fff; 
                cursor: pointer; 
                transition: 0.2s ease-in-out;
                } 
                .search-btn:hover {
                    background: var(--yellow);
                } 
                    /* Icon Size */
                    .search-btn i { 
                    font-size: 25px; 
                    color:#fff; 
                } 
                /* Center Form */ 
                .search-bar {
                display: flex;
                justify-content: center;
                margin-top: 10px;
                } 
                /* Mobile Responsive */ 
                @media (max-width: 576px) { 
                .search-wrapper { 
                    max-width: 100%;
                    } 
                    .search-input { 
                    font-size: 14px; 
                    padding: 10px 15px;
                    } 
                    .search-btn { 
                    padding: 10px 15px; 
                }
                }

/* MOBILE: Ensure search bar stacks inside navbar dropdown */
@media (max-width: 991.98px) {
    .navbar .search-bar {
        width: 100%;
        padding: 10px;
        order: 10; /* push to bottom of menu for clean layout */
        display: block !important;
    }

    /* Expand inside full menu width */
    .search-wrapper {
        width: 100% !important;
        max-width: none !important;
        border-radius: 8px;
        margin-top: 10px;
    }
}


/* ============================================
   ✅ NEW – Modern Professional Notice Cards
============================================= */

.notice-section-title {
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
}

.notice-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 22px;
    height: 100%;
    transition: 0.25s ease-in-out;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.notice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

/* Icon circle */
.notice-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* Title */
.notice-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

/* Date badge */
.notice-date {
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--yellow);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

/* CTA button */
.notice-btn {
    background: var(--secondary);
    border: none;
    padding: 8px 16px;
    color: #fff;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: 0.2s ease;
    text-decoration: none;
}
.notice-btn:hover {
    background: var(--yellow);
    color: #000;
}

/* Responsive */
@media (max-width: 576px) {
    .notice-card {
        padding: 18px;
    }
}


.text-custom{
    color:var(--yellow);
}

/************************************************
 ✅ EVENTS SECTION
*************************************************/
.event-card {
      transition: all 0.3s ease;
      border: none;
      border-radius: 12px;
      overflow: hidden;
    }

    .event-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    }

    .date-badge {
      width: 80px;
      height: 80px;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      color: white;
      font-size: 0.9rem;
      padding: 5px;
    line-height: 1.1;
    }

    .date-badge .day {
    font-size: 1.6rem;      /* Larger day */
    font-weight: 800;
}

.date-badge .month {
    font-size: 0.95rem;     /* Medium bold month */
    font-weight: 700;
    letter-spacing: 1px;
}

.date-badge .year {
    font-size: 0.75rem;     /* Smaller subtle year */
    opacity: 0.9;
    font-weight: 500;
}



    .event-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      display: inline-block;
    }

    .nav-tabs .nav-link {
      border: none;
      color: #555;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      
      transition: all 0.3s;
    }

    .nav-tabs .nav-link.active {
      background: var(--yellow) !important;
      color: #000  !important;
      box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    }

    
    .nav-tabs .nav-link:hover {
      background: var(--primary) !important;
      color: var(--light) !important;
     
    }


    .section-header {
      background: linear-gradient(135deg, #44896b 0%, #3a8b68 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .legend-item {
      font-size: 0.9rem;
      transition: all 0.2s;
      cursor: default;
    }

    .legend-item:hover {
      background-color: #f8f9fa;
      border-radius: 8px;
      padding-left: 8px;
    }

    @media (max-width: 768px) {
      .date-badge { width: 60px; height: 60px; font-size: 0.8rem; }
      .date-badge .small { font-size: 0.65rem; }
    }

/************************************************
 ✅ PROJECTS / GALLERY
*************************************************/
.projects-section {
    background: #f7f7f7;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
    transition: .3s;
}

.project-card:hover .project-img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7),  /* dark at the bottom */
    rgba(0, 0, 0, 0.0) );
    color: #fff;
}

.project-overlay h5 {
font-size: 1.2rem;
font-weight: 700;
opacity: 0.9;
text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}


.project-overlay p {
opacity: 0.9;
text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.project-sub {
    font-size: .85rem;
    opacity: .85;
}

/************************************************
 ✅ ADDING YELLOW HIGHLIGHTS ACROSS SITE
*************************************************/
h3.section-title,
.notice-section-title,
.event-title,
.project-title,.member-overlay h4 {
    border-left: 6px solid var(--yellow);
    padding-left: 10px;
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-label {
    color: var(--primary) !important;
}

/************************************************
 ✅ MOBILE IMPROVEMENTS
*************************************************/
@media (max-width: 576px) {
    .event-card, .project-card {
        padding: 18px;
    }

    .project-img {
        height: 200px;
    }
}
/************************************************
 ✅ Leadership MEC &HOD section
*************************************************/
 /* Leadership Cards Section */
.leadership-section {
  background: #f8faf9;
}
 
.leader-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
 
.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}
 
.leader-title {
  font-size: 20px;
  font-weight: 700;
}
 
.leader-img {
  width: 100%;
  max-width: 260px;
  height: 330px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 14px;
}
 
.leader-name {
  font-size: 20px;
}
 
.center-card {
  padding: 30px;
  border-left: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
}
 
/* Scroll container */
.leader-scroll {
  max-height: 310px;
  overflow-y: auto;
  padding-right: 8px;
  text-align: left;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: var(--primary) #e5e5e5; /* thumb | track */
}

/* Chrome, Edge, Safari scrollbar styling */
.leader-scroll::-webkit-scrollbar {
  width: 10px;                 /* thicker scrollbar */
}

.leader-scroll::-webkit-scrollbar-track {
  background: #e8f5e9;         /* soft light-greenish/grey track */
  border-radius: 10px;         /* rounded track */
  border: 2px solid #d6ead8;   /* inner border for depth */
}

.leader-scroll::-webkit-scrollbar-thumb {
  background: var(--primary);        
  border-radius: 10px;         
  border: 2px solid #e8f5e9;  
}

/* Hover effect on the draggable bar */
.leader-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);        /* darker green for hover */
}

 
/* Responsive Tweaks */
@media (max-width: 991px) {
  .center-card {
    border: none;
  }
  .leader-scroll {
    max-height: initial;
    overflow: visible;
  }
}
 
@media (max-width: 576px) {
  .leader-img {
    height: 250px;
    object-position: top;
  }
}



    /* View Profile button */
        .view-profile {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: all 0.3s ease-in-out;
        z-index: 3; /* make sure it’s above overlay */
        }

        .view-profile .btn-profile {
        padding: 10px 20px;
        background-color: var(--yellow);
        color: #fff;
        border-radius: 25px;
        font-weight: 600;
        text-decoration: none;
        font-size: 0.9rem;
        transition: background 0.3s;
        }

        .view-profile .btn-profile:hover {
        background-color: var(--yellow) !important;
        }

        /* Show on hover */
        .member-photo-container:hover .view-profile {
        opacity: 1;
        }

        .view-profile-hint {
        position: absolute;
        bottom: 2.5px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        color: white;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
        opacity: 0.8;
        animation: pulse 2s infinite;
        }

        @keyframes pulse {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-3px); }
        }


        .modal-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.modal-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.card-img-top {
            height: 300px;
            object-fit: cover;
            object-position: top;
        }
.card {
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.btn-outline-success {
    border-width: 2px;
    font-weight: 500;
}
.modal-header {
    border-bottom: 2px solid #198754;
}
.modal-footer {
    border-top: 2px solid #198754;
}

#leaderBio {
      text-align: justify;
    text-justify: inter-word;
    line-height: 1.5; 
  }

  #modal-title {

    text-align: left;
  }

  #leaderPosition {

    text-align: left;
  }

/* Fix Executive Leadership heading spacing */
.leadership-header {
    margin-top: 60px !important;  
    padding-top: 40px;
}

.leadership-header h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.leadership-header p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}
/*NEWS Section */
.news-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #198754;
}

.news-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* Tabs */
#newsTabs .nav-link {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: #198754;
    border: 1px solid #198754;
}

#newsTabs .nav-link.active {
    background-color: #ffd700;
    color: white;
}

/* Cards */
.news-card {
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Image */
.news-image img {
    height: 230px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Tag */
.news-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #198754;
    text-transform: uppercase;
}

/* Heading */
.news-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 8px;
}

/* Excerpt */
.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin: 10px 0;
}

/* Read More Button */
.btn-read {
    background: transparent;
    border: none;
    color: #198754;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.btn-read:hover {
    text-decoration: underline;
}

/* Date Styling */
.news-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #198754;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date i {
    font-size: 1rem;
}

/*Breadcrumb Section */
.header-image {
        position: relative;
        height: 280px;
        background: linear-gradient(rgba(0, 60, 90, 0.6), rgba(0, 60, 90, 0.6)),
                    url('../img/picture.jpeg') center/cover no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
        }
        .header-image h1 {
        font-size: 2.5rem;
        font-weight: bold;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
        }
        .breadcrumb-container {
        background-color: #e9ecef;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #dee2e6;
        }
        .content-section {
        background-color: #fff;
        padding: 1.5rem;
        border-radius: 8px;
        margin-bottom: 2rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }
        ul li {
        margin-bottom: 0.5rem;
        
        }
        .breadcrumb a {
        color: #537d90;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
        }
        .breadcrumb-item + .breadcrumb-item::before {
        color: #fff;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
        }

        /* ============================================= */
/* PROFESSIONAL SITEMAP STYLES                   */
/* ============================================= */



    .sitemap-wrapper {
        background: #fff;
        border-radius: 14px;
        padding: 35px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    }

    .sitemap-title {
        font-size: 1.8rem;
        color: var(--primary);
        font-weight: 700;
        margin-bottom: 25px;
        padding-left: 8px;
        border-left: 5px solid var(--yellow);
    }

    .sitemap-group {
        margin-bottom: 28px;
        padding: 20px;
        border-radius: 12px;
        background: var(--gray);
        border: 1px solid var(--border);
        transition: .3s ease;
    }

    .sitemap-group:hover {
        border-color: var(--primary);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    }

    .sitemap-group > a {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sitemap-group > a:hover {
        color: var(--primary);
    }

    .sitemap-group ul li {
        margin-bottom: 6px;
    }

    .sitemap-group ul li a {
        text-decoration: none;
        color: #333;
        transition: 0.2s;
    }

    .sitemap-group ul li a:hover {
        color: var(--primary);
        margin-left: 4px;
    }

    /* Icon styling */
    .sitemap-icon {
        width: 20px;
        height: 20px;
        background: var(--yellow);
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: #000;
        font-weight: bold;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .sitemap-wrapper {
            padding: 20px;
        }
    }
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 70px !important;     
    transition: 0.5s;
    z-index: 9999 !important;
}



.btn.custom{

    background: var(--primary);
    color:var(--yellow);
    border: none;
}
.btn.custom:hover{

 background: var(--dark-gray);
 color: var(--primary);
}
.btn-lg-square {
    width: 56px;
    height: 56px;
}
/* Unified Block Styling */
.section-block {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Gradient Border Line (left side) */
.section-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #008f45,
    #00a650,
    #4cc474
  );
  border-radius: 14px 0 0 14px;
}

/* Variant for Blue Border (Mission) */
.section-block.border-blue::before {
  background: linear-gradient(
    180deg,
    #ffcc33,
    #ffcc45,
    #ffc107
 
  );
}

/* Softer fade on hover for elegance */
.section-block:hover {
  transform: translateY(-3px);
  transition: 0.3s ease;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------------
   THEMED ACCORDION (Green + Gradient)
---------------------------------------------- */

/* Remove Bootstrap borders */
.accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Gradient left border */
.accordion-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(
        180deg,
        #ffcc33,
        #ffcc50,
        #ffc107
    );
}

/* Header styling */
.accordion-button {
    background: var(--yellow);
    font-weight: 600;
    padding: 16px 20px;
    border-radius: 0 !important;
    color: #000;
    box-shadow: none;
}

/* Icon color */
.accordion-button::after {
    filter: hue-rotate(90deg) saturate(200%);
}

/* Hover effect */
.accordion-button:hover {
    background: var(--gray);
    transition: 0.25s;
}

/* Active (open) state */
.accordion-button:not(.collapsed) {
    background: var(--dark-gray);
    color: #000;
    box-shadow: none;
}

/* Accordion body */
.accordion-body {
    background: #ffffff;
    padding: 20px;
    color: #333;
}

/* Weather Box */
.weather-widget {
    background: linear-gradient(135deg, #ffffff, #f6fff7);
    border-left: 6px solid #198754;
    border-right: 6px solid #3a8b68;
    border-radius: 20px;
}

.weather-icon {
    font-size: 3.2rem;
    color: #198754;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.25);
}

.weather-temp {
    font-size: 1.9rem;
    color: #198754;
}
.weather-desc {
    color: #555;
    text-transform: capitalize;
}

.weather-date,
.weather-time {
    font-size: 1.2rem;
    color: #3a8b68;
}

/* Hourly forecast */
.hourly-forecast {
    padding-top: 10px;
    border-top: 1px solid #e6e6e6;
}

.hour-card {
    min-width: 110px;
    background: #ffffff;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    border: 1px solid #dceee4;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

.hour-card .hour-time {
    font-size: 0.95rem;
    font-weight: 700;
}

.hour-card .hour-temp {
    font-size: 1.3rem;
    color: #198754;
    font-weight: 600;
}

.hour-card .hour-icon {
    font-size: 1.8rem;
    margin: 6px 0;
    color: #3a8b68;
}

@media (max-width: 576px) {
    .weather-widget {
        padding: 1.5rem;
    }
    .hour-card {
        min-width: 90px;
    }
}


/* ✅ ORGANIZATIONAL STRUCTURE PAGE */
/* -----------------------------------------------------------
   PROFESSIONAL ADVANCED ORGANIZATIONAL STRUCTURE (UI/UX)
------------------------------------------------------------*/
/* ORG STRUCTURE */
.org-structure {
  background: #f9fafb;
}

/* Nodes (Boxes) */
.org-node {
  background: #ffffff;
  padding: 18px 20px;
  width: 240px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #e1e1e1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin: 0 auto;
}

.org-node p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* Highlight top levels */
.org-node.main {
  border-color: #007749;
  box-shadow: 0 6px 16px rgba(0, 100, 60, 0.2);
}

/* Single vertical connector */
.org-line {
  width: 3px;
  height: 45px;
  background: #007749;
  margin: 0 auto;
}

/* /************** ORG STRUCTURE **************/
.org-node {
  background: #fff;
  padding: 15px 20px;
  border: 2px solid #0a6645;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.org-node.main {
  font-size: 16px;
  font-weight: 600;
  background: #0a6645;
  color: #fff;
  border-color: #0a6645;
}

.org-node.mid {
  width: 23%;
}

.org-node.small {
  width: 180px;
  margin: 10px;
}

.org-line {
  width: 2px;
  height: 40px;
  background: #0a6645;
  margin: 0 auto;
}

.org-horizontal-line {
  width: 100%;
  height: 2px;
  background: #0a6645;
  margin: 20px 0;
}

.org-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.org-row.vertical-connectors {
  margin-top: -10px;
  height: 30px;
}

.org-row.vertical-connectors span {
  width: 2px;
  height: 100%;
  background: #0a6645;
  display: block;
  margin: 0 10%;
}

/* SUB-GROUPS */
.org-sub-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/******** Bottom Connector Back to Infrastructure **********/
.infra-bottom-connector {
  width: 2px;
  height: 60px;
  background: #0a6645;
  margin: 0 auto;
  position: relative;
}

.infra-bottom-connector::after {
  content: "";
  width: 60%;
  height: 2px;
  background: #0a6645;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

/************ RESPONSIVE ************/
@media (max-width: 992px) {
  .org-row.level-3 {
    flex-direction: column;
    gap: 20px;
  }

  .org-row.vertical-connectors span {
    display: none;
  }

  .org-sub-group {
    flex-direction: column;
  }
}


/*** Service Start ***/
.service .nav .nav-item {
    width: 75%;
    border: 1px solid var(--primary);
    background: var(--gray);
}

.service .nav .nav-item a {
    display: flex;
    justify-content: center;
}


.owl-stage-outer {
    margin-right: -1px;
}
.service .nav-item a.active {
    background: var(--yellow) !important;
}

.service .nav-item a span {
    color: var(--dark) !important;
}

.service .nav-item a.active span {
    color: black !important;
}

.service-carousel .owl-nav .owl-prev,
.service-carousel .owl-nav .owl-next {
    position: absolute;
    padding: 10px 35px;
    border: 1px solid var(--yellow);
    color: var(--bs-dark);
    background: var(--yellow) !important;
    transition: 0.5s;
}

.service-carousel .owl-nav .owl-prev:hover,
.service-carousel .owl-nav .owl-next:hover {
    background: var(--primary)!important;
    color: var(--white) !important;
}

@media (min-width: 992px) {
    .service-carousel .owl-nav .owl-prev {
        top: 0;
        left: -115px;
    }
    
    .service-carousel .owl-nav .owl-next {
        bottom: 0;
        left: -115px;
    }
}

@media (max-width: 991px) {
    .owl-stage-outer {
        margin-bottom: 70px;
    }
    .service-carousel .owl-nav .owl-prev {
        bottom: -70px;
        left: 0;
    }

    .service-carousel .owl-nav .owl-next {
        bottom: -70px;
        right: 0;
    }

    .service .nav {
        display: flex;
        justify-content: center;
    }
}
/*** Service End ***/


/* ============================================================
   FOOTER BACKGROUND + OVERLAYS (RESPONSIVE)
   ============================================================ */

/* Footer Background */
.footer-bg {
    position: relative;
    background-image: url('../img/tower.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff !important;
    font-weight: bold !important;
    overflow: hidden;
    padding: 60px 0; /* space for all devices */
}

/* Yellowish Overlay */
.footer-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 204, 51, 0.6);
    z-index: 0;
}

/* Content stays above overlay */
.footer-bg * {
    position: relative;
    z-index: 1;
}

/* Hover links */
.footer-bg a:hover {
    color: var(--primary) !important;
}

/* Back to top button */
.footer-bg .back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 20;
}

/* Middle Section */
.footer-middle-text,
.footer-bottom-bar {
    position: relative;
    color: #fff;
    font-weight: bold !important;
    z-index: 1;
}

/* Green Overlay */
.footer-middle-text .overlay-green {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 119, 73, 0.7);
    z-index: -1;
}

/* Yellow Overlay */
.footer-bottom-bar .overlay-yellow {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 119, 73, 0.7);
    z-index: -1;
}

/* Optional text styles */
.footer-middle-text small {
    font-style: italic;
}

.footer-bottom-bar {
    margin-bottom: 60px;
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */

@media (max-width: 768px) {
    .footer-bg {
        background-size: contain; /* Prevents image zoom on mobile */
        background-position: top center;
        padding: 40px 0; /* Reduce padding for small screens */
    }

    .footer-bg .container {
        text-align: center; /* Make mobile layout cleaner */
    }

    .footer-middle-text,
    .footer-bottom-bar {
        padding: 15px;
    }

    .footer-bg h3 {
        font-size: 1.2rem;
    }

    .footer-bg p,
    .footer-bg a {
        font-size: 0.9rem;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .footer-bg {
        background-size: cover; /* fallback for ultra small screens */
        background-position: center;
        padding: 30px 0;
    }
}

    
/* Wrapper for sliding text */
.notice-text-wrapper {
  white-space: nowrap;
  overflow: hidden;
  height: 50px; /* increase this value to make it taller */
  display: flex; /* center text vertically */
  align-items: center;
  padding: 0 1rem; /* optional: horizontal padding */
}



/* Sliding text */
.notice-text {
  display: inline-block;
  padding-left: 100%; /* start off-screen to the right */
  animation: scroll-left 10s linear infinite;
  animation-play-state: running; /* default state */
  transition: none;
}

/* Pause scrolling on hover */
.notice-text-wrapper:hover .notice-text {
  animation-play-state: paused;
}


.footer-bottom-bar {
  margin-bottom: 60px; 
  position: relative;
  z-index: 2;
}

/* Make scrolling bar height consistent */
#offlineText {
  height: 50px !important;
  z-index: 3; 
}


.pagination .page-link {
    border-radius: 8px !important;
    margin: 0 3px !important;
    padding: 8px 14px !important;
    color:#000 !important;
    }

    .pagination .page-item.active .page-link {
        background-color: #ffc107 !important;
        border-color: #ffc107 !important;
        color: #000 !important;
    }

    .pagination .page-item.disabled .page-link {
        opacity: 0.5 !important;
    }

/* Keyframes for continuous scrolling */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}