/* ============================================================
   GAP — Global Academic Pathway | Main Stylesheet
   ============================================================ */

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

:root {
  --navy:       #0D2F5E;
  --navy-light: #1a4a8a;
  --gold:       #D4890A;
  --gold-light: #f5a623;
  --cream:      #FAF7F2;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --muted:      #6b7280;
  --border:     #e5e0d8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAVBAR ────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  height: 70px;
  display: flex; align-items: center;
  padding: 0 56px;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: flex-end; gap: 0; text-decoration: none; }
.nav-logo-text { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1; }
.nav-logo-text .g, .nav-logo-text .p { color: var(--navy); }
.nav-logo-text .a { color: var(--gold); }
.nav-logo-tagline { font-family: Arial, sans-serif; font-size: 9px; letter-spacing: 2.5px; color: #999; display: block; margin-top: 2px; text-transform: uppercase; }
.nav-logo-wrap { display: flex; flex-direction: column; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--navy); font-size: 14px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--navy); color: white;
  padding: 9px 22px; border-radius: 4px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy-light); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }

.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 70px; left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  z-index: 999; padding: 16px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 0; text-decoration: none; color: var(--navy);
  font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child {
  border-bottom: none; margin-top: 12px;
  background: var(--navy); color: white;
  text-align: center; padding: 12px; border-radius: 4px;
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-content {
  background: var(--navy);
  padding: 72px 56px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-content::after {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(212,137,10,0.08);
}

.hero-badge {
  display: inline-block;
  background: rgba(212,137,10,0.18);
  border: 1px solid rgba(212,137,10,0.35);
  color: var(--gold-light);
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 3.8vw, 58px);
  font-weight: 700; line-height: 1.1; color: white;
  margin-bottom: 20px;
}
.hero-content h1 em { color: var(--gold-light); font-style: normal; }

.hero-desc {
  font-size: 15px; line-height: 1.9; color: rgba(255,255,255,0.7);
  margin-bottom: 40px; font-weight: 300; max-width: 420px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-gold {
  background: var(--gold); color: white;
  padding: 13px 28px; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.4); color: white;
  padding: 13px 28px; border-radius: 4px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: all 0.2s; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: white; }

/* Hero image mosaic */
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.4fr 1fr;
  gap: 4px;
}
.mosaic-img {
  position: relative; overflow: hidden;
}
.mosaic-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 7s ease;
}
.mosaic-img:hover img { transform: scale(1.05); }
.mosaic-img::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(13,47,94,0.28);
}
.mosaic-main { grid-column: 1 / 3; grid-row: 1; }
.mosaic-main::after { background: rgba(13,47,94,0.15); }

.img-label {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  background: rgba(13,47,94,0.85); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 10px; border-radius: 2px;
}

/* ─── STRIP ─────────────────────────────────── */
.strip {
  background: var(--navy);
  padding: 24px 56px;
  display: flex; gap: 36px; justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.strip-item {
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.72);
  font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
}
.strip-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ─── PHILOSOPHY ────────────────────────────── */
.philosophy {
  background: var(--cream);
  padding: 64px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.philosophy blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(20px, 2.3vw, 28px);
  font-style: italic; color: var(--navy);
  line-height: 1.7; max-width: 820px; margin: 0 auto;
}
.philosophy blockquote strong { color: var(--gold); font-style: normal; }

/* ─── SECTION COMMONS ───────────────────────── */
.section { padding: 88px 56px; }
.section-inner { max-width: 1120px; margin: 0 auto; }

.s-tag {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.s-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700; color: var(--navy);
  line-height: 1.15; margin-bottom: 16px;
}
.s-sub {
  font-size: 15px; color: var(--muted);
  line-height: 1.9; font-weight: 300; max-width: 560px;
}

/* ─── VISION ────────────────────────────────── */
.vision-bg { background: white; }

.vision-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-top: 52px;
}

.pillars { display: flex; flex-direction: column; gap: 18px; }

.pillar {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border: 1px solid var(--border); border-radius: 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pillar:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(212,137,10,0.09); }

.pillar-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px; font-weight: 700; color: rgba(212,137,10,0.22);
  line-height: 1; flex-shrink: 0; width: 36px;
}
.pillar h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.pillar p { font-size: 13px; color: var(--muted); line-height: 1.75; }

.vision-right {}
.vision-quote {
  background: var(--navy); border-radius: 12px;
  padding: 42px 38px; position: relative; overflow: hidden;
}
.vision-quote::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 180px;
  color: rgba(212,137,10,0.1); position: absolute;
  top: -24px; left: 14px; line-height: 1; pointer-events: none;
}
.vision-quote blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px; font-style: italic; line-height: 1.7;
  color: rgba(255,255,255,0.88); margin-bottom: 20px; position: relative; z-index: 1;
}
.vision-quote cite {
  font-size: 11px; color: var(--gold-light); letter-spacing: 2px;
  text-transform: uppercase; font-style: normal;
}
.vision-image {
  margin-top: 16px; border-radius: 8px; overflow: hidden; height: 200px;
}
.vision-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── SERVICES ──────────────────────────────── */
.services-bg { background: var(--cream); }

.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 52px;
}

.svc-card {
  background: white; border-radius: 10px;
  border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.svc-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(13,47,94,0.1); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-img { height: 190px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.svc-card:hover .svc-img img { transform: scale(1.04); }

.svc-body { padding: 24px 24px 30px; }
.svc-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px; font-weight: 700; color: rgba(212,137,10,0.16);
  line-height: 1; margin-bottom: 4px;
}
.svc-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.svc-card p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.svc-badge {
  display: inline-block;
  background: rgba(13,47,94,0.07); color: var(--navy);
  font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 20px;
}

/* ─── AUDIENCE ──────────────────────────────── */
.audience-bg { background: white; }

.aud-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 52px;
}

.aud-card { border-radius: 10px; overflow: hidden; }
.aud-card.c-navy { background: var(--navy); }
.aud-card.c-cream { background: var(--cream); border: 1px solid var(--border); }
.aud-card.c-gold  { background: var(--gold); }

.aud-img { height: 170px; overflow: hidden; }
.aud-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.aud-body { padding: 24px 26px 28px; }
.aud-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.c-navy h3, .c-gold h3 { color: white; }
.c-cream h3 { color: var(--navy); }

.aud-card > .aud-body > p { font-size: 13px; line-height: 1.75; margin-bottom: 14px; }
.c-navy .aud-body > p { color: rgba(255,255,255,0.65); }
.c-cream .aud-body > p { color: var(--muted); }
.c-gold .aud-body > p  { color: rgba(255,255,255,0.82); }

.aud-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.aud-list li { font-size: 12.5px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.aud-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.c-navy .aud-list li { color: rgba(255,255,255,0.68); }
.c-navy .aud-list li::before { background: var(--gold-light); }
.c-cream .aud-list li { color: var(--muted); }
.c-cream .aud-list li::before { background: var(--navy); }
.c-gold .aud-list li  { color: rgba(255,255,255,0.85); }
.c-gold .aud-list li::before { background: rgba(255,255,255,0.65); }

/* ─── WHY GAP ───────────────────────────────── */
.why-bg { background: var(--cream); }

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start; margin-top: 52px;
}

.why-points { display: flex; flex-direction: column; gap: 20px; }

.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.why-point h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.why-point p  { font-size: 13px; color: var(--muted); line-height: 1.75; }

.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.stat-box {
  background: white; border-radius: 10px;
  padding: 28px 20px; text-align: center;
  border: 1px solid var(--border);
}
.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 46px; font-weight: 700; color: var(--navy); line-height: 1;
}
.stat-num sup { color: var(--gold); font-size: 24px; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.55; }

/* ─── CTA SECTION ───────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 96px 56px; text-align: center;
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700; color: white; margin-bottom: 16px;
}
.cta-section h2 em { color: var(--gold-light); font-style: normal; }
.cta-section p {
  font-size: 15px; color: rgba(255,255,255,0.62);
  max-width: 500px; margin: 0 auto 36px; line-height: 1.9;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white; color: var(--navy);
  padding: 13px 28px; border-radius: 4px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.btn-white:hover { background: var(--cream); }
.btn-ghost2 {
  border: 1.5px solid rgba(255,255,255,0.38); color: white;
  padding: 13px 28px; border-radius: 4px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost2:hover { background: rgba(255,255,255,0.08); border-color: white; }

/* ─── FOOTER ────────────────────────────────── */
footer {
  background: #07101f;
  padding: 40px 56px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-logo-text { font-family: Georgia, serif; font-size: 26px; font-weight: 700; line-height: 1; }
.footer-logo-text .g, .footer-logo-text .p { color: rgba(255,255,255,0.8); }
.footer-logo-text .a { color: var(--gold); }
.footer-tagline { font-size: 9px; letter-spacing: 2px; color: rgba(255,255,255,0.28); text-transform: uppercase; margin-top: 3px; }

.footer-links { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.38); font-size: 12.5px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ─── SCROLL REVEAL ─────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .navbar { padding: 0 32px; }
  .section { padding: 72px 32px; }
  .strip { padding: 22px 32px; gap: 24px; }
  .philosophy { padding: 56px 32px; }
  .hero-content { padding: 56px 36px; }
  .vision-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-section { padding: 80px 32px; }
  footer { padding: 36px 32px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; height: 62px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; margin-top: 62px; min-height: auto; }
  .hero-content { padding: 48px 20px 44px; }
  .hero-mosaic { height: 52vw; }
  .mosaic-main { grid-column: 1 / 3; }

  .section { padding: 56px 20px; }
  .strip { padding: 18px 20px; gap: 16px; }
  .philosophy { padding: 48px 20px; }

  .svc-grid, .aud-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .cta-section { padding: 64px 20px; }
  footer { padding: 30px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 30px; }
  .hero-btns { flex-direction: column; }
  .btn-gold, .btn-ghost { width: 100%; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; }
  .btn-white, .btn-ghost2 { width: 100%; text-align: center; }
  .mobile-menu { top: 62px; }
}
