:root {
    --primary-color: #0234B3;
    --secondary-color: #1F5EFF;
    --accent-color: #0234B3;
    --yellow-accent: #EAFE6C;
    --light-blue: #e3ecff;
    --dark-text: #333;
}

/* Team Tabs Styling */
.team-tabs {
    border-bottom: none !important;
}

.team-tabs .nav-link {
    color: #495057 !important;
    background-color: #fff !important;
    border: 2px solid #dee2e6 !important;
    margin-right: 5px;
    border-radius: 5px !important;
    font-weight: 500;
}

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

.team-tabs .nav-link.active {
    color: var(--primary-color) !important;
    background-color: #fff !important;
    border-color: var(--primary-color) !important;
}

.team-tabs .nav-item:last-child .nav-link {
    margin-right: 0;
}

/* Team Images Styling */
.team-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

/* Floating Les Boeken Button */
.floating-les-boeken {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
    display: none;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(2, 52, 179, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
}

.floating-les-boeken:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 52, 179, 0.4);
    color: white;
    text-decoration: none;
}

.floating-les-boeken.show {
    display: block;
}

/* Only show on mobile devices */
@media (min-width: 768px) {
    .floating-les-boeken {
        display: none !important;
    }
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

html {
    scroll-padding-top: 80px;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

.text-primary {
    color: var(--primary-color) !important;
}

.accordion-button {
    font-size: 1.2rem;
}

h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section {
    color: white;
    min-height: 70vh;
    padding-top: 80px; 
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Video Background Styling */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100%;
    min-width: 177.78vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    z-index: -2;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 11, 64, 0.8) 0%, rgba(4, 11, 64, 0.8) 100%);
    z-index: -1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero Video Sound Toggle */
.hero-sound-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-sound-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.hero-sound-btn:active {
    transform: scale(0.95);
}

.hero-sound-btn i {
    transition: all 0.2s ease;
}


.navbar {
    background: rgba(2, 52, 179, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--primary-color) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.8rem;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

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

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

.btn-primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-cta {
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: #1e4dd8;
    border-color: #1e4dd8;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(2, 52, 179, 0.4);
}

.btn-cta-navbar {
    background: white;
    border-color: white;
    color: var(--primary-color);
}

.btn-cta-navbar:hover {
    background: transparent;
    border-color: white;
    color: white;
    transform: translateY(-1px);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--yellow-accent);
    border-radius: 0;
}

.card {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.price-card {
    background: linear-gradient(145deg, white, var(--light-blue));
    border: 2px solid var(--accent-color);
}

.price-card.featured {
    background: linear-gradient(145deg, var(--accent-color), var(--secondary-color));
    color: white;
    transform: scale(1.05);
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.level-badge {
    background: var(--yellow-accent);
    color: var(--dark-text);
    padding: 5px 15px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
}

.footer {
    background: #00022b;
    color: white;
    padding: 60px 0 30px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(2, 52, 179, 0.1) 0%, rgba(31, 94, 255, 0.1) 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer h5 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo {
    height: 50px;
    width: auto;
    display: block;
}

.footer h6 {
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer p {
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.9;
}

.gap-3 {
    gap: 1rem !important;
    margin: 25px 0px;
}

.seo-credit {
    font-weight: 400 !important;
}

.seo-credit:hover {
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
}

/* Mobile styling */
@media (max-width: 991px) {
    /* Add margin for events image on mobile */
    .events-image {
        margin-top: 30px;
    }
    
    /* Footer styling */
    .footer .row.align-items-center > div {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    
    .footer .row.align-items-center > div:last-child {
        margin-bottom: 0;
    }
    
    .footer .col-md-4.text-md-end {
        text-align: center !important;
    }
    
    .footer .col-md-4.text-md-end a {
        display: block;
        margin: 0.25rem 0;
    }
}

.footer a {
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.footer .d-flex a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    font-size: 0.7rem;
    border: 2px solid white;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
}

.footer .d-flex a:hover {
    transform: translateY(-3px);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    
    /* Video responsive adjustments - already handled by object-fit: cover */
}

/* Partner Logo Slider */

.partner-section {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    overflow: hidden;
}

.partner-slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partner-slider {
    display: inline-flex;
    animation: scroll-left 30s linear infinite;
    align-items: center;
    gap: 3rem;
}

.partner-logo {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.partner-logo:hover {
    transform: scale(1.1);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.partner-slider-container:hover .partner-slider {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-slider {
        gap: 2rem;
        animation-duration: 20s;
    }
    
    .partner-logo {
        width: 120px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .partner-slider {
        gap: 1.5rem;
        animation-duration: 15s;
    }
    
    .partner-logo {
        width: 100px;
        height: 50px;
    }
}

/* SVG Logo Specific Styling */
.partner-logo svg {
    max-width: 100%;
    max-height: 100%;
    fill: #6c757d; /* Default grijze kleur */
    transition: fill 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover svg {
    fill: var(--accent-color); /* Blauw bij hover */
    transform: scale(1.05);
}

/* Floating WhatsApp Menu */
.floating-whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-whatsapp {
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    cursor: pointer;
}

.floating-whatsapp-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-whatsapp-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-menu-item {
    margin-bottom: 5px;
}

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

.whatsapp-menu-item a {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    color: #333;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.whatsapp-menu-item a:hover {
    background-color: #f8f9fa;
    color: #555;
}

.whatsapp-menu-item.highlighted a {
    background-color: #f8f9fa;
    color: #333;
}

.whatsapp-menu-item i {
    margin-right: 12px;
    width: 24px;
    text-align: center;
    color: #25D366;
    font-size: 20px;
}

.whatsapp-menu-item.highlighted i {
    font-size: 24px;
    width: 28px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 404 Error Page Styling */
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
}

.error-content {
    padding: 60px 0;
}

.error-number h1 {
    font-size: 8rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-message h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.quick-link-card {
    padding: 30px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(2, 52, 179, 0.15);
}

.quick-link-card a {
    color: inherit;
    display: block;
    height: 100%;
}

.quick-link-card h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.helpful-links h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .error-number h1 {
        font-size: 5rem;
    }
    
    .error-message h2 {
        font-size: 2rem;
    }
    
    .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 15px !important;
    }
}

/* Content Text Styling */
.content-text {
    line-height: 1.8;
    color: var(--dark-text);
    margin-top: 2rem;
}

.content-text h3 {
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-text h3:first-child {
    margin-top: 0;
}

.content-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.content-text ul {
    margin-bottom: 1.2rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

/* Standalone page styling */
.section-padding.standalone-page {
    padding-top: 120px;
}

/* H1 margin for standalone contact section */
#contact h1.section-title {
    margin-top: 40px;
}