* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-navy: #102175;
    --title-dark: #131B2E;
    --accent-crimson: #BB0014;
    --text-color: #454651;
    --border-color: #C6C5D3;
    --card-bg: #ffffff;
    --body-bg: #f8fafc;
    --font-body: 'Inter', sans-serif;
    --font-title: 'Hanken Grotesk', sans-serif;
    --shadow-main: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 5px 15px -3px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 40px -8px rgba(0, 0, 0, 0.08), 0 8px 20px -6px rgba(0, 0, 0, 0.03);
}

body {
    font-family: var(--font-body);
    background: #FAF8FF;
}

.form {
    background: radial-gradient(123.24% 171.09% at 0% 0%, #DEE0FF 0%, rgba(222, 224, 255, 0) 50%), radial-gradient(123.24% 171.09% at 100% 100%, #FFDAD6 0%, rgba(255, 218, 214, 0) 50%);
}

.page-container {
    width: 100%;
    max-width: 1319px;
    margin: 0 auto;
    padding: 60px 40px 100px 40px;
    display: flex;
    gap: 64px;
    flex: 1;
}

.logo-container {
    margin-bottom: 64px;
}

.logo-container img {
    width: 285px;
}

.branding-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-section {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.main-heading {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 72px;
    line-height: 76px;
    letter-spacing: -1px;
    color: #102175;
    margin-bottom: 28px;
}

.main-heading .highlight {
    color: var(--accent-crimson);
}

.main-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.features-stack {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid rgba(198, 197, 211, 0.3);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.feature-card.f-scientific::before {
    background-color: var(--accent-crimson);
}

.feature-card.f-ai::before {
    background-color: var(--primary-navy);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text h3 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: var(--title-dark);
}

.feature-text p {
    font-family: var(--text-color);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #454651;
}

.form-card {
    background: var(--card-bg);
    box-shadow: 0px 0px 0px 1px rgba(16, 33, 117, 0.05), 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 32px;
    padding: 35px;
}

.form-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    display: flex;
    align-items: center;
    letter-spacing: -0.32px;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.form-subtitle {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: #000000;
    margin-bottom: 24px;
}

.form-divider {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #767683;
    margin-bottom: 16px;
}

.form-divider::before {
    content: '';
    width: 16px;
    border-bottom: 1.5px solid #767683;
    margin-right: 8px;
    flex-shrink: 0;
}

.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid #767683;
    margin-left: 8px;
}

.form-row-2 {
    display: flex;
    gap: 16px;
}

.form-row-2 .form-group {
    flex: 1;
}

.student-information-wrapper {
    margin-top: 10px;
}

.contact-details-wrapper {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    letter-spacing: 0.28px;
    color: var(--text-color);
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group input[type="tel"] {
    width: 100%;
    height: 49px;
    padding: 0 16px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    height: 49px;
    appearance: none;
    -webkit-appearance: none;
    padding: 0 32px 0 16px;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Custom Placeholder Styling */
::placeholder {
    color: #A0AEC0 !important;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    color: #A0AEC0 !important;
}

::-ms-input-placeholder {
    color: #A0AEC0 !important;
}

/* Style Select Placeholders (options that are disabled and selected) */
select:required:invalid {
    color: #A0AEC0 !important;
}

select option {
    color: var(--title-dark);
}

select option[disabled] {
    color: #A0AEC0;
}

/* Soft glow focus states for input fields, textareas, and select elements */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.select-wrapper select:focus {
    outline: none;
    /* border-color: var(--primary-navy) !important; */
    /* box-shadow: 0 0 0 3px rgba(16, 33, 117, 0.1) !important; */
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.segmented-control {
    display: flex;
    position: relative;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
    margin-top: 2px;
}

.segmented-control input[type="radio"] {
    display: none;
}

.segmented-control label {
    flex: 1;
    justify-content: center;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #102175;
    cursor: pointer;
    z-index: 2;
    margin-bottom: 0;
    transition: color 0.2s;
}

.segmented-control input[type="radio"]:checked+label {
    color: var(--primary-navy);
}

.segmented-control .selection-slider {
    position: absolute;
    left: 3px;
    top: 3px;
    bottom: 3px;
    width: calc(50% - 3px);
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.03);
    z-index: 1;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.segmented-control input[type="radio"]#role-parent:checked~.selection-slider {
    transform: translateX(100%);
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(99.48deg, var(--primary-navy) 0%, var(--accent-crimson) 100%);
    border-radius: 12px;
    border: none;
    color: #ffffff;
    font-size: 18px;
    line-height: 32px;
    font-weight: 600;
    font-family: var(--font-title);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(192, 12, 36, 0.25), 0 4px 10px -3px rgba(29, 45, 95, 0.15);
}

.submit-btn:active {
    transform: translateY(0);
}

.response-note {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #000000;
    margin-top: 14px;
}

.footer-bar {
    background-color: var(--primary-navy);
    padding: 16px 24px;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.footer-bar p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* 2x2 Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 44px;
}

.feature-grid-card {
    background: #ffffff;
    border: 1px solid rgba(198, 197, 211, 0.3);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-grid-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.04), 0 4px 8px -4px rgba(0, 0, 0, 0.02);
}

.feature-stat {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 32px;
    line-height: 38px;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.feature-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: var(--text-color);
}

.feature-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.feature-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-card-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: var(--primary-navy);
}

.form-row-3 {
    display: flex;
    gap: 16px;
}

.form-row-3 .form-group {
    flex: 1;
}

.inline-radio-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.radio-group-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: var(--text-color);
    margin-bottom: 8px;
    letter-spacing: 0.28px;
}

.radio-options-row {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 4px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    user-select: none;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: inline-block;
    background: #ffffff;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked~.radio-circle {
    border-color: var(--primary-navy);
}

.radio-option input[type="radio"]:checked~.radio-circle::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-navy);
}

.hero {
    background: radial-gradient(123.24% 171.09% at 0% 0%, #DEE0FF 0%, rgba(222, 224, 255, 0) 50%), radial-gradient(123.24% 171.09% at 100% 100%, #FFDAD6 0%, rgba(255, 218, 214, 0) 50%);
}

.hero .feature-stat.red {
    color: #BB0014;
}

.hero .feature-icon-circle {
    justify-content: left;
}

.hero .submit-btn {
    background: #102175;
}

/* Trusted By Section */
.trusted-section {
    background: #ffffff;
    border-top: 1px solid rgba(198, 197, 211, 0.2);
    border-bottom: 1px solid rgba(198, 197, 211, 0.2);
    padding: 48px 40px;
}

.trusted-container {
    max-width: 1319px;
    margin: 0 auto;
    text-align: center;
}

.trusted-heading {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: #767683;
    margin-bottom: 32px;
}

.trusted-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

/* Journey Section */
.journey-section {
    padding: 96px 40px;
    background: #FAF8FF;
}

.journey-container {
    max-width: 1319px;
    margin: 0 auto;
    text-align: center;
}

.journey-title {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 48px;
    line-height: 60px;
    color: var(--primary-navy);
    margin-bottom: 24px;
}

.journey-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 28px;
    color: var(--text-color);
    margin-bottom: 64px;
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.journey-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.25s ease;
}

.journey-card:hover {
    transform: translateY(-4px);
}

.journey-icon-circle {
    width: 64px;
    height: 64px;
    box-shadow: 0px 0px 0px 8px #FFFFFF, 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.journey-icon-circle.bg-soft-purple {
    background-color: #DEE0FF;
}

.journey-icon-circle.bg-soft-red {
    background-color: #FFDAD6;
}

.journey-icon-circle.bg-soft-blue {
    background-color: #E1E0FF;
}

.journey-icon-circle.bg-navy {
    background-color: #2B3A8C;
}

.journey-icon-circle.bg-light-blue {
    background-color: #DAE2FD;
}

.journey-icon-circle.bg-dark-navy {
    background-color: #102175;
}

.journey-card-title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.journey-card-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    width: 308px;
}

/* Call To Action Banner */
.cta-section {
    padding: 96px 40px;
    background: #FAF8FF;
    margin-bottom: 40px;
}

.cta-container {
    max-width: 1319px;
    margin: 0 auto;
}

.cta-card {
    background: #102175;
    border-radius: 40px;
    padding: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-main);
}

.cta-title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 48px;
    line-height: 56px;
    display: flex;
    align-items: center;
    letter-spacing: -0.96px;
    color: #FFFFFF;
}

.cta-description {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.btn {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #FFFFFF;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-white {
    border: 1px solid #fff;
    background: #ffffff;
    color: #102175;
}

.btn-white:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

.btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

/* Main Footer */
.main-footer {
    background-color: #102175;
}

.main-footer .footer-container {
    padding: 96px 0;
}

.footer-container {
    max-width: 1319px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 24px;
}

.branding-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 24px;
    line-height: 32px;
    display: flex;
    align-items: center;
    letter-spacing: -1.2px;
    color: #FFFFFF;
}

.footer-tagline {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    max-width: 220px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    transition: all 0.25s ease;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1023px) {
    .page-container {
        flex-direction: column;
        gap: 48px;
        padding: 40px 24px 80px 24px;
    }

    .logo-container img {
        width: 200px;
    }

    .branding-section {
        max-width: 720px;
        margin: 0 auto;
        width: 100%;
    }

    .form-section {
        max-width: 720px;
        margin: 0 auto;
        width: 100%;
    }

    .main-heading {
        font-size: 58px;
        line-height: 62px;
    }

    .main-description {
        max-width: 100%;
    }

    .features-stack {
        max-width: 100%;
    }

    .trusted-section {
        padding: 48px 24px;
    }

    .trusted-logos {
        gap: 32px;
    }

    .trusted-logos img {
        max-width: 140px;
        height: auto;
    }

    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .journey-card-description {
        width: 100%;
        max-width: 308px;
    }

    .cta-section {
        padding: 60px 24px;
    }

    .cta-card {
        padding: 60px 40px;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 38px;
        line-height: 44px;
    }

    .main-footer .footer-container {
        padding: 60px 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .branding-col {
        grid-column: span 2;
        margin-bottom: 16px;
    }
}

@media (max-width: 767px) {
    .logo-container {
        margin-bottom: 15px;
    }

    .page-container {
        flex-direction: column;
        gap: 36px;
        padding: 32px 16px 60px 16px;
    }

    .branding-section {
        width: 100%;
    }

    .form-section {
        width: 100%;
    }

    .main-heading {
        font-size: 46px;
        line-height: 52px;
        margin-bottom: 10px;
    }

    .main-description {
        font-size: 16px;
        line-height: 28px;
    }

    .feature-text h3 {
        font-size: 20px;
        line-height: 32px;
    }

    .feature-text p {
        font-size: 14px;
        line-height: 20px;
    }

    .form-title {
        font-size: 24px;
        line-height: 40px;
    }

    .form-subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .form-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .form-row-2 {
        flex-direction: column;
        gap: 0;
    }

    .form-divider {
        margin: 24px 0 14px 0;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .submit-btn {
        margin-top: 20px;
    }

    .response-note {
        font-size: 14px;
        line-height: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .form-row-3 {
        flex-direction: column;
        gap: 0;
    }

    .trusted-section {
        padding: 32px 16px;
    }

    .trusted-logos {
        gap: 24px;
        justify-content: center;
    }

    .trusted-logos img {
        max-width: 120px;
        height: auto;
    }

    .journey-section {
        padding: 60px 20px;
    }

    .journey-title {
        font-size: 32px;
        line-height: 40px;
    }

    .journey-subtitle {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 40px;
    }

    .journey-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .journey-card {
        padding: 0;
    }

    .journey-card-description {
        width: 100%;
        max-width: 308px;
    }

    .cta-section {
        padding: 40px 16px;
    }

    .cta-card {
        padding: 48px 32px;
        text-align: center;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 28px;
        line-height: 36px;
    }

    .cta-description {
        font-size: 15px;
        line-height: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .main-footer .footer-container {
        padding: 60px 16px 30px 16px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .branding-col {
        grid-column: span 2;
        margin-bottom: 16px;
    }
}

/* ==========================================
   Thank You Page Styles
   ========================================== */
.thankyou-page {
    background: radial-gradient(123.24% 171.09% at 0% 0%, #DEE0FF 0%, rgba(222, 224, 255, 0) 50%), radial-gradient(123.24% 171.09% at 100% 100%, #FFDAD6 0%, rgba(255, 218, 214, 0) 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.thankyou-container {
    width: 100%;
    max-width: 1319px;
    margin: 0 auto;
    padding: 60px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.thankyou-logo {
    margin-bottom: 40px;
}

.thankyou-logo img {
    width: 200px;
    height: auto;
}

.thankyou-card-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-card {
    background: #FFFFFF;
    box-shadow: 0px 0px 0px 1px rgba(16, 33, 117, 0.05), 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 32px;
    width: 100%;
    max-width: 760px;
    padding: 64px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thankyou-emblem-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
}

.thankyou-emblem-container img {
    width: 100%;
}

.thankyou-card h1 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 64px;
    line-height: 76px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: -1px;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.thankyou-card h3 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
    display: flex;
    align-items: center;
    text-align: center;
    letter-spacing: -0.32px;
    color: var(--text-color);
    margin-bottom: 12px;
}

.thankyou-card .thankyou-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 48px;
}

/* Timeline Progress Bar */
.thankyou-timeline {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 10%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(187, 0, 20, 0.2) 0%, rgba(16, 33, 117, 0.2) 100%);
    z-index: 1;
}

.timeline-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    width: 100%;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.step-icon-circle {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.step-icon-circle.done {
    background: #102175;
    border: 4px solid #DEE0FF;
}

.step-icon-circle.active {
    background: #DEE0FF;
    border: 4px solid #DEE0FF;
}

.step-info {
    text-align: center;
}

.step-info h4 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.32px;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.step-info p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    letter-spacing: -0.32px;
    color: var(--text-color);
}

.thankyou-footer-bar {
    background-color: #102175;
    padding: 24px 0;
    text-align: center;
}

.thankyou-footer-bar p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
    .thankyou-container {
        padding: 24px 16px 0 16px;
    }

    .thankyou-logo {
        margin-bottom: 24px;
        text-align: left;
    }

    .thankyou-logo img {
        width: 160px;
    }

    .thankyou-card-wrapper {
        padding: 10px 0 40px 0;
    }

    .thankyou-card {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .thankyou-card h1 {
        font-size: 48px;
        line-height: 52px;
    }

    .thankyou-card h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .thankyou-card .thankyou-desc {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 32px;
    }

    /* Vertical Timeline */
    .thankyou-timeline {
        margin-top: 10px;
    }

    .timeline-line {
        position: absolute;
        top: -10px;
        bottom: 28px;
        left: 28px;
        width: 2px;
        height: 100%;
    }

    .timeline-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        padding: 0;
    }

    .step-icon-circle {
        margin-bottom: 0;
        margin-right: 16px;
        flex-shrink: 0;
        box-shadow: 0px 0px 0px 4px #ffffff;
    }

    .step-info {
        text-align: left;
        padding-top: 4px;
    }

    .step-info h4 {
        font-size: 16px;
        line-height: 24px;
        text-align: left;
        margin-bottom: 4px;
    }

    .step-info p {
        font-size: 14px;
        line-height: 22px;
        text-align: left;
    }
}

/* ==========================================
   Student Profile Builder Page Styles
   ========================================== */
.builder-body {
    background-color: #FAF8FF;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.builder-header {
    background-color: #FAF8FF;
    border-bottom: 1px solid #C6C5D3;
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1319px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.header-tabs {
    display: flex;
    gap: 22px;
    height: 100%;
}

.nav-tab {
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #6B7280;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.nav-tab:hover {
    color: var(--primary-navy);
}

.nav-tab.active {
    color: var(--primary-navy);
}

.nav-tab.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-crimson);
    border-radius: 3px 3px 0 0;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-user span {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.user-avatar img {
    width: 32px;
    height: 32px;
}

/* Page Layout */
.builder-main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.builder-layout {
    display: flex;
    width: 100%;
    max-width: 1319px;
    margin: 0 auto;
    gap: 64px;
    flex: 1;
}

/* Sidebar */
.builder-sidebar {
    width: 320px;
    flex-shrink: 0;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(198, 197, 211, 0.3);
    background: #F2F3FF;
}

.sidebar-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1.4px;
    color: var(--text-color);
    display: block;
    margin-bottom: 20px;
}

.self-discovery .sidebar-header {
    display: flex;
    flex-direction: column;
}

.self-discovery .sidebar-title {
    order: 1;
    margin-bottom: 20px;
}

.self-discovery .sidebar-label {
    margin-bottom: 0;
}

.sidebar-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 26px;
    line-height: 56px;
    color: var(--primary-navy);
}

.sidebar-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 60px;
}

.sidebar-steps::before {
    content: '';
    position: absolute;
    left: 22.5px;
    top: 22.5px;
    width: 3px;
    height: calc(100% - 60px);
    background-color: #DEE0FF;
    z-index: 0;
}

.sidebar-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1;
}

.self-discovery .sidebar-step {
    align-items: center;
}

.step-circle {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #E8EBFD;
    border: 4px solid #E8EBFD;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.32px;
    color: #9A9ED0;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.sidebar-step.active .step-circle {
    background: var(--accent-crimson);
    border: 4px solid #F2CCCD;
    color: #ffffff;
}

.sidebar-step.completed .step-circle {
    background: var(--primary-navy);
    border: 4px solid #DEE0FF;
    color: #ffffff;
}

.step-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-meta h4 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    align-items: center;
    letter-spacing: -0.32px;
    color: var(--primary-navy);
}

.step-meta p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    display: flex;
    align-items: center;
    letter-spacing: -0.32px;
    color: #6B7280;
}

.sidebar-save-btn {
    border: none;
    background: #DAE2FD;
    border-radius: 12px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-navy);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.sidebar-save-btn:hover {
    background-color: rgba(16, 33, 117, 0.15);
}

.sidebar-save-btn:active {
    transform: scale(0.98);
}

.builder-actions .sidebar-save-btn {
    display: none;
}

/* Content Area */
.builder-content {
    flex: 1;
    padding: 60px 0 100px 0;
    max-width: 820px;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.content-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    display: flex;
    align-items: center;
    letter-spacing: -0.96px;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.content-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-color);
    margin-bottom: 17px;
}

.content-subtitle strong {
    color: var(--primary-navy);
}

.form-section-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 32px;
}

.section-card-title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    /* font-size: 24px; */
    /* line-height: 32px; */
    display: flex;
    align-items: center;
    color: #131B2E;
    border-left: 4px solid var(--accent-crimson);
    padding-left: 16px;
    margin-bottom: 28px;
}

.section-card-desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 26px;
    color: var(--text-color);
    margin-top: -20px;
    margin-bottom: 28px;
}

/* Rows and Inputs */
.form-section-card .form-row-2,
.section-card .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-section-card .form-row-4,
.section-card .form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.section-card .form-row-4 .form-group {
    margin-bottom: 0;
}

.form-section-card .form-section-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 26px;
}

.form-section-card .form-group {
    margin-bottom: 26px;
}

.form-section-card .form-group:last-child {
    margin-bottom: 0;
}

.form-group textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    color: var(--title-dark);
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

/* Checkbox group options */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 6px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 20px;
    color: var(--title-dark);
    cursor: pointer;
    user-select: none;
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    background-color: #ffffff;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-option:hover .checkbox-box {
    border-color: var(--primary-navy);
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-box {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.checkbox-option input[type="checkbox"]:checked+.checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Step 2 specific styles */
.section-card {
    margin-top: 30px;
}

.card-header-with-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header-with-btn .section-card-title {
    margin-bottom: 0;
}

.btn-text-blue {
    background: none;
    border: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.btn-text-blue:hover {
    background-color: rgba(16, 33, 117, 0.05);
    text-decoration: underline;
}

/* Outline blue button */
.btn-outline-blue {
    background: transparent;
    border: 1px solid #C6C5D3;
    color: var(--primary-navy);
    border-radius: 12px;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-outline-blue:hover {
    background-color: #FAF8FF;
    border-color: var(--primary-navy);
}

.btn-outline-blue svg {
    color: var(--primary-navy);
}

/* Academic Table Grid */
.academic-table-container {
    width: 100%;
    border: 1px solid rgba(198, 197, 211, 0.3);
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 28px;
}

.table-header-row {
    display: grid;
    grid-template-columns: 140px 1.8fr 1.2fr 130px 50px;
    background-color: #F2F3FF;
    padding: 12px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.header-col {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: #454651;
    text-transform: uppercase;
}

.table-body-row {
    display: grid;
    grid-template-columns: 140px 1.8fr 1.2fr 130px 50px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(198, 197, 211, 0.2);
    align-items: center;
    background-color: #ffffff;
}

.table-body-row:last-child {
    border-bottom: none;
}

.body-col {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
}

.body-col.class-col.font-bold-navy {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: var(--primary-navy);
}

.school-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: var(--text-color);
}

.school-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.school-subjects {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: var(--text-color);
}

.board-name {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-color);
}

.board-grade {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-color);
}

.year-col {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text-color);
}

.action-col {
    display: flex;
    justify-content: flex-end;
}

.btn-delete {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.add-entry-card {
    background-color: #ffffff;
    border: 2px dashed rgba(198, 197, 211, 0.5);
    border-radius: 16px;
    padding: 28px;
    margin-top: 16px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.add-entry-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.achievement-item {
    background-color: #ffffff;
    border: 1px solid rgba(198, 197, 211, 0.3);
    border-left: 4px solid #C6C5D3;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.02);
}

.ach-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.ach-left-col {
    flex: 1;
}

.ach-name {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
    color: var(--primary-navy);
}

.ach-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ach-grade {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
    color: var(--text-color);
}

.ach-year {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: right;
    color: var(--text-color);
}

.family-info-wrapper {
    margin-top: 30px;
    margin-bottom: 32px;
}

/* Step 3 sub section boxes */
.sub-section-box {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(198, 197, 211, 0.3);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 28px;
    flex: 1;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-section-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.sub-section-box.father-box::before {
    background-color: var(--accent-crimson);
}

.sub-section-box.mother-box::before {
    background-color: var(--primary-navy);
}

.sub-box-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

/* Actions footer */
.builder-actions {
    display: flex;
    padding-top: 24px;
}

.builder-actions.right-align {
    justify-content: flex-end;
}

.builder-actions.space-between {
    justify-content: space-between;
    align-items: center;
}

.btn {
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-navy {
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-navy);
    color: #ffffff;
}

.btn-navy:hover {
    background-color: #0c1854;
    box-shadow: 0px 4px 12px rgba(16, 33, 117, 0.15);
}

.btn-red {
    background: linear-gradient(91.06deg, var(--primary-navy) 0.91%, var(--accent-crimson) 100%);
    color: #ffffff;
}

.btn-continue {
    background: var(--accent-crimson);
    color: #fff;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: var(--primary-navy);
}

.mt-24 {
    margin-top: 24px;
}

.center-align {
    display: flex;
    justify-content: center;
}

.mobile-form-header {
    display: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: var(--primary-navy);
    margin-bottom: 0px;
}

/* ==========================================
   Responsive Rules for Profile Builder
   ========================================== */
@media (max-width: 1024px) {
    .builder-layout {
        gap: 32px;
    }

    .builder-sidebar {
        width: 240px;
        padding-right: 24px;
    }
}

@media (max-width: 767px) {
    .builder-header {
        padding: 0 16px;
        ;
        height: 70px;
    }

    .header-logo img {
        height: 50px;
    }

    .header-tabs {
        display: none;
        /* Hide header links on mobile step forms */
    }

    .header-user span {
        display: none;
        /* Hide username, show only avatar */
    }

    .builder-layout {
        flex-direction: column;
        padding: 0 16px;
        gap: 0;
    }

    .builder-sidebar {
        display: none;
        /* Hide entire steps sidebar on mobile */
    }

    .builder-content {
        padding: 30px 0 60px 0;
        width: 100%;
        max-width: 100%;
    }

    .mobile-form-header {
        display: block;
    }

    .content-title {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 10px;
    }

    .content-subtitle {
        margin-bottom: 30px;
    }

    .form-section-card,
    .section-card {
        padding: 24px 20px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .section-card {
        padding: 0;
    }

    .section-card-title {
        font-size: 18px;
        line-height: 32px;
        padding-left: 12px;
        margin-bottom: 20px;
    }

    .section-card-desc {
        margin-top: -12px;
        margin-bottom: 20px;
    }

    .btn-outline-blue {
        padding: 10px 14px;
        font-size: 11px;
    }

    /* Form rows stacking */
    .form-section-card .form-row-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 0px !important;
        margin-bottom: 20px;
    }

    .form-row-4 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-bottom: 20px;
    }

    .checkbox-group {
        padding-top: 0;
    }

    .academic-table-container {
        border: none;
        background: transparent;
        margin-bottom: 20px;
    }

    .table-header-row {
        display: none;
    }

    .table-body-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 20px;
        border: 1px solid rgba(198, 197, 211, 0.3);
        border-radius: 12px;
        background-color: #ffffff;
        margin-bottom: 16px;
        position: relative;
    }

    .table-body-row .body-col {
        width: 100%;
    }

    .table-body-row .class-col {
        order: 1;
    }

    .table-body-row .school-col {
        order: 2;
    }

    .table-body-row .board-col {
        order: 3;
    }

    .table-body-row .year-col {
        order: 4;
        color: #6B7280;
        font-size: 13px;
    }

    .table-body-row .action-col {
        order: 5;
        position: absolute;
        top: 20px;
        right: 20px;
        width: auto;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .add-entry-card {
        padding: 20px 16px;
    }

    /* Actions bottom buttons */
    .builder-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: center !important;
        width: 100% !important;
        padding-top: 32px !important;
    }

    .builder-actions.space-between,
    .builder-actions.right-align {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: center !important;
        width: 100% !important;
    }

    .builder-actions .btn-back {
        order: 1 !important;
        width: auto !important;
        padding: 8px 16px !important;
        justify-content: center !important;
    }

    .builder-actions .btn {
        order: 2 !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 24px !important;
    }

    .builder-actions .sidebar-save-btn {
        display: flex !important;
        order: 3 !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 24px !important;
    }
}

/* ==========================================
   Form 2 (Self-Discovery Journey) Specifics
   ========================================== */
.blue-text {
    color: var(--primary-navy) !important;
    font-weight: 600 !important;
    gap: 10px;
}

.red-text {
    color: var(--accent-crimson) !important;
    font-weight: 600 !important;
    gap: 10px;
}

.blue-textarea textarea {
    border-color: var(--primary-navy);
}

.red-textarea textarea {
    border-color: var(--accent-crimson);
}

.engagement-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Checkbox Tag Group */
.checkbox-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-tag-option {
    position: relative;
    cursor: pointer;
}

.checkbox-tag-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-tag-option .tag-box {
    display: inline-block;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #C6C5D3;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #6B7280;
    transition: all 0.2s ease;
}

.checkbox-tag-option input[type="checkbox"]:checked+.tag-box {
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

/* Learning Preference Cards */
.learning-preferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.preference-card-option {
    cursor: pointer;
    position: relative;
    width: 100%;
}

.preference-card-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.preference-card-option .pref-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 10px;
    border: 1px solid #C6C5D3;
    border-radius: 16px;
    transition: all 0.2s ease;
    min-height: 110px;
}

.preference-card-option .pref-title {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: var(--text-color);
}

.preference-card-option input[type="checkbox"]:checked+.pref-card-inner {
    border-color: var(--primary-navy);
}

.preference-card-option input[type="checkbox"]:checked+.pref-card-inner img {
    filter: brightness(0) saturate(100%) invert(11%) sepia(82%) saturate(3015%) hue-rotate(222deg) brightness(91%) contrast(97%) !important;
}

.preference-card-option input[type="checkbox"]:checked+.pref-card-inner .pref-title {
    color: var(--primary-navy);
}

/* Slider Custom Styling */
.self-discovery-form {
    gap: 80px !important;
}

.self-discovery-form .form-group {
    margin-bottom: 0;
}

.self-discovery-form .form-group label {
    margin-bottom: 20px;
}

.slider-value-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.28px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.prep-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #DEE0FF;
    outline: none;
    margin: 12px 0;
}

.prep-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-crimson);
    border: 3px solid #FFFFFF;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.slider-output {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-color);
    margin-top: 15px;
}

/* Stepper Custom Styling */
.stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #C6C5D3;
    border-radius: 50px;
    overflow: hidden;
    background: #FFFFFF;
    width: 203px;
    height: 48px;
}

.stepper-btn {
    border: none;
    background: transparent;
    width: 48px;
    height: 100%;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-navy);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.stepper-btn:hover {
    background-color: #FAF8FF;
}

.stepper-value {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-navy);
    padding: 0 16px;
    min-width: 48px;
    text-align: center;
}

/* Pros & Cons sections */
.pros-cons-section {
    margin-top: 16px;
}

.pros-cons-section .radio-label-heading,
#step-6 .sub-group-title {
    margin-bottom: 25px !important;
}

.pros-cons-section .checkbox-custom-label {
    margin-bottom: 15px;
}

/* Custom Checkbox Design */
.checkbox-custom-label {
    gap: 10px;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 22px !important;
    margin-bottom: 10px !important;
    cursor: pointer;
    user-select: none;
}

.checkbox-custom-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom-label input[type="checkbox"]:checked+.checkbox-box {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
}

.checkbox-custom-label input[type="checkbox"]:checked+.checkbox-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.step-7-grid {
    grid-template-columns: 1.2fr 1fr !important;
    gap: 10px !important;
    margin-top: 18px;
}

.checkbox-tag-option.red-tag input[type="checkbox"]:checked+.tag-box {
    color: var(--accent-crimson);
    border-color: var(--accent-crimson);
}

/* Step 8 Leisure Split Cards */
.leisure-split-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #FFFFFF;
    border: 1.5px solid #C6C5D3;
    border-radius: 16px;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.leisure-split-card .checkbox-custom-label {
    display: flex;
    margin-bottom: 0 !important;
}

.leisure-split-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.leisure-split-card::before {
    background-color: var(--primary-navy);
}

.leisure-split-card.border-red-accent::before {
    background-color: var(--accent-crimson);
}

.leisure-split-card.border-red-accent input[type="checkbox"]:checked+.checkbox-box {
    background-color: var(--accent-crimson) !important;
    border-color: var(--accent-crimson) !important;
}

.leisure-split-card .split-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.leisure-split-card .split-card-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.28px;
}

.leisure-split-card .split-card-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-color);
    margin: 0;
}

.leisure-preferences-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.leisure-preferences-grid .pref-title {
    font-size: 14px;
    line-height: 22px;
}

.preference-card-option.item-horizontal {
    width: auto !important;
    flex: 0 1 auto;
}

.pref-card-inner.flex-row {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    min-height: auto !important;
}

.preference-card-option .pref-card-inner svg {
    stroke: #6B7280;
    transition: all 0.2s ease;
}

.preference-card-option input[type="checkbox"]:checked+.pref-card-inner svg {
    stroke: var(--primary-navy) !important;
}

@media (max-width: 767px) {
    .learning-preferences-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 10px;
    }

    .preference-card-option .pref-card-inner {
        gap: 10px;
        padding: 15px 10px;
        min-height: auto;
    }

    .preference-card-option .pref-title {
        font-size: 14px;
        line-height: 18px;
    }

    #step-4 .form-row-2.align-start {
        gap: 24px !important;
        margin-bottom: 0;
    }

    .leisure-split-card.border-red-accent {
        margin-top: 16px;
    }

    #step-9 .form-section-card .form-row-2 {
        gap: 0px !important;
    }
}

/* Discovery Thank You Page theme styles */
.discovery-thankyou {
    background: #FAF8FF;
}

.discovery-thankyou .header-container {
    justify-content: center;
}

.discovery-thankyou .discovery-theme {
    background: var(--primary-navy);
    max-width: 820px;
}

.discovery-thankyou .discovery-inner-content {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    padding-top: 0;
    width: 100%;
    margin-bottom: 40px;
}

.discovery-thankyou .discovery-inner-content img{
    margin-bottom: 16px;
}

.discovery-thankyou h1 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 42px;
    line-height: 76px;
    text-align: center;
    letter-spacing: -1px;
    color: #FFDAD6;
    margin-bottom: 20px;
}

.discovery-thankyou h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.discovery-thankyou .thankyou-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 0;
}

.discovery-thankyou .thankyou-timeline {
    margin-top: 0;
}

.discovery-thankyou .timeline-line {
    background: linear-gradient(90deg, #DEE0FF 0%, #9A9ED0 100%);
}

.discovery-thankyou .step-icon-circle.done {
    background: var(--accent-crimson);
    border: 4px solid var(--accent-crimson);
}

.discovery-thankyou .step-info h4 {
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
}

.discovery-thankyou .step-info p {
    font-size: 14px;
    line-height: 18px;
    color: #9A9ED0;
}

@media (max-width: 767px) {
    .discovery-thankyou h1 {
        font-size: 26px;
        line-height: 36px;
    }

    .discovery-thankyou h3 {
        font-size: 18px;
        line-height: 26px;
    }

    .discovery-thankyou .thankyou-desc {
        font-size: 16px;
        line-height: 26px;
    }

    .discovery-thankyou .step-icon-circle {
        box-shadow: none;
    }
}

.text-danger, .invalid-feedback {
    color: #BB0014;
}

/* ============================
   Custom Alert
============================ */

.custom-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    animation: alertFadeIn .3s ease;
}

.custom-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.custom-alert-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-alert-icon i {
    font-size: 20px;
}

.custom-alert-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.custom-alert-close {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.custom-alert-close i {
    font-size: 18px;
}

.custom-alert-close:hover {
    background: rgba(0,0,0,.08);
}

/* Danger */

.custom-alert-danger {
    background: #FEF3F2;
    border-color: #FECACA;
    color: #B42318;
}

.custom-alert-danger .custom-alert-icon {
    background: #FEE4E2;
    color: #D92D20;
}

/* Animation */

@keyframes alertFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast {
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    font-size: 14px;
}

.toast-success {
    background-color: #22c55e !important;
}

.toast-error {
    background-color: #ef4444 !important;
}

.toast-warning {
    background-color: #f59e0b !important;
}

.toast-info {
    background-color: #3b82f6 !important;
}

.toast-title {
    font-weight: 600;
}

.toast-message {
    font-weight: 400;
}

.header-user{
    position:relative;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.user-profile{
    position:relative;
}

.user-avatar{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    cursor:pointer;
    border:2px solid #fff;
    transition:.3s;
    box-shadow:0 3px 12px rgba(0,0,0,.15);
}

.user-avatar:hover{
    transform:scale(1.08);
}

/* Dropdown */

.profile-dropdown{
    position:absolute;
    top:55px;
    right:0;
    width:280px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);

    overflow:hidden;

    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:.25s ease;

    z-index:9999;
}

/* Show */

.profile-dropdown.active{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* Header */

.profile-header{
    background:#102175;
    color:#fff;
    text-align:center;
    padding:20px;
}

.profile-image{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:10px;
    border:3px solid rgba(255,255,255,.35);
}

.profile-header h5{
    margin:5px 0;
    color:#fff;
}

.profile-header p{
    margin:0;
    font-size:13px;
    color:#ddd;
    word-break:break-word;
}

/* Body */

.profile-body{
    padding:12px;
}

.profile-body a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 15px;
    text-decoration:none;
    color:#333;
    border-radius:8px;
    transition:.2s;
}

.profile-body a:hover{
    background:#f4f6ff;
    color:#102175;
}

.logout-btn{
    color:#dc3545 !important;
    font-weight:600;
}

.login-link{
    color:#102175;
    font-weight:600;
    text-decoration:none;
    margin-left:4px;
    transition:.3s ease;
    position:relative;
}

.login-link::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-2px;
    width:0;
    height:2px;
    background:#102175;
    transition:.3s;
}

.login-link:hover{
    color:#304ffe;
}

.login-link:hover::after{
    width:100%;
}