/* ============================================================
   FGSC-MM — High Achievers Page
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(135deg, #f8faf6 0%, #e8f0e4 100%);
  color: #1a2410;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(15, 31, 20, 0.05); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6fcf87, #8bc68f);
  border-radius: 4px;
}

/* ============================================================
   MENU BUTTON
   ============================================================ */
.menu-btn {
  position: fixed;
  top: 28px;
  left: 28px;
  padding: 12px 20px;
  background: linear-gradient(145deg, rgba(15, 31, 20, 0.92), rgba(26, 36, 30, 0.9));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  cursor: pointer;
  z-index: 10000;
  color: #6fcf87;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  border: 1px solid rgba(168, 213, 162, 0.25);
  box-shadow: 0 4px 20px rgba(15, 31, 20, 0.3);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn:hover {
  background: linear-gradient(145deg, rgba(168, 213, 162, 0.15), rgba(120, 180, 120, 0.12));
  border-color: #6fcf87;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(168, 213, 162, 0.25);
}

.menu-btn i {
  font-size: 13px;
  color: #6fcf87;
}


.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 275px;
  height: 100vh;
  background: #1c3d28;
  border-right: 1px solid rgba(120, 180, 120, 0.12);
  transition: left 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 6px 0 40px rgba(0,0,0,0.5);
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fcf87, transparent);
  opacity: 0.55;
  z-index: 10;
}

.sidebar.active { left: 0; }

.sidebar-header {
  position: relative;
  z-index: 2;
  padding: 30px 20px 22px;
  border-bottom: 1px solid rgba(120, 180, 120, 0.1);
  display: flex;
  align-items: center;
  gap: 13px;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(120, 180, 120, 0.1);
  border: 1px solid rgba(120, 180, 120, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 700;
  color: #6fcf87;
  flex-shrink: 0;
}

.sidebar-title { display: flex; flex-direction: column; gap: 3px; }

.sidebar-title span:first-child {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: #c8e8c4;
}

.sidebar-title span:last-child {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(168, 213, 162, 0.4);
  text-transform: uppercase;
}

.close-btn {
  position: absolute;
  top: 22px;
  right: 16px;
  width: 28px;
  height: 28px;
  font-size: 14px;
  color: rgba(168, 213, 162, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  z-index: 3;
}

.close-btn:hover {
  color: #6fcf87;
  border-color: rgba(120, 180, 120, 0.2);
  background: rgba(120, 180, 120, 0.08);
  transform: rotate(90deg);
}

.nav-links {
  list-style: none;
  padding: 18px 14px;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  z-index: 2;
}

.nav-links li { margin: 2px 0; }

.nav-links li a {
  text-decoration: none;
  color: rgba(168, 213, 162, 0.55);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.nav-links li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6fcf87;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.25s ease;
  transform: scale(0);
}

.nav-links li a span { position: relative; z-index: 1; }

.nav-links li a:hover {
  color: #c8e8c4;
  background: rgba(120, 180, 120, 0.07);
  border-color: rgba(120, 180, 120, 0.12);
  padding-left: 18px;
}

.nav-links li a:hover::before { opacity: 1; transform: scale(1); }

.nav-links li a.active {
  color: #6fcf87;
  background: rgba(120, 180, 120, 0.1);
  border-color: rgba(120, 180, 120, 0.2);
  border-left: 2px solid #6fcf87;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(120, 180, 120, 0.08);
  text-align: center;
}

.sidebar-footer p {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(120, 180, 120, 0.2);
  text-transform: uppercase;
  margin: 0;
}
/* ============================================================
   PAGE HEADER
   ============================================================ */
.achievers-header {
  width: 100%;
  background: linear-gradient(135deg, #1c3d28 0%, #2d5a3d 55%, #d9a441 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.achievers-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(168, 213, 162, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(168, 213, 162, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.achievers-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168,213,162,0.4), #6fcf87, rgba(168,213,162,0.4), transparent);
  box-shadow: 0 0 20px rgba(168, 213, 162, 0.3);
}

.achievers-header-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.achievers-header .header-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #6fcf87;
  margin-bottom: 16px;
  opacity: 0.9;
  font-weight: 500;
}

.achievers-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow:
    0 2px 10px rgba(0,0,0,0.5),
    0 0 30px rgba(168, 213, 162, 0.2);
  position: relative;
}

.achievers-header h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fcf87, transparent);
}

.achievers-header .header-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  max-width: 600px;
  margin: 24px auto 0;
}

/* ============================================================
   ACHIEVER GROUP HEADER (Cambridge System / Federal Board)
   ============================================================ */
.achiever-group-header {
  text-align: center;
  max-width: 640px;
  margin: 64px auto 0;
  padding: 0 20px;
}

.achiever-group:first-of-type .achiever-group-header {
  margin-top: 20px;
}

.achiever-group-header .achiever-group-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #4a8a5a;
  margin-bottom: 10px;
}

.achiever-group-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: #1c3d28;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.achiever-group-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d9a441, transparent);
}

.achiever-group-header p {
  font-size: 0.95rem;
  font-weight: 400;
  color: #4a5a4d;
  letter-spacing: 0.02em;
}

.achiever-group-header + .achievers-grid {
  margin-top: 34px;
}

/* ============================================================
   ACHIEVERS GRID
   ============================================================ */
.achievers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 70px auto 80px;
  padding: 0 40px;
}

/* ============================================================
   ACHIEVER CARD
   ============================================================ */
.achiever-full {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(168, 213, 162, 0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s ease;
  background: #1c3d28;
  aspect-ratio: 4 / 5;
}

.achiever-full:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 65px rgba(0,0,0,0.28);
  border-color: rgba(168, 213, 162, 0.5);
}

.achiever-full-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s ease;
  filter: brightness(0.78) saturate(0.9);
}

.achiever-full:hover .achiever-full-image {
  transform: scale(1.06);
  filter: brightness(0.6) saturate(0.85);
}

.achiever-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 12, 0.92) 0%,
    rgba(10, 20, 12, 0.45) 40%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px 24px;
  transition: background 0.4s ease;
}

.achiever-full:hover .achiever-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 20, 12, 0.96) 0%,
    rgba(10, 20, 12, 0.6) 50%,
    rgba(10, 20, 12, 0.15) 100%
  );
}

.achiever-content {
  width: 100%;
  transform: translateY(6px);
  transition: transform 0.4s ease;
}

.achiever-full:hover .achiever-content {
  transform: translateY(0);
}

.achiever-tag {
  display: inline-block;
  background: linear-gradient(145deg, rgba(168, 213, 162, 0.18), rgba(120, 180, 120, 0.14));
  border: 1px solid rgba(168, 213, 162, 0.4);
  color: #6fcf87;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.achiever-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.achiever-highlight {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(168, 213, 162, 0.8);
  letter-spacing: 0.06em;
}

/* Tap hint icon */
.achiever-full::before {
  content: '\229E';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(15, 31, 20, 0.75);
  border: 1px solid rgba(168, 213, 162, 0.35);
  border-radius: 50%;
  font-size: 18px;
  color: #6fcf87;
  line-height: 36px;
  text-align: center;
  opacity: 0;
  transform: scale(0.7) rotate(-45deg);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 3;
  pointer-events: none;
}

.achiever-full:hover::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 10, 0.88);
  z-index: 99999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.lb-overlay.active {
  display: flex;
  animation: lbFadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-box {
  position: relative;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  border-radius: 24px;
  overflow: hidden;
  background: #0d1c10;
  border: 1px solid rgba(168, 213, 162, 0.25);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  animation: lbSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  display: flex;
  flex-direction: column;
}

@keyframes lbSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lb-img-wrap {
  position: relative;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
}

.lb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  max-height: 70vh;
  display: block;
}

.lb-caption {
  padding: 22px 28px;
  border-top: 1px solid rgba(168, 213, 162, 0.12);
  background: linear-gradient(180deg, rgba(13, 28, 16, 0.85), #0a160d);
  display: flex;
  align-items: center;
  gap: 16px;
}

.lb-caption-tag {
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(168, 213, 162, 0.18), rgba(120, 180, 120, 0.12));
  border: 1px solid rgba(168, 213, 162, 0.35);
  color: #6fcf87;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 5px 14px;
  border-radius: 30px;
}

.lb-caption-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  letter-spacing: 0.03em;
}

.lb-caption-text p {
  font-size: 0.85rem;
  color: rgba(168, 213, 162, 0.7);
  margin: 0;
  font-weight: 500;
}

.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 20, 12, 0.8);
  border: 1px solid rgba(168, 213, 162, 0.3);
  color: #6fcf87;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
  line-height: 1;
}

.lb-close:hover {
  background: rgba(168, 213, 162, 0.15);
  border-color: #6fcf87;
  transform: rotate(90deg) scale(1.1);
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 20, 12, 0.75);
  border: 1px solid rgba(168, 213, 162, 0.25);
  color: #6fcf87;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

.lb-arrow:hover {
  background: rgba(168, 213, 162, 0.15);
  border-color: #6fcf87;
  transform: translateY(-50%) scale(1.1);
}

.lb-prev { left: 18px; }
.lb-next { right: 18px; }

.lb-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
}

.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(168, 213, 162, 0.25);
  border: 1px solid rgba(168, 213, 162, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lb-dot.active {
  background: #6fcf87;
  transform: scale(1.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #142a1c;
  color: #c8e8c4;
  padding: 70px 50px 40px;
  border-top: 2px solid rgba(168, 213, 162, 0.15);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6fcf87, transparent);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
}

.footer-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6fcf87;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(168, 213, 162, 0.25);
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #6fcf87;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin: 12px 0; }

.footer-col ul li a {
  text-decoration: none;
  color: rgba(212, 240, 216, 0.6);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #6fcf87;
  padding-left: 8px;
}

.map-container iframe {
  border-radius: 16px;
  width: 100%;
  min-width: 300px;
  height: 220px;
  border: 1px solid rgba(168, 213, 162, 0.2);
}

.footer-text {
  text-align: center;
  margin-top: 45px;
  color: rgba(168, 213, 162, 0.45);
  font-size: 0.9rem;
  line-height: 1.85;
}

.footer-text strong {
  color: rgba(168, 213, 162, 0.75);
  font-weight: 600;
}

.social-icons {
  margin-top: 25px;
  text-align: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 12px;
  font-size: 20px;
  transition: all 0.35s ease;
  opacity: 0.75;
  border-radius: 12px;
  border: 1px solid rgba(168, 213, 162, 0.2);
  color: #6fcf87;
}

.social-icons a:hover {
  transform: translateY(-4px) scale(1.15);
  opacity: 1;
  background: rgba(168, 213, 162, 0.15);
  border-color: rgba(168, 213, 162, 0.4);
}

.social-icons a.facebook { color: #1877f2; }

.social-icons a.instagram { color: #E1306C; }
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .achievers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 0 28px;
    margin: 50px auto 60px;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    top: 24px;
    left: 24px;
    padding: 10px 16px;
    font-size: 11px;
  }

  footer { padding: 50px 28px 32px; }
  .footer-container { flex-direction: column; gap: 32px; }
}

@media (max-width: 600px) {
  .menu-btn {
    top: 20px;
    left: 20px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .achievers-header {
    min-height: 36vh;
    padding: 100px 20px 50px;
  }

  .achievers-header h1 { font-size: 2.5rem; }

  .achievers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 18px;
    margin: 40px auto 50px;
  }

  .achiever-full { aspect-ratio: 3 / 4; }

  .lb-box { border-radius: 18px; }
  .lb-caption { padding: 16px 18px; gap: 12px; flex-wrap: wrap; }
  .lb-caption-text h2 { font-size: 1.1rem; }
  .lb-arrow { display: none; }

  .map-container iframe { height: 350px; }
}
/* ---------------- Year tabs ---------------- */
.year-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--brand-mid, #1c3d28);
  background: #fff;
  color: var(--brand-mid, #1c3d28);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}
.year-tab:hover { background: rgba(28,61,40,0.08); }
.year-tab.active {
  background: var(--brand-mid, #1c3d28);
  color: #fff;
}
.year-panel { display: none; }
.year-panel.active { display: block; }
.footer-bottom a { color:rgba(255,255,255,0.6); text-decoration:none; }
.footer-bottom a:hover { color:#d9a441; }

.meet-team-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d9a441, #b9852f);
  color: #142a1c;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(217,164,65,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.meet-team-btn:hover {
  background: linear-gradient(135deg, #6fcf87, #4caf7d);
  color: #142a1c;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(111,207,135,0.4);
}
.footer-bottom { text-align: center; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); }
