/* ===== LEARNING HUB — PREMIUM PAPER THEME ===== */

@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Nunito:wght@400;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;600;700;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --paper-bg: #fdfaf3;
  --paper-line: #c8ddf0;
  --paper-margin: #f4a7a7;
  --ink-dark: #1a2e4a;
  --ink-blue: #2c5f8a;
  --ink-red: #c0392b;
  --accent-pink: #e91e8c;
  --accent-yellow: #f5a623;
  --accent-green: #27ae60;
  --accent-purple: #8e44ad;
  --accent-orange: #e67e22;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.10);
  --card-hover: 0 12px 40px rgba(0,0,0,0.18);
  --border-radius: 12px;
  --font-heading: 'Kalam', cursive;
  --font-body: 'Nunito', sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--paper-bg);
  color: var(--ink-dark);
  overflow-x: hidden;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    var(--paper-line) 31px,
    var(--paper-line) 32px
  );
  background-attachment: local;
}

/* Red margin line */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 72px;
  width: 2px;
  height: 100%;
  background: var(--paper-margin);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ink-dark);
  line-height: 1.2;
}

.devanagari {
  font-family: var(--font-devanagari);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 250, 243, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--paper-line);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(233,30,140,0.3);
  transform: rotate(-3deg);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--ink-dark);
  line-height: 1;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-devanagari);
  font-size: 0.75rem;
  color: var(--ink-blue);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-dark);
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--accent-pink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: white !important;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(233,30,140,0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233,30,140,0.45) !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--ink-dark);
  border-radius: 3px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff8e1;
  border: 2px solid var(--accent-yellow);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 1.2rem;
  font-family: var(--font-devanagari);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
  color: var(--ink-dark);
}

.hero-title-hindi {
  font-family: var(--font-devanagari);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--ink-blue);
  display: block;
  margin-bottom: 0.3rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #555;
  margin: 1.2rem 0 2rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(233,30,140,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(233,30,140,0.45);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--ink-dark);
  border: 2.5px solid var(--ink-dark);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--ink-dark);
  color: white;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-pink);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #777;
  font-weight: 600;
}

/* Hero visual — notebook illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notebook-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 2rem;
  position: relative;
  width: 100%;
  max-width: 380px;
  border: 2px solid #e8e0d0;
}

.notebook-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 2px;
  height: 100%;
  background: var(--paper-margin);
  border-radius: 2px;
}

.notebook-rings {
  position: absolute;
  left: -14px;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1rem 0;
}

.ring {
  width: 28px;
  height: 28px;
  border: 3px solid #bbb;
  border-radius: 50%;
  background: var(--paper-bg);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.notebook-lines {
  margin-left: 20px;
}

.notebook-line {
  height: 1px;
  background: var(--paper-line);
  margin: 16px 0;
  border-radius: 1px;
}

.nb-course-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0.6rem 0 0.6rem 20px;
}

.nb-course-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.nb-course-info strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-heading);
}

.nb-course-info span {
  font-size: 0.78rem;
  color: #888;
}

.floating-badge {
  position: absolute;
  background: white;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-1 { top: -16px; right: -16px; color: var(--accent-green); border: 2px solid var(--accent-green); }
.fb-2 { bottom: -16px; left: -16px; color: var(--accent-pink); border: 2px solid var(--accent-pink); }

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
  pointer-events: none;
}

.blob-1 { width: 400px; height: 400px; background: var(--accent-pink); top: -100px; right: -100px; }
.blob-2 { width: 300px; height: 300px; background: var(--accent-yellow); bottom: -50px; left: -50px; }
.blob-3 { width: 200px; height: 200px; background: var(--accent-green); top: 50%; right: 30%; }

/* ===== SECTION BASE ===== */
section {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  background: #fff0f8;
  color: var(--accent-pink);
  border: 2px dashed var(--accent-pink);
  border-radius: 50px;
  padding: 4px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.section-sub {
  font-size: 1rem;
  color: #666;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
  background: transparent;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  background: linear-gradient(135deg, #f3e5f5, #e3f2fd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: var(--card-shadow);
  border: 3px solid white;
  position: relative;
  overflow: hidden;
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    transparent, transparent 31px,
    rgba(200, 221, 240, 0.4) 31px, rgba(200, 221, 240, 0.4) 32px
  );
}

.about-photo-sticker {
  position: absolute;
  bottom: -12px;
  right: -12px;
  background: var(--accent-yellow);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 15px rgba(245,166,35,0.4);
  transform: rotate(15deg);
  border: 3px solid white;
}

.about-content h2 { margin-bottom: 0.5rem; }

.about-role {
  font-family: var(--font-devanagari);
  color: var(--accent-pink);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.about-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.chip {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid;
}

.chip-blue   { background: #e3f2fd; color: var(--ink-blue);      border-color: var(--ink-blue);    }
.chip-pink   { background: #fce4ec; color: var(--accent-pink);   border-color: var(--accent-pink); }
.chip-green  { background: #e8f5e9; color: var(--accent-green);  border-color: var(--accent-green);}
.chip-yellow { background: #fff8e1; color: var(--accent-orange);  border-color: var(--accent-yellow);}

/* ===== COURSES ===== */
.courses { background: rgba(255,255,255,0.5); }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.course-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.course-card.hindi::before { background: linear-gradient(90deg, #ff6b6b, #ee5a24); }
.course-card.marathi::before { background: linear-gradient(90deg, #6c5ce7, #a29bfe); }

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover);
}

.course-card.hindi:hover { border-color: #ff6b6b; }
.course-card.marathi:hover { border-color: #6c5ce7; }

.course-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.course-card.hindi .course-icon   { background: #fff5f5; }
.course-card.marathi .course-icon { background: #f5f0ff; }

.course-name {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.course-name-devanagari {
  font-family: var(--font-devanagari);
  font-size: 1.1rem;
  font-weight: 700;
  color: #888;
  margin-bottom: 1rem;
}

.course-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.course-features {
  list-style: none;
  margin-bottom: 1.8rem;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 5px 0;
  color: #444;
}

.course-features li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  color: white;
}

.course-card.hindi   .course-features li::before { background: #ff6b6b; }
.course-card.marathi .course-features li::before { background: #6c5ce7; }

.course-modes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 2px solid;
}

.mode-online  { background: #e8f5e9; color: var(--accent-green); border-color: var(--accent-green); }
.mode-offline { background: #fff8e1; color: var(--accent-orange); border-color: var(--accent-yellow); }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: transparent; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--paper-line) 0, var(--paper-line) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}

.step-card:hover { transform: translateY(-6px); }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 1.2rem;
  font-weight: 700;
}

.step-1 .step-num { background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple)); }
.step-2 .step-num { background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange)); }
.step-3 .step-num { background: linear-gradient(135deg, var(--accent-green), #1abc9c); }

.step-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-desc { color: #666; font-size: 0.9rem; line-height: 1.6; }

/* ===== SCHEDULE ===== */
.schedule { background: rgba(255,255,255,0.5); }

.schedule-inner {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.6rem 2rem;
  border-radius: 50px;
  border: 2.5px solid var(--ink-dark);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--ink-dark);
  color: white;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.schedule-table th {
  background: var(--ink-dark);
  color: white;
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.schedule-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0ebe0;
  font-size: 0.92rem;
  vertical-align: middle;
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: #fdf8f0; }

.lang-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-devanagari);
}

.pill-hindi   { background: #fff0f0; color: #e53935; }
.pill-marathi { background: #f3f0ff; color: #6c5ce7; }

.mode-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.mode-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mode-dot.online::before  { background: var(--accent-green); }
.mode-dot.offline::before { background: var(--accent-orange); }

.spots-left {
  font-size: 0.78rem;
  color: var(--accent-pink);
  font-weight: 700;
}

/* ===== PRICING ===== */
.pricing { background: transparent; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 950px;
  margin: 0 auto;
}

.price-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-hover);
}

.price-card.featured {
  background: linear-gradient(135deg, var(--ink-dark), #2c5f8a);
  color: white;
  border-color: var(--ink-dark);
  transform: scale(1.04);
}

.price-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: white;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(233,30,140,0.35);
}

.price-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.price-name {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.price-card.featured .price-name { color: white; }

.price-sub {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.price-card.featured .price-sub { color: rgba(255,255,255,0.7); }

.price-amount {
  margin-bottom: 1.5rem;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: top;
  line-height: 2;
}

.price-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--ink-dark);
}

.price-card.featured .price-num { color: white; }

.price-period {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-top: 4px;
}

.price-card.featured .price-period { color: rgba(255,255,255,0.6); }

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 7px 0;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed #f0ebe0;
}

.price-card.featured .price-features li {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.15);
}

.price-features li:last-child { border-bottom: none; }

.price-features li .check { color: var(--accent-green); font-weight: 900; }
.price-card.featured .price-features li .check { color: #a0ffb4; }

.btn-enroll {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: 2.5px solid var(--ink-dark);
  background: transparent;
  color: var(--ink-dark);
  transition: 0.25s;
  text-decoration: none;
}

.btn-enroll:hover {
  background: var(--ink-dark);
  color: white;
}

.price-card.featured .btn-enroll {
  background: white;
  color: var(--ink-dark);
  border-color: white;
}

.price-card.featured .btn-enroll:hover {
  background: var(--accent-pink);
  color: white;
  border-color: var(--accent-pink);
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: rgba(255,255,255,0.5); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testi-card {
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
  position: relative;
}

.testi-card:hover { transform: translateY(-6px) rotate(1deg); }

.testi-card:nth-child(1) { background: #fffde7; border: 2px solid #ffd54f; transform: rotate(-1deg); }
.testi-card:nth-child(2) { background: #fce4ec; border: 2px solid #f48fb1; transform: rotate(1.5deg); }
.testi-card:nth-child(3) { background: #e8f5e9; border: 2px solid #a5d6a7; transform: rotate(-0.5deg); }
.testi-card:nth-child(1):hover { transform: rotate(-1deg) translateY(-6px); }
.testi-card:nth-child(2):hover { transform: rotate(1.5deg) translateY(-6px); }
.testi-card:nth-child(3):hover { transform: rotate(-0.5deg) translateY(-6px); }

.testi-stars { font-size: 1.1rem; margin-bottom: 0.8rem; letter-spacing: 2px; }

.testi-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(255,255,255,0.8);
}

.testi-name {
  font-weight: 800;
  font-size: 0.9rem;
  display: block;
}

.testi-role {
  font-size: 0.78rem;
  color: #777;
}

.testi-pin {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}

/* ===== ENROLLMENT FORM ===== */
.enroll { background: transparent; }

.enroll-inner {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--card-hover);
  border: 2px solid #e8e0d0;
  position: relative;
  overflow: hidden;
}

.enroll-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 2px;
  height: 100%;
  background: var(--paper-margin);
  opacity: 0.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e8e0d0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper-bg);
  color: var(--ink-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(233,30,140,0.12);
  background: white;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  margin-top: 1.5rem;
  text-align: center;
}

.form-submit button {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(233,30,140,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-submit button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(233,30,140,0.45);
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo-text { color: white; font-size: 1.8rem; }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.6); }

.footer-tagline {
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
}

.social-btn:hover {
  background: var(--accent-pink);
  transform: translateY(-3px);
  border-color: var(--accent-pink);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}

.contact-icon {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* --- TV / Large screens (1400px+) --- */
@media (min-width: 1400px) {
  .container,
  .hero-content,
  .about-inner,
  .schedule-inner,
  .footer-inner { max-width: 1320px; }

  .courses-grid      { max-width: 1100px; }
  .pricing-grid      { max-width: 1150px; }
  .testimonials-grid { max-width: 1200px; }
  .steps-grid        { max-width: 1100px; }

  body {
    background-image: repeating-linear-gradient(
      transparent, transparent 39px,
      var(--paper-line) 39px, var(--paper-line) 40px
    );
  }

  .hero { padding: 6rem 3rem; min-height: 85vh; }
  .hero-title        { font-size: 5rem; }
  .hero-title-hindi  { font-size: 3.5rem; }
  .hero-subtitle     { font-size: 1.25rem; }
  .hero-stat-num     { font-size: 2.5rem; }

  .section-title { font-size: 3.2rem; }
  .section-sub   { font-size: 1.1rem; max-width: 660px; }

  section { padding: 7rem 3rem; }

  .navbar        { height: 80px; padding: 0 3rem; }
  .nav-logo-text { font-size: 2rem; }
  .nav-links     { gap: 2.5rem; }
  .nav-links a   { font-size: 1.05rem; }

  .course-card   { padding: 3rem; }
  .course-name   { font-size: 1.9rem; }
  .course-desc   { font-size: 1rem; }

  .price-num     { font-size: 4rem; }
  .price-name    { font-size: 1.4rem; }

  .testi-text    { font-size: 1rem; }
  .testi-card    { padding: 2.2rem; }

  .enroll-inner  { padding: 4rem; }
  .footer-inner  { padding: 0 1rem; gap: 4rem; }
  .footer-bottom { font-size: 0.95rem; }

  .schedule-table th, .schedule-table td { padding: 1.2rem 2rem; font-size: 1rem; }

  .step-card     { padding: 2.5rem 2rem; }
  .step-title    { font-size: 1.3rem; }
  .step-desc     { font-size: 1rem; }

  .about-text    { font-size: 1.05rem; }
  .btn-primary, .btn-secondary { font-size: 1.1rem; padding: 1rem 2.5rem; }
}

/* --- Desktop (1024px – 1399px) — already the base, minor tuning --- */
@media (min-width: 1024px) and (max-width: 1399px) {
  .hero-content  { gap: 3rem; }
  .pricing-grid  { gap: 1.5rem; }
}

/* --- Tablet landscape (768px – 1023px) --- */
@media (max-width: 1023px) {
  .hero-content        { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-visual         { display: none; }
  .hero-btns           { justify-content: center; }
  .hero-stats          { justify-content: center; }
  .hero-badge          { display: inline-flex; }

  .about-inner         { grid-template-columns: 1fr; text-align: center; }
  .about-photo-wrap    { max-width: 260px; margin: 0 auto; }
  .about-chips         { justify-content: center; }
  .about-inner .btn-primary { display: inline-block; }

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

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

  .pricing-grid        { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .price-card          { padding: 2rem 1.4rem; }
  .price-card.featured { transform: scale(1.02); }
  .price-num           { font-size: 2.8rem; }

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

  .footer-inner        { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* --- Tablet portrait (600px – 767px) --- */
@media (max-width: 767px) {
  section { padding: 4rem 1.5rem; }

  .navbar          { padding: 0 1.5rem; }
  .nav-links       { display: none; }
  .hamburger       { display: flex; }

  .hero            { padding: 3rem 1.5rem; min-height: auto; }
  .hero-title      { font-size: 2.4rem; }
  .hero-title-hindi{ font-size: 1.8rem; }
  .hero-subtitle   { font-size: 1rem; }
  .hero-stats      { gap: 1.5rem; justify-content: center; }

  .section-title   { font-size: 2rem; }

  .courses-grid    { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .steps-grid      { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }

  .pricing-grid    { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testi-card:nth-child(1),
  .testi-card:nth-child(2),
  .testi-card:nth-child(3) { transform: none; }
  .testi-card:hover { transform: translateY(-6px) !important; }

  .footer-inner    { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .schedule-tabs   { flex-wrap: wrap; justify-content: center; gap: 0.8rem; }

  .enroll-inner    { padding: 2.5rem 2rem; }
  .form-grid       { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  body::before     { left: 56px; }
}

/* --- Mobile large (480px – 599px) --- */
@media (max-width: 599px) {
  .navbar          { height: 60px; padding: 0 1.2rem; }
  .nav-logo-text   { font-size: 1.3rem; }
  .nav-logo-icon   { width: 36px; height: 36px; font-size: 18px; }

  .hero            { padding: 2.5rem 1.2rem; }
  .hero-title      { font-size: 2rem; }
  .hero-title-hindi{ font-size: 1.5rem; }
  .hero-badge      { font-size: 0.78rem; padding: 5px 14px; text-align: center; }
  .hero-stats      { gap: 1rem; flex-wrap: wrap; }
  .hero-stat-num   { font-size: 1.6rem; }
  .btn-primary, .btn-secondary { padding: 0.75rem 1.5rem; font-size: 0.95rem; }

  .section-title   { font-size: 1.75rem; }
  .section-sub     { font-size: 0.92rem; }
  section          { padding: 3.5rem 1.2rem; }

  .steps-grid      { grid-template-columns: 1fr; }
  .step-card       { padding: 1.5rem 1.2rem; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testi-card      { padding: 1.4rem; }

  .pricing-grid    { max-width: 100%; }
  .price-card      { padding: 2rem 1.5rem; }
  .popular-tag     { font-size: 0.72rem; padding: 3px 14px; }

  .schedule-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
  .schedule-table  { min-width: 560px; }

  .enroll-inner    { padding: 2rem 1.2rem; border-radius: 16px; }
  .enroll-inner::before { display: none; }
  .form-submit button { padding: 0.9rem 1.5rem; font-size: 0.95rem; }

  .footer-inner    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom   { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-social   { flex-wrap: wrap; }

  body::before     { display: none; }

  .about-photo     { aspect-ratio: 1/1; font-size: 4rem; }
  .course-card     { padding: 1.8rem; }
  .schedule-tabs   { flex-direction: column; align-items: stretch; }
  .tab-btn         { text-align: center; }
}

/* --- Mobile small (320px – 479px) --- */
@media (max-width: 479px) {
  .hero-title       { font-size: 1.75rem; }
  .hero-title-hindi { font-size: 1.3rem; }
  .hero-btns        { flex-direction: column; gap: 0.8rem; }
  .hero-btns a      { text-align: center; }
  .hero-stats       { justify-content: space-around; width: 100%; }

  .section-title    { font-size: 1.5rem; }
  .nav-logo-text    { font-size: 1.15rem; }

  .price-num        { font-size: 2.8rem; }
  .price-currency   { font-size: 1rem; }

  .about-chips      { gap: 8px; }
  .chip             { font-size: 0.78rem; padding: 5px 12px; }

  .testi-card       { padding: 1.2rem; }
  .testi-text       { font-size: 0.88rem; }

  .footer-inner     { gap: 1.5rem; }
  .footer-col h4    { margin-bottom: 0.8rem; }
}
