/* ============================================================
   Shikhar Academy — demo coaching institute website
   Designed & built by Pavan Rengade · https://pavan.rengade.in
   ============================================================ */

:root {
  --indigo-950: #14275e;
  --indigo-900: #1e3a8a;
  --indigo-800: #26479e;
  --indigo-700: #3352ad;
  --indigo-100: #e3e9f8;
  --indigo-50: #f1f5fd;
  --saffron-600: #ea7a10;
  --saffron-500: #f59322;
  --saffron-100: #fdeeda;
  --ink: #1c2333;
  --muted: #5a6478;
  --line: #e4e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --green-600: #16803c;
  --green-50: #ecfaf1;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(20, 39, 94, 0.08);
  --shadow-lg: 0 14px 38px rgba(20, 39, 94, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; }

a { color: var(--indigo-800); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Demo ribbon ---------------- */
.demo-ribbon {
  background: linear-gradient(90deg, #14275e, #1e3a8a 55%, #2b4aa0);
  color: #dbe4fb;
  text-align: center;
  font-size: 0.82rem;
  padding: 8px 14px;
  letter-spacing: 0.01em;
}
.demo-ribbon a {
  color: #ffc46b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------------- Header / nav ---------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--indigo-900), #3b5bd6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow);
}
.brand-name {
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--saffron-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--indigo-900); background: var(--indigo-50); }
.nav-links a.current {
  color: var(--indigo-900);
  background: var(--indigo-100);
}
.nav-cta {
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-500));
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 16px rgba(234, 122, 16, 0.35);
}
.nav-cta:hover { filter: brightness(1.05); background: linear-gradient(135deg, var(--saffron-600), var(--saffron-500)) !important; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-primary {
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(234, 122, 16, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-outline {
  background: #fff;
  color: var(--indigo-900);
  border: 1.5px solid var(--indigo-800);
  padding: 11px 22px;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(700px 340px at 85% -10%, rgba(245, 147, 34, 0.25), transparent 60%),
    radial-gradient(600px 400px at -5% 110%, rgba(59, 91, 214, 0.35), transparent 60%),
    linear-gradient(140deg, var(--indigo-950), var(--indigo-900) 55%, #27409a);
  color: #fff;
  padding: 68px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: rgba(245, 147, 34, 0.16);
  color: #ffc46b;
  border: 1px solid rgba(245, 147, 34, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  color: #ffc46b;
}
.hero p.lead {
  color: #c9d4f2;
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero visual tile */
.hero-tile {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(4px);
}
.hero-tile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
}
.hero-tile-row + .hero-tile-row { border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.hero-tile-emoji {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.tile-a { background: linear-gradient(135deg, #f59322, #d96708); }
.tile-b { background: linear-gradient(135deg, #3b5bd6, #6d8cff); }
.tile-c { background: linear-gradient(135deg, #0e9f6e, #34d399); }
.tile-d { background: linear-gradient(135deg, #8b5cf6, #c084fc); }
.hero-tile-row strong { display: block; font-size: 0.98rem; }
.hero-tile-row span { color: #b9c6ea; font-size: 0.85rem; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
  background:
    radial-gradient(600px 280px at 90% -20%, rgba(245, 147, 34, 0.22), transparent 60%),
    linear-gradient(135deg, var(--indigo-950), var(--indigo-900) 60%, #27409a);
  color: #fff;
  padding: 48px 0 54px;
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.page-hero p { color: #c9d4f2; max-width: 42rem; font-size: 1.02rem; }

/* ---------------- Stats strip ---------------- */
.stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 26px 0;
  text-align: center;
}
.stat-num {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--indigo-900);
  letter-spacing: -0.02em;
}
.stat-label { color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* ---------------- Sections ---------------- */
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  color: var(--saffron-600);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-head p { color: var(--muted); }

/* ---------------- Cards / grids ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

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

/* course cards */
.course-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-emoji {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  margin-bottom: 16px;
  color: #fff;
}
.course-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 4px; }
.course-target { color: var(--saffron-600); font-weight: 700; font-size: 0.85rem; margin-bottom: 12px; }
.course-meta {
  list-style: none;
  margin: 0 0 16px;
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  color: var(--muted);
}
.course-meta li { display: flex; gap: 8px; align-items: baseline; }
.course-meta li b { color: var(--ink); font-weight: 700; }
.course-fee {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--indigo-900);
  margin-bottom: 4px;
}
.course-fee small { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.course-card .btn { margin-top: auto; }
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-mode { background: var(--indigo-100); color: var(--indigo-900); }
.badge-cat { background: var(--saffron-100); color: var(--saffron-600); }
.badge-green { background: var(--green-50); color: var(--green-600); }
.card-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* why us */
.why-card { text-align: left; }
.why-emoji {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.why-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 0.92rem; }

/* faculty */
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, #1e3a8a, #3b5bd6); }
.av-2 { background: linear-gradient(135deg, #ea7a10, #f5b322); }
.av-3 { background: linear-gradient(135deg, #0e9f6e, #34d399); }
.av-4 { background: linear-gradient(135deg, #8b5cf6, #c084fc); }
.av-5 { background: linear-gradient(135deg, #db2777, #f472b6); }
.av-6 { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.faculty-card { display: flex; gap: 16px; align-items: center; }
.faculty-card h3 { font-size: 1rem; font-weight: 800; }
.faculty-card .subject { color: var(--saffron-600); font-weight: 700; font-size: 0.85rem; }
.faculty-card .exp { color: var(--muted); font-size: 0.85rem; }
.view-all-note { text-align: center; margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
.view-all-note strong { color: var(--indigo-900); }

/* testimonials */
.quote-card { display: flex; flex-direction: column; }
.quote-stars { color: var(--saffron-500); letter-spacing: 2px; margin-bottom: 10px; }
.quote-card blockquote { color: var(--ink); font-size: 0.95rem; margin-bottom: 18px; }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-person .avatar { width: 44px; height: 44px; font-size: 0.9rem; }
.quote-person strong { display: block; font-size: 0.92rem; }
.quote-person span { color: var(--muted); font-size: 0.8rem; }

/* ---------------- Filter chips ---------------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.chip {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--indigo-800); color: var(--indigo-900); }
.chip.active {
  background: var(--indigo-900);
  border-color: var(--indigo-900);
  color: #fff;
}
.course-count { color: var(--muted); font-weight: 600; font-size: 0.92rem; margin: 0 0 26px; }
.course-count b { color: var(--indigo-900); }

/* ---------------- Tabs (results) ---------------- */
.tab-row { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--muted);
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
}
.tab-btn.active { background: var(--saffron-600); border-color: var(--saffron-600); color: #fff; box-shadow: 0 6px 16px rgba(234,122,16,0.3); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* topper cards */
.topper-card { text-align: center; padding: 26px 18px; }
.topper-card .avatar { margin: 0 auto 14px; width: 64px; height: 64px; font-size: 1.25rem; }
.topper-card h3 { font-size: 1rem; font-weight: 800; }
.topper-rank { color: var(--saffron-600); font-weight: 800; font-size: 0.92rem; margin: 4px 0 2px; }
.topper-course { color: var(--muted); font-size: 0.82rem; }

/* stats banner */
.stats-banner {
  background: linear-gradient(135deg, var(--indigo-950), var(--indigo-900) 60%, #27409a);
  color: #fff;
  border-radius: 18px;
  padding: 34px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.stats-banner .stat-num { color: #ffc46b; }
.stats-banner .stat-label { color: #c9d4f2; }

/* ---------------- Tables ---------------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.94rem;
}
table.compare th, table.compare td { padding: 14px 18px; text-align: left; }
table.compare thead th {
  background: var(--indigo-900);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
}
table.compare tbody tr:nth-child(even) { background: var(--indigo-50); }
table.compare tbody tr + tr { border-top: 1px solid var(--line); }
table.compare td.good { color: var(--green-600); font-weight: 800; }
table.compare td.meh { color: var(--muted); }

/* ---------------- Steps (admissions) ---------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; padding-top: 30px; }
.step-num {
  position: absolute;
  top: -18px;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron-600), var(--saffron-500));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(234, 122, 16, 0.35);
}
.step-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 0.9rem; }

/* scholarship banner */
.scholarship-banner {
  background: linear-gradient(120deg, #b45309, var(--saffron-600) 55%, var(--saffron-500));
  color: #fff;
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(234, 122, 16, 0.3);
}
.scholarship-banner .big-emoji { font-size: 2.6rem; }
.scholarship-banner h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.scholarship-banner p { color: #fff3e2; font-size: 0.95rem; max-width: 44rem; }

/* ---------------- Forms ---------------- */
.form-card { padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field label .req { color: #dc2626; }
.field input, .field select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--indigo-800);
  box-shadow: 0 0 0 3px rgba(38, 71, 158, 0.15);
}
.field .hint { color: var(--muted); font-size: 0.78rem; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.radio-pill span {
  display: inline-block;
  padding: 9px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
}
.radio-pill input:checked + span {
  background: var(--indigo-900);
  border-color: var(--indigo-900);
  color: #fff;
}

/* success card */
.success-card {
  background: var(--green-50);
  border: 1.5px solid #bbe8cc;
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}
.success-card .big-emoji { font-size: 2.8rem; display: block; margin-bottom: 10px; }
.success-card h3 { color: var(--green-600); font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.success-card p { color: var(--ink); max-width: 34rem; margin: 0 auto 6px; }
.enquiry-id {
  display: inline-block;
  margin-top: 14px;
  background: #fff;
  border: 1.5px dashed var(--green-600);
  color: var(--green-600);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 12px; max-width: 780px; }
details.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 17px 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--saffron-600);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.94rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background:
    radial-gradient(500px 240px at 15% 120%, rgba(245, 147, 34, 0.25), transparent 60%),
    linear-gradient(135deg, var(--indigo-950), var(--indigo-900));
  color: #fff;
  border-radius: 20px;
  padding: 46px 34px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: #c9d4f2; margin-bottom: 24px; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--indigo-950);
  color: #aebadd;
  padding: 52px 0 26px;
  margin-top: 64px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 0.04em; }
.site-footer a { color: #cfd9f5; text-decoration: none; }
.site-footer a:hover { color: #ffc46b; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-brand-desc { max-width: 26rem; margin-top: 10px; }
.footer-contact { list-style: none; display: grid; gap: 9px; }
.footer-credit {
  text-align: center;
  padding-top: 22px;
  font-size: 0.85rem;
  color: #8b99c4;
}
.footer-credit a { color: #ffc46b; font-weight: 700; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .nav-bar { justify-content: center; }
  .brand { margin-right: 0; width: 100%; justify-content: center; }
  .nav-links { justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 56px; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 14px; }
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 26px 18px; }
  .card { padding: 18px; }
  .form-card { padding: 20px; }
}
