/* =========================================================
   Global Education Hub — styles.css
   Premium navy + gold theme, fully responsive
   ========================================================= */

:root {
  --navy-900: #0b1e45;
  --navy-800: #102a5c;
  --navy-700: #16377a;
  --gold: #f6b93b;
  --gold-dark: #d9981e;
  --ink: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .18);
  --container: 1180px;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--slate-700); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .8rem;
}
.eyebrow.light { color: #fde68a; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: .72rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gold); color: var(--navy-900); box-shadow: 0 8px 22px rgba(246,185,59,.38); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-100); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-light:hover { background: var(--slate-100); }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy-700); color: #fff;
  padding: .6rem 1rem; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Top bar */
.topbar { background: var(--navy-900); color: #cbd5e1; padding: .5rem 0; font-size: .85rem; }
.topbar-inner { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-rating { color: var(--gold); font-weight: 700; }

/* Header */
.site-header.is-scrolled { box-shadow: var(--shadow-md); border-bottom-color: transparent; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--slate-100);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: .95rem; line-height: 1.1; }
.brand-mark { color: var(--gold-dark); display: inline-flex; }
.brand-text strong { color: var(--navy-700); font-weight: 800; }
.nav { display: flex; gap: 1.6rem; }
.nav a { color: var(--slate-700); font-weight: 600; font-size: .95rem; position: relative; padding: .3rem 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold-dark); transition: width .2s ease; }
.nav a:hover { color: var(--navy-700); }
.nav a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 5rem 0 7rem; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(55% 55% at 85% 10%, rgba(246,185,59,.18), transparent 60%),
  radial-gradient(45% 45% at 10% 90%, rgba(255,255,255,.08), transparent 60%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.lead { font-size: 1.12rem; max-width: 40ch; color: #e2e8f0; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 2rem; }
.hero-stats { list-style: none; display: flex; gap: 1.8rem; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--gold); }
.hero-stats span { font-size: .82rem; color: #cbd5e1; }

.hero-card { position: relative; }
.hero-card-inner { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 360px; }
.hero-card-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,30,69,.85), rgba(11,30,69,.25)); }
.hero-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; color: #fff; }
.rating-pill { display: inline-block; background: rgba(255,255,255,.18); padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 700; margin-bottom: .8rem; }
.hero-card-content p { color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; margin: 0; }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 30 C240 60 480 0 720 20 C960 40 1200 0 1440 24 L1440 60 L0 60 Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 30 C240 60 480 0 720 20 C960 40 1200 0 1440 24 L1440 60 L0 60 Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Trust bar */
.trust { background: var(--navy-700); color: #fff; padding: 1.1rem 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.trust-item { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.ti-ico { display: inline-grid; place-items: center; width: 26px; height: 26px; background: var(--gold); color: var(--navy-900); border-radius: 50%; font-size: .8rem; font-weight: 800; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--slate-100); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-sub { color: var(--slate-500); font-size: 1.05rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.col-text p { max-width: 52ch; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; color: var(--slate-700); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #fff; background: var(--gold-dark); width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* Media frame */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 380px; background: var(--navy-700); }
.media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,30,69,.15), rgba(11,30,69,.45)); pointer-events: none; }
.media-chip { position: absolute; background: #fff; color: var(--navy-900); padding: .6rem 1rem; border-radius: 999px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-md); z-index: 2; }
.chip-1 { top: 1.2rem; left: 1.2rem; }
.chip-2 { bottom: 1.2rem; left: 1.2rem; }

/* Course cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-ico { font-size: 2.2rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; color: var(--navy-900); }
.card p { font-size: .95rem; margin-bottom: 1rem; }
.card-list { list-style: none; padding: 0; margin: 0; }
.card-list li { position: relative; padding-left: 1.3rem; font-size: .9rem; color: var(--slate-700); margin-bottom: .35rem; }
.card-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 800; }

/* Why us / features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { background: #fff; border-radius: var(--radius); padding: 1.8rem 1.4rem; border: 1px solid var(--slate-100); box-shadow: var(--shadow-sm); transition: transform .2s ease; }
.feature:hover { transform: translateY(-5px); }
.feature-ico { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: var(--gold); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }
.feature h3 { color: var(--navy-900); margin-bottom: .4rem; }
.feature p { font-size: .95rem; margin: 0; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100); }
.stars { color: var(--gold); font-size: 1.1rem; margin-bottom: .8rem; }
.review p { font-style: italic; color: var(--slate-700); margin-bottom: 1rem; }
.review cite { color: var(--navy-700); font-weight: 700; font-style: normal; font-size: .9rem; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; text-align: center; }
.cta-copy { max-width: 720px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.88); }
.cta-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .8rem; color: var(--slate-700); }
.contact-list span { font-size: 1.2rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--slate-100); }
.map-wrap iframe { width: 100%; height: 260px; border: 0; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid var(--slate-100); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--slate-700); }
.field input, .field textarea, .field select { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--slate-300); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 4px rgba(246,185,59,.18); }
.field textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--slate-500); margin-top: .8rem; text-align: center; }
.hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--navy-900); color: #cbd5e1; padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.footer-tag { color: #94a3b8; max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a, .footer-contact a { color: #cbd5e1; font-weight: 500; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact p { margin: .3rem 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .85rem; color: #94a3b8; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.5); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Tablet ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 520px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .col-media { order: -1; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cta-btns { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
  .topbar-inner { gap: .6rem; font-size: .78rem; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: 1rem 20px 1.5rem; box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .3s ease; border-bottom: 1px solid var(--slate-100); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--slate-100); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 3.2rem 0; }
  .hero { padding: 3rem 0 4.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats strong { font-size: 1.5rem; }

  .cards, .features, .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
