html {
  scroll-behavior: smooth;
}

/* ===============================
   🌐 Base Navbar (Desktop Default)
   =============================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #1b5e20, #2e7d32);
  padding: 0px 40px;
  font-family: 'Segoe UI', sans-serif;
  height: 70px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.25);
}

.navbar .logo img{
  height: 42px;
  position: absolute;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  top: 20%;
}

/* ✅ Menu Button (☰) */
.menu-button {
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}
.menu-button:hover {
  color: #FFD700;
  transform: scale(1.1);
}

/* 🔗 Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative; /* Needed for tooltip positioning */
}

.nav-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links li a:hover {
  color: #FFD700;
  transform: scale(1.07);
}

/* ===============================
   💻 Small Desktop / Laptop
   =============================== */
@media (max-width: 1280px) {
  .navbar {
    padding: 10px 30px;
    height: 60px;
  }
  .navbar .logo img {
    height: 38px;
  }
  .menu-button {
    font-size: 1.7rem;
  }
  .nav-links {
    gap: 30px;
  }
}

/* ===============================
   📱 Tablets (Landscape / Portrait)
   =============================== */
@media (max-width: 1024px) {
  .navbar {
    padding: 10px 20px;
    height: 55px;
  }

  .navbar .logo img {
    height: 34px;
  }

  .nav-links {
    gap: 20px;
  }

  /* Hide text on tablets and smaller */
  .nav-links .link-text {
    display: none;
  }

  .nav-links i {
    font-size: 1.6rem;
  }

  /* Tooltip for small screens */
  .nav-links li a::after {
    content: attr(title);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
  }
  .nav-links li a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(2px);
  }
}

/* ===============================
   📱 Small Tablets / Large Phones
   =============================== */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 15px;
    height: 50px;
  }

  .navbar .logo img {
    height: 30px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links i {
    font-size: 1.5rem;
  }

  .menu-button {
    font-size: 1.5rem;
  }
}

/* ===============================
   📞 Mobile Phones
   =============================== */
@media (max-width: 480px) {
  .navbar {
    padding: 6px 10px;
    height: 45px;
  }

  .navbar .logo img {
    height: 26px;
  }

  .nav-links {
    margin-left: 20px;
    gap: 12px;
  }

  .nav-links i {
    font-size: 1.3rem;
  }

  .menu-button {
    font-size: 1.4rem;
  }
}

/* ===============================
   💻 Desktop Visibility Rules
   =============================== */
@media (min-width: 1025px) {
  .nav-links .link-text {
    display: inline;
  }
  .nav-links i {
    display: inline;
  }
}



.fas.fa-bars {
  color: #fff;        /* make the icon white */
  font-size: 22px;    /* optional: adjust size */
  cursor: pointer;    /* optional: makes it clickable */
  transition: color 0.3s ease;
}

.fas.fa-bars:hover {
  color: #ffebcd;     /* optional: light cream on hover */
}

/* 🌐 Main Dropdown Menu Panel */
.menu-panel {
  position: fixed;
  top: 70px;
  right: 20px;
  left: auto;
  width: 360px;
  max-height: 93vh; /* ✅ scrollable limit */
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  height: auto;
  background: #002b5b;
  display: none;
  flex-direction: column;
  overflow-y: auto;      
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(-15px);
  transition: all 0.3s ease;
  z-index: 10000;
  /* ✅ Cross-browser scrollbar support */
  scrollbar-width: thin;                /* Firefox */
  scrollbar-color: rgba(255,255,255,0.08) #002b5b;     /* thumb + track colors */
}

/* When menu is shown */
.menu-panel.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  right: 0; 
}

/* 🔹 WebKit Scrollbar (Chrome, Edge, Safari) */
.menu-panel::-webkit-scrollbar {
  width: 8px;
}

.menu-panel::-webkit-scrollbar-track {
  background: #002b5b;
}

.menu-panel::-webkit-scrollbar-thumb {
  background-color: #ff5e00;
  border-radius: 4px;
  border: 2px solid #002b5b;
}

.menu-panel::-webkit-scrollbar-thumb:hover {
  background-color: #ff7f32;
}

/* 🔹 Menu List Container */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* 🔸 Top-Level Items */
.menu-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0;
}

/* 🔹 Menu Titles */
.menu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 25px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.menu-title:hover {
  background: rgba(255,255,255,0.08);
  color: #FFD700;
}

/* 🔸 Simple Links */
.menu-item > a {
  display: block;
  padding: 14px 25px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.menu-item > a:hover {
  background: rgba(255,255,255,0.08);
  color: #FFD700;
}

/* 🔻 Submenu Section */
.submenu {
  list-style: none;
  margin: 0;
  padding-left: 0;
  background: #013869;
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.submenu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 35px;
  font-size: 0.95rem;
  color: #e0e0e0;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  transition: 0.3s;
}

.submenu li a:hover {
  color: #FFD700;
  background: rgba(255,255,255,0.05);
}

/* Show submenu when parent has .open */
.menu-item.open .submenu {
  display: flex;
  max-height: 800px;
}

/* Small logo next to items */
.logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

/* ===============================
   🌐 Responsive Dropdown Panel
   =============================== */

/* Tablets (max 1024px) */
@media (max-width: 1024px) {
  .menu-panel {
    width: 280px;   /* narrower on tablets */
    top: 65px;
    right: 10px;
  }
}

/* Small Tablets / Large Phones (max 768px) */
@media (max-width: 768px) {
  .menu-panel {
    width: 240px;
    top: 60px;
    right: 5px;
  }
}

/* Mobile Phones (max 480px) */
@media (max-width: 480px) {
  .menu-panel {
    z-index: 1000;
    width: 100%;    /* full width on mobile */
    top: 45px;
    right: 0;
    border-radius: 0; /* optional, remove rounded corners */
  }
}



/*endregion  */
.index--section {
  width: 100%;
  position: relative;
  z-index: 1;
}


.mySwiper {
  margin-top: 70px;
  width: 100%;
  height: calc(45vh - 70px);
  overflow: hidden;
  border-radius: 0 !important;
}

/* Style each slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa; /* Light gray or any color you prefer */
}

/* Image inside slides */ 
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

/* Pagination bullets */
.swiper-pagination-bullet {
  background: #999;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #007bff;
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  font-weight: bold;
  transition: transform 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2);
}


/* ✅ MAIN WRAPPER */
.wrp {
  margin-top: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 10px 20px;
  background: #f4fbf6; /* soft green background */
  font-family: 'Poppins', sans-serif;
}

/* 🧱 Card Containers */
.about.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  width: 70%;
  min-width: 320px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.08);
}

.about.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.15);
}

/* 🧭 Headings */
.about h3 {
  text-align: center;
  color: #2e7d32; /* calm green */
  font-size: 28px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* 📝 Paragraphs */
.about p, 
.about li {
  color: #2f3e2f;
  line-height: 1.7;
  font-size: 1rem;
  text-align: justify;
}

/* Inner Sections */
.inner-about {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.inners {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
  border-left: 5px solid transparent;
}

/* .inners:hover {
  background: #e8f5e9; 
  border-left: 5px solid #66bb6a;
} */

/* 🔢 Goals Numbering */
.inners.coreValues  {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.inners.coreValues li {
  display: flex;
  align-items: center;
  /* background: #e8f1ff; */
  font-size: 16px;
  margin-bottom: 1px;
  padding: 2px 15px;
  border-radius: 8px;
  transition: 0.3s;
}


/* 🌿 Highlight Box */
.core-box {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: linear-gradient(90deg, #2e7d32, #66bb6a);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  line-height: 35px;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* program section */
.program-section {
  background: #f4fbf6; /* very soft green background */
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  font-family: 'Segoe UI', sans-serif;
}

.program-card {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.08);
  padding: 40px;
  transition: 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(46, 125, 50, 0.12);
}

/* Main Heading */
.program-header h2 {
  text-align: center;
  color: #2e7d32; /* calm green */
  font-size: 26px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* Underline */
.underline {
  width: 70px;
  height: 4px;
  background: #66bb6a; /* softer green */
  margin: 0 auto 30px auto;
  border-radius: 5px;
}

/* Program Title */
.program-body h3 {
  color: #1b5e20; /* darker but soft green */
  font-size: 22px;
  margin-bottom: 25px;
  text-align: center;
}

/* Qualification Box */
.qualification-box {
  background: #e8f5e9; /* light green highlight */
  padding: 25px;
  border-left: 5px solid #66bb6a;
  border-radius: 10px;
}

/* Qualification Heading */
.qualification-box h4 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

/* List */
.qualification-box ul {
  list-style: none;
  padding-left: 0;
}

.qualification-box li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #2f3e2f;
}

/* Soft check icon */
.qualification-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: #66bb6a;
  font-weight: bold;
}





/* organizational chart */

.chart-container {
    max-width: 1000px;
    margin: 75px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.chart-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chart-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #ccc;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.chart-image:hover { 
    transform: scale(1.02);
}