@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #b43133;
    --primary-dark: #8b2527;
    --secondary: #eeeeee;
    --text-dark: #1e1e1e;
    --text-light: #f5f5f5;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(0, 0, 0, 0.7);
    --shadow: 0 8px 32px 0 rgba(180, 49, 51, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #fcfcfc; /* Cleaner white */
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.main-content {
    padding: 70px 0 40px;
    background: white;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 100%);
    color: white;
}

.cta-section .cta-content {
    text-align: center;
}

.cta-section h2 {
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.cta-section p {
    margin: 0 0 22px 0;
    color: rgba(255,255,255,0.85);
}

.cta-section .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-section {
    padding: 90px 0;
    background: #f4f4f4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-info,
.contact-form {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
}

.contact-info h2,
.contact-form h2 {
    margin-top: 0;
}

.contact-items {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 3px;
}

.contact-item h3 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
}

.contact-item p {
    margin: 0;
}

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

.form-success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 10px 12px;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

.container {
    width: 100%;
    max-width: 1400px; /* Modern expanded width */
    margin: 0 auto;
    padding: 0 4%; /* Responsive padding */
}

/* Hero Buttons Orchestration */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-header {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 160px 10% 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Lighter overlay - foto beter zichtbaar */
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.page-header .header-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    text-align: center;
}

.page-header .header-content h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin: 0 0 14px 0;
    font-weight: 800;
}

.page-header .header-content p {
    font-size: 1.15rem;
    margin: 0 auto 22px;
    opacity: 0.95;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.service-intro {
    padding: 90px 0;
    background: white;
}

.service-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.service-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-text p {
    color: #444;
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.service-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.service-features .feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

.service-image img {
    width: 100%;
    display: block;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.service-details {
    padding: 90px 0;
    background: #f4f4f4;
}

.service-details h2 {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 34px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Better responsiveness */
    gap: 30px;
    text-align: left; /* Alignment Fix */
}

.approach-step {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    color: var(--text-dark); /* Force dark text regardless of container */
}

.approach-step .step-number {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 14px;
}

.approach-step h3 {
    margin: 0 0 10px 0;
    font-size: 1.15rem;
}

.approach-step p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.service-cta {
    padding: 80px 0;
    background: var(--text-dark);
    color: white;
}

.service-cta .cta-content {
    text-align: center;
}

.service-cta h2 {
    margin: 0 0 10px 0;
    font-size: 2rem;
}

.service-cta p {
    margin: 0 0 22px 0;
    color: rgba(255,255,255,0.85);
}

.service-cta .cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .cta-button.secondary,
.hero-btns .cta-button.secondary {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.3);
}

.related-services {
    padding: 90px 0;
    background: white;
}

.related-services h2 {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 30px 0;
}

@media (max-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .service-content {
        grid-template-columns: 1fr;
    }
    .service-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .page-header {
        padding: 140px 6% 70px;
        background-attachment: scroll;
    }
}

/* Top Bar */
.top-bar {
    background: var(--text-dark);
    color: white;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    z-index: 4000; 
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.top-bar-info, .top-bar-social {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar a:hover {
    color: var(--primary);
}

.top-bar i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Glass Navigation */
nav {
    position: fixed;
    top: 40px; /* Below top-bar */
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 3000;
    transition: var(--transition);
}

nav.scrolled {
    top: 0;
    height: 70px;
    background: rgba(238, 238, 238, 0.98);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.logo img {
    height: 62px;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.15));
}

nav.scrolled .logo img {
    height: 52px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links li a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    z-index: 1200;
    padding: 10px;
}

.mobile-toggle span {
    width: 32px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mega Menu Styles */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.has-dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

/* Mega Dropdown Container */
.mega-menu {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100vw - 40px));
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    border-radius: 18px;
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    gap: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    transition-delay: 0.15s; /* Delay hiding — prevents flicker on mouse gap */
    z-index: 12000;
    border-top: 4px solid var(--primary);
}

/* Invisible hover bridge — fills gap between nav link and mega-menu */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -30px; /* Bridge the gap above */
    left: 0;
    width: 100%;
    height: 34px;
    background: transparent;
}

nav.scrolled .mega-menu {
    top: 70px;
}

.has-dropdown.open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-menu {
    max-height: calc(100vh - 140px);
    overflow: auto;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s; /* Show instantly, only delay on hide */
}

.has-dropdown:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 1200px) {
    .mega-menu {
        width: min(980px, calc(100vw - 34px));
        grid-template-columns: repeat(4, minmax(160px, 1fr));
        padding: 22px;
        gap: 18px;
    }
}

@media (max-width: 980px) {
    .mega-menu {
        width: min(760px, calc(100vw - 28px));
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        padding: 20px;
        gap: 16px;
    }
}

.mega-col h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.mega-col h4 i {
    font-size: 0.95rem;
    opacity: 0.9;
}

.mega-col ul {
    list-style: none;
}

.mega-col ul li {
    margin-bottom: 8px;
}

.mega-col ul li a {
    font-size: 0.95rem;
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0 !important;
    display: block;
    line-height: 1.25;
}

.mega-col ul li a:hover {
    color: var(--primary) !important;
    transform: none;
    background: rgba(180,49,51,0.06);
    padding: 6px 8px !important;
    border-radius: 10px;
}

/* Mobile Dropdown Support */
@media (max-width: 991px) {
    .top-bar {
        padding: 0 5%;
        height: auto;
        min-height: 45px;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        padding: 6px 5%;
        align-items: center;
        z-index: 9000; /* Stays above everything */
    }
    
    .top-bar-info { flex: 1; justify-content: flex-start; }
    .top-bar-social { display: flex; }
    .top-bar-social span,
    .top-bar-social a:not(.topbar-whatsapp) { display: none; }
    .topbar-whatsapp {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.22);
        background: rgba(255,255,255,0.06);
    }
    
    nav {
        top: 55px; 
        padding: 0 5%;
        height: 70px;
        z-index: 8000;
        justify-content: space-between;
    }
    
    .logo img { height: 58px; }
    
    .mobile-toggle { 
        display: flex; 
        z-index: 10000; /* Above the menu */
        margin-left: auto;
        order: 3;
    }

    .cta-button {
        display: inline-flex;
        position: relative; /* Fixed overlap bug: removed absolute */
        left: auto;
        transform: none;
        padding: 10px 18px;
        font-size: 0.95rem;
        max-width: 280px;
        white-space: nowrap;
        z-index: 10;
        margin: 5px auto;
    }
    
    .nav-links { display: none !important; }
    
    .nav-links li { margin: 0; }
    .nav-links li a { 
        font-size: 1.05rem; 
        letter-spacing: 0.5px; 
        color: var(--text-dark) !important;
        padding: 12px 12px;
        border-radius: 12px;
    }

    .mega-menu { display: none !important; }
    
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); background: var(--primary); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); background: var(--primary); }
    
    nav.scrolled {
        top: 0;
        z-index: 9100;
    }
}

@media (max-width: 420px) {
    .logo img { height: 52px; }
    .cta-button { padding: 9px 14px; font-size: 0.9rem; max-width: 200px; }
}

@media (max-width: 991px) { .mobile-submenu { display:none !important; } }

.mnav-overlay { display: none; }
.mnav { display: none; }

@media (max-width: 991px) {
    body.mnav-open { overflow: hidden; }

    .mnav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        z-index: 9400;
    }
    .mnav-overlay.active { opacity: 1; pointer-events: auto; }

    .mnav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: min(360px, 86vw);
        height: 100vh;
        background: #fff;
        transform: translateX(-105%);
        transition: transform 0.26s ease;
        z-index: 9500;
        border-right: 1px solid rgba(0,0,0,0.12);
        box-shadow: 0 20px 60px rgba(0,0,0,0.22);
    }
    .mnav.active { transform: translateX(0); }

    .mnav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(0,0,0,0.10);
    }
    .mnav-logo img { height: 56px; width: auto; display: block; }
    .mnav-close {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.12);
        background: rgba(0,0,0,0.03);
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        color: var(--text-dark);
    }
    .mnav-body {
        padding: 10px 12px 18px;
        overflow: auto;
        height: calc(100vh - 70px);
    }
    .mnav-link, .mnav-cta, .mnav-acc-btn {
        display: block;
        width: 100%;
        text-decoration: none;
        color: var(--text-dark);
        padding: 14px 14px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 1.05rem;
        letter-spacing: 0.3px;
        background: transparent;
        border: 0;
        text-align: left;
        cursor: pointer;
        min-height: 48px;
    }
    .mnav-link:hover, .mnav-acc-btn:hover { background: rgba(0,0,0,0.04); }
    .mnav-acc-btn { display: flex; justify-content: space-between; align-items: center; }
    .mnav-acc-btn::after {
        content: '▾';
        font-size: 1.1rem;
        opacity: 0.5;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    .mnav-acc-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
    .mnav-acc-btn[aria-expanded="true"] { color: var(--primary); background: rgba(180,49,51,0.04); }
    .mnav-acc-panel {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
        padding: 0 6px;
        margin: 0 0 4px;
        border-left: 3px solid rgba(180,49,51,0.2);
    }
    .mnav-section {
        padding: 8px 0;
    }
    .mnav-section + .mnav-section {
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 8px;
    }
    .mnav-section-title {
        font-weight: 900;
        font-size: 0.72rem;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        color: var(--primary);
        padding: 4px 10px 6px;
        opacity: 0.8;
    }
    .mnav-sublink {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: var(--text-dark);
        padding: 12px 10px 12px 14px;
        border-radius: 10px;
        font-weight: 500;
        font-size: 0.92rem;
        min-height: 44px;
        gap: 2px;
        transition: background 0.2s ease;
    }
    .mnav-sublink img { flex-shrink: 0; }
    .mnav-sublink:active { background: rgba(180,49,51,0.12); }
    .mnav-sublink:hover { background: rgba(180,49,51,0.06); }
    .mnav-cta {
        margin-top: 14px;
        background: var(--primary);
        color: #fff;
        text-align: center;
        border-radius: 999px;
        font-weight: 800;
        letter-spacing: 0.6px;
        font-size: 1rem;
        padding: 16px 20px;
    }
    .mnav-cta:hover { background: var(--primary-dark); }
}

.cta-button {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .3px;
    transition: all .3s cubic-bezier(.22,1,.36,1);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
    filter: brightness(1.1);
    color: white;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    color: white;
    box-shadow: 0 4px 18px rgba(14, 165, 233, 0.3);
}
.cta-button.secondary:hover {
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
    color: white;
}

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 150px; /* Strong clearance for double header */
}

/* Specific adjustment for internal page heroes */
.hero[style*="height: 40vh"], 
.hero[style*="height: 50vh"],
.hero.internal-header {
    min-height: 550px;
    padding-top: 180px;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Lichtere overlay - foto's goed zichtbaar */
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}

/* Also apply to pages without sliders */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.revolutionary-text {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 0.95;
    font-weight: 800;
    color: white; /* Contrast Always White */
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.revolutionary-text span {
    display: inline-block;
    color: var(--primary);
    position: relative;
    text-shadow: 4px 4px 0px rgba(180, 49, 51, 0.05);
    background: linear-gradient(90deg, var(--primary) 0%, #ffebed 50%, var(--primary) 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    margin: 10px 0;
    filter: drop-shadow(0 0 8px rgba(180,49,51,0.15));
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.9); /* Contrast Always Light */
    max-width: 600px;
    font-weight: 400;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
        min-height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center; /* Center text on mobile */
    }
    .hero-content {
        padding: 40px 5%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center children */
    }
    .revolutionary-text {
        font-size: 2.8rem;
        margin-bottom: 20px;
        line-height: 1.1;
        text-align: center;
    }
    .hero-content p {
        padding: 0;
        margin: 0 auto 30px;
        text-align: center;
        border-left: none;
    }
    .hero-btns {
        flex-direction: column; /* Stack buttons vertically */
        width: 100%;
        max-width: 300px; /* Better touch targets */
        gap: 15px;
    }
    .hero-btns .cta-button {
        width: 100%;
        margin-left: 0 !important; /* Remove any inline margins */
        text-align: center;
    }
}

@keyframes shine {
    to { background-position: 200% center; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .revolutionary-text {
        letter-spacing: -1px;
        line-height: 1.1;
        font-size: clamp(2.2rem, 10vw, 3.5rem);
        margin-top: 40px;
    }
    
    .hero {
        padding-top: 80px;
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 5%;
        margin-top: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content p {
        border-left: none;
        padding-left: 0;
        margin: 0 auto 30px;
    }
    
    .nav-links { display: flex; }
}

/* Services */
.services {
    padding: 100px 10%;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto;
}

/* Responsive Grid Utility */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* Interleaved Grid for Mobile (Intro -> Image -> Process) */
.interleaved-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

@media (max-width: 991px) {
    .interleaved-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .interleaved-grid .intro-content {
        order: 1;
    }
    
    .interleaved-grid .image-content {
        order: 2;
        margin: 20px 0;
    }
    
    .interleaved-grid .process-content {
        order: 3;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

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

.service-card {
    background: var(--secondary);
    border-radius: 24px;
    overflow: hidden;
    padding: 30px 30px 45px 30px; /* More padding at bottom */
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    color: var(--text-dark); /* Contrast fix */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: var(--primary);
    color: white;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-card {
        padding: 40px 25px 45px; /* More top padding on mobile */
        margin-bottom: 20px;
        text-align: center;
    }
    .service-card img {
        height: 200px;
        border-radius: 12px;
    }
    .services {
        padding: 80px 5%;
    }
}

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.service-card:hover i {
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--text-dark); /* Ensure high contrast */
}

.service-card .cta-button {
    margin-top: 25px;
    margin-bottom: 5px; /* Extra breathing room */
    background: white;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #800 100%);
    box-shadow: 0 20px 40px rgba(180, 49, 51, 0.3);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
    left: 100%;
}

/* Stats */
.stats {
    padding: 80px 10%;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Wizard Form Styles */
.offerte-container {
    padding: 120px 10%;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    background: white;
}

.wizard-form-box {
    background: var(--secondary);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step-indicator {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
    transition: var(--transition);
}

.step-indicator.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(180, 49, 51, 0.4);
}

.step-indicator.completed {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
}

.wizard-step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-step-content.active {
    display: block;
}

.quote-chat {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.quote-chat-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(180,49,51,0.08), rgba(255,255,255,0.2));
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.quote-chat-title {
    font-weight: 900;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.quote-chat-subtitle {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 4px;
}

.quote-chat-badge {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(180, 49, 51, 0.12);
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
}

.quote-chat-messages {
    padding: 18px 18px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow: auto;
}

.quote-bubble {
    padding: 12px 14px;
    border-radius: 16px;
    line-height: 1.45;
    font-size: 0.95rem;
    max-width: 92%;
}

.quote-bubble.bot {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--text-dark);
    align-self: flex-start;
}

.quote-bubble.user {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border: 1px solid rgba(0,0,0,0.06);
}

.quote-chat-input {
    padding: 14px 18px 18px 18px;
    border-top: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.65);
}

.quote-input-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quote-input-row input,
.quote-input-row textarea,
.quote-input-row select {
    flex: 1;
    min-width: 220px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    outline: none;
}

.quote-input-row input:focus,
.quote-input-row textarea:focus,
.quote-input-row select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(180, 49, 51, 0.1);
}

.quote-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.quote-choice {
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    color: var(--text-dark);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.quote-choice:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.quote-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(180, 49, 51, 0.1);
}

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 20px; /* Better padding below the form buttons */
}

.btn-back {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--text-dark);
    color: white;
}

/* Opening Hours Sidebar */
.opening-hours-card {
    background: var(--text-dark);
    color: white;
    padding: 40px;
    border-radius: 30px;
    height: fit-content;
}

.opening-hours-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hours-list li span:first-child {
    font-weight: 600;
}

.hours-list li.available-247 {
    background: var(--primary);
    margin: 20px -40px -40px -40px;
    padding: 25px 40px;
    border-radius: 0 0 30px 30px;
    text-align: center;
    display: block;
}

.hours-list li.available-247 i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 991px) {
    .offerte-container {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }
}

/* FAQ Accordion Styles */
.faq-section {
    padding: 100px 10%;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary);
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 4px solid transparent;
}

.faq-item:hover {
    border-color: rgba(180,49,51,0.15);
    border-left-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transform: translateX(4px);
}

.faq-question {
    padding: 28px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    gap: 16px;
    min-height: 68px;
    user-select: none;
    -webkit-user-select: none;
    transition: color 0.3s ease, background 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
    background: rgba(180,49,51,0.02);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
    color: #555;
    line-height: 1.85;
    font-size: 1rem;
}

.faq-answer p {
    margin: 0 0 16px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-item.active {
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
    border-left-color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 32px 30px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0), padding 0.35s ease;
}

.faq-item.active .faq-question {
    color: var(--primary);
    padding-bottom: 16px;
}

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

@media (max-width: 768px) {
    .faq-section {
        padding: 80px 5%;
    }
    .faq-question {
        padding: 22px 18px;
        font-size: 1rem;
        min-height: 60px;
    }
    .faq-answer {
        padding: 0 18px;
        font-size: 0.95rem;
    }
    .faq-item.active .faq-answer {
        padding: 0 18px 26px 18px;
    }
}

/* Footer & Social Media Icons */
.social-icon {
    width: 45px;
    height: 45px;
    background: #ffcc00; /* Yellow */
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 2px solid #ffcc00;
}

.social-icon:hover {
    background: transparent;
    color: #ffcc00;
    transform: translateY(-5px) rotate(360deg);
}

/* Footer Premium Effects — foto + overlay, leesbaar op mobiel/tablet */
footer {
    padding: 120px 10% 40px;
    color: white;
    position: relative;
    overflow: hidden;
    background-color: #0c1018;
    background-image:
        linear-gradient(
            180deg,
            rgba(10, 12, 16, 0.78) 0%,
            rgba(8, 10, 14, 0.88) 40%,
            rgba(6, 8, 12, 0.93) 100%
        ),
        url('../images/dak-dakpannen-straat.webp');
    background-size: cover;
    background-position: center 38%;
    background-repeat: no-repeat;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #ffcc00, var(--primary));
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    z-index: 2;
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(180, 49, 51, 0.14) 0%, transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 35%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ffcc00;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: #ffcc00;
}

.footer-col ul li a:hover {
    color: #ffcc00;
    padding-left: 8px;
}

.footer-newsletter h4 {
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    outline: none;
}

.newsletter-form button {
    background: #ffcc00;
    color: var(--text-dark);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: white;
    transform: rotate(15deg) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-contact-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: #ffcc00;
    font-size: 1.1rem;
}

.footer-copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    z-index: 2000;
    transition: width 0.1s linear;
}

/* Floating Elements for Premium Feel */
.premium-float {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    footer {
        padding: 88px 7% 36px;
        background-position: center 32%;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    footer {
        padding: 72px 6% 28px;
        background-position: center center;
    }
    .footer-contact-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding-left: 10%;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


/* ======= FIXES & ANIMATIONS ======= */

/* Animations: Reveal Effects */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-blur.active {
    opacity: 1;
    filter: blur(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Blog Images Fixes (Klein & Netjes) */
.blog-image-wrapper {
    text-align: center;
    margin: 20px auto;
}
img.blog-hero-img {
    max-width: 100%;
    width: 600px;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto 30px auto !important;
}

/* Added Mobile CSS Fixes */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 5% 50px;
        min-height: 50vh;
    }
    .page-header .header-content h1 {
        font-size: 2.2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    .hero-content h1 span {
        font-size: 2.8rem !important;
    }
    .stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* ======= ALL FULL MOBIEL OPTIMALISATIES ======= */
@media (max-width: 768px) {
    .offerte-container { margin: 20px auto !important; padding: 0 10px; width: 100% !important; flex-direction: column; }
    .wizard-form-box { padding: 25px 15px !important; border-radius: 12px !important; min-width: 100% !important; }
    .opening-hours-card { width: 100%; }
    
    .form-row { grid-template-columns: 1fr !important; }
    .wizard-steps { flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 25px; }
    .mega-menu { display: none !important; } /* force safe mega menu */
    
    article.service-content h1 { font-size: 2.2rem !important; }
    .cta-button { width: 100%; justify-content: center; }
    
    /* Force card buttons to be massive and foregrounded on mobile */
    .services-grid .cta-button {
        padding: 16px 20px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
        font-weight: 800 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        margin-top: 15px !important;
        position: relative;
        z-index: 99 !important;
    }
}

.offerte-container { transition: all 0.4s ease; }

/* ======= PREMIUM CARD UPGRADES ======= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card, .step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-card::before, .step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(180, 49, 51, 0.04) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover, .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: rgba(180, 49, 51, 0.1);
}

.service-card:hover::before, .step-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.03);
}

.service-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 15px 0;
    display: block;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.services-grid .cta-button {
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 10;
}
/* Extra Mobile Header & Hero Fixes */
@media (max-width: 900px) {
    nav { position: relative; }
    nav .cta-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: auto !important;
        padding: 8px 16px !important;
        font-size: 0.82rem !important;
        background: var(--primary-dark) !important;
        position: static;
        order: 2;
        flex-shrink: 0;
        z-index: 100;
        text-align: center;
    }
    nav {
        position: relative;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }
    nav .logo { order: 1; flex-shrink: 0; }
    nav .mobile-toggle { order: 3; flex-shrink: 0; }
    .hero-content .hero-btns {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 25px auto 0 auto;
        gap: 15px;
        position: relative;
    }
    .hero-content .hero-btns .cta-button {
        width: 100% !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        justify-content: center;
        margin: 0 !important;
    }
}
/* Fix for Premium Card Hover Contrast */
@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        background: var(--primary) !important;
    }
    .service-card:hover h3, 
    .service-card:hover p, 
    .service-card:hover i {
        color: white !important;
        transition: color 0.3s ease;
    }
    .service-card:hover .cta-button {
        background: white !important;
        color: var(--primary) !important;
        transition: background 0.3s, color 0.3s;
    }
    .step-card:hover h3,
    .step-card:hover p {
        color: var(--text-dark) !important;
    }
}

/* ===== WIDESCREEN OPTIMIZATIONS (1600px+) ===== */
@media (min-width: 1600px) {
    .container { max-width: 1600px; }
    .hero { min-height: 100vh; }
    .revolutionary-text { font-size: clamp(4rem, 6vw, 6rem); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 80px; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
    .approach-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
    .service-card, .step-card { padding: 40px 30px; }
    .service-card img { height: 220px; }
    .stats { padding: 100px 10%; gap: 60px; }
    .stat-number { font-size: 3.5rem; }
}

/* ===== TABLET LANDSCAPE (1024-1199px) ===== */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container { padding: 0 5%; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    nav { padding: 0 6%; }
    .top-bar { padding: 0 6%; }
}

/* ===== TABLET PORTRAIT (768-1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container { padding: 0 5%; }
    .hero { padding-top: 130px; min-height: 85vh; }
    .revolutionary-text { font-size: 2.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .service-card img { height: 180px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stats { padding: 60px 5%; }
    .stat-number { font-size: 2.5rem; }
    .offerte-container { grid-template-columns: 1fr; padding: 80px 5%; }
}

/* ===== SMALL MOBILE (under 480px) ===== */
@media (max-width: 480px) {
    .container { padding: 0 4%; }
    .hero { padding-top: 100px; min-height: 75vh; }
    .revolutionary-text { font-size: 1.8rem; letter-spacing: -0.5px; }
    .hero-content p { font-size: 0.9rem; }
    .services-grid { grid-template-columns: 1fr; gap: 15px; }
    .service-card { padding: 20px 16px 35px; }
    .service-card img { height: 160px; border-radius: 10px; }
    .service-card h3 { font-size: 1.15rem; }
    .cta-button { padding: 11px 20px; font-size: 0.9rem; }
    .stats { flex-direction: column; padding: 50px 5%; gap: 25px; }
    .stat-number { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    footer {
        padding: 56px 5% 28px;
        background-image:
            linear-gradient(180deg, rgba(8, 10, 14, 0.9) 0%, rgba(4, 5, 8, 0.96) 100%),
            url('../images/dak-dakpannen-straat.webp');
        background-position: center 25%;
    }
    .approach-grid { gap: 15px; }
    .approach-step { padding: 16px; }
    .page-header { min-height: 45vh; padding: 100px 5% 50px; }
    .page-header .header-content h1 { font-size: 1.8rem; }
}

/* ===== FLOATING WHATSAPP CTA WIDGET ===== */
.floating-cta-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25d366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-cta-widget:hover {
    transform: translateY(-5px) scale(1.02);
    background: #22c35e;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}
.floating-cta-widget i {
    font-size: 1.5rem;
}
@media (max-width: 768px) {
    .floating-cta-widget span {
        display: none;
    }
    .floating-cta-widget {
        padding: 16px;
        border-radius: 50%;
        bottom: 20px;
        left: 20px;
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    }
    .floating-cta-widget i {
        font-size: 1.8rem;
    }
}

/* ===== BACK TO TOP WIDGET ===== */
.back-to-top {
    position: fixed;
    bottom: 95px;
    left: 25px;
    background: #0f172a;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    z-index: 9997;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.back-to-top.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #1e293b;
    transform: translateY(-5px);
}
.back-to-top i {
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 85px;  /* Above mobile whatsapp button */
        left: 20px;
        width: 42px;
        height: 42px;
    }
}