/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Color Variables */
:root {
    --primary-dark: #2c1810;
    --primary-light: #f8f6f3;
    --accent-gold: #d4af37;
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --text-medium: #666666;
    --border-light: #e5e5e5;
    --shadow: rgba(0, 0, 0, 0.1);
    --background-white: #ffffff;
    --background-light: #f8f6f3;
    --background-dark: #2c1810;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    border: 2px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: #b8941f;
    border-color: #b8941f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--background-dark);
    border-color: var(--text-light);
}

/* Header */
.header {
    background-color: var(--primary-light);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 10px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-light);
        box-shadow: 0 4px 20px var(--shadow);
        z-index: 1000;
    }
    
    .nav.active .nav-menu {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav.active .nav-item {
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav.active .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav.active .nav-link {
        display: block;
        padding: 1rem 0;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
        color: var(--text-dark);
    }
    
    h2 {
        font-size: 2rem;
        color: var(--text-dark);
    }
    
    .section-dark h1,
    .section-dark h2 {
        color: var(--text-light);
    }
    
    .hero h1,
    .hero h2 {
        color: var(--text-light);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    /* About content mobile order for tablets */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    /* Course layout mobile order for tablets */
    .course-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-main {
        order: 1;
    }
    
    .course-sidebar {
        order: 2;
    }
    
    /* Contact info layout mobile order for tablets */
    .contact-info-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-info-text {
        order: 1;
    }
    
    .contact-info-card {
        order: 2;
    }
    
    /* CTA content mobile order for tablets */
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-text {
        order: 1;
    }
    
    .cta-box {
        order: 2;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer mobile - Force single column layout */
    .footer {
        padding: 40px 0 20px;
        overflow-x: hidden;
    }
    
    .footer-content {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .footer-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        float: none !important;
        clear: both !important;
    }
    
    .footer-section h4,
    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--text-light);
        text-align: center !important;
    }
    
    .footer-links {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer-links li {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    
    .footer-links a {
        display: inline-block !important;
        padding: 0.5rem 1rem !important;
        text-align: center !important;
        width: auto !important;
    }
    
    .footer-logo {
        justify-content: center !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        display: flex !important;
    }
    
    .footer-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        text-align: center !important;
        padding: 0 1rem;
        width: 100% !important;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1rem;
        text-align: center !important;
        width: 100% !important;
        clear: both !important;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Footer extra small screens - Force single column */
    .footer {
        padding: 30px 0 15px;
        overflow-x: hidden;
    }
    
    .footer-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .footer-section {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
        float: none !important;
        clear: both !important;
    }
    
    .footer-section h4,
    .footer-title {
        font-size: 1.1rem !important;
        text-align: center !important;
    }
    
    .footer-links {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer-links li {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0.3rem !important;
        text-align: center !important;
    }
    
    .footer-links a {
        font-size: 0.9rem !important;
        text-align: center !important;
        padding: 0.3rem 0.5rem !important;
        display: inline-block !important;
    }
    
    .footer-description {
        font-size: 0.85rem !important;
        text-align: center !important;
        padding: 0 0.5rem !important;
        width: 100% !important;
    }
    
    .footer-bottom {
        padding-top: 1rem !important;
        text-align: center !important;
        width: 100% !important;
        clear: both !important;
    }
    
    .footer-copyright p {
        font-size: 0.75rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Hero mobile order for extra small screens */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-image img {
        max-width: 100%;
        height: auto;
    }
    
    .contact-form {
        margin: 0 15px;
        padding: 1.5rem;
    }
    
    /* Course layout mobile */
    .course-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-box {
        position: static;
    }
    
    /* Footer tablet */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col:nth-child(2),
    .footer-col:nth-child(3) {
        text-align: center;
    }
    
    .footer-col:nth-child(4),
    .footer-col:nth-child(5) {
        text-align: center;
    }
    
    /* Contact info layout mobile */
    .contact-info-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-info-text h2 {
        color: var(--text-light);
    }
    
    .contact-info-card h3 {
        color: var(--text-dark);
    }
    
    .contact-info-card .contact-item {
        color: var(--text-dark);
    }
    
    /* About content mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Approach grid mobile */
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Benefits grid mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Info grid mobile */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact methods mobile */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Expertise grid mobile */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Success stories mobile */
    .success-stories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Belgian content mobile */
    .belgian-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Resources grid mobile */
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Legal content mobile */
    .legal-content {
        padding: 0 15px;
    }
    
    /* Cookie banner mobile */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cookie-category-header h4 {
        margin-bottom: 0;
    }
}

/* Hero Section */
.hero {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/financial-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Hero image mobile styles */
@media (max-width: 768px) {
    .hero-image img {
        height: 300px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        height: 250px;
        max-width: 100%;
    }
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.section-light {
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-dark .section-title h2 {
    color: var(--text-light);
}

.section-title .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background-color: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.course-level {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.course-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.section-dark .stat-label {
    color: var(--text-light);
}

/* Contact Form */
.contact-form {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--background-white);
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-intro p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-alternatives {
    margin-top: 4rem;
    text-align: center;
}

.contact-alternatives h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.method-icon {
    margin-bottom: 1.5rem;
}

.method-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.contact-method h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.contact-method p {
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #b8941f;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Force mobile layout to be single column */
@media (max-width: 768px) {
    .footer-content {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .footer-section {
        display: block !important;
        width: 100% !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
    }
    
    .footer-section:last-child {
        margin-bottom: 0 !important;
    }
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.footer-logo .logo-text {
    color: var(--text-light);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Footer responsive improvements */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    display: block;
    padding: 0.2rem 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* Fix footer overlap issues */
.footer {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.footer-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.footer-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

/* Ensure proper spacing on mobile */
@media (max-width: 480px) {
    .footer {
        position: static;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-content {
        position: static;
        z-index: auto;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-section {
        position: static;
        z-index: auto;
        clear: both;
        float: none;
        width: 100%;
        max-width: 100%;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
}

.back-to-top.show {
    display: flex;
}

/* Mobile back to top button */
@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Universal mobile order for all two-column sections */
@media (max-width: 768px) {
    .about-content,
    .course-layout,
    .contact-info-layout,
    .cta-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text,
    .course-main,
    .contact-info-text,
    .cta-text {
        order: 1 !important;
    }
    
    .about-image,
    .course-sidebar,
    .contact-info-card,
    .cta-box {
        order: 2 !important;
    }
}

@media (max-width: 480px) {
    .about-content,
    .course-layout,
    .contact-info-layout,
    .cta-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center;
    }
    
    .about-text,
    .course-main,
    .contact-info-text,
    .cta-text {
        order: 1 !important;
    }
    
    .about-image,
    .course-sidebar,
    .contact-info-card,
    .cta-box {
        order: 2 !important;
    }
}

@media (max-width: 320px) {
    .about-content,
    .course-layout,
    .contact-info-layout,
    .cta-content {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        text-align: center;
    }
    
    .about-text,
    .course-main,
    .contact-info-text,
    .cta-text {
        order: 1 !important;
    }
    
    .about-image,
    .course-sidebar,
    .contact-info-card,
    .cta-box {
        order: 2 !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        color: var(--text-dark);
    }
    
    h2 {
        font-size: 1.6rem;
        color: var(--text-dark);
    }
    
    .section-dark h1,
    .section-dark h2 {
        color: var(--text-light);
    }
    
    .hero h1,
    .hero h2 {
        color: var(--text-light);
    }
    
    /* Hero mobile order for small screens */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    /* About content mobile order */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    /* Course layout mobile order */
    .course-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-main {
        order: 1;
    }
    
    .course-sidebar {
        order: 2;
    }
    
    /* Contact info layout mobile order */
    .contact-info-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-info-text {
        order: 1;
    }
    
    .contact-info-card {
        order: 2;
    }
    
    /* CTA content mobile order */
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-text {
        order: 1;
    }
    
    .cta-box {
        order: 2;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
        color: var(--text-dark);
    }
    
    h2 {
        font-size: 1.4rem;
        color: var(--text-dark);
    }
    
    .section-dark h1,
    .section-dark h2 {
        color: var(--text-light);
    }
    
    .hero h1,
    .hero h2 {
        color: var(--text-light);
    }
    
    .hero {
        padding: 70px 0 30px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .contact-form {
        margin: 0 10px;
        padding: 1rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Course Layout */
.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.course-main h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.learning-objectives {
    margin-bottom: 2rem;
}

.learning-objectives ul {
    list-style: none;
    padding: 0;
}

.learning-objectives li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.learning-objectives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.course-modules {
    margin-bottom: 2rem;
}

.module {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

.module h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cta-box {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.cta-box h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Contact Info Layout */
.contact-info-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info-text h2 {
    color: var(--text-light);
}

.contact-info-card {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info-card .contact-item {
    color: var(--text-dark);
}

.contact-info-card .contact-item span:not(.contact-icon) {
    color: var(--text-dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
}

.contact-item span:not(.contact-icon) {
    color: var(--text-dark);
}

.contact-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    color: var(--text-dark);
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 1rem;
    margin: 0;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

.about-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.approach-icon {
    margin-bottom: 1.5rem;
}

.approach-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.approach-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.approach-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Ensure all text in benefit items is dark */
.benefit-item * {
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-medium);
}

/* Courses Page Styles */
.courses-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.courses-intro h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.courses-intro p {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.course-features li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.courses-info {
    margin-top: 4rem;
    text-align: center;
}

.courses-info h3 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.info-item h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-medium);
    line-height: 1.5;
    margin: 0;
}

/* About Page Styles */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-icon {
    margin-bottom: 1.5rem;
}

.expertise-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.expertise-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.expertise-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

.success-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-item {
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-content {
    padding: 2rem;
}

.story-content h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.story-content p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.story-author {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Course Detail Page Styles */
.module-details {
    margin-top: 1rem;
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.module-details h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.module-details ul {
    margin-bottom: 1rem;
}

.module-details li {
    color: var(--text-medium);
    margin-bottom: 0.3rem;
}

.additional-content {
    margin-top: 3rem;
}

.belgian-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.content-item {
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.content-item h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.content-item p {
    color: var(--text-medium);
    line-height: 1.5;
}

.course-resources {
    margin-top: 3rem;
}

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

.resource-item {
    padding: 1.5rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    text-align: center;
}

.resource-item h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.resource-item p {
    color: var(--text-medium);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border-light);
}

.faq-answer p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin-left: 1.5rem;
}

.faq-answer li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-section h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px var(--shadow);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--background-white);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px var(--shadow);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: var(--accent-gold);
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #999;
    cursor: not-allowed;
}

.cookie-category p {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    text-align: right;
}

/* Dark Section Overrides */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--text-light);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.9);
}

.section-dark .subtitle {
    color: var(--accent-gold);
}

.hero h1 {
    color: var(--text-light);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact section specific overrides */
.section-dark .contact-info-text h2 {
    color: var(--text-light);
}

.section-dark .contact-info-card {
    background-color: var(--background-white);
}

.section-dark .contact-info-card h3,
.section-dark .contact-info-card .contact-item,
.section-dark .contact-info-card .contact-item span:not(.contact-icon),
.section-dark .contact-info-card .contact-icon {
    color: var(--text-dark);
}

/* Benefits section specific overrides */
.section-dark .benefit-item {
    background-color: var(--background-white);
}

.section-dark .benefit-item h3,
.section-dark .benefit-item p,
.section-dark .benefit-item * {
    color: var(--text-dark);
}

.section-dark .benefit-item p {
    color: var(--text-medium);
}

/* Additional overrides for white cards in dark sections */
.section-dark .course-card,
.section-dark .info-item,
.section-dark .expertise-item,
.section-dark .story-item,
.section-dark .resource-item,
.section-dark .content-item {
    background-color: var(--background-white);
}

.section-dark .course-card h3,
.section-dark .course-card p,
.section-dark .info-item h4,
.section-dark .info-item p,
.section-dark .expertise-item h3,
.section-dark .expertise-item p,
.section-dark .story-content h4,
.section-dark .story-content p,
.section-dark .resource-item h4,
.section-dark .resource-item p,
.section-dark .content-item h4,
.section-dark .content-item p {
    color: var(--text-dark);
}

.section-dark .course-card p,
.section-dark .info-item p,
.section-dark .expertise-item p,
.section-dark .story-content p,
.section-dark .resource-item p,
.section-dark .content-item p {
    color: var(--text-medium);
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}
