/* =========================================================
   Edumart Nig. Ltd — Mother Landing Page
   Plain HTML/CSS. Brand: Deep Blue + Green (matches logo & edumartcbt.com)
   ========================================================= */

:root {
  --navy: #0b1b4d;        /* logo circle / footer / dark bg */
  --blue: #0a3d91;        /* deep blue — primary */
  --blue-600: #0d2f78;
  --green: #00a859;       /* accent */
  --green-700: #068a4b;
  --lime: #58d62a;        /* logo highlight green */
  --gray: #f5f7fa;        /* light section bg */
  --gray-200: #e5eaf1;
  --ink: #10203f;         /* body text */
  --muted: #5b6a86;       /* secondary text */
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(11, 27, 77, .06);
  --shadow-md: 0 12px 30px rgba(11, 27, 77, .10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 77, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

section { padding-block: clamp(56px, 8vw, 96px); }

.eyebrow {
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(0,168,89,.28); }
.btn-green:hover { background: var(--green-700); color: #fff; }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(10,61,145,.28); }
.btn-blue:hover { background: var(--blue-600); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef2fb; color: var(--navy); }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand .brand-text { line-height: 1.05; }
.brand .brand-name { font-family: "DM Serif Display", serif; font-size: 1.25rem; color: var(--navy); }
.brand .brand-sub { font-size: .68rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--navy); font-weight: 600; font-size: .96rem; }
.nav-menu a:hover { color: var(--green); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(11,27,77,.92) 0%, rgba(10,61,145,.82) 55%, rgba(0,168,89,.55) 130%),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 80% -10%, rgba(88,214,42,.22), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(72px, 12vw, 128px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); }
.hero .lead { font-size: 1.2rem; color: #e7edf9; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #d9e2f4; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--lime); }

.hero-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.15rem; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 10px; }
.hero-stat { background: rgba(255,255,255,.10); border-radius: 14px; padding: 16px; }
.hero-stat b { font-family: "DM Serif Display", serif; font-size: 1.8rem; color: var(--lime); display: block; }
.hero-stat small { color: #d9e2f4; font-size: .82rem; }

/* =========================================================
   BRAND STRIP (logos / platforms bar)
   ========================================================= */
.brandstrip { background: var(--gray); border-bottom: 1px solid var(--gray-200); }
.brandstrip .container { padding-block: 26px; }
.brandstrip-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; }
.brandstrip-inner .label { color: var(--muted); font-weight: 600; font-size: .9rem; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; color: var(--navy); font-size: .9rem;
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.chip .dot.blue { background: var(--blue); }
.chip .dot.green { background: var(--green); }
.chip .dot.grey { background: #9aa7bf; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.badge-cac {
  position: absolute; left: 18px; bottom: -18px;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
  font-weight: 700; color: var(--navy);
}
.badge-cac svg { width: 26px; height: 26px; color: var(--green); }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 26px; }
.vm-card { background: var(--gray); border-radius: 14px; padding: 18px; }
.vm-card h4 { margin: 0 0 6px; font-family: "DM Sans", sans-serif; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.vm-card p { margin: 0; font-size: .98rem; color: var(--muted); }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.values li { display: flex; gap: 12px; align-items: flex-start; }
.values .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(0,168,89,.10); color: var(--green); }
.values .ic svg { width: 20px; height: 20px; }
.values b { color: var(--navy); }
.values span { display: block; font-size: .9rem; color: var(--muted); }

/* =========================================================
   WHAT WE DO — cards
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-ic {
  position: absolute; left: 18px; top: 18px;
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow-md);
}
.card-ic svg { width: 28px; height: 28px; }
.card-accent-blue .card-ic svg { color: var(--blue); }
.card-accent-green .card-ic svg { color: var(--green); }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.card-accent-blue .card-tag { color: var(--blue); }
.card-accent-green .card-tag { color: var(--green); }
.card-body h3 { font-size: 1.4rem; margin: 6px 0 8px; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.card-link svg { width: 18px; height: 18px; transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.mini {
  display: flex; align-items: center; gap: 16px;
  border: 1px dashed var(--gray-200); border-radius: 14px; padding: 18px 20px; background: var(--gray);
}
.mini .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); flex: none; }
.mini .ic svg { width: 24px; height: 24px; }
.mini b { color: var(--navy); }
.mini span { display: block; font-size: .9rem; color: var(--muted); }
.mini .soon { font-size: .7rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }

/* =========================================================
   WHY CHOOSE — 4 columns
   ========================================================= */
.why { background: var(--gray); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.why-ic {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(10,61,145,.10), rgba(0,168,89,.14));
}
.why-ic svg { width: 34px; height: 34px; color: var(--blue); }
.why-card:nth-child(even) .why-ic svg { color: var(--green); }
.why-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: .94rem; margin: 0; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: var(--gray); border-radius: var(--radius); padding: 28px 26px; position: relative;
  border: 1px solid var(--gray-200);
}
.testi .quote { position: absolute; top: 18px; right: 22px; font-family: "DM Serif Display", serif; font-size: 3.4rem; color: rgba(0,168,89,.18); line-height: 1; }
.stars { color: var(--green); letter-spacing: 2px; margin-bottom: 10px; font-size: 1rem; }
.testi p { font-size: 1rem; color: var(--ink); }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-person b { color: var(--navy); display: block; font-size: .96rem; }
.testi-person small { color: var(--muted); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta {
  position: relative; color: #fff; text-align: center;
  background:
    linear-gradient(0deg, rgba(11,27,77,.95), rgba(10,61,145,.95)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
}
.cta h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.cta p { color: #dbe4f6; font-size: 1.15rem; max-width: 620px; margin-inline: auto; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: #c9d3ea; }
.site-footer .container { padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #9fb0d3; margin-top: 14px; font-size: .95rem; max-width: 280px; }
.footer h4 { color: #fff; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #c9d3ea; font-size: .95rem; }
.footer a:hover { color: var(--lime); text-decoration: none; }
.footer .contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.footer .contact-item svg { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--green); }
.socials svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: #9fb0d3;
}
.rc-badge { display: inline-flex; align-items: center; gap: 8px; }
.rc-badge svg { width: 16px; height: 16px; color: var(--lime); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 12px 26px rgba(37,211,102,.45);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); 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; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-menu, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open="true"] .nav-menu {
    display: flex; position: absolute; left: 0; right: 0; top: 74px;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--gray-200); padding: 12px var(--pad) 20px;
    box-shadow: var(--shadow-md);
  }
  .nav[data-open="true"] .nav-menu a { padding: 10px 0; width: 100%; }
  .nav[data-open="true"] .nav-menu .btn { display: inline-flex; margin-top: 8px; }
  .cards { grid-template-columns: 1fr; }
  .mini-cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 12px; }
  .brand .brand-sub { display: none; }
}
