/*
Theme Name: Military EDU Advisors
Theme URI: https://www.militaryeduadvisors.com
Author: GrowthEngineer.pro
Author URI: https://growthengineer.pro
Description: Custom WordPress theme for Military EDU Advisors - connecting military families with VA-approved schools.
Version: 1.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: militaryedu
*/

/* ========================================
   CSS VARIABLES / DESIGN TOKENS
   ======================================== */
:root {
    /* Brand Colors */
    --navy: #1a2332;
    --navy-light: #243044;
    --crimson: #8b1a1a;
    --crimson-hover: #a02020;
    --gold: #c4953a;
    --gold-light: #d4a94a;
    --silver: #c0c0c0;
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #f0f0f0;
    --medium-gray: #e5e5e5;
    --text-dark: #1a1a1a;
    --text-medium: #444444;
    --text-light: #5a5a5a;
    
    /* Accent */
    --dark-olive: #2d3b2d;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;
    
    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Source Code Pro', monospace;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    font-weight: 700;
}

h1 { font-size: 2.75rem; } /* ~44px desktop */
h2 { font-size: 2.125rem; } /* ~34px */
h3 { font-size: 1.625rem; } /* ~26px */
h4 { font-size: 1.25rem; } /* ~20px */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--crimson);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar span {
    margin: 0 8px;
    opacity: 0.7;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

/* Ensure our theme header is always visible */
.site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.top-bar {
    display: block !important;
    visibility: visible !important;
}
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

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

.main-nav > a,
.nav-dropdown-toggle {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.2s;
    text-decoration: none;
    cursor: pointer;
    padding: 8px 0;
    background: none;
    border: none;
    font-family: inherit;
}

.main-nav > a:hover,
.nav-dropdown-toggle:hover {
    color: var(--crimson) !important;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: -12px;
    background: var(--white);
    border: 1px solid #e2e6ed;
    border-radius: 6px;
    padding: 8px 0;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s;
    box-shadow: 0 12px 48px rgba(0,0,0,0.12);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    transition: all 0.15s;
}

.nav-dropdown-menu a:hover {
    background: rgba(139,26,26,0.06);
    color: var(--crimson) !important;
}

.btn-nav-cta {
    background: var(--crimson);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-nav-cta:hover {
    background: var(--crimson-hover);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    padding: 100px 24px 40px;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu > a,
.mobile-dropdown-toggle {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #a0a8b0 !important;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: left;
}

.mobile-menu > a:hover,
.mobile-dropdown-toggle:hover {
    color: #ffffff !important;
}

.mobile-dropdown-items {
    display: none;
    padding-left: 20px;
}

.mobile-dropdown-items.open {
    display: block;
}

.mobile-dropdown-items a {
    display: block;
    font-size: 17px;
    font-weight: 500;
    color: #808890 !important;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    text-decoration: none;
}

.mobile-dropdown-items a:hover {
    color: #ffffff !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 35, 50, 0.92) 0%,
        rgba(26, 35, 50, 0.75) 50%,
        rgba(26, 35, 50, 0.3) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 16px;
}

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

.hero-content p {
    font-size: 1.0625rem;
    line-height: 1.55;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ========================================
   LEAD FORM (Multi-Step)
   ======================================== */
.hero-form-wrapper {
    flex: 0 0 420px;
    max-width: 420px;
}

.lead-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-header {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 16px 20px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.form-header p {
    font-size: 13px;
    opacity: 0.7;
}

.form-progress {
    padding: 12px 24px;
    background: var(--off-white);
    border-bottom: 1px solid var(--medium-gray);
}

.form-progress .step-indicator {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.form-progress .progress-bar {
    height: 3px;
    background: var(--medium-gray);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.form-progress .progress-fill {
    height: 100%;
    background: var(--crimson);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.form-step {
    padding: 24px;
    display: none;
}

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

.form-step h4 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.form-step .step-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Radio/Option Buttons */
.option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
    color: var(--text-dark);
}

.option-item:hover {
    border-color: var(--crimson);
    background: rgba(139, 26, 26, 0.03);
}

.option-item.selected {
    border-color: var(--crimson);
    background: rgba(139, 26, 26, 0.06);
}

.option-item .radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid var(--medium-gray);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s;
}

.option-item.selected .radio-circle {
    border-color: var(--crimson);
}

.option-item.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: var(--crimson);
    border-radius: 50%;
}

/* Form Inputs */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 4px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-dark);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Yes/No Toggle */
.yes-no-toggle {
    display: flex;
    gap: 10px;
}

.yes-no-toggle .toggle-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.yes-no-toggle .toggle-btn.selected {
    border-color: var(--crimson);
    background: rgba(139, 26, 26, 0.06);
    color: var(--crimson);
}

/* Consent Checkbox */
.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
}

.consent-group input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--crimson);
}

.consent-group label {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Form Buttons */
.btn-form-next,
.btn-form-submit {
    width: 100%;
    padding: 14px;
    background: var(--crimson);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-form-next:hover,
.btn-form-submit:hover {
    background: var(--crimson-hover);
}

.btn-form-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.btn-form-back:hover {
    color: var(--text-dark);
}

/* Error Messages */
.form-error {
    color: var(--crimson);
    font-size: 12px;
    margin-top: 8px;
    display: none;
}

.form-error.visible {
    display: block;
}

/* Success State */
.form-success {
    text-align: center;
    padding: 40px 24px;
}

.form-success .checkmark {
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
    padding: 16px 0;
}

.trust-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-medium);
}

.trust-item .icon {
    color: var(--crimson);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.trust-item .icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--crimson);
    stroke-width: 2;
    fill: none;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--crimson);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.125rem;
    color: #1a1a1a !important;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #333333 !important;
    max-width: 560px;
    margin: 0 auto 48px;
    line-height: 1.55;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

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

.step-number {
    width: 48px;
    height: 48px;
    background: var(--crimson);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9375rem;
    color: #444444 !important;
    line-height: 1.55;
}

.btn-primary {
    display: inline-block;
    background: var(--crimson);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s;
    margin-top: 32px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--crimson-hover);
    color: var(--white);
}

/* ========================================
   FEATURED SCHOOLS
   ======================================== */
.featured-schools {
    padding: var(--section-padding);
    background: var(--off-white);
    text-align: center;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
    align-items: stretch;
}

.school-card {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.school-card:hover {
    box-shadow: var(--shadow-md);
}

.school-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    object-fit: contain;
    object-position: left;
}

.school-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a !important;
}

.school-card .school-meta {
    font-size: 13px;
    color: #444444 !important;
    margin-bottom: 12px;
}

.school-card .school-desc {
    font-size: 14px;
    color: #333333 !important;
    line-height: 1.55;
    margin-bottom: 16px;
}

.school-features {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.school-features li {
    font-size: 13px;
    color: #333333 !important;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.45;
}

.school-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--crimson);
    border-bottom: 2px solid var(--crimson);
    transform: rotate(-45deg);
}

.btn-school-cta {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--crimson);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-school-cta:hover {
    background: var(--crimson-hover);
    color: var(--white);
}

/* ========================================
   EXPLORE PROGRAMS
   ======================================== */
.explore-programs {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.program-card {
    background: var(--off-white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

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

.program-icon {
    width: 40px;
    height: 40px;
    color: var(--crimson);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--crimson);
    stroke-width: 1.5;
    fill: none;
}

.program-card h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a !important;
}

.program-card p {
    font-size: 0.875rem;
    color: #333333 !important;
    line-height: 1.55;
    margin-bottom: 12px;
}

.program-link {
    color: #8b1a1a !important;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
}

.program-link:hover {
    color: #a02020 !important;
}

/* ========================================
   FAMILY CTA BANNER
   ======================================== */
.family-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.family-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.family-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(45, 59, 45, 0.9) 0%,
        rgba(45, 59, 45, 0.7) 60%,
        rgba(45, 59, 45, 0.4) 100%
    );
}

.family-cta .container {
    position: relative;
    z-index: 1;
}

.family-cta h2 {
    font-size: 2.125rem;
    color: var(--white);
    max-width: 480px;
    margin-bottom: 12px;
}

.family-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 480px;
    margin-bottom: 24px;
}

.btn-cta-light {
    display: inline-block;
    background: var(--crimson);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s;
}

.btn-cta-light:hover {
    background: var(--crimson-hover);
    color: var(--white);
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog-section {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.blog-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #444444 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-nav a:hover {
    color: var(--crimson);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto 32px;
    text-align: left;
}

.blog-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    transition: box-shadow 0.3s;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    height: 180px;
    background: var(--dark-olive);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-image .placeholder-num {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--crimson);
    margin-bottom: 6px;
}

.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.blog-card-content p {
    font-size: 13px;
    color: #444444 !important;
    line-height: 1.5;
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #1a1a1a !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    color: #1a1a1a !important;
    background: transparent !important;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
    padding: var(--section-padding);
    background: var(--off-white);
    text-align: center;
}

.final-cta h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #1a1a1a !important;
}

.final-cta p {
    font-size: 1.0625rem;
    color: #333333 !important;
    margin-bottom: 24px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--off-white);
    border-top: 1px solid var(--medium-gray);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-light);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--crimson);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    text-align: center;
}

.footer-disclaimer {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 8px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-form-wrapper {
        flex: none;
        max-width: 480px;
        width: 100%;
    }
    
    .schools-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
    }

    body {
        font-size: 16px;
    }

    h1 { font-size: 1.875rem; } /* ~30px mobile */
    h2 { font-size: 1.625rem; } /* ~26px */
    h3 { font-size: 1.25rem; } /* ~20px */
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-bar .container {
        gap: 16px;
    }
    
    .trust-item {
        font-size: 11px;
    }
    
    .hero-form-wrapper {
        max-width: 100%;
    }
    
    .family-cta h2 {
        font-size: 1.625rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   PROGRAM LANDING PAGE & SCHOOL PAGE STYLES (v1.7.0)
   ══════════════════════════════════════════════════════════════ */

/* ── Program Hero ── */
.program-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 56px;
    background: var(--navy, #0A1628);
}
@media(min-width:1024px) {
    .program-hero { padding: 72px 0 80px; }
}
.program-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.program-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.80) 40%, rgba(10,22,40,0.65) 100%);
}
.program-hero__accent {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139,26,26,0.25) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}
.program-hero__line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b1a1a, transparent);
    z-index: 1;
}
.program-hero__inner {
    position: relative;
    z-index: 2;
}
.program-hero__grid {
    display: grid;
    gap: 32px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media(min-width:768px) {
    .program-hero__grid { padding: 0 40px; }
}
@media(min-width:1024px) {
    .program-hero__grid {
        grid-template-columns: 1fr 420px;
        align-items: center;
        gap: 64px;
    }
}
.program-hero__copy {
    max-width: 700px;
}
.program-hero .eyebrow {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c0392b;
    margin-bottom: 8px;
    display: block;
}
.program-hero h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.08;
}
@media(min-width:768px) { .program-hero h1 { font-size: 48px; } }
@media(min-width:1024px) { .program-hero h1 { font-size: 54px; } }
.program-hero h1 em {
    font-style: normal;
    color: #c0392b;
}
.program-hero__sub {
    font-size: 16px;
    color: #C8D0D8;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 580px;
}
@media(min-width:768px) { .program-hero__sub { font-size: 18px; } }

/* ── Trust Strip ── */
.program-trust-strip {
    background: #fff;
    border-bottom: 1px solid #e2e6ed;
    padding: 16px 0;
}
.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.trust-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}
.trust-icon svg {
    width: 20px;
    height: 20px;
    stroke: #8b1a1a;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Program Sections ── */
.program-section {
    padding: 56px 0;
}
@media(min-width:768px) { .program-section { padding: 72px 0; } }
.program-section--white { background: #fff; }
.program-section--light { background: #f5f6f8; }

.program-section .eyebrow {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b1a1a;
    margin-bottom: 8px;
}
.program-section .section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 10px;
    color: #1a1a1a;
}
@media(min-width:768px) { .program-section .section-title { font-size: 40px; } }
.program-section .section-sub {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 700px;
}
.program-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media(min-width:768px) { .program-section .container { padding: 0 40px; } }

/* ── Why Cards Grid ── */
.program-why-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media(min-width:640px) { .program-why-grid { grid-template-columns: 1fr 1fr; } }
.program-why-card {
    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 10px;
    padding: 28px 24px;
    transition: box-shadow 0.2s;
}
.program-why-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.program-why-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}
.program-why-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ── Career Pathways Grid ── */
.program-pathways-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
@media(min-width:640px) { .program-pathways-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .program-pathways-grid { grid-template-columns: 1fr 1fr 1fr; } }
.program-pathway-card {
    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.program-pathway-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}
.program-pathway-card p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}
.pathway-salary {
    font-size: 13px;
    font-weight: 600;
    color: #15803d;
    background: #f0faf4;
    border: 1px solid #bbf7d0;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    display: inline-block;
}
.pathway-cta {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #8b1a1a;
    text-decoration: none;
    transition: color 0.2s;
}
.pathway-cta:hover {
    color: #c0392b;
}

/* ── Final CTA ── */
.program-final-cta {
    background: #0A1628;
    padding: 56px 0;
    text-align: center;
    color: #fff;
}
.program-final-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.program-final-cta h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 12px;
}
@media(min-width:768px) { .program-final-cta h2 { font-size: 40px; } }
.program-final-cta p {
    font-size: 16px;
    color: #C8D0D8;
    margin-bottom: 24px;
}
.program-final-cta .btn-cta {
    display: inline-block;
    padding: 14px 36px;
    background: #8b1a1a;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(139,26,26,0.3);
}
.program-final-cta .btn-cta:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* ── School Hero Features (Waldorf etc) ── */
.school-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}
.school-hero-features .feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.school-hero-features .feature-tag svg {
    width: 14px;
    height: 14px;
    stroke: #15803d;
    fill: none;
    stroke-width: 2.5;
}

/* ── School Program Cards ── */
.school-programs-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media(min-width:640px) { .school-programs-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .school-programs-grid { grid-template-columns: 1fr 1fr 1fr; } }
.school-program-card {
    background: #fff;
    border: 1px solid #e2e6ed;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.school-program-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.school-program-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a1a;
}
.school-program-card p {
    font-size: 13px;
    color: #6b7280;
}
