/* ==========================================================================
   CSS VARIABELEN & RESET
   ========================================================================== */

:root {
    /* Kleuren */
    --primary-color: #7c3aed;
    --secondary-color: #2563eb;
    --accent-color: #8b5cf6;
    --dark-bg: #0f0f0f;
    --dark-card: #1a1a1a;
    --dark-hover: #252525;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: filter 0.3s ease;
}


/* ==========================================================================
   TOEGANKELIJKHEID - ACCESSIBILITY MENU
   ========================================================================== */

.accessibility-menu {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
}

.accessibility-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10000;
}

.accessibility-toggle:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.7);
}

.accessibility-toggle:active {
    transform: scale(0.95);
}

.accessibility-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: var(--dark-card);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.3);
    display: none;
}

.accessibility-panel.active {
    display: block;
    animation: slideUp 0.3s ease;
}

.accessibility-panel h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.accessibility-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accessibility-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accessibility-option label {
    cursor: pointer;
    flex-grow: 1;
    color: var(--text-light);
    font-size: 0.95rem;
}

.accessibility-option input[type="checkbox"] {
    width: 50px;
    height: 26px;
    position: relative;
    cursor: pointer;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

.accessibility-option input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    background: white;
    transition: all 0.3s ease;
}

.accessibility-option input[type="checkbox"]:checked::before {
    left: 26px;
}

/* Hoog Contrast Mode */
body.high-contrast {
    --dark-bg: #000000;
    --dark-card: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #ffffff;
    --primary-color: #ffff00;
    --accent-color: #ffff00;
}

body.high-contrast .video-info p,
body.high-contrast .text-muted {
    color: #ffffff !important;
}

body.high-contrast .nav-link {
    color: #ffffff !important;
}

body.high-contrast .btn-primary {
    background: #ffff00;
    color: #000000;
}

/* Grijstinten Mode (No Colors) - FIX voor fixed elements */
body.grayscale .navbar,
body.grayscale .hero-section,
body.grayscale .cta-section,
body.grayscale .news-section,
body.grayscale .videos-section,
body.grayscale .contact-section,
body.grayscale .footer,
body.grayscale .video-modal-overlay {
    filter: grayscale(100%);
}

/* Accessibility menu blijft buiten grayscale */
body.grayscale .accessibility-menu {
    filter: none;
}

/* Grotere Tekst */
body.large-text {
    font-size: 120%;
}

body.large-text h1 {
    font-size: 5rem !important;
}

body.large-text h2 {
    font-size: 3rem !important;
}

body.large-text .lead {
    font-size: 1.5rem !important;
}

/* Verminderde Animaties */
body.reduced-motion * {
    animation: none !important;
    transition: none !important;
}


/* ==========================================================================
   NAVIGATIE
   ========================================================================== */

.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(124, 58, 237, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}


/* ==========================================================================
   HERO SECTIE - NIEUW DESIGN MET FOTO ONDERAAN
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 0;
    background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

.hero-section .row {
    flex-direction: column-reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content .lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    line-height: 1.7;
}

.text-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Docent Foto - Onderaan geplaatst, natuurlijk uitlopend */
.teacher-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: -80px;
    z-index: 1;
}

.teacher-photo {
    max-width: 100%;
    max-height: 600px;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    transition: all 0.5s ease;
    opacity: 1;
    filter: drop-shadow(0 -10px 60px rgba(124, 58, 237, 0.4));
}

/* Fade out effect bij scrollen - wordt toegepast via JavaScript */
.teacher-photo.fade-scroll {
    opacity: 0.3;
    transform: translateY(50px);
}

.image-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: var(--gradient-primary);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-youtube {
    background: #ff0000;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.6);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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


/* ==========================================================================
   CTA SECTIE (YOUTUBE) MET PROGRESS BAR
   ========================================================================== */

.cta-section {
    padding: 100px 0;
    background: var(--dark-card);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.youtube-icon {
    color: var(--primary-color);
    animation: bounce 2s ease-in-out infinite;
}

/* YouTube Milestone Progress Bar */
.milestone-progress {
    max-width: 800px;
    margin: 3rem auto 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.milestone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.milestone-current {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.milestone-target {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 600;
}

.milestone-target .goal {
    color: var(--text-light);
    font-weight: 700;
}

/* Bootstrap Progress Bar - Custom Styling */
.progress {
    height: 40px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.progress-bar {
    background: linear-gradient(90deg, #ff0000 0%, #cc0000 50%, #ff0000 100%);
    background-size: 200% 100%;
    border-radius: 50px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: shimmer 3s ease-in-out infinite;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50px 50px 0 0;
}

/* Striped animatie override voor onze custom styling */
.progress-bar-striped {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 40px 40px;
}

.progress-bar-animated {
    animation: shimmer 3s ease-in-out infinite, 
               progress-bar-stripes 1s linear infinite;
}

/* Stats onder de progress bar */
.milestone-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Milestone Badge */
.milestone-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 50px;
    color: #ff6b6b;
    font-weight: 600;
    margin-top: 1rem;
}

.milestone-badge svg {
    width: 20px;
    height: 20px;
}

/* Animaties */
@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 40px 0;
    }
    100% {
        background-position: 0 0;
    }
}


/* ==========================================================================
   NIEUWS SECTIE
   ========================================================================== */

.news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.news-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    display: flex;
    align-items: center;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.news-card-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card .btn-outline-primary {
    border-color: white;
    color: white;
    margin-top: auto;
}

.news-card .btn-outline-primary:hover {
    background: white;
    color: #667eea;
}


/* ==========================================================================
   VIDEO'S SECTIE - MODERN DESIGN MET BETERE LEESBAARHEID
   ========================================================================== */

.videos-section {
    padding: 100px 0;
    background: 
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        var(--dark-bg);
}

.videos-section h2 {
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Tabs */
.nav-pills {
    gap: 10px;
}

.nav-pills .nav-link {
    color: var(--text-muted);
    background: var(--dark-card);
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    background: var(--dark-hover);
    color: var(--text-light);
    border-color: rgba(124, 58, 237, 0.3);
}

.nav-pills .nav-link.active {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    border-color: transparent;
}

/* Modern Video Cards */
.video-card {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(124, 58, 237, 0.1);
    height: 100%;
    position: relative;
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 20px;
}

.video-card:hover::before {
    opacity: 0.05;
}

.video-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.4);
    border-color: rgba(124, 58, 237, 0.5);
}

/* Video Wrapper met Play Button Overlay */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 100%);
    border-radius: 20px 20px 0 0;
}

.video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

/* Video Info met moderne typografie en betere leesbaarheid */
.video-info {
    padding: 1.75rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, var(--dark-card) 0%, rgba(26, 26, 26, 0.95) 100%);
}

.video-info h5 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-info h5 {
    color: var(--accent-color);
}

/* BETERE LEESBAARHEID voor omschrijving */
.video-info p {
    color: #e5e5e5;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.video-info p.text-muted {
    color: #cccccc !important;
}

/* Play Button Overlay op Video Card */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
}

.video-play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.video-card:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 0, 0, 1);
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.6);
}

/* Duration Badge */
.video-info .badge {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #c4b5fd;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.video-card:hover .video-info .badge {
    background: rgba(124, 58, 237, 0.3);
    border-color: rgba(124, 58, 237, 0.5);
    transform: scale(1.05);
}


/* ==========================================================================
   VIDEO MODAL / POPUP
   ========================================================================== */

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.video-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.video-modal {
    background: var(--dark-card);
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.4s ease;
}

.video-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, rgba(124, 58, 237, 0.1), transparent);
}

.video-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    flex: 1;
    padding-right: 2rem;
}

.video-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.video-modal-close:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: rotate(90deg);
}

.video-modal-body {
    padding: 0;
}

.video-modal-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
}

.video-modal-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-footer {
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.3);
}

.video-modal-description {
    padding: 1.5rem 2rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.btn-modal-youtube {
    background: #ff0000;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-modal-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    color: white;
}

.btn-modal-watch {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-modal-watch:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* Responsive modal */
@media (max-width: 768px) {
    .video-modal {
        border-radius: 10px;
        max-height: 95vh;
    }
    
    .video-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .video-modal-title {
        font-size: 1.1rem;
        padding-right: 1rem;
    }
    
    .video-modal-description {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .video-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .btn-modal-youtube,
    .btn-modal-watch {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   CONTACT SECTIE
   ========================================================================== */

.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-info {
    margin-top: 2rem;
}

/* Social Media Cards */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-link-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.social-link-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.social-link-card.youtube:hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-color: #FF0000;
}

.social-link-card.instagram:hover {
    background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
    border-color: #E1306C;
}

.social-link-card.tiktok:hover {
    background: linear-gradient(135deg, #00f2ea 0%, #ff0050 100%);
    border-color: #00f2ea;
}

.social-link-card.email:hover {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    border-color: #4285F4;
}

.social-link-card.whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-color: #25D366;
}

.social-link-card.whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-color: #25D366;
}

.social-icon {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.social-link-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

.social-name {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--dark-card);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.footer p {
    color: var(--text-muted);
    margin: 0;
}


/* ==========================================================================
   ANIMATIES
   ========================================================================== */

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: translateX(-50%) scale(1); 
    }
    50% { 
        opacity: 0.5; 
        transform: translateX(-50%) scale(1.1); 
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease-in;
}


/* ==========================================================================
   SCROLLBAR STYLING
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}


/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 991px) {
    .hero-section {
        padding: 100px 0 0;
        text-align: center;
    }
    
    .hero-section .container {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .teacher-image-container {
        margin-top: 1rem;
        min-height: 400px;
    }
    
    .teacher-photo {
        max-height: 500px;
        height: auto;
        object-fit: contain;
    }
    
    .nav-pills {
        flex-wrap: wrap;
    }
    
    .nav-pills .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    /* Progress bar responsive */
    .milestone-header {
        flex-direction: column;
        text-align: center;
    }
    
    .milestone-current {
        font-size: 1.75rem;
    }
    
    .milestone-stats {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    /* Social Media Grid op tablet */
    .social-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-section .container {
        min-height: 90vh;
    }
    
    .videos-section,
    .cta-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .display-4,
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Social Media Grid */
    .social-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 600px;
    }
    
    .social-link-card {
        padding: 30px 20px;
        min-height: 180px;
    }
    
    .social-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .social-name {
        font-size: 1rem;
    }
    
    .news-card-img {
        height: 150px;
    }
    
    /* Video Cards op mobiel */
    .video-card {
        border-radius: 16px;
    }
    
    .video-wrapper {
        border-radius: 16px 16px 0 0;
    }
    
    .video-info {
        padding: 1.25rem;
    }
    
    /* Foto aanpassingen mobiel */
    .teacher-photo {
        max-height: 350px;
    }
    
    .teacher-image-container {
        min-height: 300px;
        margin-top: 1rem;
    }
    
    /* Accessibility menu op mobiel */
    .accessibility-menu {
        right: 10px;
        bottom: 10px;
        z-index: 10000;
    }
    
    .accessibility-toggle {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .accessibility-panel {
        width: 280px;
        bottom: 70px;
    }
    
    /* Progress bar mobiel */
    .milestone-progress {
        padding: 1.5rem;
    }
    
    .progress {
        height: 30px;
    }
    
    .progress-bar {
        font-size: 0.85rem;
    }
    
    .milestone-current {
        font-size: 1.5rem;
    }
    
    .milestone-target {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
    }
    
    .social-link-card {
        padding: 25px 15px;
        min-height: 160px;
    }
    
    .social-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .social-name {
        font-size: 0.85rem;
    }
    
    .video-info h5 {
        font-size: 1rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
    
    .teacher-photo {
        max-height: 300px;
    }
    
    .teacher-image-container {
        min-height: 250px;
    }
    
    /* Progress bar extra klein scherm */
    .milestone-header {
        gap: 0.5rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}