/* ============================================================
   EDU FIRST International Group — Stylesheet
   Palette pulled from the logo: forest green + black on white,
   with a warm gold accent.
   ============================================================ */

:root {
  --green: #1E5631;
  --green-dark: #143c22;
  --green-light: #2f7a47;
  --ink: #141414;
  --ink-soft: #3a3f3c;
  --gold: #C8A24B;
  --bg: #ffffff;
  --bg-alt: #f5f7f4;
  --bg-dark: #10231a;
  --muted: #6b7570;
  --line: #e4e8e3;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 40, 30, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 40, 30, 0.14);
  --container: 1180px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--gold); }
.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
.section__title--light { color: var(--white); }
.section__lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.section__lead.center { margin: 0 auto; }
.section__lead.light { color: rgba(255,255,255,0.8); }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30,86,49,.28); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow { color: var(--green); font-weight: 600; }
.link-arrow:hover { color: var(--green-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg-dark);
  color: rgba(255,255,255,.85);
  font-size: 0.85rem;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.topbar__contacts { display: flex; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.85); }
.topbar__item:hover { color: var(--gold); }
.ic { width: 15px; height: 15px; fill: var(--gold); flex: none; }
.topbar__social { display: flex; gap: 10px; }
.soc { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.soc svg { width: 15px; height: 15px; fill: rgba(255,255,255,.85); }
.soc:hover { background: var(--green); }
.soc:hover svg { fill: #fff; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand__logo { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav__link { font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green); transition: width .25s ease;
}
.nav__link:hover, .nav__link.active { color: var(--green); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta { margin-left: 8px; }
.nav__cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--green); border-radius: 3px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(16,35,26,.92) 0%, rgba(30,86,49,.82) 55%, rgba(30,86,49,.55) 100%),
    radial-gradient(circle at 80% 20%, #2f7a47, #10231a);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,162,75,.35), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; padding: 96px 24px 104px; max-width: 860px; }
.hero__eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 3px; font-size: .8rem; margin-bottom: 18px; }
.hero__title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08; margin-bottom: 22px;
}
.hero__title span { color: var(--gold); }
.hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 640px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 16px; }
.chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 14px 20px; display: flex; flex-direction: column;
}
.chip strong { font-size: 1.5rem; font-family: var(--font-head); color: var(--gold); }
.chip span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ---------- Stats band ---------- */
.stats { background: var(--green); color: #fff; padding: 46px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; display: block; line-height: 1; }
.stat p { color: rgba(255,255,255,.82); margin-top: 6px; font-size: .95rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4/4.4; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #2f7a47, #10231a);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about__photo-note { color: rgba(255,255,255,.7); font-size: .95rem; letter-spacing: 1px; }
.about__badge {
  position: absolute; left: -18px; bottom: 30px;
  background: var(--gold); color: var(--ink);
  border-radius: var(--radius-sm); padding: 18px 22px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.about__badge span { font-size: .82rem; font-weight: 600; line-height: 1.25; }
.ticklist { margin: 22px 0 28px; display: grid; gap: 12px; }
.ticklist li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.ticklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: .8rem;
  display: grid; place-items: center;
}

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--bg-alt); display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 18px;
}
.card:hover .card__icon { background: var(--green); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Destinations ---------- */
.dest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dest {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, box-shadow .25s;
}
.dest:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest__flag { font-size: 2.6rem; margin-bottom: 12px; }
.dest h3 { font-size: 1.3rem; font-family: var(--font-head); margin-bottom: 8px; }
.dest p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step {
  text-align: center; padding: 30px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.step__num {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 16px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
  color: var(--bg-dark); background: var(--gold);
}
.step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.72); font-size: .9rem; }

/* ---------- Scholarships ---------- */
.scholar__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.scholar__card {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; border-radius: var(--radius); padding: 44px 36px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.scholar__big { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; color: var(--gold); }
.scholar__card p { margin: 10px 0 14px; color: rgba(255,255,255,.9); }
.scholar__card small { color: rgba(255,255,255,.55); font-size: .78rem; }

/* ---------- Partners ---------- */
.partners__grid { display: grid; grid-template-columns: .8fr 2fr; gap: 44px; align-items: center; }
.partners__num { font-family: var(--font-head); font-weight: 800; font-size: 4.5rem; color: var(--green); line-height: 1; }
.partners__num span { color: var(--gold); }
.partners__lead p { color: var(--muted); margin-top: 8px; }
.partners__logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plogo {
  height: 78px; border-radius: var(--radius-sm); background: var(--white);
  border: 1px dashed var(--line); display: grid; place-items: center;
  color: var(--muted); font-size: .82rem; font-weight: 500;
}

/* ---------- Testimonials ---------- */
.tst__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
}
.tst__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.tst blockquote { font-size: 1rem; color: var(--ink-soft); font-style: italic; margin-bottom: 20px; }
.tst figcaption { display: flex; align-items: center; gap: 12px; }
.tst__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--green); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-family: var(--font-head);
}
.tst figcaption small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 820px; margin: 0 auto; }
.accordion { display: grid; gap: 14px; }
.acc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.acc__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--ink);
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc__ic { color: var(--green); font-size: 1.5rem; transition: transform .25s; flex: none; }
.acc.open .acc__ic { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__a p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact__list { margin-top: 26px; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--bg-alt); display: grid; place-items: center; font-size: 1.2rem;
}
.contact__list a:hover { color: var(--green); }
.contact__list em { color: var(--muted); font-size: .8rem; }

.contact__form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-alt); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff;
}
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid select { border-color: #d64545; background: #fdf2f2; }
.err { color: #d64545; font-size: .82rem; margin-top: 5px; min-height: 1em; }
.form__success {
  margin-top: 16px; background: #e8f5ec; color: var(--green-dark);
  border: 1px solid #bfe2ca; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500;
}

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.78); padding-top: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { height: 84px; width: auto; background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 16px; }
.footer__brand p { font-size: .95rem; max-width: 300px; margin-bottom: 18px; }
.footer__social { display: flex; gap: 10px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; color: rgba(255,255,255,.72); margin-bottom: 10px; font-size: .94rem; }
.footer__col a:hover { color: var(--gold); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.6); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .about__grid, .scholar__inner, .contact__grid, .partners__grid { grid-template-columns: 1fr; gap: 40px; }
  .services__grid, .dest__grid, .tst__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__badge { left: 12px; }
}

@media (max-width: 760px) {
  .topbar__contacts { gap: 14px; }
  .topbar__item span { display: none; }
  .topbar { font-size: .8rem; }

  /* Mobile nav */
  .nav {
    position: fixed; inset: 0 0 0 auto; top: 0; height: 100vh; width: min(78vw, 320px);
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 90px 30px 30px; gap: 6px; transform: translateX(100%);
    transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav__link { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 14px 0 0; width: 100%; }
  .nav-toggle { display: flex; z-index: 101; }
}

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services__grid, .dest__grid, .tst__grid, .steps, .partners__logos, .footer__grid { grid-template-columns: 1fr; }
  .partners__logos { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero__inner { padding: 70px 24px 80px; }
  .footer__bar-inner { flex-direction: column; }
}
