/* ============================================
   Multi-page layout: About, Programs, Contact
   ============================================ */

/* Active nav link */
.nav-link-active {
    font-weight: 700;
    color: var(--primary-color, #2563eb) !important;
}

/* --- Page Hero (all content pages) --- */
.page-hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 64, 175, 0.6) 100%);
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    color: #fff;
}

.page-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.page-hero-lead {
    font-size: 1.125rem;
    max-width: 560px;
    opacity: 0.95;
    line-height: 1.6;
}

/* --- Content blocks (shared) --- */
.content-block {
    padding: 4rem 0;
}

.content-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark, #1f2937);
    margin-bottom: 1rem;
}

.content-lead {
    font-size: 1.0625rem;
    color: var(--text-light, #6b7280);
    margin-bottom: 2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.content-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* --- About: Intro two-column --- */
.content-intro .content-heading {
    margin-bottom: 1.25rem;
}

.content-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-light, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
}

.content-card-accent {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(16, 185, 129, 0.06));
    border-color: rgba(37, 99, 235, 0.2);
}

.content-card-accent h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color, #2563eb);
}

/* --- About: Values grid --- */
.content-values {
    background: var(--bg-light, #f9fafb);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.value-icon {
    margin-bottom: 1rem;
    color: var(--primary-color, #2563eb);
}

.value-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.value-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* --- About: Quote strip --- */
.content-quote {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-dark, #1e40af), var(--primary-color, #2563eb));
}

.page-quote {
    margin: 0;
    text-align: center;
    color: #fff;
}

.page-quote p {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 1rem;
    font-style: italic;
}

.page-quote cite {
    font-size: 0.9375rem;
    font-style: normal;
    opacity: 0.9;
}

/* --- CTA block (shared) --- */
.content-cta {
    background: var(--bg-light, #f9fafb);
    text-align: center;
}

.content-cta .content-heading {
    margin-bottom: 0.5rem;
}

.content-cta .content-lead {
    margin-bottom: 1.5rem;
}

.content-cta .btn-hero-primary,
.content-cta .btn-hero-secondary {
    margin: 0 0.5rem 0.5rem;
}

.content-cta .btn-hero-secondary {
    background: #fff;
    border: 2px solid var(--primary-color, #2563eb);
    color: var(--primary-color, #2563eb);
}

.content-cta .btn-hero-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* --- Programs: Timeline --- */
.content-timeline {
    background: #fff;
}

.timeline {
    max-width: 680px;
    margin: 2rem auto 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), var(--secondary-color, #10b981));
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* --- Programs: Compact program cards --- */
.content-programs-cards {
    background: var(--bg-light, #f9fafb);
}

.program-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.program-card-compact {
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.program-card-compact-featured {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
}

.program-card-compact-header {
    margin-bottom: 1rem;
}

.program-card-compact-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color, #2563eb);
    margin-bottom: 0.5rem;
}

.program-card-compact h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.program-card-compact p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.program-card-compact-link {
    font-weight: 600;
    color: var(--primary-color, #2563eb);
    text-decoration: none;
    transition: color 0.2s;
}

.program-card-compact-link:hover {
    color: var(--primary-dark, #1e40af);
}

/* --- Programs: Who is it for --- */
.content-who {
    background: #fff;
}

.who-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.who-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.who-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--secondary-color, #10b981);
}

/* --- Contact page: form only --- */
.contact-page-section {
    padding: 5rem 0 6rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contact-page-header {
    margin-bottom: 2.5rem;
}

.contact-page-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-page-lead {
    font-size: 1.0625rem;
    color: var(--text-light);
    max-width: 480px;
    margin: 0 auto;
}

.contact-page-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.contact-form-page {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-page .btn-primary {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    .page-hero {
        min-height: 36vh;
        padding: 5rem 0 3rem;
    }
    .content-block {
        padding: 3rem 0;
    }
    .content-cta .btn-hero-primary,
    .content-cta .btn-hero-secondary {
        display: block;
        margin: 0.5rem auto;
    }
    .timeline-item {
        gap: 1rem;
    }
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
