/* =====================================================================
   admissions.css — Admissions · MAIN
   Section 1 — "Why Us?" banded/dotted hero with stat chips.
   Section 2 — vertical sidebar rail campus switcher with connected
   stepper SoP + tile team cards.
   Scoped under .ad1
   ===================================================================== */

/* sticky needs a non-scrolling body — base.css sets overflow-x:hidden */
html, body { overflow-x: clip; }

.ad1 {
  --a-maroon: var(--maroon, #8D2130);
  --a-maroon-deep: var(--maroon-900, #5F141C);
  --a-green: var(--green, #085B4A);
  --a-paper: #FBF7EF; --a-sand: #F1E7D0; --a-card: #fff;
  --a-ink: #201A18; --a-muted: #675F59; --a-line: #E8E0D2;
  --a-pad: clamp(54px, 6.5vw, 86px);
  background: var(--a-paper); color: var(--a-ink); font-family: var(--font-sans);
}
.ad1 :where(h1, h2, h3, h4) { color: inherit; font-family: var(--font-display); }
.ad1 .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ad1 .eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--a-maroon); justify-content: center; }
.ad1 .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--a-maroon); }
.ad1 .sec { padding-block: var(--a-pad); }

.ad1 .btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: 14.5px; padding: 14px 30px; border-radius: 999px; border: 1.5px solid transparent; transition: background .25s, color .25s, transform .25s; }
.ad1 .btn svg { width: 17px; height: 17px; }
.ad1 .btn--solid { background: var(--a-maroon); color: #fff; }
.ad1 .btn--solid:hover { background: var(--a-maroon-deep); transform: translateY(-2px); }
.ad1 .btn--line { border-color: var(--a-maroon); color: var(--a-maroon); }
.ad1 .btn--line:hover { background: var(--a-maroon); color: #fff; }
.ad1 .btn--sm { padding: 11px 22px; font-size: 13px; }
.ad1 .btn--full { width: 100%; margin-bottom: 10px; justify-content: center; }

/* ---- Section 1: hero — Why Us, banded + dotted + stat chips ---- */
.ad1 .hero { text-align: center; padding-top: calc(var(--topbar-h, 38px) + var(--nav-h, 74px) + clamp(40px, 5.5vw, 64px)); padding-bottom: clamp(34px, 4.5vw, 50px); background: var(--a-sand); background-image: radial-gradient(rgba(141,33,48,.09) 1.4px, transparent 1.4px); background-size: 16px 16px; }
.ad1 .hero h1 { font-weight: 600; font-size: clamp(36px, 5.4vw, 58px); line-height: 1.05; letter-spacing: -.015em; color: var(--a-maroon-deep); margin: 16px auto 14px; max-width: 16ch; }
.ad1 .hero p { font-size: 16.5px; line-height: 1.75; color: var(--a-muted); max-width: 58ch; margin: 0 auto 26px; }
.ad1 .stats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.ad1 .stats span { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 999px; padding: 8px 18px; font-size: 12.5px; font-weight: 600; color: var(--a-ink); }
.ad1 .gcta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.ad1 .points { display: flex; overflow-x: auto; gap: 0; border-bottom: 1px solid var(--a-line); }
.ad1 .point { flex: 1 1 220px; text-align: center; padding: 26px 20px; border-left: 1px solid var(--a-line); }
.ad1 .point:first-child { border-left: none; }
.ad1 .point__ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(141,33,48,.08); color: var(--a-maroon); display: grid; place-items: center; margin: 0 auto 12px; }
.ad1 .point__ic svg { width: 18px; height: 18px; }
.ad1 .point h3 { font-weight: 600; font-size: 14.5px; margin: 0 0 5px; }
.ad1 .point p { font-size: 12px; line-height: 1.5; color: var(--a-muted); margin: 0; }

/* ---- Section 2: vertical sidebar rail campus switcher ---- */
.ad1 .ctab__input { position: absolute; opacity: 0; pointer-events: none; }
.ad1 .layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(26px, 3.5vw, 46px); align-items: start; }
.ad1 .rail { position: sticky; top: calc(var(--topbar-h, 38px) + var(--nav-h, 74px) + 24px); display: grid; gap: 14px; }
.ad1 .rail__nav { display: grid; gap: 10px; }
.ad1 .rail__btn { display: flex; align-items: center; gap: 12px; background: var(--a-card); border: 1.5px solid var(--a-line); border-radius: 16px; padding: 12px; cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.ad1 .rail__btn:hover { transform: translateX(3px); }
.ad1 .rail__thumb { flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; }
.ad1 .rail__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad1 .rail__t { flex: 1; min-width: 0; }
.ad1 .rail__t b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.ad1 .rail__t small { display: block; font-size: 11.5px; color: var(--a-muted); margin-top: 2px; }
.ad1 .rail__btn svg.chev-arrow { flex: none; width: 16px; height: 16px; color: var(--a-line); transition: transform .25s, color .25s; }
.ad1 #c-noida:checked ~ .wrap .rail__btn[for="c-noida"],
.ad1 #c-ambala:checked ~ .wrap .rail__btn[for="c-ambala"] { border-color: var(--a-maroon); background: var(--a-maroon); }
.ad1 #c-noida:checked ~ .wrap .rail__btn[for="c-noida"] b,
.ad1 #c-ambala:checked ~ .wrap .rail__btn[for="c-ambala"] b { color: #fff; }
.ad1 #c-noida:checked ~ .wrap .rail__btn[for="c-noida"] small,
.ad1 #c-ambala:checked ~ .wrap .rail__btn[for="c-ambala"] small { color: #F0C9CE; }
.ad1 #c-noida:checked ~ .wrap .rail__btn[for="c-noida"] svg.chev-arrow,
.ad1 #c-ambala:checked ~ .wrap .rail__btn[for="c-ambala"] svg.chev-arrow { color: #fff; transform: translateX(3px); }

.ad1 .rail__card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; }
.ad1 .rail__contact { display: grid; gap: 9px;margin-bottom: 10px; }
.ad1 .rail__contact div { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; line-height: 1.5; color: var(--a-muted); }
.ad1 .rail__contact svg { width: 15px; height: 15px; color: var(--a-maroon); flex: none; margin-top: 1px; }

.ad1 .ctab__panel { display: none; animation: ad1Fade .45s cubic-bezier(.22,1,.36,1); }
.ad1 #c-noida:checked ~ .wrap .panels #p-noida,
.ad1 #c-ambala:checked ~ .wrap .panels #p-ambala,
.ad1 #c-noida:checked ~ .wrap .rail #rc-noida,
.ad1 #c-ambala:checked ~ .wrap .rail #rc-ambala { display: block; }
@keyframes ad1Fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ad1 .panels h2 { font-weight: 600; font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; }
.ad1 .panels .tag { display: block; font-size: 13px; font-weight: 600; color: var(--a-maroon); margin-bottom: 30px; }
.ad1 .sub-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a-muted); margin-bottom: 18px; display: block; text-align: left; justify-content: flex-start; }
.ad1 .sub-eyebrow::before { display: none; }

/* SoP — connected horizontal-line stepper */
.ad1 .stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 46px; }
.ad1 .sitem { position: relative; padding: 0 16px 0 0; }
.ad1 .sitem:first-child { padding-left: 0; }
.ad1 .sitem__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--a-maroon); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13px; margin-bottom: 14px; position: relative; z-index: 2; }
.ad1 .sitem:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 50px; right: -16px; height: 2px; background: var(--a-line); z-index: 1; }
.ad1 .sitem b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; margin-bottom: 5px; }
.ad1 .sitem p { font-size: 12.5px; line-height: 1.55; color: var(--a-muted); margin: 0; }

/* team — photo-style tile cards */
.ad1 .team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ad1 .tcard { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 16px; padding: 20px 18px; }
.ad1 .tcard__av { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--a-maroon-deep); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.ad1 .tcard h4 { font-weight: 600; font-size: 14.5px; margin: 0 0 3px; }
.ad1 .tcard span { font-size: 12px; color: var(--a-muted); }
.ad1 .tcard__tel { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--a-maroon); }
.ad1 .tcard__tel svg { width: 13px; height: 13px; }
.ad1 .tcard__tel:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .ad1 .layout { grid-template-columns: 1fr; }
  .ad1 .rail { position: static; }
  .ad1 .rail__nav { grid-template-columns: 1fr 1fr; }
  .ad1 .stepper { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .ad1 .sitem:nth-child(2n)::after { display: none; }
  .ad1 .sitem:nth-child(odd) { padding-right: 16px; }
  .ad1 .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ad1 .points { flex-wrap: wrap; }
  .ad1 .point { flex: 1 1 45%; }
  .ad1 .rail__nav { grid-template-columns: 1fr; }
  .ad1 .stepper { grid-template-columns: 1fr; }
  .ad1 .sitem::after { display: none !important; }
  .ad1 .team { grid-template-columns: 1fr; }
}
