/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #161616;
    --navy-light: #2A2A2A;
    --blue: #2f4f4f;
    --blue-light: #4a7c7c;
    --gold: #89ed93;
    --gold-light: #a8f5b7;
    --white: #FFFFFF;
    --gray-50: #F5F5F5;
    --gray-100: #F0F0F0;
    --gray-200: #E0E0E0;
    --gray-300: #CCCCCC;
    --gray-400: #999999;
    --gray-600: #5E5E5E;
    --gray-800: #404040;
    --gray-900: #212529;
    --red: #DC3545;
    --green: #89ed93;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Source Sans Pro', sans-serif;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}


/* ==================== LAYOUT ==================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo-img img {
    display: block;
    height: 32px;
    width: auto;
}

.nav-logo-group .nav-logo-img:first-child img {
    height: 42px !important;
}

.nav-logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.nav-logo-x {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0 4px 0 0;
    line-height: 1;
    text-transform: lowercase;
}
@media (max-width: 600px) {
    .nav-logo-group {
        gap: 6px;
    }
    .nav-logo-x {
        font-size: 0.95rem;
        margin: 0 3px 0 0;
    }
    .nav-logo-img img {
        height: 24px;
    }
    .nav-logo-group .nav-logo-img:first-child img {
        height: 32px !important;
    }
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
    justify-content: flex-start;
}
.footer-logos img {
    height: 44px;
    width: auto;
    filter: none;
}

.footer-logo-getchkd {
    height: 58px !important;
}

.footer-logo-msaii {
    height: 44px !important;
}
@media (max-width: 600px) {
    .footer-logos img {
        height: 32px;
    }
    .footer-logo-getchkd {
        height: 42px !important;
    }
    .footer-logo-msaii {
        height: 32px !important;
    }
}

.section {
    padding: 80px 0;
}

.bg-alt {
    background: var(--gray-50);
}

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

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

h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--navy);
}

.section-sub {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 720px;
    margin-bottom: 48px;
}

/* ==================== NAV ==================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    font-family: 'Raleway', sans-serif;
}

.nav-logo-text span {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.85rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.btn-nav {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 700 !important;
    transition: all var(--transition);
}

.btn-nav:hover {
    background: var(--gold-light) !important;
    box-shadow: 0 0 16px rgba(137, 237, 147, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== HERO ==================== */
#hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 140px 24px 80px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 20px;
}

#hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.highlight {
    color: var(--gold);
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    max-width: 740px;
    margin: 0 auto 16px;
}

.hero-eligibility {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    max-width: 740px;
    margin: 0 auto 32px;
    font-style: italic;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
}

.stat span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--gold-light);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(137, 237, 147, 0.35);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--gray-600);
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-secondary:hover {
    border-color: var(--gray-400);
    color: var(--gray-800);
}

/* ==================== CARDS ==================== */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==================== TIMELINE ==================== */
.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -40px;
    top: 40px;
    width: 2px;
    height: calc(100% + 36px);
    background: var(--gray-300);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -60px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 8px;
}

/* ==================== SKILLS GRID ==================== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
    transition: all var(--transition);
}

.skill-item:hover {
    box-shadow: var(--shadow);
}

.skill-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.skill-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.skill-text p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

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

/* ==================== TESTIMONIALS ==================== */
.testimonial {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-800);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
}

.attribution strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
}

.attribution span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* ==================== DELIVERABLES ==================== */
.deliverables-box {
    margin-top: 48px;
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.deliverables-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
}

.deliverables h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.deliverables ul {
    list-style: none;
    padding: 0;
}

.deliverables ul li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.deliverables ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ==================== APPLICATION FORM ==================== */
.application-form {
    max-width: 720px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color var(--transition);
}
.back-home:hover {
    color: var(--navy);
    text-decoration: none;
}
.back-home .back-arrow {
    font-size: 1rem;
    line-height: 1;
}

.step-header {
    margin-bottom: 32px;
}

.step-number {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue);
}

.step-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-top: 4px;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-top: 8px;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.checkbox-group {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.5;
}

.readiness-check {
    background: rgba(137, 237, 147, 0.1);
    border-color: rgba(137, 237, 147, 0.5);
}

.commitment-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 2px solid rgba(137, 237, 147, 0.4);
    padding-top: 24px;
    margin-top: 8px;
}

.recommender-section {
    margin-bottom: 32px;
}

.recommender-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-200);
}

.field-hint {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin: -4px 0 8px;
    font-style: italic;
}

.competency-guide {
    background: rgba(47, 79, 79, 0.06);
    border: 1px solid rgba(47, 79, 79, 0.2);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 20px 22px;
}

.competency-guide-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.competency-guide-intro {
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 14px;
}

.competency-guide-intro a {
    color: var(--gold);
    text-decoration: underline;
}

.competency-guide-subhead {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.competency-traits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.competency-traits li {
    font-size: 0.87rem;
    color: var(--gray-700);
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.competency-traits li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-900);
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group input[type="checkbox"].error,
.form-group input[type="file"].error {
    outline: 2px solid rgba(220, 53, 69, 0.35);
    outline-offset: 2px;
    box-shadow: none;
}

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

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

/* ==================== RECOMMENDATION BOX ==================== */
.assignment-box {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 32px;
}

.assignment-box h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.assignment-instructions p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.assignment-instructions ol {
    padding-left: 20px;
}

.assignment-instructions ol li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.assignment-instructions ul {
    padding-left: 20px;
    margin-top: 6px;
}

.assignment-instructions ul li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 4px;
}

.assignment-instructions a {
    color: var(--gold);
}

/* ==================== APPLICATION TIMELINE ==================== */
.apply-timeline-section {
    background: var(--gray-50);
    padding: 72px 0;
}

.app-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 40px;
    flex-wrap: wrap;
}

.app-tl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.app-tl-date {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.app-tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--navy);
    flex-shrink: 0;
}

.app-tl-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
}

.app-tl-line {
    height: 3px;
    width: 60px;
    background: var(--navy);
    margin: 0 -4px;
    margin-top: -6px;
    align-self: center;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .app-timeline {
        flex-direction: column;
        gap: 0;
    }
    .app-tl-line {
        width: 3px;
        height: 32px;
        margin: -4px 0;
    }
    .app-tl-item {
        flex-direction: row;
        gap: 14px;
        min-width: auto;
    }
    .app-tl-date {
        min-width: 56px;
        text-align: right;
    }
    .app-tl-label {
        text-align: left;
    }
}

/* ==================== APPLY CTA SECTION ==================== */
.apply-cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 80px 0;
}

.apply-cta-section h2 {
    color: var(--white);
    font-size: 2.4rem;
}

.apply-cta-section .section-sub {
    color: rgba(255,255,255,0.75);
}

/* Mid-page CTA — stronger visual "stop" */
.apply-cta-mid {
    padding: 64px 0;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

.apply-cta-mid h2 {
    font-size: 2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.15rem;
}

/* ==================== APPLY PAGE HEADER ==================== */
.apply-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 120px 24px 48px;
    text-align: center;
}

.apply-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.apply-header p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== SUCCESS MESSAGE ==================== */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--gray-600);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-logos img {
    height: 44px;
    width: auto;
}

.footer-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Raleway', sans-serif;
}

footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 400px;
}

footer strong {
    color: var(--white);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    #hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
    }

    .footer-logos {
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .deliverables-box {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .stat strong {
        font-size: 1.4rem;
    }

    .footer-logos img {
        height: 34px;
    }
}
