:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --light: #ffffff;
    --dark: #1f2937;
    --gray: #f8fafc;
    --gray-dark: #6b7280;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.header-content {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    white-space: nowrap;
}

.logo span.accent {
    color: var(--accent);
}

.logo span.white {
    color: white;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

header p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e58e0a;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn i {
    margin-right: 8px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light);
    color: var(--light);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Mission Section */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mission-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 40px 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary);
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.mission-card p {
    color: var(--gray-dark);
}

/* Training Section */
.training-section {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 60px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.training-group {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.training-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.group-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.group-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.group-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.group-title h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
}

.group-title p {
    color: var(--gray-dark);
    margin-top: 5px;
}

.website-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 25px;
}

.website-card {
    background: var(--gray);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.website-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.website-img {
    height: 130px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.website-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.website-card:hover .website-img img {
    transform: scale(1.05);
}

.website-content {
    padding: 15px;
}

.website-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.website-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.website-link:hover {
    color: var(--primary-dark);
}

.website-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.training-provider {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    /* border-top: 1px solid #e5e7eb; */
    color: var(--gray-dark);
}

.training-provider a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.training-provider a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    text-align: center;
    padding: 80px 0;
    border-radius: var(--radius);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

   /* Back to top button styles */
    #btn-back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: none;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        background-color: #2c5aa0;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        line-height: 1;
    }
    
    #btn-back-to-top:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        background-color: #1e3d6f;
    }

    #btn-back-to-top.show {
        display: flex !important;
    }

    /* Specifieke styling voor het icoon om perfect te centreren */
    #btn-back-to-top i {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        text-align: center !important;
    }

    /* Reset voor bootstrap classes */
    .btn-floating {
        padding: 0 !important;
        margin: 0 !important;
    }

    .btn-lg {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
    }

/* Footer */
footer {
    background-color: var(--dark);
    /* color: var(--light); */
    padding: 20px 0 20px;
}

/* .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light);
} */

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    border-radius: 50%;
    color: var(--light);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.social-links a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    /* padding-top: 30px; */
    /* border-top: 1px solid #374151; */
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 70px 0 50px;
    }
    
    header h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    header p {
        font-size: 1.1rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .header-content > div {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        padding: 0 15px;
    }
    
    .training-section {
        padding: 35px 25px;
        margin-top: 30px;
    }
    
    .training-group {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .group-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .group-icon {
        margin-right: 0;
    }
    
    .website-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .website-card {
        max-width: 100%;
    }
    
    .website-img {
        height: 140px;
    }
    
    .website-content h4 {
        height: auto;
        min-height: 2.6em;
    }
    
    .mission-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
        padding: 0 10px;
    }
    
    .mission-card {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
       .logo {
        font-size: 1.3rem;
        white-space: nowrap !important;
        overflow: visible;
        text-overflow: unset;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        display: block !important;
        text-align: center !important;
        /* Voeg deze toe: */
        word-spacing: -0.2em; /* Verwijdert ruimte tussen de spans */
    }
    
    .logo span {
        display: inline !important;
        word-spacing: normal; /* Reset voor de spans */
    }


    header {
        padding: 60px 0 40px;
    }
    
    header h1 {
        font-size: 1.8rem;
        padding: 0 5px;
    }
    
    header p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .btn-outline {
        margin-top: 10px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .training-section {
        padding: 25px 15px;
    }
    
    .website-grid {
        grid-template-columns: 1fr;
        /*gap: 15px;*/
    }
    
    .website-img {
        height: 130px;
    }
    
    .group-title h3 {
        font-size: 1.3rem;
    }
    
    .group-title p {
        font-size: 0.95rem;
    }
    
    .training-provider {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    /* Zorg voor betere padding op hele kleine schermen */
    .container {
        padding: 0 12px;
    }
}

/* Extra kleine schermen */
@media (max-width: 360px) {
    header h1 {
        font-size: 1.6rem;
    }
    
    header p {
        font-size: 0.95rem;
    }
    
    .training-section {
        padding: 20px 12px;
    }
    
    .website-content {
        padding: 12px;
    }
    
    .website-content h4 {
        font-size: 0.85rem;
    }
}