/* ============================================================
   Landing page — vibrant, minimal, fully responsive
   ============================================================ */

:root {
  --lp-primary: var(--c-primary);
  --lp-primary-2: var(--c-primary-700);
  --lp-secondary: var(--c-secondary);
  --lp-accent: var(--c-pink);
  --lp-gold: #f4c453;
  --lp-bg: var(--c-bg);
  --lp-surface: var(--c-surface);
  --lp-surface-2: var(--c-surface-2);
  --lp-text: var(--c-text);
  --lp-muted: var(--c-muted);
  --lp-border: var(--c-border);
  --lp-shadow: 0 8px 28px rgba(15,23,42,.08);
  --lp-radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--lp-text);
  background: var(--lp-bg);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Header ─────────────────────────────────────────── */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--lp-border);
}
.lp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.lp-brand {
  display: flex; align-items: center; gap: .65rem;
  font-weight: 800; font-size: 1.05rem; color: var(--lp-primary);
}
.lp-brand img, .lp-brand .logo-fallback {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--g-primary);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; object-fit: cover;
  box-shadow: 0 6px 14px rgba(99,102,241,.30);
}
.lp-nav { display: flex; align-items: center; gap: 1.25rem; }
.lp-nav a {
  font-size: .9rem; color: var(--lp-text); font-weight: 500;
  transition: color var(--t-base);
  position: relative;
}
.lp-nav a:hover { color: var(--lp-primary); }
.lp-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--g-primary);
  transition: width var(--t-base);
}
.lp-nav a:hover::after { width: 100%; }

.lp-cta { display: flex; gap: .5rem; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  border-radius: 10px;
  font-size: .88rem; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.lp-btn-primary { background: var(--g-primary); color: #fff; box-shadow: 0 4px 12px rgba(99,102,241,.25); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(99,102,241,.35); }
.lp-btn-outline { background: transparent; color: var(--lp-primary); border-color: var(--lp-primary); }
.lp-btn-outline:hover { background: var(--lp-primary); color: #fff; }
.lp-btn-accent {
  background: linear-gradient(135deg, #f59e0b, #ec4899);
  color: #fff;
  box-shadow: 0 6px 16px rgba(236,72,153,.30);
}
.lp-btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(236,72,153,.40); }
.lp-mobile-toggle {
  display: none;
  background: var(--c-surface);
  border: 1px solid var(--lp-border);
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--lp-primary);
  padding: .35rem .65rem;
  border-radius: 10px;
}

/* ── Hero ───────────────────────────────────────────── */
.lp-hero {
  position: relative;
  min-height: 580px;
  background: var(--g-hero);
  color: #fff;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(255,255,255,.15), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(0,0,0,.25), transparent 60%);
  z-index: 1;
}
.lp-hero-slider { position: absolute; inset: 0; display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.lp-hero-slide { flex: 0 0 100%; background-size: cover; background-position: center; position: relative; }
.lp-hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(79,70,229,.85), rgba(124,58,237,.78), rgba(236,72,153,.75)); }
.lp-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.lp-hero h1 {
  font-size: var(--fz-4xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 800px;
}
.lp-hero h1 span {
  background: linear-gradient(90deg, #fcd34d, #fbbf24, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero p.lead { font-size: clamp(.95rem,2vw,1.1rem); max-width: 600px; color: rgba(255,255,255,.92); }
.lp-hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.lp-hero-dots {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .4rem; z-index: 3;
}
.lp-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: all .25s; border: none;
}
.lp-hero-dot.active { background: #fff; width: 28px; border-radius: 4px; }

/* ── Sections ───────────────────────────────────────── */
.lp-section { padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem; }
.lp-section-inner { max-width: 1200px; margin: 0 auto; }
.lp-section-head { text-align: center; margin-bottom: 2.5rem; }
.lp-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-pink);
  margin-bottom: .65rem;
  padding: .35rem .75rem;
  background: rgba(236,72,153,.10);
  border-radius: 999px;
}
.lp-section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  color: var(--lp-text);
  letter-spacing: -.02em;
}
.lp-section-sub { color: var(--lp-muted); max-width: 620px; margin: .75rem auto 0; font-size: 1rem; }

/* ── About ──────────────────────────────────────────── */
.lp-about { background: var(--lp-surface); }
.lp-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lp-about-img {
  border-radius: var(--lp-radius);
  overflow: hidden;
  background: var(--g-cool);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: #fff;
  box-shadow: var(--lp-shadow);
}
.lp-about h3 { font-size: 1.5rem; color: var(--lp-text); margin-bottom: .75rem; font-weight: 800; letter-spacing: -.01em; }
.lp-about p { color: var(--lp-muted); margin-bottom: 1rem; }
.lp-about ul { list-style: none; display: grid; gap: .55rem; margin-top: 1rem; }
.lp-about li { display: flex; align-items: start; gap: .65rem; color: var(--lp-text); font-size: .95rem; }
.lp-about li::before {
  content: '✓';
  color: #fff;
  background: var(--g-cool);
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Card grids ─────────────────────────────────────── */
.lp-grid { display: grid; gap: 1.4rem; }
.lp-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lp-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lp-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 1.6rem 1.35rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.lp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow);
  border-color: transparent;
}
.lp-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--g-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(99,102,241,.25);
}
.lp-card:nth-child(2n) .icon { background: var(--g-warm); box-shadow: 0 8px 18px rgba(236,72,153,.25); }
.lp-card:nth-child(3n) .icon { background: var(--g-cool); box-shadow: 0 8px 18px rgba(16,185,129,.25); }
.lp-card h4 { font-size: 1.1rem; color: var(--lp-text); margin-bottom: .45rem; font-weight: 700; }
.lp-card p { color: var(--lp-muted); font-size: .92rem; line-height: 1.65; }
.lp-card .meta {
  display: inline-block; margin-top: .85rem;
  font-size: .75rem; font-weight: 700;
  color: var(--lp-primary);
  text-transform: uppercase; letter-spacing: .08em;
}

/* ── Batches ────────────────────────────────────────── */
.lp-batches { background: var(--lp-bg); }
.lp-batch-card { position: relative; overflow: hidden; }
.lp-batch-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--g-primary); }
.lp-batch-card:nth-child(2n)::before { background: var(--g-warm); }
.lp-batch-card:nth-child(3n)::before { background: var(--g-cool); }
.lp-batch-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0; }
.lp-batch-tag {
  padding: .25rem .7rem;
  border-radius: 20px;
  background: rgba(99,102,241,.10);
  color: var(--lp-primary);
  font-size: .75rem; font-weight: 700;
}

/* ── Teachers ───────────────────────────────────────── */
.lp-teachers { background: var(--lp-surface); }
.lp-teacher-card { text-align: center; }
.lp-teacher-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--g-primary);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.4rem; font-weight: 800;
  overflow: hidden;
  box-shadow: 0 0 0 5px #fff, 0 8px 22px rgba(99,102,241,.25);
}
.lp-teacher-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Achievements ───────────────────────────────────── */
.lp-achievements {
  background: linear-gradient(135deg, #4338ca, #7c3aed, #ec4899);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lp-achievements::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(800px 300px at 50% 0%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.lp-achievements .lp-section-title { color: #fff; }
.lp-achievements .lp-eyebrow { background: rgba(255,255,255,.15); color: #fde68a; }
.lp-achievements .lp-section-sub { color: rgba(255,255,255,.85); }
.lp-ach-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--lp-radius);
  padding: 1.85rem 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform var(--t-base), background var(--t-base);
  position: relative;
}
.lp-ach-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.16); }
.lp-ach-icon { font-size: 2.4rem; margin-bottom: .5rem; }
.lp-ach-value { font-size: 2.4rem; font-weight: 800; color: #fde68a; line-height: 1; }
.lp-ach-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .5rem; color: rgba(255,255,255,.92); font-weight: 600; }
.lp-ach-desc { font-size: .78rem; color: rgba(255,255,255,.7); margin-top: .4rem; }

/* ── Facilities ─────────────────────────────────────── */
.lp-facilities { background: var(--lp-bg); }
.lp-facility-card { display: flex; flex-direction: column; }
.lp-facility-photo {
  width: 100%; height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--g-primary);
}
.lp-facility-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Contact ────────────────────────────────────────── */
.lp-contact { background: var(--lp-surface); }
.lp-contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; align-items: start; }
.lp-contact-info p { margin-bottom: .85rem; color: var(--lp-muted); font-size: .95rem; display: flex; align-items: start; gap: .65rem; }
.lp-contact-info p strong { color: var(--lp-text); min-width: 92px; font-weight: 700; }
.lp-contact-info p span { color: var(--lp-text); }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.lp-input, .lp-textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--lp-text);
  background: #fff;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.lp-input:focus, .lp-textarea:focus {
  outline: none;
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 4px rgba(99,102,241,.18);
}
.lp-textarea { min-height: 130px; resize: vertical; }
.lp-form-msg { margin-top: .75rem; font-size: .9rem; font-weight: 600; }
.lp-form-msg.ok  { color: var(--c-success); }
.lp-form-msg.err { color: var(--c-danger); }

/* ── Footer ─────────────────────────────────────────── */
.lp-footer { background: #0b1220; color: rgba(255,255,255,.72); padding: 3rem 1.25rem 1.5rem; }
.lp-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
}
.lp-footer h5 {
  color: #fff; font-size: 1rem; margin-bottom: .85rem;
  position: relative; display: inline-block;
}
.lp-footer h5::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 32px; height: 3px; background: var(--g-primary); border-radius: 3px;
}
.lp-footer a { display: block; font-size: .88rem; padding: .25rem 0; color: rgba(255,255,255,.7); transition: color var(--t-base), padding var(--t-base); }
.lp-footer a:hover { color: #fde68a; padding-left: 4px; }
.lp-footer-bottom {
  max-width: 1200px; margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.10);
  text-align: center; font-size: .8rem; color: rgba(255,255,255,.55);
}

/* Owner / Founder card */
.lp-owner-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
  align-items: center;
  background: #fff;
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  padding: 2rem;
  max-width: 920px; margin: 0 auto;
}
.lp-owner-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--g-hero);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 6px #fff, 0 12px 28px rgba(99,102,241,.30);
}
.lp-owner-photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-owner-body h3 { margin: 0 0 .25rem; font-size: 1.6rem; color: var(--lp-text); font-weight: 800; }
.lp-owner-body .meta { color: var(--c-pink); font-weight: 700; margin: 0 0 .85rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.lp-owner-body blockquote {
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--c-pink);
  background: linear-gradient(135deg,#fdf2f8,#eef2ff);
  color: var(--lp-text);
  font-style: italic;
  line-height: 1.7;
  border-radius: 0 12px 12px 0;
}

/* Toppers gallery */
.lp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.lp-gallery-item {
  margin: 0;
  border-radius: var(--lp-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--lp-shadow);
  position: relative;
  transition: transform var(--t-base);
}
.lp-gallery-item:hover { transform: translateY(-4px); }
.lp-gallery-item img { display: block; width: 100%; height: 240px; object-fit: cover; }
.lp-gallery-item figcaption {
  padding: .75rem .9rem;
  font-size: .9rem;
  display: flex; flex-direction: column; gap: .15rem;
  background: #fff;
}
.lp-gallery-item figcaption strong { color: var(--lp-text); font-weight: 700; }
.lp-gallery-item figcaption span { color: var(--lp-muted); font-size: .8rem; }

/* Loading state */
.lp-loading { padding: 2.5rem; text-align: center; color: var(--lp-muted); font-size: .95rem; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .lp-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column; align-items: stretch;
    padding: .5rem;
    gap: 0;
    border-bottom: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow);
  }
  .lp-nav.open { display: flex; }
  .lp-nav a { padding: .9rem 1rem; border-bottom: 1px solid var(--lp-border); }
  .lp-nav a:last-child { border-bottom: none; }
  .lp-nav a::after { display: none; }
  .lp-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .lp-cta { display: none; }
  .lp-about-grid, .lp-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lp-form-row { grid-template-columns: 1fr; }
  .lp-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .lp-owner-card { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; }
  .lp-owner-photo { margin: 0 auto; width: 160px; height: 160px; font-size: 4rem; }
  .lp-owner-body blockquote { text-align: left; }
  .lp-hero { min-height: 480px; }
  .lp-gallery-item img { height: 200px; }
}

@media (max-width: 480px) {
  .lp-header-inner { padding: .65rem 1rem; }
  .lp-brand { font-size: .98rem; }
  .lp-section { padding: 2.5rem 1rem; }
  .lp-card { padding: 1.25rem 1.1rem; }
}
