/* ============================================================
   Empowering Future — EduNest theme
   Palette: #EBF8FB / #C6E4EF / #256A87 / #358FB6 / #FFFFFF
   Fonts:   Poppins (headings), Inter (body), Baloo 2 (accent)
   ============================================================ */

:root {
  --bg:        #EBF8FB;
  --bg-2:      #C6E4EF;
  --primary:   #256A87;
  --primary-d: #1a4f66;
  --accent:    #358FB6;
  --white:     #FFFFFF;
  --yellow:    #FFD66B;
  --coral:     #FFB7A5;
  --mint:      #B9F3E4;
  --ink:       #0F2A35;
  --muted:     #5A7884;

  --r-card:    16px;
  --r-btn:     12px;
  --r-input:   10px;
  --r-modal:   20px;

  --shadow:    0 8px 24px rgba(37,106,135,0.08);
  --shadow-lg: 0 18px 40px rgba(37,106,135,0.14);

  --ease:      cubic-bezier(.2,.7,.2,1);

  --container: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px;
  background: rgba(53,143,182,0.10);
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--r-btn);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 18px rgba(37,106,135,.22); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform .35s var(--ease);
}
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37,106,135,.28); }
.btn-primary:hover::before { transform: translateX(0); }

.btn-secondary { background: var(--white); color: var(--primary); border: 1.5px solid var(--bg-2); }
.btn-secondary:hover { background: var(--bg-2); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--primary); padding: 10px 0; gap: 8px; }
.btn-ghost::after { content: "→"; transition: transform .25s var(--ease); }
.btn-ghost:hover::after { transform: translateX(6px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(235,248,251,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(37,106,135,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  color: var(--white);
  font-family: 'Baloo 2', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  box-shadow: 0 6px 14px rgba(37,106,135,.25);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  transform: translate(14px,-14px);
  box-shadow: 0 0 0 3px var(--bg);
}
.brand-mark { position: relative; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  letter-spacing: -.01em;
}
.brand-name small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 1px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg-2); color: var(--primary); }

.nav-cta { display: inline-flex; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.nav-burger span {
  display: block; width: 20px; height: 2px; background: var(--primary);
  position: relative;
}
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--primary);
  transition: transform .3s var(--ease);
}
.nav-burger span::before { transform: translateY(-7px); }
.nav-burger span::after  { transform: translateY(7px); }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: rotate(45deg); }
.nav.open .nav-burger span::after  { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(53,143,182,.22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(198,228,239,.7), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #DFF1F6 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow);
  letter-spacing: .04em;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(53,143,182,.18); }
.hero h1 { margin: 22px 0 18px; }
.hero h1 .accent {
  font-family: 'Baloo 2', 'Poppins', sans-serif;
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent), var(--primary));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 1.15rem; max-width: 540px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  color: var(--muted); font-size: .9rem;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border: 3px solid var(--bg);
  margin-left: -10px;
  display: grid; place-items: center;
  color: var(--white); font-weight: 700; font-size: .8rem;
}
.hero-trust .avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, var(--yellow), var(--coral)); color: var(--ink); }
.hero-trust .avatars span:nth-child(3) { background: linear-gradient(135deg, var(--mint), var(--accent)); color: var(--ink); }

/* Hero visual side */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin-left: auto;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-card .icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-card small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-card.c1 { top: 4%; left: 0; animation: floatA 6s ease-in-out infinite; }
.hero-card.c1 .icon { background: var(--mint); }
.hero-card.c2 { top: 38%; right: 0; animation: floatB 7s ease-in-out infinite; }
.hero-card.c2 .icon { background: var(--yellow); }
.hero-card.c3 { bottom: 6%; left: 8%; animation: floatA 8s ease-in-out infinite reverse; }
.hero-card.c3 .icon { background: var(--coral); }

.hero-orb {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 50%),
    linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  box-shadow: 0 30px 80px rgba(37,106,135,.35);
}
.hero-orb::before, .hero-orb::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.35);
}
.hero-orb::after { inset: 24%; border-style: dotted; animation: spin 28s linear infinite; }
.hero-orb-icon {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  letter-spacing: -.04em;
  text-shadow: 0 8px 24px rgba(0,0,0,.2);
}

@keyframes floatA { 50% { transform: translateY(-14px); } }
@keyframes floatB { 50% { transform: translateY(12px); } }
@keyframes spin   { to  { transform: rotate(360deg); } }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 80px 0 64px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(53,143,182,.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #DFF1F6 100%);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.crumbs {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--white);
  border-radius: var(--r-modal);
  box-shadow: var(--shadow);
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
.stat { text-align: center; }
.stat .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--primary);
  line-height: 1;
}
.stat .num .plus { color: var(--accent); }
.stat .label { font-size: .85rem; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }

/* ---------- Cards (challenges/benefits) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: auto -40% -40% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(53,143,182,.10), transparent 70%);
  border-radius: 50%;
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scale(1.4); }
.card .icon-tile {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--bg-2);
  color: var(--primary);
  margin-bottom: 18px;
}
.card.tone-yellow .icon-tile { background: rgba(255,214,107,.35); color: #8a6a10; }
.card.tone-coral .icon-tile  { background: rgba(255,183,165,.45); color: #9b3f30; }
.card.tone-mint .icon-tile   { background: rgba(185,243,228,.55); color: #237562; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Solution / feature blocks ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .media {
  height: 220px;
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.feature .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.feature:hover .media img { transform: scale(1.06); }
.feature .body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.feature .tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature p { color: var(--muted); flex: 1; }

/* ---------- Split block (Journey) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split .visual {
  position: relative;
  border-radius: var(--r-modal);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5/4;
}
.split .visual img { width: 100%; height: 100%; object-fit: cover; }
.split .visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(37,106,135,.15), transparent 60%);
}
.split .visual .badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary);
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem;
}
.split h2 { margin-bottom: 18px; }
.split .checklist { list-style: none; padding: 0; margin: 18px 0 28px; }
.split .checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--ink);
}
.split .checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--mint);
  color: #1b6b5a;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
}

/* ---------- Testimonials (video grid) ---------- */
.videos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
}
.video-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-card video {
  width: 100%;
  aspect-ratio: var(--video-ar, 16 / 10);
  object-fit: contain;
  background: #000;
  display: block;
}
.video-card.is-portrait video { aspect-ratio: 9 / 16; }
.video-card .meta { padding: 18px 20px; }
.video-card .meta h4 { margin: 0 0 4px; font-family: 'Poppins', sans-serif; font-size: .98rem; color: var(--ink); }
.video-card .meta span { color: var(--muted); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-modal);
  padding: 56px 48px;
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255,214,107,.25), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(185,243,228,.25), transparent 60%),
    linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band.in-view{margin-bottom:2rem;}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: var(--white); color: var(--primary); }
.cta-band .btn-primary::before { background: var(--yellow); }
.cta-band .btn-primary:hover { color: var(--ink); }
.cta-band .phone {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  color: var(--white);
}
.cta-band .phone strong { font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #DFF1F6 0%, var(--bg-2) 100%);
  padding: 72px 0 28px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.footer-col p { color: var(--muted); font-size: .95rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { color: var(--ink); font-size: .95rem; transition: color .2s, padding .2s; display: inline-block; }
.footer-col li a:hover { color: var(--primary); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; color: var(--ink); font-size: .95rem; }
.footer-contact a { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid rgba(37,106,135,.15);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center;
  color: var(--primary);
  transition: transform .25s, background .25s, color .25s;
}
.socials a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ---------- Forms ---------- */
.form {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  margin: 16px 0 6px;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: var(--r-input);
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .btn-primary { margin-top: 22px; width: 100%; justify-content: center; }

/* ---------- Contact split ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-info h3 { margin-top: 0; }
.contact-info .item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(37,106,135,.15);
}
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .item .icon-tile {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info .item h5 { margin: 0 0 2px; font-family: 'Poppins', sans-serif; font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact-info .item p, .contact-info .item a { margin: 0; color: var(--ink); font-weight: 500; }
.map-frame {
  margin-top: 28px;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  background: var(--bg-2);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq details {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 4px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .25s;
}
.faq details[open] { box-shadow: var(--shadow-lg); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem; color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 18px; color: var(--muted); }

/* ---------- Comparison table ---------- */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare th, .compare td { padding: 18px 22px; text-align: left; }
.compare thead { background: var(--bg-2); }
.compare th { font-family: 'Poppins', sans-serif; color: var(--primary); font-size: .92rem; font-weight: 600; }
.compare tbody tr + tr td { border-top: 1px solid rgba(37,106,135,.08); }
.compare td:first-child { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--ink); }
.compare td .pill {
  display: inline-block; padding: 4px 10px;
  background: rgba(185,243,228,.5); color: #1b6b5a;
  border-radius: 999px; font-size: .8rem; font-weight: 600;
}

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.step {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.step .num-bubble {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 6px 18px rgba(37,106,135,.3);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Blog ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.post {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post .thumb { aspect-ratio: 16/10; overflow: hidden; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .thumb img { transform: scale(1.06); }
.post .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post .meta { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.post h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.post p { color: var(--muted); flex: 1; font-size: .94rem; }



/* Article body */
.article {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-modal);
  padding: 56px;
  box-shadow: var(--shadow);
  overflow:hidden
}
.article .post-banner {
  margin-bottom: 2rem;
  margin-left: -56px;
  margin-right: -56px;
  margin-top: -56px;
}
.article .post-excerpt {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--primary);
  margin: 0 0 1.6em;
  padding-bottom: 1.4em;
  border-bottom: 1px solid var(--bg-2);
}
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article blockquote {
  margin: 1.6em 0;
  padding: 22px 26px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  font-style: italic;
}
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .4em; }

/* ---------- WhatsApp floating ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  z-index: 40;
  transition: transform .25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); color: var(--white); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero load-in keyframes */
.anim-fade-down { animation: fadeDown .8s var(--ease) both; }
.anim-fade-up   { animation: fadeUp   .8s var(--ease) both; }
.anim-scale-in  { animation: scaleIn  .8s var(--ease) both; }
.anim-reveal-x  { animation: revealX  1s   var(--ease) both; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes revealX {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .videos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form .row { grid-template-columns: 1fr; }
  .article { padding: 36px 22px; }
  .article .post-banner {
    margin-left: -22px;
    margin-right: -22px;
    margin-top: -36px;
  }
  .cta-band { padding: 40px 24px; }
  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .timeline::before { display: none; }

  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--r-modal) var(--r-modal);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
  }
  .nav.open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
