/* ==========================================================================
   Lann Edu Tech — Design System
   Palette sampled from logo.jpeg
   ========================================================================== */

:root {
  --yellow: #f6d55c;
  --tan: #d2a679;
  --green: #c6d96b;
  --orange: #f0954b;
  --orange-dark: #d97a30;
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --paper: #ffffff;
  --paper-soft: #faf8f4;
  --border: #eae4d8;
  --whatsapp: #25d366;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
  --shadow-lift: 0 14px 34px rgba(28, 28, 28, 0.14);
  --max-width: 1160px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: rgba(240, 149, 75, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

section {
  padding: 72px 0;
}

.section-alt {
  background: var(--paper-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: #1c1c1c;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lift);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Header -------------------------------------------------------------------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 0;
  flex-shrink: 1;
}

.brand img {
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand img {
  height: 44px;
  width: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding: 4px 0;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--orange-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s;
}

.nav-toggle span::before { top: -7px; position: absolute; }
.nav-toggle span::after { top: 7px; position: absolute; }

/* Hero ---------------------------------------------------------------------*/

.hero {
  padding: 64px 0 80px;
  background:
    radial-gradient(circle at 85% 10%, rgba(198, 217, 107, 0.25), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(246, 213, 92, 0.3), transparent 40%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-tagline {
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(340px, 100%);
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.4rem;
}

.hero-stats div span {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* Cards ----------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.badge-yellow { background: var(--yellow); }
.badge-green { background: var(--green); }
.badge-orange { background: var(--orange); }
.badge-tan { background: var(--tan); }

/* Path spotlight ---------------------------------------------------------- */

.path-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.path-spotlight ul {
  padding-left: 20px;
  color: var(--ink-soft);
}

.path-spotlight ul li {
  margin-bottom: 8px;
}

.coming-soon-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Trust / contact snippet ------------------------------------------------- */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-strip .card {
  text-align: center;
}

/* CTA band ------------------------------------------------------------------*/

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: var(--max-width);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
}

.cta-band .cta-row {
  justify-content: center;
}

[data-razorpay-status] {
  color: rgba(255, 255, 255, 0.85);
}

[data-razorpay-status].is-error {
  color: #f6a5a5;
}

/* Page hero (inner pages) -------------------------------------------------- */

.page-hero {
  padding: 56px 0 48px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
}

/* Content blocks ----------------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange-dark);
  font-weight: 800;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-tags span {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.disclaimer {
  background: rgba(240, 149, 75, 0.08);
  border: 1px solid rgba(240, 149, 75, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.disclaimer strong {
  color: var(--ink);
}

/* Team / leadership -------------------------------------------------------- */

.team-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 480px;
}

.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
}

.team-card .role {
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

/* Gallery ------------------------------------------------------------------*/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.gallery-item::after {
  content: "🔍";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-grid-placements {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item.placement-item {
  background: var(--paper-soft);
}

.gallery-item.placement-item img {
  aspect-ratio: auto;
  object-fit: contain;
  transform: none;
}

.gallery-item.placement-item:hover img {
  transform: none;
}

/* Lightbox ------------------------------------------------------------------*/

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 12, 12, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: min(900px, 88vw);
  max-height: 78vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lift);
}

.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0 20px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* Contact page -------------------------------------------------------------*/

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child { border-bottom: none; }

.contact-row .label {
  font-weight: 700;
  min-width: 90px;
  color: var(--ink);
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* Legal pages ---------------------------------------------------------------*/

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 1.6em;
}

.legal-content ul {
  color: var(--ink-soft);
}

.legal-updated {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 2em;
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Floating WhatsApp button -------------------------------------------------*/

.float-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  background: var(--whatsapp);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease;
}

.float-whatsapp:hover {
  transform: scale(1.08);
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
}

/* Celebration popup ---------------------------------------------------------*/

.celebration-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(12, 12, 12, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.celebration-overlay.open {
  display: flex;
}

.celebration-overlay.visible {
  opacity: 1;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.celebration-card {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: 20px;
  padding: 28px 28px 24px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lift);
  transform: scale(0.9);
  transition: transform 0.25s ease;
}

.celebration-overlay.visible .celebration-card {
  transform: scale(1);
}

.celebration-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}

.celebration-photo {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 14px 0 18px;
  box-shadow: var(--shadow);
}

.celebration-footer .btn {
  width: 100%;
  justify-content: center;
}

/* 404 ------------------------------------------------------------------- */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}

.error-page .eyebrow {
  margin-bottom: 20px;
}

/* Responsive ---------------------------------------------------------------*/

@media (max-width: 900px) {
  .hero .container,
  .two-col,
  .contact-grid,
  .path-spotlight {
    grid-template-columns: 1fr;
  }

  .hero-art { order: -1; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .header-cta .btn-outline { display: none; }

  .nav-toggle { display: block; }

  .brand-text small { display: none; }

  .header-cta { gap: 6px; }

  .header-cta .btn-primary {
    padding: 10px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }

  .lightbox-img { max-height: 68vh; }

  .trust-strip { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 40px 22px; border-radius: 18px; }

  section { padding: 52px 0; }

  .team-card { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .brand img { height: 34px; width: 34px; }

  .brand-text { font-size: 0.92rem; }

  .header-cta .btn-primary {
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .container { padding: 0 14px; }
}
