/* ============================= */
/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', Arial, sans-serif;
  background: #f4f7fb;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================= */
/* Base Section */
.about-section {
  width: 100%;
  padding: 80px 8%;
  text-align: center;
}

/* ============================= */
/* Section Backgrounds */
.about-section.welcome {
  background: linear-gradient(135deg, #5ba566, #5d52c1);
  color: #fff;
}

.about-section.who-we-are {
  background: #dff6ff;
}

.about-section.vision {
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
}

.about-section.mission {
  background: #f7fdfb;
}

.about-section.partnerships {
  background: #f9e6ff;
}

/* ============================= */
/* ACHIEVEMENTS (FIXED – NO SIDE CURVE) */
.about-section.achievements {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: #fff;
  position: relative;
  padding-bottom: 180px;
}

.about-section.achievements::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #f4f7fb;
}

/* ============================= */
/* Headings */
.about-section h1,
.about-section h2 {
  margin-bottom: 20px;
}

.about-section h2 {
  font-size: 32px;
  color: #20c520;
}

.about-section h3 {
  margin-top: 30px;
  color: #f9d342;
  text-transform: uppercase;
  font-size: 18px;
}

/* ============================= */
/* Paragraphs */
.about-section p {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.8;
}

/* ============================= */
/* Images */
.about-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 35px auto;
  display: block;
}

/* ============================= */
/* CTA */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  margin-top: 25px;
  font-weight: 500;
}

/* ============================= */
/* MISSION SECTION */
.mission-content {
  max-width: 1100px;
  margin: auto;
  background: linear-gradient(135deg, #1abc9c, #0b3d2e);
  padding: 70px 60px;
  border-radius: 25px;
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.mission-content p {
  color: #eafaf6;
}

.mission-image img {
  max-width: 600px;
  width: 100%;
  margin: 40px auto;
  display: block;
  border-radius: 20px;
}

/* ============================= */
/* TEAM SECTION */
.team {
  background: #ffffff;
  padding: 120px 8% 100px;
  text-align: center;
}

.team h2 {
  font-size: 36px;
  margin-bottom: 45px;
  color: #20c520;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.member {
  width: 220px;
  padding: 25px;
  background: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.member:hover {
  transform: translateY(-10px);
}

.member img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #1abc9c;
}

.member h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #0b3d2e;
}

.member p {
  font-size: 14px;
  color: #666;
}

/* ============================= */
/* ACHIEVEMENTS GRID */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.achievement-block {
  background: rgba(255,255,255,0.12);
  padding: 35px 25px;
  border-radius: 20px;
}

.achievement-block .icon {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.achievement-block .number {
  font-size: 2rem;
  font-weight: bold;
  color: #ffe066;
  margin-bottom: 10px;
}

.achievement-block h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.achievement-block p {
  color: #f1f1f1;
  font-size: 15px;
}

/* ============================= */
/* WHY CHOOSE US */
.about-section.why-choose-us {
  background: #f4f7fb;
  padding: 120px 8% 120px;
  margin-top: -80px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.about-section.why-choose-us h2 {
  font-size: 36px;
  color: #1abc9c;
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 750px;
  margin: 0 auto 60px;
  font-size: 16px;
  color: #555;
}

.choose-grid {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

.choose-card {
  background: #ffffff;
  width: 320px;
  padding: 45px 30px;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.choose-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.choose-card .icon {
  font-size: 38px;
  margin-bottom: 20px;
  display: inline-block;
}

.choose-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0b3d2e;
}

.choose-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* ============================= */
/* MOBILE */
@media (max-width: 768px) {

  .about-section {
    padding: 55px 20px;
  }

  .about-section.why-choose-us {
    padding: 80px 20px;
    margin-top: -40px;
  }

  .mission-content {
    padding: 45px 25px;
    text-align: center;
  }

  .mission-image img {
    max-width: 100%;
  }

  .team {
    padding: 80px 20px;
  }

  .team-members {
    flex-direction: column;
    align-items: center;
  }

  .choose-card {
    width: 100%;
    max-width: 360px;
  }
}
/* ================= RESET (OPTIONAL) ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY OFFSET ================= */
body {
  padding-top: 80px; /* fixed navbar space */
}

/* ================= NAVBAR ================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #000;
  z-index: 9999;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */
.logo img {
  height: 70px;
  width: auto;
}

/* ================= NAV ================= */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 4px;
  white-space: nowrap;
  transition: 0.3s ease;
}

nav ul li a:hover {
  color: #2cff77;
}

/* ================= MEGA MENU ================= */
.mega-menu {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: none;
  z-index: 99999;
}

.mega-dropdown:hover .mega-menu {
  display: block;
}

/* GRID */
.mega-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 60px;
}

.mega-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e53935;
}

.mega-col ul {
  list-style: none;
}

.mega-col ul li {
  margin-bottom: 8px;
}

.mega-col ul li a {
  font-size: 14px;
  color: #444;
  transition: 0.3s;
}

.mega-col ul li a:hover {
  color: #3623dd;
  padding-left: 4px;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .logo img {
    height: 60px;
  }

  .mega-menu {
    display: none !important;
  }
}
/* ===== MOBILE NAVBAR FIX ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

  nav {
    justify-content: flex-end;
  }

  nav ul {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #000;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    display: none;   /* 🔴 IMPORTANT */
  }

  nav ul.active {
    display: flex;   /* ✅ show on toggle */
  }

  .menu-toggle {
    display: block;
  }
}
/* ===== MOBILE FIX ===== */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #1e3a5f;
    width: 260px;
    height: calc(100vh - 70px);
    flex-direction: column;
    padding: 20px;
    gap: 15px;

    /* 🔥 IMPORTANT */
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #fff;
  }

  .mega-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    padding: 10px 0;
  }

  .mega-row {
    grid-template-columns: 1fr;
  }
}
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  z-index: 1100;
}

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    width: 260px;
    height: calc(100vh - 70px);
    background: #000;

    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px;

    z-index: 1050;   /* 🔥 THIS FIXES IT */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #fff;
  }
}
/* ===== DESKTOP FORCE FIX ===== */
@media (min-width: 901px) {
  .nav-links {
    position: static !important;
    display: flex !important;
    flex-direction: row;
    height: auto;
    width: auto;
    background: transparent;
  }

  .menu-toggle {
    display: none !important;
  }
}
