/* ============================================================
   admissions.css — Admissions page specific styles
   ------------------------------------------------------------
     • Hero: 16:9 happy students image with overlay content
     • Journey: 5 steps with vertical connecting line
     • Admission card: 3 action buttons (Apply, Brochure, Visit)
============================================================ */

/* ============================================================
   1. ADMISSIONS HERO — 16:9 happy students image
============================================================ */

.admissions-hero {
  padding: clamp(24px, 3vw, 40px) 0 clamp(60px, 7vw, 100px);
}

.ah-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: clamp(20px, 2.5vw, 32px);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0, 50, 98, 0.4);
}
.ah-stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Warm gradient overlay so text stays readable */
.ah-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 30, 60, 0.88) 0%,
    rgba(0, 30, 60, 0.55) 50%,
    rgba(0, 30, 60, 0.15) 100%
  );
  z-index: 1;
}

.ah-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 80px);
  max-width: 760px;
  color: var(--primary);
}

.ah-bread {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 248, 255, 0.7);
  margin-bottom: clamp(18px, 2vw, 24px);
}
.ah-bread .sep { color: rgba(240, 248, 255, 0.4); }
.ah-bread .here { color: var(--accent); }

.ah-content h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: clamp(16px, 2vw, 24px);
  color: var(--primary);
}
.ah-content h1 .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.ah-content > p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: rgba(240, 248, 255, 0.85);
  max-width: 540px;
  margin: 0 0 clamp(24px, 3vw, 32px);
}

/* Stat highlights in hero */
.ah-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
}
.ah-highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ah-highlight strong {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}
.ah-highlight span {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 248, 255, 0.78);
  font-weight: 600;
}

/* ============================================================
   2. ADMISSION JOURNEY — 5 steps with vertical line
============================================================ */

.journey-section {
  padding: clamp(40px, 5vw, 80px) 0;
}

.adm-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

/* ---------- Steps list with vertical connecting line ---------- */
.steps-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* The vertical connecting line — sits behind step circles */
.steps-list::before {
  content: '';
  position: absolute;
  left: 23px;       /* Centred on the 46px-wide step circle */
  top: 45px;        /* Starts at the centre of the first circle (cards are ~90px tall, centered) */
  bottom: 45px;     /* Ends at the centre of the last circle */
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--secondary) 0%,
    var(--secondary-soft) 50%,
    var(--accent) 100%
  );
  border-radius: 2px;
  z-index: 1;
}

.adm-step {
  position: relative;
  display: flex;
  align-items: center;       /* center circle vertically with body card */
  gap: clamp(18px, 2vw, 26px);
  padding-bottom: clamp(20px, 2.4vw, 28px);
  z-index: 2;
}
.adm-step:last-child { padding-bottom: 0; }

/* The numbered circle */
.step-circle {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 6px var(--primary), 0 8px 16px -8px rgba(0, 50, 98, 0.3);
  transition: all 0.3s var(--ease-out);
}
.adm-step:hover .step-circle {
  background: var(--secondary);
  color: var(--accent);
  transform: scale(1.06);
}

/* The last step gets the accent gold styling */
.adm-step:last-child .step-circle {
  background: var(--accent-gradient);
  border-color: var(--accent);
  color: var(--secondary);
}
.adm-step:last-child:hover .step-circle {
  background: var(--secondary);
  border-color: var(--accent);
  color: var(--accent);
}

/* Step text content — styled as uniform card */
.adm-step .step-body {
  flex: 1;
  padding: clamp(16px, 1.8vw, 22px) clamp(20px, 2.4vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 16px -8px rgba(0, 50, 98, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.adm-step:hover .step-body {
  border-color: rgba(0, 50, 98, 0.18);
  box-shadow: 0 10px 28px -12px rgba(0, 50, 98, 0.18);
  transform: translateX(2px);
}
.adm-step h4 {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--secondary);
  margin: 0 0 6px;
}
.adm-step p {
  font-size: 14px;
  line-height: 1.6;
  color: #4a6885;
  margin: 0;
}

/* ============================================================
   3. ADMISSION CARD — sticky with 3 actions
============================================================ */

.adm-card {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 24px);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 30px 60px -40px rgba(0, 50, 98, 0.25);
}
.adm-card .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 216, 0, 0.12);
  border: 1px solid rgba(255, 216, 0, 0.4);
  color: #8a5e00;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.adm-card .pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.adm-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 12px;
}
.adm-card > p {
  font-size: 14px;
  line-height: 1.65;
  color: #4a6885;
  margin-bottom: clamp(20px, 2vw, 28px);
}

/* Schedule rows */
.adm-dates {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(20px, 2vw, 26px);
}
.adm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(12px, 1.4vw, 16px) 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.adm-row .label {
  color: var(--ink-mute);
  font-weight: 500;
}
.adm-row .value {
  color: var(--secondary);
  font-weight: 700;
}

/* ---------- Three action buttons ---------- */
.adm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Primary CTA (Apply Now / Begin Enquiry) — full width */
.adm-actions .btn-primary {
  width: 100%;
  justify-content: center;
}

/* Secondary actions row: Download Brochure + Schedule Visit */
.adm-secondary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: center;
}
.adm-secondary-actions .adm-btn-outline {
  max-width: 280px;
}

.adm-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--secondary);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.24s var(--ease-out);
}
.adm-btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 50, 98, 0.2);
}
.adm-btn-outline svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Help line below buttons */
.adm-help {
  margin-top: clamp(16px, 1.8vw, 22px);
  padding-top: clamp(16px, 1.8vw, 22px);
  border-top: 1px dashed var(--line);
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.55;
}
.adm-help strong { color: var(--secondary); font-weight: 700; }
.adm-help a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dotted var(--secondary-soft);
}
.adm-help a:hover { border-bottom-style: solid; }

/* ============================================================
   4. RESPONSIVE
============================================================ */

@media (max-width: 980px) {
  .ah-stage { aspect-ratio: 4 / 5; }
  .ah-content { padding: 28px; max-width: 100%; }
  .adm-grid { grid-template-columns: 1fr; }
  .adm-card { position: static; }
}

@media (max-width: 640px) {
  .ah-stage { aspect-ratio: 3 / 4; }
  .ah-highlights { gap: 24px; }
  .ah-highlight strong { font-size: 22px; }
  .adm-secondary-actions { grid-template-columns: 1fr; }
}

/* ============================================================
   WHY APPLY EARLY — bordered card with 3 numbered points
============================================================ */
.early-section {
  padding: 0 0 clamp(60px, 7vw, 100px);
}

.early-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 2.5vw, 28px);
  padding: clamp(36px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: start;
  position: relative;
  overflow: hidden;
}
.early-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 6px;
  height: 100%;
  background: var(--accent-gradient);
}

.early-icon {
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
  border-radius: 50%;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  color: var(--secondary);
}
.early-icon svg {
  width: 50%;
  height: 50%;
}

.early-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  color: var(--secondary);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.early-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}

.early-content h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--secondary);
  margin-bottom: 16px;
}
.early-content > p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: #4a6885;
  margin-bottom: clamp(24px, 3vw, 36px);
  max-width: 640px;
}

.early-points {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.early-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.early-point:first-child {
  border-top: 1px solid var(--line);
}

.ep-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.early-point h4 {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.early-point p {
  font-size: 14px;
  line-height: 1.55;
  color: #4a6885;
  margin: 0;
}

@media (max-width: 720px) {
  .early-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .early-icon {
    margin-bottom: 8px;
  }
}