html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9fafc;
}

/* ===============================
   🌐 Base Navbar (Desktop Default)
   =============================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f9d65c, #f6b93b);
  padding: 0px 40px;
  font-family: 'Segoe UI', sans-serif;
  height: 70px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* ✅ Logo */
/* .navbar .logo {
  display: flex;
  align-items: center;
} */
.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;
  }

}

/* ===============================
   📱 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: 40px;
  }

  .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: 1000;
  /* ✅ 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 */
  }
}





.index--section {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Make Swiper full width and center aligned */
.swiper {
  width: 100%;
  height: 350px;
  margin-top: 50px;
  /* max-width: 1200px; */
  border-radius: 20px;
  overflow: hidden;
  border-radius: 0 !important;
  /* margin-bottom: 40px; */
}

/* Style each slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 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: #2E7D32;
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  /* color: #007bff; */
  color: white;
  font-weight: bold;
  transition: transform 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2);
}




.achievements-section {
    padding: 50px 20px;
    /* background: linear-gradient(135deg, #f4f7fb, #eaf0f8); */
    max-width: 1100px;   /* limits total width */
    margin: 0 auto;      /* centers the section */
}
.achievements-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}


.achievement-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
}

.achievement-text {
    flex: 1;
    padding: 25px 30px;
}

.achievement-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2a66;
    margin-bottom: 15px;
    border-left: 5px solid #f6b93b;

    padding-left: 10px;
}

.achievement-description {
    color: #444;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.achievement-date {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 20px;
}

.btn-view {
    display: inline-block;
  background: linear-gradient(135deg, #f9d65c, #f6b93b);

    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-view:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.achievement-image {
    flex: 0 0 320px;
    max-height: 300px;
    /* max-height: auto; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.achievement-card:hover .achievement-image img {
    transform: scale(1.05);
}

/* Alternating layout for variety */
/* .achievement-card:nth-child(even) {
    flex-direction: row-reverse;
} */

/* Responsive adjustments */
@media (max-width: 992px) {
    .achievement-card {
        flex-direction: column;
    }
    .achievement-image {
        flex: unset;
        max-height: 220px;
    }
}
