:root {
    /* === SCHOOLKLEUREN DE RANK (huisstijl rankhelmond.nl) === */
    --school-primary: #239cd7;      /* Hoofdkleur: blauw van rankhelmond.nl */
    --school-secondary: #1c7cab;     /* Donkerder blauw (hover / verloop) */
    --school-accent: #f8c008;        /* Geel uit het logo */
    --school-circle: rgba(45, 170, 200, 0.7); /* Ronde knoppen zoals op rankhelmond.nl */

    /* Logokleuren De Rank (bolletjes in het logo) */
    --rank-blue: #2098d8;
    --rank-green: #90c020;
    --rank-red: #b81818;
    --rank-orange: #e85810;
    --rank-yellow: #f8c008;
    --rank-pink: #e01078;
    --rank-darkgreen: #187830;
    --rank-navy: #282058;

    /* Automatisch berekende tinten */
    --school-primary-light: color-mix(in srgb, var(--school-primary) 12%, white);
    --school-primary-dark: #1c7cab;
    --school-secondary-light: color-mix(in srgb, var(--school-secondary) 15%, white);
    --school-secondary-dark: color-mix(in srgb, var(--school-secondary) 85%, black);

    /* Neutrale kleuren */
    --color-dark: #222222;
    --color-light: #f3f8fc;
    --color-gray: #4a4a4a;
    --color-gray-light: #e6e6e6;

    /* Typografie: Nova Round (koppen) + Montserrat (broodtekst), zoals rankhelmond.nl */
    --font-heading: 'Nova Round', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem;
    --card-radius: 1.5rem;
    --btn-radius: 2rem;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark);
    /*background-color: var(--color-light);*/
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400; /* Nova Round heeft een enkel gewicht */
    line-height: 1.3;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: var(--school-primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--school-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Utility Classes
   =================================== */
.bg-primary { background-color: var(--school-primary) !important; }
.bg-secondary { background-color: var(--school-secondary) !important; }
.bg-accent { background-color: var(--school-accent) !important; }
.bg-light { background-color: var(--color-light) !important; }
.bg-gradient {
    background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%) !important;
}

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

.rounded-xl { border-radius: var(--card-radius) !important; }
.rounded-pill { border-radius: var(--btn-radius) !important; }

/* ===================================
   Buttons - Ronde, speelse stijl
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--btn-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: var(--school-primary-dark);
    border-color: var(--school-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-secondary {
    background-color: var(--school-secondary);
    color: white;
    border-color: var(--school-secondary);
}

.btn-secondary:hover {
    background-color: var(--school-secondary-dark);
    border-color: var(--school-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--school-primary);
    border-color: var(--school-primary);
}

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

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

.btn-white:hover {
    background-color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* ===================================
   Header & Navigation - Moderne stijl
   =================================== */
.site-header {
    position: relative;
    z-index: 1000;
}

.top-bar {
    background: linear-gradient(90deg, var(--school-primary), var(--school-secondary));
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
    color: white;
}

.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
    max-height: 70px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    max-height: 55px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark) !important;
    padding: 0.75rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .nav-link {
        font-size: 0.875rem;
        padding: 0.75rem 0.6rem !important;
    }
    .navbar-brand img {
        max-height: 56px;
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--school-primary), var(--school-secondary));
    border-radius: 3px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

/* ===================================
   Hero Section - Wave Design
   =================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background img,
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(35, 156, 215, 0.25) 0%,
        rgba(28, 124, 171, 0.35) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 4rem calc(var(--bs-gutter-x, 1.5rem) * .5); /* kolompadding behouden, ook op mobiel */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Ronde, halftransparante knoppen zoals op rankhelmond.nl */
.hero-circles {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--school-circle);
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.25;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-circle-lg {
    width: 170px;
    height: 170px;
    font-size: 1.2rem;
}

.hero-circle:hover {
    background: var(--school-primary);
    color: white;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Wave bottom SVG */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 5;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Decoratieve elementen */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.shape-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float-shape 15s ease-in-out infinite;
}

.shape-blob-1 {
    width: 400px;
    height: 400px;
    background: white;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-blob-2 {
    width: 300px;
    height: 300px;
    background: var(--school-accent);
    bottom: 100px;
    left: -50px;
    animation-delay: -5s;
}

.shape-blob-3 {
    width: 200px;
    height: 200px;
    background: white;
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===================================
   Welcome Section - Split Layout
   =================================== */
.welcome-section {
    padding-bottom: var(--section-padding) 0;
    position: relative;
    margin-top: -60px;
    z-index: 6;
}

.welcome-image-wrapper {
    position: relative;
}

.welcome-image-main {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.welcome-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.welcome-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.welcome-badge-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
}

.welcome-badge-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.welcome-content {
    padding-left: 2rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--school-primary-light);
    color: var(--school-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--btn-radius);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--school-primary);
}

.welcome-features {
    margin: 2rem 0;
}

#onderwijs {
	margin-top: 100px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: #f2f2f2;
}

.feature-item:hover {
	background: var(--school-primary-light);
    
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.feature-text {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* ===================================
   News Section - Modern Grid
   =================================== */
.news-section {
    padding: var(--section-padding) 0;
}

.news-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

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

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--btn-radius);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--school-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    display: inline-block;
    background: var(--school-primary-light);
    color: var(--school-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--btn-radius);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-title a {
    color: var(--color-dark);
}

.news-title a:hover {
    color: var(--school-primary);
}

.news-excerpt {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   Groups Section - Tree Alternative: Stepping Stones
   =================================== */
.groups-section {
    padding-bottom: var(--section-padding);
    background: linear-gradient(180deg, white 0%, var(--color-light) 100%);
    position: relative;
    overflow: hidden;
}

.groups-path {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Centrale lijn/pad */
.groups-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, var(--school-primary), var(--school-secondary));
    border-radius: 4px;
    z-index: 1;
}

.group-stone {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    z-index: 2;
}

.group-stone:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 55%;
}

.group-stone:nth-child(even) {
    justify-content: flex-end;
    padding-left: 55%;
}

.group-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    max-width: 400px;
    width: 100%;
}

.group-card:hover {
    transform: scale(1.05);
    border-color: var(--school-primary);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.group-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.group-number-sm {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.group-card:hover .group-number {
    transform: rotate(10deg) scale(1.1);
}

.group-info h4 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.group-info p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Connector dots */
.group-stone::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--school-primary);
    border-radius: 50%;
    z-index: 3;
}

/* Kleuren per groep: de bolletjes uit het logo van De Rank */
.group-1 .group-number { background: linear-gradient(135deg, #e85810, #f07a3a); }  /* oranje: groepen 0-1-2 */
.group-2 .group-number { background: linear-gradient(135deg, #b81818, #d23a3a); }  /* rood: groep 3 */
.group-3 .group-number { background: linear-gradient(135deg, #f8c008, #fcd23c); color: var(--color-dark); }  /* geel: groep 4 */
.group-4 .group-number { background: linear-gradient(135deg, #90c020, #a6d43c); }  /* groen: groep 5 */
.group-5 .group-number { background: linear-gradient(135deg, #2098d8, #3fb0ec); }  /* blauw: groep 6 */
.group-6 .group-number { background: linear-gradient(135deg, #e01078, #ee3c96); }  /* roze: groep 7 */
.group-7 .group-number { background: linear-gradient(135deg, #187830, #2a9a48); }  /* donkergroen: groep 8 */
.group-8 .group-number { background: linear-gradient(135deg, #282058, #3f3580); }  /* navy: reserve */

/* ===================================
   Testimonials Section - Sliding Cards
   =================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.testimonial-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 2rem;
    height: 100%;
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--school-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: var(--school-accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--section-padding) 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
    border-radius: calc(var(--card-radius) * 2);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Footer - Clean Modern
   =================================== */
/* Lichte footer, zoals op rankhelmond.nl: witte achtergrond met blauwe koppen */
.site-footer {
    background: var(--color-light);
    color: var(--color-gray);
    padding-top: 4rem;
    border-top: 4px solid var(--school-primary);
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    max-height: 70px;
}

.footer-description {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(35, 156, 215, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--school-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--school-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--school-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--color-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a i {
    color: var(--school-primary);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--school-primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--color-gray);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(35, 156, 215, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--school-primary);
}

.footer-contact-label {
    font-weight: 600;
    color: var(--color-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

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

footer a {
	color: var(--color-gray);
}

footer a:hover {
	color: var(--school-primary);
}

.footer-copyright {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--school-primary);
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--school-primary), var(--school-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1199.98px) {
    :root {
        --section-padding: 4rem;
    }
    
    .welcome-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .welcome-badge {
        bottom: -20px;
        right: 20px;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .group-stone:nth-child(odd),
    .group-stone:nth-child(even) {
        justify-content: center;
        padding: 0 1rem;
    }
    
    .groups-path::before {
        left: 30px;
        transform: none;
    }
    
    .group-stone::after {
        left: 30px;
        transform: translateY(-50%);
    }
    
    .group-card {
        margin-left: 60px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 3rem;
        --card-radius: 1rem;
    }
    
    body {
        font-size: 15px;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0 6rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .welcome-image-main img {
        height: 300px;
    }
    
    .welcome-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-flex;
        gap: 0.5rem;
        align-items: center;
    }
    
    .welcome-badge-number {
        font-size: 1.5rem;
    }
    
    .cta-box {
        padding: 2.5rem 1.5rem;
        border-radius: var(--card-radius);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* ===================================
   Prefers Reduced Motion
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .site-header,
    .hero-section,
    .back-to-top,
    .site-footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: black;
        background: white;
    }
}


/* ===================================
   NIEUW: Quick Pills Section (Alternatief 3)
   =================================== */
.quick-pills-section {
    padding: var(--section-padding) 0;
    background: var(--color-light);
}

.quick-pills-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.quick-pills-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    color: var(--school-primary);
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.quick-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--school-primary);
    color: var(--school-primary);
    background: white;
}

.quick-pill i {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.quick-pill:hover i {
    transform: scale(1.25) rotate(-5deg);
}

@media (max-width: 767px) {
    .quick-pills-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0.5rem 0 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .quick-pills-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .quick-pill {
        flex-shrink: 0;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}


/* ===================================
   NIEUW: Education Tabs Section (Alternatief 4)
   =================================== */
.education-tabs-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--color-light) 0%, white 100%);
}

/* Tabs Navigation */
.edu-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.edu-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 2px solid var(--color-gray-light);
    border-radius: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.edu-tab:hover {
    border-color: var(--school-primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.edu-tab.active {
    background: white;
    border-color: var(--school-primary);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.edu-tab-icon {
    width: 48px;
    height: 48px;
    background: color-mix(in srgb, var(--tab-clr) 15%, white);
    color: var(--tab-clr);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.edu-tab.active .edu-tab-icon,
.edu-tab:hover .edu-tab-icon {
    background: var(--tab-clr);
    color: white;
    transform: scale(1.05);
}

.edu-tab-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.edu-tab-text strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-dark);
}

.edu-tab-text small {
    font-size: 0.8rem;
    color: var(--color-gray);
}

.edu-tab-arrow {
    color: var(--color-gray);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.edu-tab.active .edu-tab-arrow,
.edu-tab:hover .edu-tab-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--school-primary);
}

/* Tab Panels */
.edu-tabs-content {
    position: relative;
    min-height: 480px;
}

.edu-panel {
    display: none;
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    animation: panelFadeIn 0.4s ease;
}

.edu-panel.active {
    display: block;
}

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

.edu-panel-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.edu-panel-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, white, transparent);
}

.edu-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.edu-panel:hover .edu-panel-image img {
    transform: scale(1.05);
}

.edu-panel-body {
    padding: 1.75rem;
}

.edu-panel-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.edu-panel-body > p {
    color: var(--color-gray);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.edu-panel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.edu-panel-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.edu-panel-list i {
    color: var(--school-secondary);
    font-size: 1.1rem;
}

/* Education Tabs Responsive */
@media (max-width: 991.98px) {
    .education-tabs-section .row {
        flex-direction: column;
    }
    
    .edu-tabs-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .edu-tab {
        flex-shrink: 0;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        min-width: 120px;
    }
    
    .edu-tab-text {
        align-items: center;
    }
    
    .edu-tab-arrow {
        display: none;
    }
    
    .edu-tabs-content {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .edu-tab {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .edu-tab-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .edu-tab-text strong {
        font-size: 0.85rem;
    }
    
    .edu-tab-text small {
        display: none;
    }
    
    .edu-panel-image {
        height: 180px;
    }
    
    .edu-panel-body {
        padding: 1.25rem;
    }
    
    .edu-panel-body h3 {
        font-size: 1.25rem;
    }
}