/* === AUTO RIJOPLEIDING SPECIFIEKE STYLING === */
/* === COURSE DETAIL HERO (SYNCHRONISATIE) === */
.course-detail-hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Achtergrond foto over volle breedte */
.course-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../img/autoRijlesBG.png') no-repeat center 20%;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
}

/* Donkere overlay voor leesbaarheid */
.course-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
    z-index: 2;
}

.course-hero-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 6rem 1.5rem;
}

/* Hero Badge Styling */
.course-hero-content .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    background: var(--primary-blue);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 147, 200, 0.25);
}

/* De Titel (Blauw + Wit) */
.course-detail-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.course-detail-hero h1 span {
    color: #ffffff;
    font-size: inherit;
    font-weight: inherit;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 500;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* === MOBIEL: CENTRERING EN FIXES === */
@media (max-width: 768px) {
    .course-detail-hero { min-height: 450px; }
    .course-hero-content .hero-badge { display: none; } /* Badge weg op mobiel voor rust */
    
    .course-detail-hero h1 { 
        font-size: 2.25rem; 
        text-align: center;
    }
    
    .hero-subtitle { 
        font-size: 1.05rem; 
        text-align: center;
    }
}

/* --- Content Sections --- */
.section-intro {
    padding: 5rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.bg-light { background-color: #f8fafc; }
.bg-dark { 
    background: var(--primary-blue-dark); 
    color: var(--white);
}

/* --- Requirements Grid --- */
.section-procedure { padding: 6rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { font-size: 2.25rem; color: var(--primary-blue-dark); margin-bottom: 1rem; }

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.req-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.req-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.req-card p { font-weight: 600; font-size: 0.95rem; color: var(--gray-800); }

/* --- Phases Timeline --- */
.section-phases { padding: 6rem 0; }
.phases-timeline {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.phase-item {
    display: flex;
    gap: 2rem;
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    align-items: center;
}

.phase-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue-light);
    opacity: 0.3;
}

.phase-content h3 { color: var(--primary-blue-dark); margin-bottom: 1rem; }
.phase-content ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.phase-content li::before { content: "→"; color: var(--primary-blue); margin-right: 8px; font-weight: bold; }

/* --- Expectations --- */
.section-expectations { padding: 6rem 0; }
.expectations-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.exp-column h3 { margin-bottom: 2rem; font-size: 1.75rem; color: var(--white); }
.check-list { list-style: none; padding: 0; }
.check-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-list li::before {
    content: "✓";
    background: var(--primary-blue);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* --- Info Cards --- */
.section-extra-info { padding: 6rem 0; }
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    padding: 3rem;
    background: #f0f9ff;
    border-radius: 30px;
}

.info-card h3 { color: var(--primary-blue-dark); margin-bottom: 1rem; }

/* --- Final CTA --- */
.section-final-cta { padding-bottom: 6rem; }
.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 5rem;
    border-radius: 40px;
    color: var(--white);
    text-align: center;
}

.cta-box h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn-primary, .btn-whatsapp {
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn-primary { background: var(--white); color: var(--primary-blue-dark); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-primary:hover, .btn-whatsapp:hover { transform: translateY(-3px); }

/* --- Responsive --- */
@media (max-width: 768px) {
    .expectations-split, .info-grid { grid-template-columns: 1fr; }
    .phase-item { flex-direction: column; text-align: center; }
    .phase-content ul { grid-template-columns: 1fr; text-align: left; }
    .cta-buttons { flex-direction: column; }
    .phase-number { font-size: 2rem; }
}
/* --- Pricing Section --- */
.section-pricing {
    padding: 6rem 0;
    border-top: 1px solid #e2e8f0;
}

.pricing-content {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-content h2 {
    font-size: 2.25rem;
    color: var(--primary-blue-dark);
    margin-bottom: 1.5rem;
}

.pricing-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.text-center { text-align: center; }
/* --- Content Sections (Introductie) --- */
.section-intro {
    padding: 4rem 0 6rem;
    background: var(--white);
}

.intro-box {
    max-width: 850px;
    margin: 0 auto;
    /* Lichtblauwe achtergrond, passend bij de hero */
    background: linear-gradient(to right, #f0f9ff, #f8fafc);
    padding: 3rem;
    border-radius: 24px;
    /* Accentstreep aan de linkerkant */
    border-left: 6px solid var(--primary-blue);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
    /* Subtiele schaduw voor diepte */
    box-shadow: 0 15px 30px rgba(0, 147, 200, 0.08);
}

/* De eerste alinea extra nadruk geven */
.intro-lead {
    font-weight: 700;
    color: var(--primary-blue-dark);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Mobiele aanpassing voor de intro box */
@media (max-width: 768px) {
    .intro-box {
        padding: 2rem;
        font-size: 1.05rem;
    }
    .intro-lead {
        font-size: 1.15rem;
    }
}