/* =============================================================
   admissions.css  — Page-specific styles for admissions.html
   Requires: main.css  (loaded first)
   Only contains rules that differ from or extend main.css
   ============================================================= */


/* ── INTRO SECTION — centred variant ─────────────────────── */
/*  main.css has .intro-section but without the centre-forced  */
/*  section-tag override needed on this page                  */
.intro-section .section-tag {
  justify-content: center;
}
.intro-section .section-tag::before {
  display: none;
}
.intro-section .section-title {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.intro-text {
  max-width: 800px;
  margin: 0 auto;
}
.intro-text p + p {
  margin-top: 14px;
}


/* ── ADMISSION PROCESS — centred header ───────────────────── */
/*  The process section on admissions.html centres its header,
    whereas other pages may use a left-aligned layout.        */
.process-header {
  text-align: center;
  margin-bottom: 64px;
}
.process-header .section-tag {
  justify-content: center;
}
.process-header .section-tag::before {
  display: none;
}
.process-header .section-subtitle {
  margin: 0 auto;
}


/* ── ELIGIBILITY SECTION — left/right two-col ─────────────── */
/*  main.css has .eligibility-section generically;             */
/*  admissions.html uses a wider right column ratio            */
.eligibility-section .eligibility-grid {
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
}

.eligibility-text p {
  margin-bottom: 20px;
}

/* Accordion-based eligibility (program-level criteria) */
.acc-item {
  border: 0.5px solid rgba(11,42,74,0.12);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.acc-item.open {
  box-shadow: 0 4px 20px rgba(11,42,74,0.08);
}

.acc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--white);
  transition: background 0.2s;
  user-select: none;
}

.acc-head:hover {
  background: var(--gold-pale);
}

.acc-item.open .acc-head {
  background: var(--navy);
}

.acc-icon {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.acc-icon i {
  color: var(--gold);
  font-size: 0.95rem;
}

.acc-item.open .acc-icon {
  background: rgba(200,164,77,0.2);
}

.acc-head-text {
  flex: 1;
}

.acc-level {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
  font-family: 'Jost', sans-serif;
  display: block;
}

.acc-item.open .acc-level {
  color: var(--gold-light);
}

.acc-head-text h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s;
}

.acc-item.open .acc-head-text h4 {
  color: var(--white);
}

.acc-chevron {
  color: var(--gray);
  font-size: 0.75rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.acc-item.open .acc-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc-item.open .acc-body {
  max-height: 400px;
}

.acc-body-inner {
  padding: 18px 22px;
  border-top: 1px solid rgba(11,42,74,0.06);
  background: var(--offwhite);
}

.acc-body-inner p {
  font-size: 1rem;
  margin: 0;
}


/* ── APPLICATION FORM SECTION ─────────────────────────────── */
/*  The apply section header is centred on this page           */
.apply-header {
  text-align: center;
  margin-bottom: 56px;
}
.apply-header .section-tag {
  justify-content: center;
}
.apply-header .section-tag::before {
  display: none;
}
.apply-header .section-subtitle {
  margin: 0 auto;
}


/* ── UPLOAD GRID ──────────────────────────────────────────── */
/*  main.css has .upload-box but not the 3-col upload grid    */
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.upload-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  display: block;
}


/* ── CONTACT ASSIST SECTION ───────────────────────────────── */
/*  This section is unique to admissions.html — navy bg with
    a two-column layout: left channels list + right CTA box.
    main.css has general .contact-* rules; these extend them.  */

.contact-section {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '✝';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  color: rgba(255,255,255,0.02);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
}

.contact-text .section-tag {
  color: var(--gold-light);
}
.contact-text .section-tag::before {
  background: var(--gold-light);
}
.contact-text .section-title {
  color: var(--white);
}
.contact-text p {
  color: rgba(255,255,255,0.72);
}

/* Channel list */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,164,77,0.15);
  border-radius: 4px;
  padding: 18px 22px;
  transition: all 0.3s;
  text-decoration: none;
}

.contact-channel:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,164,77,0.5);
}

.channel-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon i {
  color: var(--navy-dark);
  font-size: 1.05rem;
}

.channel-info h4 {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.channel-info p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.4;
}


/* ── CONTACT CTA BOX ──────────────────────────────────────── */
/*  Entirely unique to admissions.html — not in main.css      */

.contact-cta-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,164,77,0.2);
  border-radius: 6px;
  padding: 48px 40px;
  text-align: center;
}

.contact-cta-box > i {
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 20px;
  display: block;
}

.contact-cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-cta-box p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 13px 30px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 2px solid var(--gold);
}

.contact-btn:hover {
  background: transparent;
  color: var(--gold);
}


/* ── CLOSING SECTION — admissions variant ─────────────────── */
/*  Admissions page uses .offwhite background for closing,
    whereas main.css has a navy-dark version. Also unique:
    a styled block-quote and centred tag.                     */

.admissions-closing.closing-section {
  background: var(--offwhite);
  padding: 100px 0;
}

.admissions-closing .section-tag {
  justify-content: center;
}
.admissions-closing .section-tag::before {
  display: none;
}

.admissions-closing .closing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.closing-cross {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.admissions-closing .quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 24px auto 0;
  padding: 20px 32px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  border-radius: 0 4px 4px 0;
  text-align: left;
  max-width: 560px;
}

.closing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 16px 44px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 2px solid var(--gold);
}

.closing-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}


/* ── SUCCESS MESSAGE (form submission) ────────────────────── */
/*  Used after form submit; not in main.css                   */

.success-msg {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.success-msg.show {
  display: block;
}

.success-msg > i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.success-msg h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.success-msg p {
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto;
}


/* ── FORM SECTION DIVIDER ─────────────────────────────────── */
/*  Labelled divider within the application form              */

.form-section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold-pale);
  margin-bottom: 22px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-label:first-child {
  margin-top: 0;
}

.form-section-label i {
  font-size: 0.85rem;
}


/* ── FORM SUBMIT AREA ─────────────────────────────────────── */
/*  main.css has .form-actions; admissions page uses
    .form-submit with a slightly different layout             */

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-pale);
}

.form-submit > p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
  font-family: 'Jost', sans-serif;
}


/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1024px) {
  .contact-section .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .upload-grid {
    grid-template-columns: 1fr 1fr;
  }

  .eligibility-section .eligibility-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta-box {
    padding: 32px 24px;
  }

  .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .admissions-closing .quote {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .closing-btn {
    padding: 14px 28px;
  }
}
