/*
Theme Name: VoordeligBHV
Theme URI: https://www.voordeligbhv.nl
Author: Krijg Het Online
Author URI: https://www.krijghetonline.nl
Description: Een professioneel WordPress thema voor VoordeligBHV.nl met BHV en EHBO cursussen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voordeligbhv
Tags: education, business, responsive, custom-menu
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    /* TEXT */
    --h1: 600 64px/72px "Inter", sans-serif;
    --h2: 600 48px/60px "Inter", sans-serif;
    --h3: 600 30px/37px "Inter", sans-serif;
    --h4: 600 24px/27px "Inter", sans-serif;
    --p: 400 18px/27px "Inter", sans-serif;

    /* COLORS */
    --primare: #ED6E12;
    --primare-light: #FFD8B3;
    --primare-extra-light: #FEF8F3;
    --primary-dark: #BE580E;
    --text-dark: #111111;
    --text-gray: #666666;
    --white: #FFFFFF;

    /* BORDER */
    --border-radius: 24px;
    --border-radius-bg: 9999px;

    /* PADDING */
    --section-padding: 10rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--white);
    overflow-x: hidden;
}
body .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 96px;
}
@media (max-width: 1200px) {
    body .container {
        padding: 0 48px;
    }
    
    header .hamburger.active {
        right: 48px;
    }
}
@media (max-width: 600px) {
    body .container {
        padding: 0 24px;
    }
    :root {
        --h1: 600 48px/56px "Inter", sans-serif;
        --h2: 600 36px/40px "Inter", sans-serif;
        --h3: 600 24px/28px "Inter", sans-serif;
        --h4: 600 20px/24px "Inter", sans-serif;
        --p: 400 16px/24px "Inter", sans-serif;
        --section-padding: 5rem;
    }
}



/* TEXT */
span.top {
    font: var(--p);
    color: var(--text-gray);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}
span.top::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--primare);
    border-radius: var(--border-radius-bg);
    margin-right: 12px;
}
h1 {
    font: var(--h1);
}
h2 {
    font: var(--h2);
    color: var(--text-dark);
    margin-bottom: 24px;
}
h3 {
    font: var(--h3);
    color: var(--text-dark);
}
h4 {
    font: var(--h4);
    color: var(--text-dark);
}
p {
    font: var(--p);
    color: var(--text-gray);
}
a {
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primare);
    color: var(--white);
    border-radius: var(--border-radius-bg);
    text-decoration: none;
    font: var(--p);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primare);
    cursor: pointer;
}
.btn:hover {
    background-color: var(--primary-dark);
} 
.btn.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

/* Responsive button styling */
@media (max-width: 600px) {
    .btn {
        padding: 14px 28px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Specifieke buttons 100% breed op mobiel */
    .hero-slide .btn,
    #cta .btn,
    .wpcf7-form input[type="submit"],
    .form-actions .btn,
    .sidebar-card .btn {
        width: 100%;
    }
}
.nikta {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background-color: var(--white);
    border-radius: var(--border-radius-bg);
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}






/* TOP SECTIE */
#top {
    background-color: var(--primare);
}
#top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Contactgegevens links */
#top .contact-info ul {
    display: flex;
    align-items: center;
    gap: 24px;
}
#top .contact-info ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}
#top .contact-info ul li svg {
    flex-shrink: 0;
    color: var(--white);
    opacity: 0.9;
}
#top .contact-info ul li a {
    color: var(--white);
    font: var(--p);
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
}
#top .contact-info ul li a:hover {
    color: var(--primare-light);
}

/* Submenu rechts */
#top .submenu {
    display: flex;
}
#top .submenu ul {
    display: flex;
}
#top .submenu ul li:first-child a {
    border-left: none;
}
#top .submenu ul li:last-child a {
    padding-right: 0;
}
#top .submenu ul li a {
    color: var(--white);
    font: var(--p);
    font-size: 16px;
    text-decoration: none;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    padding: .5rem 24px;
    display: block;
}
#top .submenu ul li a:hover {
    color: var(--primare-light);
}

/* Responsive styling voor top sectie */
@media (max-width: 992px) {
    #top .contact-info ul {
        gap: 16px;
    }
    #top .contact-info ul li a {
        font-size: 14px;
    }
    #top .submenu ul li a {
        font-size: 14px;
        padding: .5rem 16px;
    }
}

@media (max-width: 768px) {
    #top .contact-info ul li a {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    #top .container {
        justify-content: flex-end;
    }
    /* Verberg contactgegevens op mobiel */
    #top .contact-info {
        display: none;
    }
    #top .submenu ul li a {
        font-size: 13px;
        padding: .5rem 12px;
    }
}

/* HEADER */
header {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    padding: 1.5rem 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
header .logo img {
    width: 100%;
    height: 48px;
}

/* Hamburger menu button */
header .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}
header .hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}
header .hamburger.active {
    position: fixed;
    top: 1.5rem;
    right: 96px;
}
header .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
header .hamburger.active span:nth-child(2) {
    opacity: 0;
}
header .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Desktop menu */
header .menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}
header .menu ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
}
header .menu > ul > li {
    position: relative;
}
/* Verberg mobile-only items op desktop */
header .menu > ul > li.mobile-only {
    display: none;
}
header .menu > ul > li > a {
    color: var(--text-dark);
    font: var(--p);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    position: relative;
    padding: 1.25rem .25rem;

}

/* Indicator voor submenu items (alleen desktop) */
header .menu > ul > li:has(ul) > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

header .menu > ul > li:hover:has(ul) > a::after {
    transform: rotate(180deg);
}

header .menu ul li a:hover {
    color: var(--primare);
}
  
/* Dropdown menu */
header .menu ul li ul {
    display: none;
    position: absolute;
    top: calc(100% - 8px);
    left: 0;
    min-width: 350px;
    max-width: 400px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    list-style: none;
    z-index: 1000;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Toon dropdown bij hover met animatie */
header .menu ul li:hover > ul {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Dropdown links */
header .menu ul li ul li {
    transition: background-color 0.2s ease;
}

header .menu ul li ul li:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

header .menu ul li ul li:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

header .menu ul li ul li a {
    font: var(--p);
    font-weight: 400;
    color: var(--text-dark);
    transition: all 0.2s ease;
    padding: 12px 24px;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    position: relative;
}

header .menu ul li ul li a:hover {
    color: var(--primare);
    background-color: var(--primare-extra-light);
}


/* Responsive header voor tablets en mobiel */
@media (max-width: 1150px) {
    header .hamburger {
        display: flex;
    }
    
    /* Verberg desktop submenu indicator op mobiel */
    header .menu > ul > li:has(ul) > a::after {
        display: none;
    }
    
    header .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 2rem;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    header .menu.active {
        right: 0;
    }
    
    header .menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    header .menu > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    /* Toon mobile-only items op mobiel */
    header .menu > ul > li.mobile-only {
        display: block;
    }
    
    header .menu > ul > li > a {
        padding: 1rem 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Pijltje voor submenu items in mobiel */
    header .menu > ul > li.has-submenu > a::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid currentColor;
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    header .menu > ul > li.has-submenu.submenu-active > a::after {
        transform: rotate(180deg);
    }
    
    /* Submenu styling voor mobiel */
    header .menu ul li ul {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        padding-left: 16px;
        width: 100%;
        opacity: 1;
        transform: none;
        transition: none;
        border: none;
    }
    
    header .menu ul li.submenu-active ul {
        display: block;
    }
    
    header .menu ul li:hover > ul {
        display: none;
    }
    
    header .menu ul li.submenu-active ul {
        display: block;
    }
    
    header .menu ul li ul li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    header .menu ul li ul li:last-child {
        border-bottom: none;
    }
    
    header .menu ul li ul li a {
        padding: 0.75rem 0;
    }
    
    header .menu ul li ul li a::before {
        display: none;
    }
    
    header .menu ul li ul li a:hover {
        padding-left: 0;
        background-color: transparent;
    }
    
    header .menu .btn {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 600px) {
    header .logo img {
        height: 36px;
    }
    
    header .menu {
        width: 85%;
    }
    
    header .hamburger.active {
        right: 24px;
    }
}

.contact-info ul {
    display: flex;
    align-items: center;
    gap: 24px;
}
.contact-info ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-info ul li a {
    color: var(--white);
    font: var(--p);
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
}





/* HERO SLIDESHOW */
#hero {
    overflow: hidden;
    position: relative;
}
.hero-slideshow {
    position: relative;
    width: 100%;
    height: calc(100vh - 135px);
    max-height: 950px;
    min-height: 500px;
}

/* Hero slideshow op niet-homepage pagina's */
body:not(.home) .hero-slideshow {
    height: 400px;
    max-height: 400px;
    min-height: 400px;
}

/* Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-slide:nth-child(1) .hero-background {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .85), rgba(0, 0, 0, .5)), url('assets/img/voordeligbhv-2.PNG');
}
.hero-slide:nth-child(2) .hero-background {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .85), rgba(0, 0, 0, .5)), url('assets/img/voordeligbhv-1.PNG');
}
.hero-slide:nth-child(3) .hero-background {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .85), rgba(0, 0, 0, .5)), url('assets/img/voordeligbhv-2.PNG');
}
.hero-slide .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 3rem;
}
.home .hero-slide .container {
    padding-bottom: 0;
    align-items: center;
}
.hero-slide .text {
    color: var(--white);
    max-width: 600px;
}
.hero-slide .text span.top {
    color: var(--white);
}
.hero-slide .text h1 {
    color: var(--white);
    margin-bottom: 24px;
}
.hero-slide .text p {
    color: var(--white);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 48px;
    opacity: 0.95;
}

/* Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
}
.hero-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}
.hero-arrow-prev {
    left: 32px;
}
.hero-arrow-next {
    right: 32px;
}

/* Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}
.hero-dot.active {
    background-color: var(--white);
    width: 32px;
    border-radius: 6px;
}

/* Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background-color: rgba(255, 255, 255, .1);
    z-index: 10;
}
.hero-progress-bar {
    height: 100%;
    background-color: var(--primare);
    width: 0%;
    transition: width 0.1s linear;
}

/* Responsive styling */
@media (max-width: 768px) {
    .hero-slideshow {
        height: 600px;
    }
    .hero-arrow {
        width: 48px;
        height: 48px;
    }
    .hero-arrow svg {
        width: 20px;
        height: 20px;
    }
    .hero-arrow-prev {
        left: 16px;
    }
    .hero-arrow-next {
        right: 16px;
    }
    .hero-dots {
        bottom: 60px;
    }
    .hero-dot {
        width: 10px;
        height: 10px;
        padding: 4px;
    }
    .hero-dot.active {
        width: 28px;
    }
}
@media (max-width: 600px) {
    .hero-slideshow {
        height: 500px;
    }
    .hero-slide .text h1 {
        font-size: 36px;
        line-height: 44px;
    }
    .hero-slide .text p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }
    .hero-arrow {
        width: 44px;
        height: 44px;
    }
    .hero-progress {
        height: 8px;
    }
}


#overons {
    padding: var(--section-padding) 0;
}
#overons .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}
#overons .img {
    position: relative;
    background-image: url('assets/img/voordeligbhv-1.PNG');
    background-size: cover;
    height: 725px;
    border-radius: var(--border-radius);
}
#overons .img .review {
    position: absolute;
    bottom: 24px;
    right: 24px;
    left: 24px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
}
#overons .img .review .stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}
#overons .img .review .stars .star {
    width: 24px;
    height: 23px;
    background-image: url('assets/vector/star.svg');
    background-size: cover;
    background-position: center;
}
#overons .img .review span {
    font: var(--p);
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin-bottom: .5rem;
}
#overons .text .icon-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 2.5rem 0;
}
#overons .text .icon-list .item {
    display: flex;
    gap: 24px;
    align-items: center;
}
#overons .text .icon-list .item .text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (max-width: 1000px) {
    #overons .container {
        grid-template-columns: 1fr;
    }
    #overons .img {
        height: 600px;
        order: 2;
    }
}
@media (max-width: 600px) {
    #overons {
        padding: 5rem 0;
    }
    #overons .text .icon-list {
        margin: 2rem 0;
    }
    #overons .container {
        gap: 48px;
    }
    #overons .img {
        height: 450px;
    }
}


#cursussen {
    padding: var(--section-padding) 0;
    background-color: var(--primary-dark);
}
#cursussen .header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
#cursussen .header .title h2 {
    color: var(--white);
}
#cursussen .header .title span.top{
    color: var(--white);
}
#cursussen .header .btns {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    align-items: center;
}
#cursussen .cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}
#cursussen .cards .card {
    border-radius: var(--border-radius);
    padding: 24px;
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    transition: background-size 0.3s ease;
}
#cursussen .cards .card-bhv {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .75)), url('assets/img/voordeligbhv-1.PNG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
#cursussen .cards .card-bhv:hover {
    background-size: cover;
}
#cursussen .cards .card-ehbo {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .75)), url('assets/img/voordeligbhv-2.PNG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
#cursussen .cards .card-ehbo:hover {
    background-size: cover;
}
#cursussen .cards .card .badges {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}
#cursussen .cards .card .badges img {
    width: 48px;
    height: 48px;
}
#cursussen .cards .card h3 {
    color: var(--white);
    margin-bottom: 12px;
}
#cursussen .cards .card p {
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive styling voor cursussen sectie */
@media (max-width: 1200px) {
    #cursussen .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 975px) {
    #cursussen .header {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    #cursussen .header .btns {
        justify-content: flex-start;
    }
    #cursussen .header h2 {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    #cursussen .cards {
        grid-template-columns: 1fr;
    }
    #cursussen .cards .card {
        height: 500px;
    }
}

@media (max-width: 600px) {
    #cursussen .header .btns {
        flex-direction: column;
        align-items: stretch;
    }
    #cursussen .header .btns .btn {
        width: 100%;
        text-align: center;
    }
    #cursussen .cards .card {
        height: 450px;
    }
}


#reviews {
    padding: var(--section-padding) 0;
}
#reviews .text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
#reviews .reviews {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}
#reviews .reviews .review {
    border-radius: var(--border-radius);
    padding: 40px 24px;
    background-color: var(--primare-extra-light);
}

#reviews .review .stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}
#reviews .review .stars .star {
    width: 24px;
    height: 23px;
    background-image: url('assets/vector/star.svg');
    background-size: cover;
    background-position: center;
}
#reviews .review span {
    font: var(--p);
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 600;
    display: block;
    margin-bottom: .5rem;
    text-align: center;
}
#reviews .review p {
    text-align: center;
}

/* Responsive styling voor reviews sectie */
@media (max-width: 1200px) {
    #reviews .reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #reviews .reviews {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    #reviews {
        padding: 5rem 0;
    }
    #reviews .reviews {
        margin-top: 32px;
    }
    #reviews .reviews .review {
        padding: 32px 20px;
    }
    #reviews .review span {
        font-size: 18px;
    }
}


#cta {
    background: linear-gradient( rgba(0, 0, 0, 0) 50%, #f1f1f1 50%);
}   
#cta .container {
    background-color: var(--primary-dark);
    border-radius: var(--border-radius);
}
#cta .box {
    padding: 80px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
#cta .box .text h2 {
    color: var(--white);
    margin-bottom: 1rem;
}
#cta .box .text p {
    color: var(--white);
}

/* Responsive styling voor CTA sectie */
@media (max-width: 768px) {
    #cta .box {
        flex-direction: column;
        align-items: stretch;
        padding: 60px 48px;
        text-align: center;
    }
    #cta .box .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    #cta .box {
        padding: 48px 24px;
    }
}

/* BEDRIJVEN LOGOS SECTIE */
#bedrijven-logos {
    padding: var(--section-padding) 0;
}
#bedrijven-logos .section-header {
    text-align: center;
    margin-bottom: 4rem;
}
#bedrijven-logos .section-header h2 {
    margin-bottom: 0;
}
.logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: center;
}
.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 120px;
}
.logo-item:hover {
    transform: scale(1.05);
}
.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 4rem;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive styling voor bedrijven logos */
@media (max-width: 768px) {
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* FOOTER */
#main-footer {
	padding: 5rem 0 0;
	background-color: #f1f1f1;
}
#main-footer h3 {
	color: #222;
	margin-bottom: .75rem;
	font-size: 1.25rem;
}
#main-footer p, #main-footer a  {
	color: #555;
    font: var(--p);
    font-size: 1rem;
}
#main-footer .footer-top {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 3rem;
}
#main-footer .footer-top .grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
#main-footer .footer-top .col {
	width: 100%;
}
#main-footer .footer-top .col .logo {
	width: 13rem;
	height: auto;
	margin-bottom: 1rem;
}
#main-footer .footer-top .col .contact-footer {
	margin-top: 2rem;
	padding:  2rem;
	border-radius: var(--border-radius);
	background-color: #ebebeb;
}

#main-footer .footer-top .col .contact-footer h3 {
	margin-bottom: 1rem;
}
#main-footer .footer-top .col .contact-footer .footer-contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: .5rem;
	margin-left: .2rem;
	color: var(--color-primary);
}
#main-footer .footer-top .col .footer-contact-item img {
	display: block;
	width: 1rem;
	height: 1rem;
	filter: brightness(0) saturate(100%) invert(27%) sepia(8%) saturate(413%) hue-rotate(314deg) brightness(94%) contrast(187%)
}
#main-footer .footer-top .col ul {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: .5rem 1.5rem;
}
#main-footer .footer-bottom {
	text-align: center;
	margin-top: 4rem;
	padding: 2rem 0;
	border-top: solid 1px #ddd;
}
#main-footer .footer-bottom a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s ease;
}
#main-footer .footer-bottom a:hover {
	color: var(--primare);
}

/* Responsive styling voor footer */
@media (max-width: 1200px) {
	#main-footer .footer-top {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	#main-footer .footer-top .grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	#main-footer .footer-top .grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	#main-footer .footer-top .col ul {
		grid-template-columns: 1fr;
		gap: .5rem;
	}
}

@media (max-width: 600px) {
	#main-footer {
		padding: 3rem 0 0;
	}
	#main-footer .footer-top .col .contact-footer {
		padding: 1.5rem;
	}
	#main-footer .footer-bottom {
		margin-top: 2rem;
	}
}






/* VOOR BEDRIJVEN PAGINA */
/* General styling */

.voorbedrijven #hero .hero-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 400px;
}
.voorbedrijven #hero .hero-slide .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}
.voorbedrijven #hero .hero-slide .container .text {
    max-width: 1000px;
}
.voorbedrijven #hero .hero-slide .container .text span.top {
    color: var(--white);
}

/* Responsive voor voorbedrijven hero */
@media (max-width: 768px) {
    .voorbedrijven #hero .hero-slideshow {
        height: 450px;
        min-height: 450px;
    }
    .voorbedrijven #hero .hero-slide .container {
        padding-bottom: 3rem;
    }
}

@media (max-width: 600px) {
    .voorbedrijven #hero .hero-slideshow {
        height: 400px;
        min-height: 400px;
    }
    .voorbedrijven #hero .hero-slide .container {
        padding-bottom: 2.5rem;
    }
}

#diensten {
    padding: var(--section-padding) 0;
}
#proces .container {
    background-color: var(--primary-dark);
    border-radius: var(--border-radius);
    padding: 96px;
}
#voordelen {
    padding: var(--section-padding) 0;
}
#rie-detail {
    padding: var(--section-padding) 0;
    background-color: var(--primare-extra-light);
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-header p {
    max-width: 800px;
    margin: 0 auto;
}


.section-header {
    max-width: 800px;
    margin: 0 auto;
}

/* Diensten sectie */
.diensten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.dienst-card {
    background-color: var(--primare-extra-light);
    border-radius: var(--border-radius);
    padding: 40px;
}
.dienst-card h3 {
    margin-bottom: 16px;
}
.dienst-card p {
    margin: 16px 0 24px;
}
.dienst-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primare);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.dienst-list {
    list-style: none;
    padding: 0;
}
.dienst-list li {
    padding: 8px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.dienst-list li img {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}
.dienst-list li span {
    font: var(--p);
    color: var(--text-dark);
}

/* Proces sectie */
#proces span.top {
    color: var(--white);
}
#proces h2 {
    color: var(--white);
}
.proces-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.proces-step {
    text-align: center;
}
.proces-step h3 {
    margin-bottom: 16px;
    color: var(--white);
}
.proces-step p {
    color: var(--white);
}
.proces-number {
    width: 80px;
    height: 80px;
    background-color: var(--primare);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font: 600 36px/1 'Inter', sans-serif;
}

/* Voordelen sectie */
#voordelen .section-header {
    max-width: 600px;
}
.voordelen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}
.voordeel-item {
    text-align: center;
}
.voordeel-item h4 {
    margin-bottom: 12px;
}
.voordeel-icon {
    width: 72px;
    height: 72px;
    background-color: var(--primare-extra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

/* RI&E Secties */

/* RI&E Introductie */
#rie-intro {
    padding: var(--section-padding) 0;
    background-color: var(--primare-extra-light);
}
.rie-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.rie-intro-content p {
    margin-bottom: 16px;
}
.rie-intro-content .box {
    margin: 2.5rem 0;
    padding-left: 2rem;
    display: block;
    border-left: 4px solid var(--primare);
}
.rie-intro-image {
    background-image: url('assets/img/rie.png');
    background-size: cover;
    background-position: center;
    height: 650px;
    border-radius: var(--border-radius);
}

/* RI&E Voordelen */
#rie-voordelen {
    padding: var(--section-padding) 0;
}
.rie-voordelen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.rie-voordeel-card {
    background-color: var(--primare-extra-light);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
}
.rie-voordeel-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primare);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.rie-voordeel-card h4 {
    margin-bottom: 16px;
}

/* RI&E Proces */
#rie-proces {
    padding: var(--section-padding) 0;
    background-color: var(--primare-extra-light);
}
.rie-proces-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.rie-proces-image {
    background-image: url('assets/img/voordeligbhv-2.PNG');
    background-size: cover;
    background-position: center;
    height: 600px;
    border-radius: var(--border-radius);
}
.rie-proces-content h2 {
    margin-bottom: 16px;
}
.rie-proces-content > p {
    margin-bottom: 40px;
}
.rie-proces-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.rie-proces-step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.rie-proces-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primare);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font: 600 28px/1 'Inter', sans-serif;
    flex-shrink: 0;
}
.rie-proces-step-item h4 {
    margin-bottom: 8px;
}

/* RI&E Resultaat */
#rie-resultaat {
    padding: var(--section-padding) 0;
}
.rie-resultaat-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.rie-resultaat-text h2 {
    margin-bottom: 24px;
}
.rie-resultaat-text > p {
    margin-bottom: 48px;
}
.rie-resultaat-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.rie-resultaat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--primare-extra-light);
    padding: 20px 24px;
    border-radius: 12px;
    text-align: left;
}
.rie-resultaat-item img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.rie-resultaat-item span {
    font: var(--p);
    color: var(--text-dark);
    font-weight: 500;
}

/* Responsive voor bedrijven pagina */
@media (max-width: 1200px) {
    .diensten-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .proces-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .voordelen-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .rie-voordelen-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    #proces .container {
        padding: 64px 48px;
    }
}

@media (max-width: 768px) {
    .proces-grid {
        grid-template-columns: 1fr;
    }
    .voordelen-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .rie-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rie-intro-image {
        height: 400px;
        order: 2;
    }
    .rie-proces-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rie-proces-image {
        height: 400px;
    }
    .rie-resultaat-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 600px) {
    .dienst-card {
        padding: 32px 24px;
    }
    .rie-intro-image {
        height: 300px;
    }
    .rie-voordeel-card {
        padding: 32px 24px;
    }
    .rie-proces-image {
        height: 300px;
    }
    .rie-proces-step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .rie-resultaat-item {
        padding: 16px 20px;
    }
    .logos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .logo-item {
        height: 120px;
        padding: 20px;
    }
    #diensten {
        padding: 5rem 0;
    }
    #voordelen {
        padding: 5rem 0;
    }
    #rie-intro {
        padding: 5rem 0;
    }
    #bedrijven-logos {
        padding: 5rem 0;
    }
    #proces .container {
        padding: 48px 24px;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .rie-intro-content .box {
        margin: 2rem 0;
        padding-left: 1.5rem;
    }
}



/* CURSUSSEN PAGINA */

/* Cursussen hero styling */
.cursussen-page #hero .hero-slideshow {
    height: 400px;
    min-height: 400px;
}

.cursussen-page #hero .hero-slide .container {
    align-items: flex-end;
    padding-bottom: 4rem;
}

.cursussen-page #hero .hero-slide .text {
    max-width: 1000px;
}

/* Cursussen overzicht sectie */
#cursussen-overzicht {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.cursussen-categorie {
    margin-bottom: 120px;
}

.cursussen-categorie:last-child {
    margin-bottom: 0;
}

.categorie-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.categorie-header p {
    margin-top: 1rem;
}

.cursussen-categorie .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cursussen-categorie .cards .card {
    border-radius: var(--border-radius);
    padding: 24px;
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    transition: background-size 0.3s ease;
}

.cursussen-categorie .cards .card-bhv {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .75)), url('assets/img/voordeligbhv-1.PNG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.cursussen-categorie .cards .card-bhv:hover {
    background-size: cover;
}

.cursussen-categorie .cards .card-ehbo {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .75)), url('assets/img/voordeligbhv-2.PNG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.cursussen-categorie .cards .card-ehbo:hover {
    background-size: cover;
}

.cursussen-categorie .cards .card .badges {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}

.cursussen-categorie .cards .card .badges img {
    width: 48px;
    height: 48px;
}

.cursussen-categorie .cards .card h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.cursussen-categorie .cards .card p {
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive voor cursussen pagina */
@media (max-width: 1200px) {
    .cursussen-categorie .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cursussen-categorie {
        margin-bottom: 100px;
    }
}

@media (max-width: 768px) {
    .cursussen-page #hero .hero-slideshow {
        height: 450px;
        min-height: 450px;
    }
    .cursussen-page #hero .hero-slide .container {
        padding-bottom: 3rem;
    }
    .cursussen-categorie .cards {
        grid-template-columns: 1fr;
    }
    
    .cursussen-categorie {
        margin-bottom: 80px;
    }
    
    .categorie-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .cursussen-page #hero .hero-slideshow {
        height: 400px;
        min-height: 400px;
    }
    .cursussen-page #hero .hero-slide .container {
        padding-bottom: 2.5rem;
    }
    #cursussen-overzicht {
        padding: 5rem 0;
    }
    
    .cursussen-categorie .cards .card {
        height: 450px;
    }
}


/* CONTACT PAGINA */

/* Contact hero styling */
.contact-page #hero .hero-slideshow {
    height: 400px;
    min-height: 400px;
}

.contact-page #hero .hero-slide .container {
    align-items: flex-end;
    padding-bottom: 4rem;
}

.contact-page #hero .hero-slide .text {
    max-width: 1000px;
}

/* Contact intro sectie */
#contact-intro {
    padding: var(--section-padding) 0;
    background-color: var(--primare-extra-light);
}

#contact-intro .intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

#contact-intro .intro-text p {
    margin-bottom: 1rem;
}

#contact-intro .intro-text p:last-child {
    margin-bottom: 0;
}

/* Contact content sectie */
#contact-content {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

/* Contact Form 7 styling */
.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

/* WPCF7 form styling */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wpcf7-form p {
    margin: 0;
}

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

.wpcf7-form-control-wrap {
    display: block;
}

/* Input en textarea styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font: var(--p);
    color: var(--text-dark);
    transition: all 0.3s ease;
    background-color: var(--white);
    font-size: 16px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primare);
    background-color: var(--primare-extra-light);
    box-shadow: 0 0 0 4px rgba(237, 110, 18, 0.1);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

/* Placeholder styling */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Submit button styling */
.wpcf7-form input[type="submit"] {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primare);
    color: var(--white);
    border-radius: var(--border-radius-bg);
    text-decoration: none;
    font: var(--p);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primare);
    cursor: pointer;
    width: 100%;
    margin-top: 0.5rem;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 110, 18, 0.3);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Spinner (loading indicator) */
.wpcf7-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--primare-light);
    border-top-color: var(--primare);
    border-radius: 50%;
    animation: wpcf7-spin 0.8s linear infinite;
    margin-left: 12px;
    vertical-align: middle;
}

@keyframes wpcf7-spin {
    to { transform: rotate(360deg); }
}

/* Response output (success/error messages) */
.wpcf7-response-output {
    margin-top: 1.5rem;
    padding: 16px 20px;
    border-radius: 12px;
    font: var(--p);
    font-size: 15px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background-color: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background-color: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.wpcf7-spam-blocked {
    background-color: #fef3c7;
    border: 2px solid #f59e0b;
    color: #92400e;
}

/* Validation error styling */
.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    display: block;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
    border-color: #dc2626;
    background-color: #fef2f2;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Hidden fields container */
.hidden-fields-container {
    display: none;
}

/* Responsive styling voor contact form */
@media (max-width: 600px) {
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea {
        padding: 12px 16px;
        font-size: 16px; /* Voorkomt zoom op iOS */
    }
    
    .wpcf7-form input[type="submit"] {
        padding: 16px 32px;
        font-size: 16px;
    }
}

/* Contact informatie */
.contact-info-wrapper h3 {
    margin-bottom: 2rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 56px;
    height: 56px;
    background-color: var(--primare-extra-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primare);
    flex-shrink: 0;
}

.contact-info-item .icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-item .text h4 {
    margin-bottom: 0.5rem;
}

.contact-info-item .text p {
    margin: 0;
}

.contact-info-item .text a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item .text a:hover {
    color: var(--primare);
}

/* Contact openingstijden */
.contact-hours {
    background-color: var(--primare-extra-light);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.contact-hours h4 {
    margin-bottom: 1rem;
}

.contact-hours p {
    margin: 0;
}

#map-contact {
    margin: 0 0 -5.4rem;
    z-index: -1;
    position: relative;
}
#map-contact iframe {
    border: none;
    width: 100%;
    height: 500px;
}

/* Responsive voor contact pagina */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .contact-page #hero .hero-slideshow {
        height: 450px;
        min-height: 450px;
    }
    .contact-page #hero .hero-slide .container {
        padding-bottom: 3rem;
    }
}

@media (max-width: 600px) {
    .contact-page #hero .hero-slideshow {
        height: 400px;
        min-height: 400px;
    }
    .contact-page #hero .hero-slide .container {
        padding-bottom: 2.5rem;
    }
    #contact-intro {
        padding: 5rem 0;
    }
    
    #contact-content {
        padding: 5rem 0;
    }
    
    .contact-info-item {
        gap: 1rem;
    }
    
    .contact-info-item .icon {
        width: 48px;
        height: 48px;
    }
    
    .contact-hours {
        padding: 1.5rem;
    }
    
    #map-contact iframe {
        height: 400px;
    }
}

/* Extra kleine schermen (iPhone SE, etc.) */
@media (max-width: 375px) {
    :root {
        --h1: 600 40px/48px "Inter", sans-serif;
        --h2: 600 32px/38px "Inter", sans-serif;
        --h3: 600 22px/26px "Inter", sans-serif;
    }
    
    body .container {
        padding: 0 20px;
    }
    
    .hero-slideshow {
        height: 450px !important;
        min-height: 450px !important;
    }
    
    .hero-slide .text h1 {
        font-size: 32px;
        line-height: 40px;
    }
    
    header .logo img {
        height: 42px;
    }
    
    #top .submenu ul li a {
        padding: .5rem 12px;
        font-size: 13px;
    }
    
    #cursussen .cards .card,
    .cursussen-categorie .cards .card {
        height: 400px;
    }
}

/* Landscape mobile devices */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-slideshow {
        height: 100vh !important;
        min-height: 500px !important;
    }
    
    #hero .hero-slide .container {
        padding-bottom: 2rem;
    }
    
    header {
        padding: 1rem 0;
    }
    
    header .logo img {
        height: 48px;
    }
    
    .hero-dots {
        bottom: 60px;
    }
}



/* ============================================
   SINGLE POST / CURSUS PAGINA STYLING
   ============================================ */

/* Breadcrumb sectie */
.breadcrumb-section {
    padding: 5rem 0 3rem 0;
    background-color: var(--white);
}

.breadcrumb-section .container {
    max-width: 1400px;
}

.breadcrumb-section h1 {
    margin-top: 0.5rem;
}

/* Post hero afbeelding */
.post-hero {
    padding: 0 0 3rem 0;
}

.post-hero-image {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/7;
}

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

/* Post content sectie */
.post-content-section {
    padding: 3rem 0 var(--section-padding) 0;
}

/* Post layout: twee kolommen */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

/* Hoofdcontent */
.post-main-content {
    width: 100%;
}

.post-main-content article {
    width: 100%;
}

.post-main-content .entry-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0;
    font-size: 2rem;
}

.post-main-content .entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-main-content .entry-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-main-content .entry-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.post-main-content .entry-content ul,
.post-main-content .entry-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-main-content .entry-content ul li,
.post-main-content .entry-content ol li {
    color: var(--text-gray);
    font: var(--p);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.post-main-content .entry-content ul li {
    list-style-type: disc;
}

.post-main-content .entry-content ol li {
    list-style-type: decimal;
}

/* Sidebar */
.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background-color: var(--primare-extra-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sidebar-card h3 {
    font-size: 24px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.sidebar-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.sidebar-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font: var(--p);
}

.sidebar-features li img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sidebar-price {
    margin: 2rem 0;
}

.sidebar-price .price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.sidebar-price .price-info {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

.sidebar-card .btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-weight: 600;
}

/* Responsive styling voor single posts */
@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .post-sidebar {
        position: static;
        order: -1;
    }
    
    .sidebar-card {
        max-width: 100%;
    }
}

/* =============================================
   DIRECT AANMELDEN PAGINA
   ============================================= */

#aanmeldformulier {
    padding: 6rem 0;
    background-color: var(--primare-extra-light);
}

.aanmeld-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

/* Formulier styling */
.aanmeld-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 1200px;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #E8EAEE;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 1rem;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-small {
    max-width: 150px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Info sidebar */
.aanmeld-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.info-box ul li:last-child {
    margin-bottom: 0;
}

.info-box ul li img {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E8EAEE;
}

.contact-details p {
    margin-bottom: 0.75rem;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary);
}

/* Waarom kiezen sectie */
#waarom-kiezen {
    padding: 5rem 0;
    background: white;
}

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

#waarom-kiezen .voordeel-item {
    text-align: center;
}

#waarom-kiezen .voordeel-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#waarom-kiezen .voordeel-icon img {
    width: 40px;
    height: 40px;
}

#waarom-kiezen .voordeel-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

#waarom-kiezen .voordeel-item p {
    color: var(--text);
    line-height: 1.6;
}

/* Responsive styling */
@media (max-width: 992px) {
    .aanmeld-content {
        gap: 2rem;
    }
    
    .aanmeld-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group-small {
        max-width: none;
    }
    
    #waarom-kiezen .voordelen-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    #aanmeldformulier {
        padding: 3rem 0;
    }
    
    .aanmeld-form {
        padding: 1.5rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .info-box {
        padding: 1.5rem;
    }
    
    .form-actions {
        justify-content: stretch;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    #waarom-kiezen {
        padding: 3rem 0;
    }
    
    #waarom-kiezen .voordelen-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .breadcrumb-section {
        padding: 2rem 0 1rem 0;
    }
    
    .post-hero {
        padding: 0 0 2rem 0;
    }
    
    .post-hero-image {
        aspect-ratio: 16/9;
    }
    
    .post-content-section {
        padding: 2rem 0 5rem 0;
    }
    
    .post-layout {
        gap: 2rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .sidebar-price .price {
        font-size: 24px;
    }
}

/* =============================================
   BLOG POSTS OVERZICHT PAGINA (INDEX.PHP)
   ============================================= */

#blog-posts {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

/* Posts grid layout */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 4rem;
}

/* Post card styling */
.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Post thumbnail */
.post-thumbnail {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.post-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

/* Post content */
.post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

/* Post meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font: var(--p);
    font-size: 14px;
    color: var(--text-gray);
}

.post-meta svg {
    color: var(--primare);
    flex-shrink: 0;
}

.post-category {
    background-color: var(--primare-extra-light);
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--text-dark) !important;
    font-weight: 600;
}

/* Post title */
.post-title {
    margin: 0;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primare);
}

/* Post excerpt */
.post-excerpt {
    flex: 1;
}

.post-excerpt p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read more link */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primare);
    font: var(--p);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more svg {
    transition: transform 0.3s ease;
}

.read-more:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* Pagination styling */
.posts-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.posts-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.posts-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    background-color: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    color: var(--text-dark);
    font: var(--p);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.posts-pagination .page-numbers:hover {
    background-color: var(--primare-extra-light);
    border-color: var(--primare);
    color: var(--primare);
}

.posts-pagination .page-numbers.current {
    background-color: var(--primare);
    border-color: var(--primare);
    color: var(--white);
}

.posts-pagination .page-numbers.dots {
    border: none;
    background-color: transparent;
}

.posts-pagination .prev,
.posts-pagination .next {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.posts-pagination .prev svg,
.posts-pagination .next svg {
    width: 20px;
    height: 20px;
}

/* No posts state */
.no-posts {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.no-posts-icon {
    margin-bottom: 2rem;
}

.no-posts-icon svg {
    color: var(--text-gray);
    opacity: 0.5;
}

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

.no-posts p {
    color: var(--text-gray);
    font-size: 18px;
}

/* Responsive styling voor blog posts */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .post-thumbnail {
        height: 240px;
    }
}

@media (max-width: 600px) {
    #blog-posts {
        padding: 5rem 0;
    }
    
    .posts-grid {
        margin-bottom: 3rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .post-meta {
        gap: 1rem;
    }
    
    .post-meta span {
        font-size: 13px;
    }
    
    .posts-pagination .page-numbers {
        min-width: 44px;
        height: 44px;
        padding: 0 12px;
        font-size: 15px;
    }
    
    .no-posts {
        padding: 3rem 1rem;
    }
}

/* ================================================================
   STANDAARD PAGINA STYLING
   ================================================================ */

/* Pagina content sectie */
#page-content {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

#page-content .container {
    max-width: 1000px;
}

/* Artikel styling */
#page-content article {
    width: 100%;
}

/* Entry content - algemeen */
#page-content .entry-content {
    width: 100%;
}

/* Headings */
#page-content .entry-content h1 {
    font: var(--h1);
    color: var(--text-dark);
    margin-bottom: 2rem;
    margin-top: 0;
}

#page-content .entry-content h2 {
    font: var(--h2);
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

#page-content .entry-content h3 {
    font: var(--h3);
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

#page-content .entry-content h4 {
    font: var(--h4);
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Eerste heading geen top margin */
#page-content .entry-content h1:first-child,
#page-content .entry-content h2:first-child,
#page-content .entry-content h3:first-child {
    margin-top: 0;
}

/* Paragrafen */
#page-content .entry-content p {
    font: var(--p);
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

#page-content .entry-content p:last-child {
    margin-bottom: 0;
}

/* Vetgedrukte tekst */
#page-content .entry-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Links */
#page-content .entry-content a {
    color: var(--primare);
    text-decoration: underline;
    transition: color 0.3s ease;
}

#page-content .entry-content a:hover {
    color: var(--primary-dark);
}

/* Lijsten - ongeordend en geordend */
#page-content .entry-content ul,
#page-content .entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

#page-content .entry-content ul.wp-block-list,
#page-content .entry-content ol.wp-block-list {
    list-style-position: outside;
}

#page-content .entry-content ul li,
#page-content .entry-content ol li {
    font: var(--p);
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

#page-content .entry-content ul li {
    list-style-type: disc;
}

#page-content .entry-content ul li::marker {
    color: var(--primare);
}

#page-content .entry-content ol li {
    list-style-type: decimal;
}

#page-content .entry-content ol li::marker {
    color: var(--primare);
    font-weight: 600;
}

/* Geneste lijsten */
#page-content .entry-content ul ul,
#page-content .entry-content ol ol,
#page-content .entry-content ul ol,
#page-content .entry-content ol ul {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Responsive aanpassingen voor standaard pagina's */
@media (max-width: 768px) {
    #page-content {
        padding: 4rem 0;
    }
    
    #page-content .entry-content h2 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    #page-content .entry-content h3 {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    #page-content .entry-content ul,
    #page-content .entry-content ol {
        padding-left: 1.5rem;
    }
}

@media (max-width: 600px) {
    #page-content {
        padding: 3rem 0;
    }
    
    #page-content .entry-content h1 {
        margin-bottom: 1.5rem;
    }
    
    #page-content .entry-content h2 {
        margin-top: 1.5rem;
    }
    
    #page-content .entry-content p {
        margin-bottom: 1.25rem;
    }
}
