/* ============================================================
   ALUMNI.CSS — Alumni page styles
   Loaded after styles.css on alumni.html
   ------------------------------------------------------------
   Sections:
     1. ALUMNI PILLARS    — 3-card pillars row (Network/Success/Connected)
     2. ALUMNI TESTIMONIALS — testimonial card grid
     3. ALUMNI NETWORK    — sign-up form section with stats
============================================================ */


/* ============================================================
   1. ALUMNI PILLARS — 3-card row at top of page
============================================================ */

/* ============================================================
   ALUMNI PAGE — 3 pillars section
   (Alumni Network / Success Stories / Stay Connected)
============================================================ */
.alumni-pillars {
  padding: 0 0 clamp(40px, 5vw, 64px);
}

.ap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.ap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2.2vw, 24px);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  transition: all 0.32s var(--ease-out);
  overflow: hidden;
}
.ap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 4px;
  background: var(--accent-gradient);
  transition: width 0.4s var(--ease);
}
.ap-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary-soft);
  box-shadow: 0 24px 50px -30px rgba(0, 50, 98, 0.25);
}
.ap-card:hover::before { width: 100%; }

.ap-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--secondary);
  margin-bottom: 22px;
}
.ap-icon svg { width: 24px; height: 24px; }

.ap-num {
  position: absolute;
  top: clamp(20px, 2.4vw, 32px);
  right: clamp(24px, 2.6vw, 36px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.ap-card h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 12px;
}
.ap-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a6885;
  margin: 0;
}

@media (max-width: 880px) {
  .ap-grid { grid-template-columns: 1fr; gap: 16px; }
}



/* ============================================================
   2. ALUMNI TESTIMONIALS + ALUMNI NETWORK FORM
============================================================ */

/* ============================================
   ALUMNI — testimonials grid (2 big + 4 small)
============================================ */

.alumni-testimonials {
  padding: 0;
  display: grid;
  gap: 16px;
}
.al-row-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.al-row-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.al-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color 0.3s;
}
.al-card:hover { border-color: var(--secondary); }
.al-card.large { padding: 32px; }
.al-row-2 .al-card { padding: 22px; }
.al-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.al-card.large h4 { font-size: 19px; }
.al-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 22px;
  flex: 1;
}
.al-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.al-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-deep);
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.al-meta { min-width: 0; flex: 1; }
.al-meta .name { font-size: 13.5px; font-weight: 700; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-meta .role { font-size: 11px; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 600; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-stars {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .al-row-1 { grid-template-columns: 1fr; }
  .al-row-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .al-row-2 { grid-template-columns: 1fr; }
}

/* ============================================
   ALUMNI NETWORK — features + form
============================================ */

.alumni-network {
  padding: clamp(40px, 6vw, 80px) 0;
}
.an-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.an-left {
  text-align: left;
  max-width: none;
  margin: 0;
}
.an-features {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 18px);
  margin-top: clamp(28px, 3vw, 40px);
  text-align: left;
}
@media (max-width: 880px) {
  .an-grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 4vw, 48px);
  }
  .an-left {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
}
.an-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 22px;
}
.an-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-gradient);
  border-radius: 50%;
}
.an-left h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--secondary);
  margin-bottom: 18px;
}
.an-left h2 .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--secondary);
}
.an-left > p {
  font-size: clamp(14.5px, 1.2vw, 16px);
  line-height: 1.65;
  color: #4a6885;
  margin-bottom: 24px;
  max-width: 52ch;
}
.an-feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(18px, 2.2vw, 22px) clamp(18px, 2.2vw, 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}
.an-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 50, 98, 0.18);
  box-shadow: 0 18px 40px -22px rgba(0, 50, 98, 0.25);
}
.an-feature .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--secondary);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.an-feature .ico svg { width: 22px; height: 22px; }
.an-feature h4 {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1.25;
}
.an-feature p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #4a6885;
  margin: 0;
}
.an-stats {
  background: var(--primary-soft);
  border-radius: 12px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.an-stat .num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 6px;
}
.an-stat .lbl {
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.4;
  font-weight: 500;
}

.an-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
}
.an-form h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary);
  margin-bottom: 8px;
}
.an-form h3 .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--secondary);
}
.an-form > p {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-bottom: 26px;
}
.an-form .field { margin-bottom: 14px; }
.an-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.an-form label { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 6px; }
.an-form label .opt { color: var(--ink-soft); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 11.5px; margin-left: 4px; }
.an-form input, .an-form select, .an-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--secondary);
  outline: none;
  transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}
.an-form input:hover, .an-form select:hover, .an-form textarea:hover {
  border-color: rgba(0, 50, 98, 0.22);
}
.an-form textarea {
  border-radius: 12px;
  min-height: 90px;
  resize: vertical;
  line-height: 1.55;
}
.an-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23003262' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 11px;
  padding-right: 38px;
  cursor: pointer;
}
.an-form input:focus, .an-form select:focus, .an-form textarea:focus {
  background: var(--surface);
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0, 50, 98, 0.08);
}
.an-form input::placeholder, .an-form textarea::placeholder { color: #a3b8cc; font-weight: 400; }

.an-checks { margin: 14px 0 20px; }
.an-checks .lbl-grp {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 12px;
}
.an-checks .lbl-grp .opt { color: var(--ink-soft); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 11.5px; margin-left: 4px; }
.an-checks .check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.an-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  cursor: pointer;
}
.an-check input[type="checkbox"] {
  width: 16px; height: 16px;
  appearance: none;
  border-radius: 4px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
}
.an-check input[type="checkbox"]:checked {
  background: var(--secondary);
  border-color: var(--secondary);
}
.an-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 4px; height: 8px;
  border: 2px solid var(--primary);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.an-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.an-foot {
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.5;
}
.an-foot strong { color: var(--secondary); font-weight: 700; }

@media (max-width: 900px) {
  .an-grid { grid-template-columns: 1fr; }
  .an-form .field-row { grid-template-columns: 1fr; gap: 0; }
  .an-checks .check-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS PLACEHOLDER
   Shown while we wait for real alumni/parent submissions via the form.
   Once the school receives submissions, the developer replaces this
   block with real testimonial cards.
============================================================ */
.testimonials-placeholder {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: clamp(20px, 2.5vw, 28px);
  padding: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 56px);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.tp-icon {
  width: clamp(56px, 6vw, 72px);
  height: clamp(56px, 6vw, 72px);
  margin: 0 auto clamp(20px, 2.4vw, 28px);
  border-radius: 50%;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--secondary);
}
.tp-icon svg {
  width: 50%;
  height: 50%;
}

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

.testimonials-placeholder h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--secondary);
  margin: 0 0 16px;
}

.testimonials-placeholder p {
  font-size: clamp(14.5px, 1.2vw, 16px);
  line-height: 1.65;
  color: #4a6885;
  margin: 0 0 14px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.tp-cta {
  color: var(--secondary) !important;
  font-weight: 500;
  margin-bottom: 28px !important;
}

.tp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.24s ease;
}
.tp-link:hover {
  background: var(--secondary-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(0, 50, 98, 0.45);
}
.tp-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.tp-link:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   THANK-YOU TOAST — shown after successful form submission
   Appears in the bottom-right corner when ?submitted=1 is in URL.
============================================================ */
.alumni-thank-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 16px;
  padding: 16px 20px 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 380px;
  z-index: 10000;
  box-shadow: 0 30px 60px -20px rgba(0, 50, 98, 0.5),
              0 6px 16px -8px rgba(0, 0, 0, 0.3);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.32s ease;
}
.alumni-thank-toast.show {
  transform: translateX(0);
  opacity: 1;
}
.alumni-thank-toast > svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.alumni-thank-toast strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.alumni-thank-toast p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(240, 248, 255, 0.78);
}
.att-close {
  background: transparent;
  border: 0;
  color: rgba(240, 248, 255, 0.6);
  font-size: 22px;
  line-height: 1;
  padding: 0 0 0 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s ease;
}
.att-close:hover {
  color: var(--primary);
}

@media (max-width: 540px) {
  .alumni-thank-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* ============================================================
   ALUMNI REGISTRATION FORM — long, sectioned registration form
============================================================ */

.alumni-reg-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 2.5vw, 28px);
  padding: clamp(28px, 4vw, 48px);
  max-width: 840px;
  margin: 0 auto;
}

/* Form header */
.arf-head {
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 3vw, 36px);
  text-align: center;
}
.arf-head h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--secondary);
  margin: 0 0 10px;
  line-height: 1.15;
}
.arf-head p {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
}

/* Required field indicator */
.required-mark {
  color: var(--accent);
  font-weight: 700;
}

/* Section blocks */
.form-section {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}
.form-section:last-of-type {
  margin-bottom: clamp(24px, 3vw, 32px);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: -0.01em;
  margin: 0 0 clamp(16px, 2vw, 22px);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.fs-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--secondary);
  color: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Sub-groups within a section (e.g. UG vs PG) */
.sub-group {
  position: relative;
  margin-bottom: clamp(18px, 2.2vw, 24px);
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 26px) clamp(8px, 1.2vw, 12px);
  background: linear-gradient(180deg, rgba(232, 242, 251, 0.45) 0%, rgba(232, 242, 251, 0.15) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
}
.sub-group:last-child {
  margin-bottom: 0;
}
.sub-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.sub-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.sub-label .opt {
  font-size: 10.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-mute);
  margin-left: 2px;
}

/* 3-column row (e.g. City / State / Country) */
.field-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
  margin-bottom: clamp(14px, 1.6vw, 18px);
}
.field-row-3 .field {
  margin-bottom: 0;
}

/* Radio button row */
.radio-row {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  flex-wrap: wrap;
  padding: 6px 0;
}
.radio-row .an-check {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.radio-row .an-check:hover {
  border-color: var(--secondary);
}
.radio-row .an-check input:checked + * {
  color: var(--secondary);
}
.radio-row input[type="radio"] {
  accent-color: var(--secondary);
}

/* File input styling */
.file-input {
  padding: 8px 12px !important;
  font-size: 13px !important;
  background: var(--primary-soft) !important;
  cursor: pointer;
}
.file-input::-webkit-file-upload-button {
  background: var(--secondary);
  color: var(--primary);
  border: 0;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-right: 12px;
}
.file-input::file-selector-button {
  background: var(--secondary);
  color: var(--primary);
  border: 0;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-right: 12px;
}

/* Consent section (highlighted) */
.consent-section {
  background: var(--primary-soft);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 28px);
}
.consent-section .form-section-title {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 16px;
}
.consent-check {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  cursor: pointer;
  font-size: 14px !important;
  line-height: 1.55;
  color: var(--secondary);
}
.consent-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
}

/* Submit button */
.arf-submit {
  width: 100%;
  justify-content: center;
  padding: clamp(14px, 1.6vw, 18px) clamp(24px, 3vw, 36px);
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-top: clamp(8px, 1.5vw, 16px);
}

/* Mobile adjustments */
@media (max-width: 720px) {
  .field-row-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field-row-3 .field {
    margin-bottom: 14px;
  }
  .radio-row {
    flex-direction: column;
    gap: 8px;
  }
  .radio-row .an-check {
    padding: 10px 14px;
  }
}

/* ============================================================
   ALUMNI CTA CARD — replaces the inline form
   Opens the registration popup when the button is clicked
============================================================ */
.alumni-cta-card {
  background: var(--secondary);
  color: var(--primary);
  border-radius: clamp(20px, 2.5vw, 28px);
  padding: clamp(36px, 4.4vw, 52px) clamp(28px, 3.4vw, 44px);
  text-align: center;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) {
  .alumni-cta-card {
    max-width: 540px;
    margin: 0 auto;
  }
}
/* Decorative accent glow */
.alumni-cta-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: clamp(180px, 24vw, 320px);
  height: clamp(180px, 24vw, 320px);
  background: radial-gradient(circle, rgba(255, 216, 0, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.acc-icon {
  width: clamp(56px, 6vw, 76px);
  height: clamp(56px, 6vw, 76px);
  margin: 0 auto clamp(20px, 2.4vw, 28px);
  border-radius: 50%;
  background: rgba(255, 216, 0, 0.14);
  border: 1px solid rgba(255, 216, 0, 0.3);
  display: grid;
  place-items: center;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.acc-icon svg {
  width: 50%;
  height: 50%;
}

.alumni-cta-card h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.alumni-cta-card h3 .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.alumni-cta-card p {
  font-size: clamp(14.5px, 1.2vw, 16px);
  line-height: 1.65;
  color: rgba(240, 248, 255, 0.78);
  max-width: 480px;
  margin: 0 auto clamp(24px, 3vw, 32px);
  position: relative;
  z-index: 1;
}

.acc-btn {
  position: relative;
  z-index: 1;
  /* Use accent yellow instead of primary so it pops on the dark card */
  background: var(--accent) !important;
  color: var(--secondary) !important;
}
.acc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(255, 216, 0, 0.5);
}

.acc-footnote {
  font-size: 12px !important;
  color: rgba(240, 248, 255, 0.5) !important;
  margin: 20px auto 0 !important;
  letter-spacing: 0.02em;
}

/* ============================================================
   ALUMNI POPUP — full-screen modal containing the registration form
============================================================ */
.alumni-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.32s ease;
}
.alumni-popup.open {
  display: flex;
  opacity: 1;
}

.alumni-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 16, 36, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

/* The actual popup window */
.alumni-popup-window {
  position: relative;
  background: var(--primary);
  width: 100%;
  max-width: 900px;
  margin: clamp(20px, 4vw, 60px) clamp(16px, 3vw, 40px);
  border-radius: clamp(18px, 2.2vw, 24px);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - clamp(40px, 8vw, 120px));
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.32s ease;
  z-index: 1;
}
.alumni-popup.open .alumni-popup-window {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: 0.05s;
}

/* Close button (top-right floating) */
.alumni-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.24s var(--ease);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.2);
}
.alumni-popup-close:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: rotate(90deg);
}
.alumni-popup-close svg {
  width: 18px;
  height: 18px;
}

/* Scrollable body containing the form */
.alumni-popup-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 40px);
  -webkit-overflow-scrolling: touch;
  border-radius: clamp(18px, 2.2vw, 24px);
}

/* Override the form's standalone card styling — it's inside the popup now */
.alumni-popup-body .alumni-reg-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  max-width: none;
  box-shadow: none;
}

/* Body scroll lock when popup is open */
body.alumni-popup-active {
  overflow: hidden;
}

/* Mobile — go full-screen */
@media (max-width: 720px) {
  .alumni-popup-window {
    margin: 0;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .alumni-popup-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
  .alumni-popup-body {
    padding: clamp(60px, 14vw, 80px) 18px 24px;
    border-radius: 0;
  }
}

/* Custom scrollbar for the popup body */
.alumni-popup-body::-webkit-scrollbar {
  width: 8px;
}
.alumni-popup-body::-webkit-scrollbar-track {
  background: transparent;
}
.alumni-popup-body::-webkit-scrollbar-thumb {
  background: rgba(0, 50, 98, 0.18);
  border-radius: 4px;
}
.alumni-popup-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 50, 98, 0.32);
}

/* ============================================================
   FORM VALIDATION ERROR STATES
   Applied when required fields are empty on submit.
============================================================ */
.an-form input.invalid,
.an-form select.invalid,
.an-form textarea.invalid {
  border-color: #d92d20;
  background: rgba(217, 45, 32, 0.04);
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}
.an-form input.invalid:focus,
.an-form select.invalid:focus,
.an-form textarea.invalid:focus {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.15);
}

/* The consent checkbox has its own wrapper styling */
.consent-check.has-error {
  background: rgba(217, 45, 32, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  margin: -8px -10px;
}
.consent-check input.invalid {
  accent-color: #d92d20;
  outline: 2px solid #d92d20;
  outline-offset: 2px;
}

/* Subtle red dot on the section title if it has any errors */
.form-section.has-error .form-section-title {
  position: relative;
}
.form-section.has-error .form-section-title::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #d92d20;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  animation: pulseRed 1.5s infinite;
}
@keyframes pulseRed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.2); }
}