/* ============================================================
   Vibs Learning Centre — Dr. Vibha Shrivastava
   Premium personal-brand stylesheet
   Brand: Navy · Teal · Gold · White (+ magenta accent)
   ============================================================ */

:root {
  --navy: #0d2846;
  --navy-2: #123a63;
  --teal: #0f8a8a;
  --teal-2: #12a5a0;
  --gold: #c9a23a;
  --gold-2: #e2c069;
  --magenta: #d6006f;
  --ink: #17293d;
  --muted: #5b6b7c;
  --line: #e6ebf1;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(13, 40, 70, .06);
  --shadow: 0 14px 40px rgba(13, 40, 70, .10);
  --shadow-lg: 0 24px 60px rgba(13, 40, 70, .16);

  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --maxw: 1180px;
  --grad-gold: linear-gradient(135deg, var(--gold-2), var(--gold));
  --grad-teal: linear-gradient(135deg, var(--teal-2), var(--teal));
  --grad-navy: linear-gradient(135deg, var(--navy-2), var(--navy));
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .4em; }
p { margin: 0 0 1rem; color: var(--muted); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 88px 0; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; font-size: .74rem;
  color: var(--teal); margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }
.accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700;
  font-size: .98rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--grad-gold); color: var(--navy); box-shadow: 0 10px 24px rgba(201,162,58,.35); }
.btn-teal { background: var(--grad-teal); color: #fff; box-shadow: 0 10px 24px rgba(15,138,138,.32); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.35); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav .logo { height: 60px; width: 60px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-gold); transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 140px 0 90px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(18,165,160,.12), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(201,162,58,.10), transparent 55%),
    var(--bg-soft);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
.hero h1 .grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; max-width: 540px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: .86rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-portrait { position: relative; }
.portrait-frame {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; background: var(--navy);
}
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 536/956; object-fit: cover; object-position: center top; }
.exp-badge {
  position: absolute; right: -14px; bottom: 26px; background: var(--grad-navy); color: #fff;
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); text-align: center;
  border: 1px solid rgba(255,255,255,.12);
}
.exp-badge .num { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--gold-2); line-height: 1; }
.exp-badge .lbl { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: #cfe0f0; }
.tag-float {
  position: absolute; left: -12px; top: 22px; background: #fff; border-radius: 14px;
  padding: 10px 16px; box-shadow: var(--shadow); font-weight: 700; color: var(--teal); font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-card {
  background: var(--grad-navy); color: #fff; border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow);
}
.about-card h3 { color: #fff; }
.about-card p { color: #cfe0f0; }
.about-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 24px; }
.about-stat { background: rgba(255,255,255,.07); border-radius: var(--radius-sm); padding: 16px; border: 1px solid rgba(255,255,255,.1); }
.about-stat .num { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-2); }
.about-stat .lbl { font-size: .82rem; color: #bcd2e6; }
.about-list { list-style: none; padding: 0; margin: 18px 0 0; }
.about-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.about-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 900;
  background: rgba(15,138,138,.12); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
}

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: transform .28s, box-shadow .28s, border-color .28s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff;
}
.ico.teal { background: var(--grad-teal); }
.ico.magenta { background: linear-gradient(135deg,#f0489a,var(--magenta)); }
.ico.navy { background: var(--grad-navy); }
.ico.purple { background: linear-gradient(135deg,#7a5cd6,#5b3fb0); }
.ico.blue { background: linear-gradient(135deg,#3f7fd6,#2b5aa8); }
.card h3 { font-size: 1.22rem; }
.card .sub { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.card ul li { position: relative; padding-left: 22px; font-size: .93rem; margin-bottom: 8px; color: var(--muted); }
.card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.card.wide { grid-column: span 1; }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.why-card {
  text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card .ico { margin: 0 auto 16px; }

/* ---------- Process timeline ---------- */
.process { background: var(--grad-navy); color: #fff; }
.process .section-head h2, .process .eyebrow { color: #fff; }
.process .eyebrow { color: var(--gold-2); }
.process .section-head p { color: #cfe0f0; }
.timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; position: relative; }
.step { text-align: center; position: relative; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 2px solid var(--gold); color: var(--gold-2);
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; position: relative; z-index: 2;
}
.step h4 { color: #fff; font-size: 1.02rem; }
.step p { color: #b9cee2; font-size: .86rem; }
.timeline::before {
  content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,162,58,.6), transparent);
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testi .quote { font-size: 2.4rem; color: var(--gold); font-family: var(--serif); line-height: .6; }
.testi p { font-style: italic; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi .av { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--teal); font-weight: 700; border: 1px solid var(--line); }
.testi .who b { color: var(--navy); display: block; font-size: .95rem; }
.testi .who span { font-size: .8rem; color: var(--muted); }
.placeholder-tag { font-size: .72rem; color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; cursor: pointer;
  font-size: 1.03rem; font-weight: 700; color: var(--navy); font-family: var(--serif);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform .3s; color: var(--teal); flex: none; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info .info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-info .info-row .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-teal); }
.contact-info .info-row b { color: var(--navy); }
.contact-info .info-row a, .contact-info .info-row span { color: var(--muted); }
.map-box { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); height: 220px; display: grid; place-items: center; text-align: center; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin: 0 0 6px; }
.field { margin-bottom: 16px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .96rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,138,138,.12); }
.form .note { font-size: .8rem; color: var(--muted); }

/* ---------- Contact cards (reference-style) ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.contact-cards.two { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.c-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px 24px;
  text-align: center; transition: border-color .3s, transform .25s, box-shadow .25s;
}
.c-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.c-ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin: 0 auto 18px;
  background: rgba(15,138,138,.10); color: var(--teal); transition: background .3s, color .3s;
}
.c-card:hover .c-ico { background: var(--teal); color: #fff; }
.c-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 8px; }
.c-value { color: var(--navy); font-weight: 600; margin-bottom: 18px; word-break: break-word; line-height: 1.5; }
.c-btn {
  display: inline-block; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--teal);
  font-weight: 700; font-size: .9rem; padding: 9px 22px; border-radius: 999px; font-family: inherit;
  transition: background .2s, color .2s, border-color .2s;
}
.c-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
@media (max-width: 820px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #cfe0f0; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .logo-inv { height: 104px; width: 104px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; letter-spacing: .5px; margin-bottom: 14px; }
.footer a { color: #cfe0f0; }
.footer a:hover { color: var(--gold-2); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; font-size: .93rem; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--teal); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; text-align: center; font-size: .86rem; color: #9fb6cc; }

/* ---------- Mobile sticky contact bar (Call | WhatsApp) ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 420px; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards, .testi-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 62px 0; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 22px 22px; box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .cards, .testi-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 60px; }   /* room for sticky bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60; box-shadow: 0 -6px 20px rgba(13,40,70,.14);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 0; font-weight: 700; font-size: 1rem; color: #fff;
  }
  .mobile-bar .mb-call { background: var(--grad-gold); color: var(--navy); }
  .mb-wa { background: #25D366; }
  .mb-call:active, .mb-wa:active { filter: brightness(.92); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
