.student-hero {
    min-height: 330px;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        linear-gradient(rgb(12 18 35 / 0.66), rgb(12 18 35 / 0.72)),
        url("../images/recruit-hero.jpg") center / cover no-repeat;
}

.student-hero-content {
    padding: 5rem 1rem 4.5rem;
}

.student-eyebrow,
.student-kicker {
    color: var(--brand-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.student-hero .student-eyebrow {
    color: #f8c5d9;
}

.student-hero h1 {
    max-width: 900px;
    margin: 0 auto 1rem;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
}

.student-hero p:last-child {
    margin: 0;
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
}

.student-page {
    background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
}

.py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

.student-photo {
    overflow: hidden;
    border-radius: 1.2rem;
    box-shadow: 0 18px 36px rgb(15 23 42 / 0.16);
}

.student-photo img {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.student-photo:hover img {
    transform: scale(1.04);
}

.student-intro h2,
.student-strengths h2,
.student-form-section h2 {
    color: var(--brand-navy);
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.2;
}

/* The overview heading, concerns list, and callout are rich editor fields, so the
   block carries its own markup; its plain <ul> keeps the .student-concerns layout. */
.student-overview-body ul {
    list-style: none;
    padding: 0;
    margin: 1.6rem 0;
}

.student-overview-body ul li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    color: #374151;
    font-size: 1.05rem;
}

.student-callout {
    border-left: 4px solid #ff5b61;
    border-radius: 0 1rem 1rem 0;
    background: #ffe1e1;
    padding: 1.1rem 1.25rem;
    color: #29344d;
    font-weight: 600;
    line-height: 1.65;
}

.strengths-panel {
    padding: 3.25rem 2rem;
    border-radius: 1.2rem;
    background: #f2f2f2;
}

.student-strength-card {
    padding: 2rem 1.4rem;
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 10px 24px rgb(15 23 42 / 0.1);
}

.student-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(135deg, #9a2864, #252262);
}

.student-strength-card h3 {
    color: var(--brand-navy);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.student-strength-card p {
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

.student-form-section {
    background: #f8f1ff;
}

.student-form {
    max-width: 980px;
    margin: 2rem auto 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 14px 34px rgb(31 31 84 / 0.08);
}

.student-form h3 {
    margin-bottom: 0.5rem;
    color: var(--brand-primary);
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    text-align: center;
}

.form-note {
    margin-bottom: 2rem;
    color: #64748b;
    text-align: center;
}

.student-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: #1f2937;
    font-weight: 600;
}

.student-form input,
.student-form select,
.student-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    border: 1px solid #dbe0ea;
    border-radius: 0.55rem;
    padding: 0.8rem 0.9rem;
    color: #1f2937;
    background: #fff;
    font: inherit;
    line-height: 1.5;
}

/* Give inputs and selects the exact same height — native selects otherwise
   render a few pixels shorter/taller than the text inputs beside them. */
.student-form input,
.student-form select {
    height: 3.25rem;
    padding-top: 0;
    padding-bottom: 0;
}

/* Native selects keep their own chrome, so reset it to match the inputs. */
.student-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Show the "Please select" state in the same grey as the text placeholders. */
.student-form select:has(option[value=""]:checked) {
    color: #9ca3af;
}

/* Keep the (long English) option labels comfortable to read. */
.student-form select option {
    padding: 0.4rem 0.6rem;
    color: #1f2937;
}

.student-form input:focus,
.student-form select:focus,
.student-form textarea:focus {
    border-color: var(--brand-primary);
    outline: 3px solid rgb(139 37 85 / 0.12);
}

/* Invalid controls + their bilingual validation message. */
.student-form input.is-invalid,
.student-form select.is-invalid,
.student-form textarea.is-invalid {
    border-color: #b42318;
    background-color: #fef3f2;
}

.student-form input.is-invalid:focus,
.student-form select.is-invalid:focus,
.student-form textarea.is-invalid:focus {
    outline-color: rgb(180 35 24 / 0.15);
}

.student-form .form-error {
    margin: 0.35rem 0 0;
    color: #b42318;
    font-size: 0.85rem;
    line-height: 1.45;
}

.student-form>.btn {
    display: block;
    margin: 2rem auto 0;
}

.student-company-cta {
    background: #fff;
}

.student-company-cta .cta-card {
    padding: 4rem 2rem 3rem;
    border: 2px solid var(--brand-primary);
}

.student-company-cta h2 {
    max-width: 760px;
    margin: 0 auto 1rem;
    color: var(--brand-navy);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
}

.student-company-cta p {
    max-width: 650px;
    margin: 0 auto 1.6rem;
    color: #475569;
    line-height: 1.7;
}

@media (max-width: 767.98px) {
    .student-hero {
        min-height: 280px;
    }

    .student-hero-content {
        padding: 4rem 1rem 3.5rem;
    }

    .strengths-panel {
        padding: 2rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-photo img {
        transition: none;
    }
}