/*
Theme Name: NeevChamp
Theme URI: https://neevchamp.com
Author: NeevChamp Team
Author URI: https://neevchamp.com
Description: High-performance, mobile-responsive WordPress theme for NeevChamp online competitive examination platform for Classes 1-10. Ready for MilesWeb hosting.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: neevchamp
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Poppins:wght@500;600;700;800;900&display=swap');

:root {
  --blue: #123b87;
  --blue2: #2f6fd6;
  --orange: #f26b21;
  --yellow: #ffc928;
  --sky: #eef8ff;
  --ink: #18325f;
  --muted: #5e6f8c;
  --white: #ffffff;
  --line: #dbe7f5;
  --shadow: 0 18px 50px rgba(30, 72, 130, 0.10);
  --shadow-sm: 0 8px 24px rgba(27, 60, 120, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fbfdff;
  line-height: 1.62;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #edf2f8;
}
.nav-wrap {
  max-width: 1440px;
  margin: auto;
  min-height: 80px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-link { display: flex; align-items: center; gap: 12px; }
.brand-logo-img { height: 48px; width: auto; max-width: 240px; object-fit: contain; }
.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.site-nav a {
  font-size: 13px;
  font-weight: 700;
  color: #2a4879;
  white-space: nowrap;
  padding: 6px 4px;
}
.site-nav a:hover { color: var(--orange); }

.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(27, 60, 120, 0.12);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27, 60, 120, 0.18); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0c2b66; color: #fff; }
.btn-orange { background: linear-gradient(135deg, #ff8b3d 0%, var(--orange) 100%); color: #fff; }
.btn-orange:hover { filter: brightness(1.06); color: #fff; }

.menu-toggle-btn {
  display: none;
  border: 1px solid var(--line);
  background: #f8fbff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 22px;
  cursor: pointer;
  color: var(--blue);
}

/* Sections Base */
.section { max-width: 1400px; margin: auto; padding: 80px 32px; }
.section-full { max-width: none; padding-left: 0; padding-right: 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.18; margin-bottom: 16px; }
h1 { font-size: clamp(40px, 4.6vw, 68px); color: var(--blue); }
h1 span, h2 span { color: #2371cf; }
h1 em, h2 em { font-style: normal; color: var(--orange); }
h2 { font-size: clamp(30px, 3.4vw, 48px); color: var(--blue); }
h3 { font-size: 22px; color: var(--blue); }
p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p { font-size: 18px; }

/* Hero */
.hero-wrapper {
  background: linear-gradient(110deg, #ffffff 0%, #f4faff 45%, #dff2ff 100%);
  border-bottom: 1px solid #edf4fc;
}
.hero-grid {
  max-width: 1440px;
  margin: auto;
  min-height: 600px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
}
.hero-copy {
  padding: 60px 40px 60px 32px;
}
.hero-lead {
  font-size: 18px;
  color: #3b5073;
  line-height: 1.68;
  margin: 18px 0 28px;
}
.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}
.mini-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2edfa;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 4px 12px rgba(20, 60, 120, 0.04);
  white-space: nowrap;
}
.mini-point-item .point-icon { font-size: 22px; line-height: 1; }
.mini-point-item span { font-size: 13px; font-weight: 700; color: #1f3765; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art-col {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hero-art-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: block;
}
.hero-dream-badge {
  position: absolute;
  top: 10%;
  right: 6%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 2px solid #e1efff;
  padding: 14px 22px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  color: var(--blue);
  line-height: 1.15;
  box-shadow: 0 12px 30px rgba(18, 59, 135, 0.15);
  text-align: center;
}
.hero-dream-badge strong { color: var(--orange); }

/* About */
.about-section { background: #ffffff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-list { display: grid; gap: 14px; margin-top: 24px; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
}
.feature-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--orange);
  background: #fff;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #fedbc5;
}
.feature-text strong { display: block; font-size: 15px; color: var(--blue); margin-bottom: 2px; }
.feature-text small { font-size: 13px; color: var(--muted); }
.visual-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.visual-card img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.visual-caption { padding: 18px 22px; }
.visual-caption strong { display: block; font-size: 15px; color: var(--blue); }
.visual-caption span { font-size: 13px; color: var(--muted); }

/* How It Works / Journey */
.journey-section { background: linear-gradient(180deg, #f5fbff 0%, #ffffff 100%); }
.journey-grid-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.step-card { text-align: center; position: relative; padding: 8px; }
.step-circle {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #2f6fd6, #123b87);
  box-shadow: 0 6px 16px rgba(18, 59, 135, 0.25);
}
.step-card:nth-child(2) .step-circle { background: linear-gradient(135deg, #7c3aed, #5b21b6); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25); }
.step-card:nth-child(3) .step-circle { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25); }
.step-card:nth-child(4) .step-circle { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25); }
.step-card:nth-child(5) .step-circle { background: linear-gradient(135deg, #ec4899, #be185d); box-shadow: 0 6px 16px rgba(236, 72, 153, 0.25); }
.step-card:nth-child(6) .step-circle { background: linear-gradient(135deg, #f26b21, #c2410c); box-shadow: 0 6px 16px rgba(242, 107, 33, 0.25); }
.step-title { font-size: 13px; font-weight: 800; color: var(--blue); line-height: 1.3; }
.step-desc { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* Why NeevChamp */
.why-section { background: #fbfdff; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.pill-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.pill-flow-item {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(20, 50, 100, 0.04);
}
.why-visual-wrap {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.why-visual-wrap img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.stairs-badge-overlay {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 6px;
  align-items: flex-end;
}
.stairs-badge-overlay span {
  padding: 8px 14px;
  color: #fff;
  border-radius: 8px 8px 0 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.st-learn { background: #2d74d8; height: 36px; display: flex; align-items: center; }
.st-practice { background: #38b2ac; height: 48px; display: flex; align-items: center; }
.st-compete { background: #f26b21; height: 60px; display: flex; align-items: center; }
.st-achieve { background: #7c3aed; height: 72px; display: flex; align-items: center; }

/* Quote Card Kalam */
.quote-card {
  background: linear-gradient(110deg, #f2efff 0%, #ffffff 60%);
  border: 1px solid #dfd8ff;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 80px 1fr 240px;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.08);
}
.quote-mark { font-size: 110px; line-height: 1; color: #8c67df; text-align: center; }
.quote-content { padding: 24px 20px; }
.quote-content p { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; color: #35256e; margin-bottom: 12px; line-height: 1.4; }
.quote-content strong { display: block; font-size: 16px; color: var(--blue); }
.quote-content small { font-size: 13px; color: var(--muted); }
.quote-card-img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }

/* Parents & Students */
.parents-section { background: #fffaf4; }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.check-list { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.check-list li {
  background: #ffffff;
  border: 1px solid #f2e2ce;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 15px;
  color: #2c4263;
  display: flex;
  align-items: center;
  gap: 12px;
}
.check-icon {
  width: 24px;
  height: 24px;
  background: #f26b21;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Schools */
.schools-section { background: #f0f7ff; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.benefit-card {
  background: #ffffff;
  border: 1px solid #d5e6f8;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(18, 59, 135, 0.04);
}
.benefit-card .b-icon { font-size: 28px; margin-bottom: 8px; }
.benefit-card h4 { font-size: 16px; color: var(--blue); margin-bottom: 4px; }
.benefit-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* Prizes & Scholarship */
.prizes-section { background: linear-gradient(180deg, #ffffff 0%, #fff9f0 100%); }
.prizes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.prize-list { display: grid; gap: 16px; }
.prize-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eedec7;
}
.prize-row-icon { font-size: 32px; line-height: 1; }
.prize-row h3 { font-size: 18px; margin-bottom: 4px; }
.prize-row p { font-size: 14px; margin: 0; }

/* Philosophy */
.philosophy-section { background: #f7f4ff; }
.philosophy-card {
  background: #ffffff;
  border-radius: 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 50px;
  box-shadow: var(--shadow);
  border: 1px solid #e7dffd;
}

/* App Download Section */
.app-section { background: linear-gradient(120deg, #fff2db 0%, #e5f4ff 100%); }
.app-card {
  background: #ffffff;
  border-radius: 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  box-shadow: 0 20px 60px rgba(18, 59, 135, 0.12);
  border: 1px solid #ddecfa;
}
.app-card-copy { padding: 56px 48px; }
.app-features-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.app-features-badges span {
  background: #edf5ff;
  border: 1px solid #cfe2fa;
  color: var(--blue);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
}
.google-play-btn {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}
.google-play-btn:hover { transform: scale(1.04); }
.google-play-btn img { height: 54px; width: auto; }
.app-card-img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* FAQ */
.faq-section { background: #ffffff; }
.faq-list { max-width: 960px; margin: auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item[open] { background: #ffffff; border-color: #bed6f6; box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  color: var(--blue);
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--orange); font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-content { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Final CTA */
.final-cta-section {
  background: linear-gradient(110deg, var(--blue) 0%, #1c5bbd 100%);
  color: #ffffff;
}
.final-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.final-cta-wrap h2 { color: #ffffff; margin-bottom: 8px; }
.final-cta-wrap h2 span { color: #ffd44c; }
.final-cta-wrap p { color: #d0e4ff; margin: 0; font-size: 17px; }
.final-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* Footer */
.site-footer { background: #0c1d3b; color: #dbe7f7; }
.footer-main {
  max-width: 1400px;
  margin: auto;
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { height: 42px; width: auto; }
.footer-tagline { font-size: 14px; color: #a5bddf; font-weight: 600; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 600; color: #cbdcf4; }
.footer-nav a:hover { color: #ff9b57; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 32px;
  text-align: center;
  font-size: 13px;
  color: #8da4c4;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .menu-toggle-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding: 36px 20px 10px; width: 100%; }
  .hero-art-col { padding: 16px; width: 100%; }
  .hero-art-img { max-height: 420px; width: 100%; }
  .about-grid, .why-grid, .two-col-grid, .prizes-grid, .philosophy-card, .app-card { grid-template-columns: 1fr; gap: 30px; }
  .mini-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .journey-grid-steps { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .quote-card { grid-template-columns: 1fr; text-align: center; }
  .quote-card-img { display: flex; justify-content: center; }
  .final-cta-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
  *, *:before, *:after { box-sizing: border-box; }
  h1 { font-size: 30px !important; line-height: 1.2 !important; word-break: break-word; }
  h2 { font-size: 24px !important; line-height: 1.25 !important; word-break: break-word; }
  h3 { font-size: 19px !important; }
  .hero-lead { font-size: 14px !important; margin: 12px 0 20px; }
  .section { padding: 40px 16px; }
  .nav-wrap { padding: 12px 16px; }
  .nav-actions { display: none; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; padding: 13px 16px; font-size: 14px; white-space: normal; }
  .mini-points { grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .mini-point-item { padding: 8px 10px; font-size: 11px; white-space: normal; }
  .journey-grid-steps { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pill-flow, .benefits-grid { grid-template-columns: 1fr; }
  .app-card-copy { padding: 24px 16px; }
  .app-features-badges { gap: 6px; }
  .app-features-badges span { font-size: 11px; padding: 6px 12px; }
  .quote-card { display: flex; flex-direction: column; align-items: center; padding: 24px 16px; text-align: center; }
  .quote-card-img { display: block !important; width: 130px; height: 130px; margin: 16px auto 0; }
  .quote-mark { display: none; }
  .final-actions { flex-direction: column; width: 100%; gap: 10px; }
  .final-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .footer-main { flex-direction: column; text-align: center; gap: 20px; }
  .footer-nav { justify-content: center; }
}
