/* ==========================================================================
   SECTIONS — Nav, Hero, Tools, Learn, Courses, Founder, Testimonials, CTA, Footer
   ========================================================================== */

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Same horizontal padding as the hero card so they align */
  padding: 16px 32px;
  background: transparent;
  transition: padding var(--ease-base);
}

/* Pill container — frosted glass, aligns with hero card below */
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 10px 10px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background-color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(2, 60, 68, 0.10);
  border-radius: 99px;
  transition: box-shadow var(--ease-base), background-color var(--ease-base);
}

.nav.scrolled .nav-inner {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(2, 60, 68, 0.10);
}

/* Links — dark on light pill */
.nav-inner .nav-links a {
  color: var(--slate);
}
.nav-inner .nav-links a:hover {
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: flex-end;
  margin-right: 20px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--ease-fast);
}
.nav-links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   HERO
   ========================================================================== */
/* Page shell — warm-white shows around the card */
.hero {
  background-color: var(--warm-white);
  padding: 105px 32px 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Photo card — same max-width as nav pill, perfectly aligned */
.hero-card {
  flex: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-color: #1a1212;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

/* Dark overlay for text readability */
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    160deg,
    rgba(26,26,26,0.82) 0%,
    rgba(26,26,26,0.50) 55%,
    rgba(26,26,26,0.18) 100%
  );
}

/* Animated teal glow — breathes slowly over the photo */
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse at 72% 58%,
    rgba(53, 189, 200, 0.18) 0%,
    transparent 60%
  );
  animation: heroGlow 7s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Corner badges — absolute inside .hero-card */
.hero-badge {
  position: absolute;
  top: 28px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  background-color: rgba(255, 255, 255, 0.88);
  padding: 7px 16px;
  border-radius: 4px;
}
.hero-badge--tl { left: 32px; }
.hero-badge--tr { right: 32px; }

/* Content — pushes to bottom-left of card */
.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 48px 56px;
  max-width: 660px;
}

.hero-h1 {
  font-family: var(--font-sans);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}
.hero-h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-body {
  font-size: 16px;
  color: var(--white);
  line-height: 1.8;
  max-width: 460px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* Hero button — white bg, clay on hover */
.hero-card .btn-primary {
  background-color: var(--white);
  color: var(--ink);
}
.hero-card .btn-primary:hover {
  background-color: var(--teal);
  color: var(--ink);
}

/* Light btn-text variant for dark backgrounds */
.btn-text--light {
  color: var(--warm-white);
  border-bottom-color: var(--teal);
}
.btn-text--light:hover {
  color: var(--teal);
}

/* Ticker Bar — below the hero card, same width, rounded */
.ticker-wrap {
  max-width: var(--content-max);
  margin: 12px auto 0;
  width: 100%;
  height: 48px;
  background-color: var(--forest);
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 12px;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
  padding: 0 8px;
}

.ticker-dot {
  color: var(--teal);
  margin-left: 8px;
  animation: tickerPulse 2s ease-in-out infinite;
}

/* ==========================================================================
   CARDS STACK — wraps all sections below the hero
   ========================================================================== */
.cards-stack {
  padding: 12px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: var(--warm-white);
}

/* Every section inside the stack is a rounded card */
.cards-stack > section,
.cards-stack > footer {
  border-radius: 20px;
  overflow: hidden;
}

/* ==========================================================================
   STAT STRIP
   ========================================================================== */
.stat-strip {
  background-color: var(--white);
  padding: 0 var(--section-pad-h);
}

.stat-strip-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 36px 40px;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.stat-accent { color: var(--teal); }

.stat-lbl {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}

.stat-divider {
  width: 1px;
  background-color: var(--mist);
  align-self: stretch;
  flex-shrink: 0;
}

/* ==========================================================================
   TOOLS STRIP
   ========================================================================== */
.tools-strip {
  background-color: var(--white);
  padding: 72px var(--section-pad-h);
}

.tools-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.tools-eyebrow {
  text-align: center;
  margin-bottom: 36px;
}

/* ==========================================================================
   WHAT YOU LEARN
   ========================================================================== */
.learn {
  background-color: var(--paper-blue);
  padding: var(--section-pad-v) var(--section-pad-h);
}

.learn-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.learn-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: start;
}

.learn-h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.learn-h2 em {
  font-style: italic;
  color: var(--teal);
}

.learn-header .eyebrow { color: var(--teal); }

.learn-intro {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.8;
  padding-top: 48px;
}

/* Cards Grid */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: rgba(2, 60, 68, 0.12);
}

.learn-card {
  background-color: rgba(255, 255, 255, 0.74);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background-color var(--ease-base);
}
.learn-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal);
  transition: width 0.4s var(--ease-spring);
}
.learn-card:hover {
  background-color: var(--white);
}
.learn-card:hover::after {
  width: 100%;
}

.card-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--teal);
  opacity: 0.6;
  display: block;
  margin-bottom: 20px;
}

.learn-card h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.learn-card p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 24px;
}

.card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   COURSES
   ========================================================================== */
.courses {
  background-color: var(--white);
  padding: var(--section-pad-v) var(--section-pad-h);
}

.courses-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

.courses-h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.courses-h2 em {
  font-style: italic;
  color: var(--teal);
}

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

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder {
  background-color: var(--warm-white);
  padding: var(--section-pad-v) var(--section-pad-h);
}

.founder-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}

/* Photo */
.founder-photo-wrap {
  position: relative;
  align-self: start;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--mist);
  box-shadow: 0 22px 54px rgba(2, 60, 68, 0.10);
}

/* Clay offset border decoration */
.founder-photo-wrap::after {
  content: '';
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 48%;
  height: 48%;
  background: #A3DADF;
  border: none;
  z-index: 0;
  pointer-events: none;
}

.founder-photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
}

.founder-photo-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.95) 0%, transparent 100%);
  padding: 48px 32px 32px;
}

.founder-photo-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-photo-name {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}

.founder-photo-role {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--teal);
}

/* Copy */
.founder-h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-top: 14px;
  margin-bottom: 18px;
}
.founder-h2 em {
  font-style: italic;
  color: var(--teal);
}

.founder-body {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.58;
  margin-bottom: 12px;
}

.founder-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--mist);
}

.founder-copy p:not(.founder-body) {
  font-size: 15px;
  line-height: 1.58;
}

.founder-credentials {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-credentials li {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--slate);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.founder-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
}

/* Divider */
.founder-divider {
  height: 1px;
  background-color: rgba(2, 60, 68, 0.14);
  margin: 18px 0;
}

/* Inline stat row */
.founder-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.founder-stat {
  background-color: var(--white);
  border: 1px solid rgba(53, 189, 200, 0.22);
  padding: 10px 12px;
  transition: transform var(--ease-base), border-color var(--ease-base), box-shadow var(--ease-base);
}

.founder-stat:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 14px 30px rgba(2, 60, 68, 0.08);
}

.founder-stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.founder-stat-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  color: var(--slate);
  line-height: 1.35;
}

/* Tools row */
.founder-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.founder-tools-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin-right: 8px;
}

.founder-tools-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.founder-pill {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  padding: 5px 10px;
  border: 1px solid rgba(53, 189, 200, 0.28);
  border-radius: 99px;
  background-color: var(--paper-blue);
  transition: border-color var(--ease-fast), color var(--ease-fast), background-color var(--ease-fast), transform var(--ease-fast);
}

.founder-pill:hover {
  border-color: var(--teal);
  background-color: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  background-color: var(--white);
  padding: var(--section-pad-v) var(--section-pad-h);
}

.testimonials-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.testimonials-header {
  margin-bottom: 56px;
}

.testimonials-h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 16px;
}
.testimonials-h2 em {
  font-style: italic;
  color: var(--teal);
}

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

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background-color: var(--warm-white);
  padding: 100px var(--section-pad-h);
  position: relative;
  overflow: hidden;
}

.cta-ghost {
  display: none;
}

.cta-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-h2 {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.cta-h2 em {
  font-style: italic;
  color: var(--teal);
}

.cta-sub {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.75;
  max-width: 540px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--white);
  padding: 80px var(--section-pad-h) 40px;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-brand {
  grid-column: 1;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: none;
}

.footer-logo-bar {
  display: block;
  width: 3px;
  height: 48px;
  background-color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-logo-gurukul {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.footer-logo-ofai {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 3px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 260px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--slate);
  transition: color var(--ease-fast);
}
.footer-links a:hover { color: var(--teal); }

.footer-divider {
  height: 1px;
  background-color: var(--mist);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(9, 23, 23, 0.45);
}

.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color var(--ease-fast);
}
.footer-social a:hover { color: var(--teal); }
