/* =============================================================================
   STUDENT CONTACT PAGE
   Prefix: .student-contact-*
   Purpose: Dedicated public student enquiry page with stronger visual rhythm
   ============================================================================= */

.student-contact-page {
    background: #f8f9fa;
    color: #4a5568;
}

.student-contact-container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.student-contact-container--narrow {
    width: min(780px, calc(100% - 2rem));
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.student-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 5.75rem 0 4.5rem;
    background:
        radial-gradient(circle at top left, rgba(214, 158, 46, 0.18) 0%, transparent 24%),
        linear-gradient(135deg, #11243d 0%, #1a365d 56%, #214671 100%);
    border-bottom: 4px solid #d69e2e;
}

.student-contact-hero__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.05) 0%, transparent 18%),
        radial-gradient(circle at 82% 16%, rgba(214, 158, 46, 0.2) 0%, transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 38%, rgba(0, 0, 0, 0.12) 100%);
}

.student-contact-hero__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 2.5rem;
    align-items: center;
}

.student-contact-hero__content {
    max-width: 700px;
}

.student-contact-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.student-contact-breadcrumb__link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 180ms ease;
}

.student-contact-breadcrumb__link:hover {
    color: #f6e05e;
}

.student-contact-breadcrumb__divider,
.student-contact-breadcrumb__current {
    color: rgba(226, 232, 240, 0.82);
}

.student-contact-eyebrow,
.student-contact-section__eyebrow {
    margin: 0 0 0.75rem;
    color: #d69e2e;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.student-contact-section__eyebrow--light {
    color: #f6e05e;
}

.student-contact-title {
    margin: 0;
    color: #f8f9fa;
    font-family: 'Merriweather', serif;
    font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4.2rem);
    line-height: 1.1;
    max-width: 13ch;
}

.student-contact-intro {
    margin: 1.35rem 0 0;
    max-width: 66ch;
    color: #e2e8f0;
    font-size: 1.08rem;
    line-height: 1.85;
}

.student-contact-hero__supporting {
    margin: 1rem 0 0;
    max-width: 68ch;
    color: rgba(248, 249, 250, 0.9);
    font-size: 1rem;
    line-height: 1.8;
}

.student-contact-hero__actions {
    margin-top: 1.75rem;
}

.student-contact-hero__pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.student-contact-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.student-contact-hero__pill-icon {
    color: #d69e2e;
    font-size: 0.9rem;
}

.student-contact-hero__pill-text {
    font-size: 0.92rem;
    font-weight: 600;
}

.student-contact-hero__visual {
    position: relative;
}

.student-contact-hero__image-shell {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 24px 54px rgba(10, 18, 32, 0.24);
}

.student-contact-hero__image {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    display: block;
}

.student-contact-hero__image-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 36, 61, 0.04) 0%, rgba(17, 36, 61, 0.12) 46%, rgba(17, 36, 61, 0.74) 100%);
    pointer-events: none;
}

.student-contact-hero__overlay-card {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 54, 93, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(10, 18, 32, 0.18);
    backdrop-filter: blur(8px);
}

.student-contact-hero__overlay-label {
    margin: 0 0 0.5rem;
    color: #d69e2e;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.student-contact-hero__overlay-title {
    margin: 0 0 0.65rem;
    color: #1a365d;
    font-family: 'Merriweather', serif;
    font-size: 1.45rem;
    line-height: 1.3;
}

.student-contact-hero__overlay-text {
    margin: 0;
    color: #4a5568;
    line-height: 1.7;
}

/* ── Shared sections ────────────────────────────────────────────────────── */

.student-contact-section {
    position: relative;
    padding: 5.25rem 0;
    /* overflow: hidden; */
}

.student-contact-section--white {
    background: #ffffff;
}

.student-contact-section--warm {
    background:
        linear-gradient(180deg, rgba(214, 158, 46, 0.06) 0%, rgba(214, 158, 46, 0.015) 100%),
        #f8f9fa;
}

.student-contact-section--soft-blue {
    background:
        linear-gradient(180deg, rgba(26, 54, 93, 0.05) 0%, rgba(26, 54, 93, 0.015) 100%),
        #eef2f6;
}

.student-contact-section--slate {
    background:
        linear-gradient(135deg, #445066 0%, #394457 100%);
}

.student-contact-section--form {
    background:
        linear-gradient(180deg, rgba(26, 54, 93, 0.03) 0%, rgba(26, 54, 93, 0.01) 100%),
        #ffffff;
    padding-top: 5rem;
    padding-bottom: 5.5rem;
}

.student-contact-section--closing {
    background:
        linear-gradient(135deg, #11243d 0%, #1a365d 100%);
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.student-contact-section-heading {
    margin-bottom: 2rem;
}

.student-contact-section-heading--center {
    max-width: 860px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
}

.student-contact-section__title,
.student-contact-info-card__title,
.student-contact-feature-card__title,
.student-contact-process-card__title {
    margin: 0;
    color: #1a365d;
    font-family: 'Merriweather', serif;
    font-size: clamp(1.55rem, 1.25rem + 0.95vw, 2.35rem);
    line-height: 1.2;
}

.student-contact-section__title--light {
    color: #f8f9fa;
}

.student-contact-section__supporting {
    margin: 1rem auto 0;
    max-width: 760px;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
}

/* ── Panels / media ─────────────────────────────────────────────────────── */

.student-contact-panel,
.student-contact-feature-card,
.student-contact-form-card,
.student-contact-success,
.student-contact-process-card,
.student-contact-form-aside-card,
.student-contact-closing-band,
.student-contact-insight-card {
    background: #ffffff;
    border: 1px solid rgba(26, 54, 93, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(26, 54, 93, 0.08);
}

.student-contact-panel {
    padding: 2rem;
}

.student-contact-panel--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 2rem;
    align-items: start;
}

.student-contact-panel--image-led {
    align-items: center;
}

.student-contact-panel--before-submit {
    align-items: center;
}

.student-contact-copy__text {
    margin: 0 0 1rem;
    line-height: 1.85;
    color: #4a5568;
}

.student-contact-copy__text--light {
    color: #e2e8f0;
}

.student-contact-media-stack {
    position: relative;
}

.student-contact-media-image {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(26, 54, 93, 0.12);
}

.student-contact-insight-card {
    position: relative;
    z-index: 1;
    margin: -4.5rem auto 0 auto;
    max-width: 92%;
    padding: 1.5rem;
}

.student-contact-insight-card__title {
    margin: 0 0 0.9rem;
    color: #1a365d;
    font-family: 'Merriweather', serif;
    font-size: 1.35rem;
    line-height: 1.25;
}

/* ── Lists ──────────────────────────────────────────────────────────────── */

.student-contact-info-card__list,
.student-contact-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.student-contact-info-card__list li,
.student-contact-list li {
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.72;
}

.student-contact-info-card__list li::before,
.student-contact-list li::before {
    content: '';
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #d69e2e;
}

/* ── Feature cards ──────────────────────────────────────────────────────── */

.student-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.student-contact-feature-card {
    overflow: hidden;
}

.student-contact-feature-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.student-contact-feature-card__body {
    padding: 1.5rem;
}

.student-contact-feature-card__text {
    margin: 0.85rem 0 0;
    color: #4a5568;
    line-height: 1.76;
}

/* ── Process section ────────────────────────────────────────────────────── */

.student-contact-process-shell {
    display: grid;
    gap: 2rem;
}

.student-contact-process-copy {
    max-width: 760px;
}

.student-contact-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.student-contact-process-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
}

.student-contact-process-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    min-height: 3rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: #1a365d;
    color: #f8f9fa;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.student-contact-process-card__title {
    font-size: 1.25rem;
}

.student-contact-process-card__text {
    margin: 0.8rem 0 0;
    line-height: 1.72;
    color: #4a5568;
}

/* ── Form section ───────────────────────────────────────────────────────── */

.student-contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
}

.student-contact-form-card,
.student-contact-success {
    padding: 2rem;
}

.student-contact-form-card__header {
    margin-bottom: 1.5rem;
}

.student-contact-form-card__intro,
.student-contact-success__text,
.student-contact-form-aside-card__text {
    margin: 0.9rem 0 0;
    color: #4a5568;
    line-height: 1.8;
}

.student-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.student-contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.student-contact-form-field--full {
    grid-column: 1 / -1;
}

.student-contact-form-label {
    color: #1a365d;
    font-size: 0.95rem;
    font-weight: 700;
}

.student-contact-form-required {
    color: #c05621;
}

.student-contact-input,
.student-contact-select,
.student-contact-textarea {
    width: 100%;
    border: 1px solid rgba(26, 54, 93, 0.14);
    border-radius: 10px;
    background: #f8f9fa;
    color: #1a365d;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.student-contact-input:focus,
.student-contact-select:focus,
.student-contact-textarea:focus {
    outline: none;
    border-color: #d69e2e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.18);
}

.student-contact-textarea {
    min-height: 150px;
    resize: vertical;
}

.student-contact-input--error,
.student-contact-select--error,
.student-contact-textarea--error {
    border-color: #c53030;
    background: #fff5f5;
}

.student-contact-form-error {
    margin: 0;
    color: #c53030;
    font-size: 0.88rem;
    line-height: 1.5;
}

.student-contact-form-submit-error {
    margin-top: 1rem;
}

.student-contact-form-card__footer,
.student-contact-success__actions {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 54, 93, 0.08);
    display: flex;
    justify-content: flex-end;
}

.student-contact-form-field .academy-upload {
    margin-top: 0.25rem;
}

.student-contact-form-aside-card {
    overflow: hidden;
}

.student-contact-form-aside-card__image {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    display: block;
}

.student-contact-form-aside-card__body {
    padding: 1.5rem;
}

.student-contact-form-aside-card__title {
    margin: 0;
    color: #1a365d;
    font-family: 'Merriweather', serif;
    font-size: 1.35rem;
    line-height: 1.3;
}

/* ── Closing band ───────────────────────────────────────────────────────── */

.student-contact-closing-band {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(248, 249, 250, 0.14);
    box-shadow: none;
}

.student-contact-closing-band__title {
    margin: 0;
    color: #f8f9fa;
    font-family: 'Merriweather', serif;
    font-size: clamp(1.55rem, 1.2rem + 1vw, 2.2rem);
    line-height: 1.25;
}

.student-contact-closing-band__text {
    margin: 1rem auto 0;
    max-width: 700px;
    color: #e2e8f0;
    line-height: 1.8;
}

/* ==========================================================================
   Sticky Column Utility (Student Contact Page)
   ========================================================================== */
.student-contact-sticky-col {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; 
    align-self: flex-start !important;
    height: max-content !important;
    z-index: 10;
    padding-bottom: 24px;
}

@media (max-width: 1024px) {
    .student-contact-sticky-col {
        position: static;
        align-self: auto !important;
        height: auto !important;
        padding-bottom: 0;
    }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {

    .student-contact-hero__shell,
    .student-contact-panel--split,
    .student-contact-form-layout {
        grid-template-columns: 1fr;
    }

    .student-contact-grid {
        grid-template-columns: 1fr;
    }

    .student-contact-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-contact-insight-card {
        max-width: 100%;
        margin-top: 1.25rem;
    }

    .student-contact-hero__image-shell,
    .student-contact-hero__image {
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .student-contact-hero {
        padding-top: 4.75rem;
        padding-bottom: 3.25rem;
    }

    .student-contact-section {
        padding: 4rem 0;
    }

    .student-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .student-contact-form-field--full {
        grid-column: auto;
    }

    .student-contact-process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .student-contact-container,
    .student-contact-container--narrow {
        width: min(100%, calc(100% - 1rem));
    }

    .student-contact-title {
        font-size: clamp(1.95rem, 1.55rem + 4vw, 2.9rem);
        max-width: none;
    }

    .student-contact-intro,
    .student-contact-hero__supporting,
    .student-contact-copy__text,
    .student-contact-form-card__intro,
    .student-contact-success__text,
    .student-contact-section__supporting,
    .student-contact-closing-band__text,
    .student-contact-form-aside-card__text {
        font-size: 0.98rem;
    }

    .student-contact-panel,
    .student-contact-feature-card,
    .student-contact-form-card,
    .student-contact-success,
    .student-contact-process-card,
    .student-contact-form-aside-card,
    .student-contact-closing-band,
    .student-contact-insight-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .student-contact-hero__image-shell,
    .student-contact-hero__image {
        min-height: 440px;
        border-radius: 16px;
    }

    .student-contact-hero__overlay-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .student-contact-form-card__footer,
    .student-contact-success__actions {
        justify-content: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {

    .student-contact-breadcrumb__link,
    .student-contact-input,
    .student-contact-select,
    .student-contact-textarea {
        transition: none !important;
    }
}