@media (max-width: 768px) {
    .centered-dropdown-link {
        display: block;
        text-align: center;
        width: 100%;
    }
}
/* Updated* with cx logos */
:root {
    /* Hoofdkleuren */
    --navy-dark: #1a223f;         /* De originele diepblauwe kleur */
    --coral-highlight: #e3aeb2;   /* De originele oudroze kleur */

    /* Afgeleide kleuren */
    --navy-medium: #4c455c;        /* Een mix van navy en rose: een gedempte, paarsgrijze tint */
    --aqua-accent: #eac2c5;        /* Een lichtere, zachtere variant van de roze kleur */
    --text-secondary: #7f6879;     /* Een 50/50 mix, perfect voor subtiele tekst */
    
    /* Neutrale tinten */
    --off-white: #fefbfb;          /* Bijna wit, met een heel subtiele roze ondertoon */
    --text-primary: #1f253d;       /* Een iets zachtere variant van de diepblauwe kleur voor tekst */

    /* Glaseffecten (aangepast aan de nieuwe kleuren) */
    --glass-white: rgba(254, 251, 251, 0.9); /* Gebaseerd op de nieuwe off-white */
    --glass-border: rgba(127, 104, 121, 0.18); /* Gebaseerd op de text-secondary kleur */
}






/* Reset alle links */
a {
    color: inherit;       /* neemt de kleur van de ouder over */
    text-decoration: none; /* verwijdert de onderstreping */
    transition: color 0.3s ease; /* optioneel: voor hover */
}

/* Optioneel: hover effect */
a:hover {
    color: var(--aqua-accent); /* of een kleur naar keuze */
    text-decoration: none;      /* zorg dat onderstreping niet terugkomt */
}


/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--off-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loader Animation - Enhanced */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #fefbfb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.cleaning-character {
    font-size: 90px;
    color: var(--aqua-accent);
    animation: cleaningSweep 1.5s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(61, 214, 196, 0.4));
}

.wiper {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--aqua-accent);
    animation: wipeScreen 3s ease-in-out;
    opacity: 0.3;
}

.loader-text {
    margin-top: 30px;
    font-size: 20px;
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes cleaningSweep {
    0%, 100% { transform: rotate(-25deg) translateX(-10px); }
    50% { transform: rotate(25deg) translateX(10px); }
}

@keyframes wipeScreen {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Navigation - Glassmorphism */
.navbar {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-dark);
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-brand i {
    color: var(--aqua-accent);
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--navy-dark);
    border-radius: 3px;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

/* Dropdown container */
.nav-item-dropdown {
    position: relative;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    border-radius: 8px;
    z-index: 999;
}

/* Dropdown items */
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: var(--aqua-accent);
    color: white;
    border-radius: 5px;
}

/* Show dropdown on hover (desktop) */
.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile dropdown toggle */
/* Mobile Navigation - Enhanced Touch */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 100px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
        display: none;
    }
    
    .nav-menu a, .nav-menu li {
        padding: 16px 0;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item-dropdown .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
    }
    
    .nav-item-dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
        max-height: 800px;
        opacity: 1;
    }
}


.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--aqua-accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--navy-dark);
}

.btn-nav {
    background: var(--navy-dark);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--aqua-accent);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: #ad8ca4;
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;     /* onder navbar */
        top: 100%;             /* net onder navbar */
        right: 0;              /* start buiten beeld via transform */
        width: 100%;           /* volle breedte */
        background: var(--glass-white);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        z-index: 998;

        /* verstop menu buiten beeld */
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    .nav-menu.active {
        transform: translateX(0);  /* schuift in beeld */
    }

    html, body {
        overflow-x: hidden;
    }
}



/* --- LOGO STYLING (IMPROVED SPECIFICITY) --- */

/* Basisstijl voor de logo-link en afbeeldingen */
.nav-brand a {
    display: inline-block;
    line-height: 0; /* Voorkomt extra witruimte */
}

.nav-brand img {
    height: 80px; /* Pas hoogte aan naar wens */
    width: auto;
    transition: transform 0.3s ease;
}

.nav-brand a:hover img {
    transform: scale(1.05);
}

/* --- LOGO ZICHTBAARHEID --- */

/* Toon het desktop-logo en verberg het mobiele logo op grote schermen */
.nav-brand .logo-desktop {
    display: block; /* Toon dit logo */
}
.nav-brand .logo-mobile {
    display: none;  /* Verberg dit logo */
}

/* --- MOBILE LOGO SWITCH (MEDIA QUERY) --- */
@media (max-width: 768px) {
    /* Draai de zichtbaarheid om op kleine schermen */
    .nav-brand .logo-desktop {
        display: none;  /* Verberg dit logo */
    }
    .nav-brand .logo-mobile {
        display: block; /* Toon dit logo */
    }
    
    /* Pas eventueel de hoogte aan voor mobiel */
    .nav-brand img {
        height: 65px;
    }
}


/* Hero Section - Modern White Design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #ffffff;
    overflow: visible;
}

/* Split Layout Hero for Homepage */
.hero.split-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero.split-layout .container {
    display: flex;
    justify-content: center;
    z-index: 3;
    padding: 0 20px;
    position: relative;
}

.hero.split-layout .hero-content {
    z-index: 3;
    max-width: 900px;
    text-align: center;
    padding: 80px 20px;
}

.hero.split-layout .hero-buttons {
    justify-content: center;
}

.hero.split-layout .hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Smaller hero for subpages */
.hero.subpage {
    min-height: 60vh;
    padding: 60px 0;
    justify-content: center;
}

.hero.subpage .container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero.subpage .hero-content {
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
    text-align: center;
    margin: 0 auto;
}

.hero.subpage .hero-title {
    font-size: 48px;
}

.hero.subpage .hero-subtitle {
    font-size: 18px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Subpage hero — tablet */
@media (max-width: 768px) {
    .hero.subpage {
        min-height: 50vh;
        padding: 40px 0;
    }

    .hero.subpage .hero-content {
        padding: 30px 24px;
    }

    .hero.subpage .hero-title {
        font-size: 34px;
        letter-spacing: -0.5px;
    }

    .hero.subpage .hero-subtitle {
        font-size: 16px;
        line-height: 1.7;
        max-width: 500px;
    }

    .hero.subpage .hero-badge {
        padding: 10px 22px;
        font-size: 12px;
        margin-bottom: 28px;
    }

    .hero.subpage .hero-links a {
        font-size: 15px;
    }
}

/* Subpage hero — small phone */
@media (max-width: 480px) {
    .hero.subpage {
        min-height: 45vh;
        padding: 24px 0;
    }

    .hero.subpage::before,
    .hero.subpage::after {
        display: none;
    }

    .hero.subpage .hero-content {
        padding: 20px 16px;
    }

    .hero.subpage .hero-title {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: -0.3px;
        margin-bottom: 16px;
    }

    .hero.subpage .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .hero.subpage .hero-badge {
        padding: 8px 18px;
        font-size: 11px;
        margin-bottom: 20px;
    }

    .hero.subpage .hero-links {
        gap: 16px;
    }

    .hero.subpage .hero-links a {
        font-size: 14px;
    }
}

/* Floating Framed Images */
.floating-images {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-frame {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(227, 174, 178, 0.25);
    background: white;
    padding: 10px;
    border: 3px solid white;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
    pointer-events: auto;
    opacity: 0.9;
}

.floating-frame:hover {
    transform: scale(1.05);
}

.floating-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Individual floating frame positioning — at corners of centered text block */
.floating-frame:nth-child(1) {
    width: 200px;
    height: 260px;
    z-index: 1;
    animation-delay: 0s;
    top: 10%;
    left: calc(50% - 480px);
    transform: rotate(-6deg);
}

.floating-frame:nth-child(2) {
    width: 190px;
    height: 250px;
    z-index: 1;
    animation-delay: 1.5s;
    top: 8%;
    right: calc(50% - 480px);
    left: auto;
    transform: rotate(5deg);
}

.floating-frame:nth-child(3) {
    width: 195px;
    height: 255px;
    z-index: 1;
    animation-delay: 3s;
    bottom: 8%;
    left: calc(50% - 460px);
    top: auto;
    transform: rotate(-4deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(var(--rotation, 0deg));
    }
}

.floating-frame:nth-child(1) { --rotation: -6deg; }
.floating-frame:nth-child(2) { --rotation: 5deg; }
.floating-frame:nth-child(3) { --rotation: -4deg; }

/* Tablet responsive for floating images */
@media (max-width: 1024px) {
    .floating-frame:nth-child(1) {
        width: 150px;
        height: 195px;
        left: calc(50% - 380px);
    }
    
    .floating-frame:nth-child(2) {
        width: 140px;
        height: 185px;
        right: calc(50% - 380px);
    }
    
    .floating-frame:nth-child(3) {
        width: 145px;
        height: 190px;
        left: calc(50% - 360px);
    }
}

@media (max-width: 768px) {
    .hero.split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 0;
    }

    .hero.split-layout .container {
        justify-content: center;
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .hero.split-layout .hero-content {
        padding: 50px 0;
        max-width: 100%;
        text-align: center;
    }

    .hero.split-layout .hero-buttons {
        justify-content: center;
    }
    
    .hero.split-layout .hero-background {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        padding: 16px 24px;
        font-size: 15px;
        width: 100%;
        text-align: center;
        min-height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .floating-frame {
        position: relative;
        margin: 12px auto;
        animation: none;
        box-shadow: 0 10px 30px rgba(227, 174, 178, 0.2);
    }
    
    .floating-frame:nth-child(1),
    .floating-frame:nth-child(2),
    .floating-frame:nth-child(3) {
        position: relative;
        width: 85%;
        max-width: 280px;
        height: 280px;
        top: auto;
        left: auto;
        transform: none;
    }
}

/* Hero with image on the right */
.hero.with-image {
    min-height: auto;
    padding: 100px 0;
    align-items: stretch;
}

.hero.with-image .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero.with-image .hero-content {
    padding: 0;
    max-width: 100%;
}

.hero.with-image .hero-image {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 34, 63, 0.1);
}

.hero.with-image .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero.with-image .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero.with-image {
        padding: 60px 0;
    }
    
    .hero.with-image .hero-image {
        height: 300px;
        order: -1;
    }
    
    .hero.with-image .hero-title {
        font-size: 48px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

/* Modern geometric shapes */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 500px;
    height: 500px;
    background: #e3aeb2;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.15;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #d9959e;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #1a2847;
    max-width: 900px;
    padding: 100px 20px 80px 20px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: #e3aeb2;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(227, 174, 178, 0.25);
}

.hero-title {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
    letter-spacing: -1.5px;
    color: #0a0e27;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.15s both;
    color: #5a6b7f;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Text-based CTA links for subpages */
.hero-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
    align-items: center;
    justify-content: center;
}

.hero-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a2847;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-links a:hover {
    color: var(--coral-highlight);
    border-bottom-color: var(--coral-highlight);
}

.btn {
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--navy-dark);
    color: white;
    box-shadow: var(--text-secondary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--coral-highlight);
}

.btn-secondary {
    background: var(--glass-white);
    color: var(--navy-dark);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Metrics Strip */
.metrics-strip {
    background: white;
    padding: 50px 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.metric-item {
    animation: fadeInUp 0.8s ease;
}

.metric-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--aqua-accent);
    margin-bottom: 10px;
}

.metric-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Services Section - Photo Cards */
.services-showcase {
    padding: 100px 20px;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: var(--navy-dark);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--navy-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--aqua-accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy-dark);
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--aqua-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 12px;
}




/*Partner section - About us*/
.partners-section {
    padding: 80px 20px;
    background: #f8f8f8;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: center;
}

.partners-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.partners-item:hover {
    transform: scale(1.05);
}

.partners-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

@media (max-width: 900px) {
    /* Gallery items stack vertically on smaller screens */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partners-item {
        min-height: 180px;
        height: auto;
    }

    .partners-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}





/* Gallery Section - Before/After */ 
.gallery-section {
    padding: 100px 20px;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: 600;
    color: var(--navy-dark);
}

/* Stories/Blog Section */
.stories-section {
    padding: 100px 20px;
    background: var(--off-white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.story-category {
    display: inline-block;
    background: #e3aeb2;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy-dark);
    line-height: 1.3;
}

.story-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.story-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-dark);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    
}

.story-link i {
    transition: transform 0.3s ease;
}

.story-card:hover .story-link {
    color: var(--coral-highlight);
}

.story-card:hover .story-link i {
    transform: translateX(4px);
}


@media (max-width: 900px) {
    /* Override inline grid en stapel items verticaal */
    .services-showcase .container > div {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
    }

    /* Tekst-div bovenaan */
    .services-showcase .container > div > div:first-child {
        order: 1;
    }

    /* Gallery-item onder de tekst, met vaste hoogte voor zichtbaarheid */
    .services-showcase .container > div > .gallery-item {
        order: 2;
        width: 100%;
        min-height: 200px; /* afbeelding blijft zichtbaar */
        height: auto; 
    }

    /* Afbeelding volledig zichtbaar en responsive */
    .services-showcase .container > div > .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}


/* Why Choose Section */
.why-choose {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #fefbfb 100%);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: #e3aeb2;
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.why-choose::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: #d9959e;
    border-radius: 50%;
    opacity: 0.06;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    border: 2px solid #f0f0f0;
    padding: 35px;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    color: var(--text-primary);
    box-shadow: 0 8px 20px rgba(227, 174, 178, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #e3aeb2;
    box-shadow: 0 15px 35px rgba(227, 174, 178, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--coral-highlight);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--navy-dark);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ffffff 0%, #fefbfb 100%);
    color: var(--text-primary);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #e3aeb2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #e3aeb2;
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #d9959e;
    border-radius: 50%;
    opacity: 0.06;
    z-index: 0;
}

.cta-section h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: var(--navy-dark);
}

.cta-section p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: #5a6b7f;
}

.cta-section .btn-primary {
    background: var(--navy-dark);
    color: white;
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary:hover {
    background: #e3aeb2;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a223f 0%, #2d2a45 100%);
    color: white;
    padding: 80px 20px 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 300px;
    height: 300px;
    background: #e3aeb2;
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 26px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-col h3 i {
    color: var(--aqua-accent);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--aqua-accent);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--aqua-accent);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
}

.footer-contact i {
    color: var(--aqua-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: white;
    font-size: 22px;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-socials a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--aqua-accent);
}

/* Wave Separator */
.wave-separator {
    position: relative;
    width: 100%;
    height: 80px;
    background: transparent;
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Page Header */
.page-header {
    background: var(--navy-dark);
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(61, 214, 196, 0.1);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 22px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--off-white);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--aqua-accent);
}

/* About Page Mobile Styles */
@media (max-width: 768px) {
    .about-grid,
    .mission-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Partners Grid Mobile */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* ========== BLOG ARTICLE STYLES ========== */

/* Blog Header — clean white design matching hero.subpage */
.blog-header {
    position: relative;
    padding: 120px 0 60px;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 500px;
    height: 500px;
    background: #e3aeb2;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.1;
}

.blog-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #d9959e;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.08;
}

.blog-header .container {
    position: relative;
    z-index: 3;
}

.blog-badge {
    display: inline-block;
    background: #e3aeb2;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(227, 174, 178, 0.25);
    animation: fadeInDown 0.8s ease;
}

.blog-badge i {
    margin-right: 6px;
}

.blog-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: #0a0e27;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease;
}

.blog-header p {
    font-size: 18px;
    color: #5a6b7f;
    max-width: 640px;
    margin: 0 auto 30px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.blog-meta {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5a6b7f;
    font-weight: 500;
}

.blog-meta-item i {
    color: #e3aeb2;
}

/* Blog Content */
.blog-content-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-content-wrapper .blog-intro,
.blog-post-content .blog-intro {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 500;
    border-left: 5px solid var(--coral-highlight);
    padding-left: 25px;
}

.blog-content-wrapper h2,
.blog-post-content h2 {
    color: var(--navy-dark);
    margin-top: 60px;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 700;
}

.blog-content-wrapper h3,
.blog-post-content h3 {
    color: var(--navy-dark);
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
}

.blog-content-wrapper p,
.blog-post-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.blog-content-wrapper .blog-image,
.blog-post-content .blog-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.blog-content-wrapper .blog-image:hover,
.blog-post-content .blog-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}

.blog-content-wrapper ul,
.blog-post-content ul {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-left: 30px;
    margin-bottom: 20px;
}

.blog-content-wrapper li,
.blog-post-content li {
    margin-bottom: 15px;
}

.blog-content-wrapper ol,
.blog-post-content ol {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-content-wrapper ol li,
.blog-post-content ol li {
    margin-bottom: 12px;
}

/* Blog list with arrow bullets */
.blog-list {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-left: 0;
    margin-bottom: 20px;
    list-style: none;
    padding-left: 0;
}

.blog-list li {
    margin-bottom: 18px;
    padding-left: 10px;
}

.blog-list li::before {
    content: "\2192";
    color: var(--coral-highlight);
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

.blog-list li p {
    font-size: 17px;
    margin-top: 10px;
}

/* Blog feature boxes */
.blog-feature-box,
.feature-box {
    background: linear-gradient(135deg, rgba(227, 174, 178, 0.1), rgba(234, 194, 197, 0.08));
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    border-left: 5px solid var(--coral-highlight);
}

.blog-feature-box h3,
.feature-box h3 {
    margin-top: 0;
}

/* Pro tip box */
.pro-tip {
    background: linear-gradient(135deg, rgba(227, 174, 178, 0.1), rgba(234, 194, 197, 0.08));
    border-left: 5px solid var(--coral-highlight);
    padding: 30px 25px;
    margin: 40px 0;
    border-radius: 12px;
}

.pro-tip strong {
    color: var(--navy-dark);
}

/* Blog highlight box */
.blog-content-wrapper .highlight-box,
.blog-post-content .highlight-box {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    color: white;
    padding: 45px;
    border-radius: 12px;
    margin: 60px 0;
    box-shadow: 0 12px 36px rgba(26, 34, 63, 0.25);
}

.blog-content-wrapper .highlight-box h3,
.blog-post-content .highlight-box h3 {
    color: white;
    margin-top: 0;
}

.blog-content-wrapper .highlight-box p,
.blog-post-content .highlight-box p {
    color: white;
    margin-bottom: 0;
}

.blog-content-wrapper .highlight-box ul,
.blog-post-content .highlight-box ul {
    color: white;
}

/* Blog CTA banner */
.blog-content-wrapper .cta-banner,
.blog-post-content .cta-banner {
    background: linear-gradient(135deg, var(--coral-highlight) 0%, var(--aqua-accent) 100%);
    color: var(--navy-dark);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    margin: 70px 0;
    box-shadow: 0 12px 36px rgba(227, 174, 178, 0.25);
}

.cta-banner h2 {
    color: var(--navy-dark);
    margin-top: 0;
}

.cta-banner p {
    color: var(--navy-dark);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: var(--navy-dark);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 34, 63, 0.3);
}

/* Image grids */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.image-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
}

/* Before/after grid */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.before-after-grid figure {
    margin: 0 0 20px 0;
}

.before-after-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.before-after-grid figcaption {
    font-size: 14px;
    color: #6b7280;
    margin-top: 8px;
}

/* Blog Post Content section (inline-styled pages) */
.blog-post-content {
    padding: 60px 0;
    background: white;
}

.blog-post-content .container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-bottom: 40px;
}

/* Blog responsive — tablet */
@media (max-width: 768px) {
    .blog-header {
        padding: 100px 0 40px;
    }

    .blog-header::before,
    .blog-header::after {
        display: none;
    }

    .blog-header h1 {
        font-size: 28px;
        line-height: 1.3;
        letter-spacing: -0.5px;
    }

    .blog-header p {
        font-size: 16px;
    }

    .blog-badge {
        padding: 8px 18px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .blog-meta {
        gap: 16px;
    }

    .blog-meta-item {
        font-size: 13px;
    }

    .blog-content-wrapper {
        margin: 30px auto;
        padding: 0 16px;
    }

    .blog-content-wrapper .blog-intro,
    .blog-post-content .blog-intro {
        font-size: 17px;
        padding-left: 15px;
    }

    .blog-content-wrapper h2,
    .blog-post-content h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .blog-content-wrapper h3,
    .blog-post-content h3 {
        font-size: 20px;
    }

    .blog-content-wrapper p,
    .blog-post-content p {
        font-size: 16px;
    }

    .blog-content-wrapper .highlight-box,
    .blog-post-content .highlight-box {
        padding: 25px;
    }

    .blog-content-wrapper .cta-banner,
    .blog-post-content .cta-banner {
        padding: 30px 20px;
    }

    .cta-button {
        padding: 14px 30px;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-feature-box,
    .feature-box {
        padding: 25px;
    }

    .feature-box ol {
        font-size: 15px;
    }

    .pro-tip {
        padding: 20px 15px;
    }

    .blog-post-content img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }
}

/* Blog responsive — small phone */
@media (max-width: 480px) {
    .blog-header {
        padding: 80px 0 30px;
    }

    .blog-header h1 {
        font-size: 24px;
    }

    .blog-header p {
        font-size: 15px;
    }
}

/* ========== CHATBOT STYLES ========== */

/* Container */
#em-chatbot-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    z-index: 9999;
}

/* Toggle FAB Button */
.em-chatbot-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3aeb2, #d9959e);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 24px rgba(227, 174, 178, 0.45);
}

.em-chatbot-toggle:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 10px 36px rgba(227, 174, 178, 0.55);
}

.em-chatbot-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #1a2847;
    color: #e3aeb2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 2px solid white;
}

/* Chat Window */
.em-chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 580px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92) translateY(16px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.em-chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Decorative Hero Circles */
.em-chatbot-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.em-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.em-circle-1 {
    width: 200px;
    height: 200px;
    background: #e3aeb2;
    top: -60px;
    right: -50px;
}

.em-circle-2 {
    width: 140px;
    height: 140px;
    background: #1a2847;
    bottom: 80px;
    left: -40px;
}

.em-circle-3 {
    width: 100px;
    height: 100px;
    background: #e3aeb2;
    bottom: -20px;
    right: 60px;
}

/* Header */
.em-chatbot-header {
    background: #1a2847;
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.em-chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.em-chatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(227, 174, 178, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #e3aeb2;
    flex-shrink: 0;
}

.em-chatbot-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.em-chatbot-header p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.em-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.em-chatbot-header-actions {
    display: flex;
    gap: 4px;
}

.em-chatbot-header-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 14px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.em-chatbot-header-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Messages Container */
.em-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
    background: #fafbfc;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.em-chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.em-chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.em-chatbot-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

/* Message Bubbles */
.em-chatbot-message {
    display: flex;
    animation: em-msg-in 0.3s ease-out;
}

.em-chatbot-message.user {
    justify-content: flex-end;
}

.em-chatbot-message.bot {
    justify-content: flex-start;
}

.em-chatbot-message p {
    padding: 10px 14px;
    border-radius: 16px;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 82%;
    word-wrap: break-word;
}

.em-chatbot-message.user p {
    background: #1a2847;
    color: white;
    border-bottom-right-radius: 4px;
}

.em-chatbot-message.bot p {
    background: white;
    color: #2c3e50;
    border: 1px solid #e8ecf0;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@keyframes em-msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Thinking Dots */
.em-thinking-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    background: white;
    border: 1px solid #e8ecf0;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.em-thinking-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c5c9d2;
    animation: em-dot-bounce 1.4s ease-in-out infinite;
}

.em-thinking-dots span:nth-child(2) {
    animation-delay: 0.16s;
}

.em-thinking-dots span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes em-dot-bounce {
    0%, 60%, 100% { transform: translateY(0); background: #c5c9d2; }
    30% { transform: translateY(-6px); background: #e3aeb2; }
}

/* Quick Reply Buttons */
.em-chatbot-quick-replies {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 10px;
    position: relative;
    z-index: 1;
    background: #fafbfc;
}

.em-chatbot-quick-replies.visible {
    display: flex;
}

.em-quick-reply-btn {
    background: white;
    border: 1px solid #e3aeb2;
    color: #1a2847;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.em-quick-reply-btn:hover {
    background: #e3aeb2;
    color: white;
    border-color: #e3aeb2;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(227, 174, 178, 0.3);
}

.em-quick-reply-btn i {
    font-size: 11px;
    opacity: 0.7;
}

/* Input Area */
.em-chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px 14px;
    border-top: 1px solid #edf0f3;
    background: white;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.em-chatbot-input {
    flex: 1;
    border: 1px solid #e0e4ea;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 13.5px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    background: #f8f9fb;
}

.em-chatbot-input:focus {
    border-color: #e3aeb2;
    box-shadow: 0 0 0 3px rgba(227, 174, 178, 0.1);
    background: white;
}

.em-chatbot-input::placeholder {
    color: #a0a8b4;
}

.em-chatbot-send {
    background: linear-gradient(135deg, #e3aeb2, #d9959e);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.em-chatbot-send:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 3px 12px rgba(227, 174, 178, 0.4);
}

.em-chatbot-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.em-chatbot-send:active:not(:disabled) {
    transform: scale(0.95);
}

/* Chatbot Mobile — Fullscreen */
@media (max-width: 640px) {
    #em-chatbot-container {
        bottom: 20px;
        right: 20px;
    }

    .em-chatbot-toggle {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .em-chatbot-badge {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .em-chatbot-window {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .em-chatbot-header {
        padding: 14px 16px;
        border-radius: 0;
    }

    .em-chatbot-messages {
        padding: 16px 12px;
    }

    .em-chatbot-message p {
        max-width: 88%;
        font-size: 14px;
    }

    .em-chatbot-input {
        font-size: 16px; /* Prevent iOS zoom */
    }

    .em-chatbot-input-area {
        padding: 10px 12px calc(env(safe-area-inset-bottom, 8px) + 10px);
    }

    /* Body scroll lock when chat is open on mobile */
    body.em-chatbot-open {
        overflow: hidden;
    }
}

/* =================== COMPREHENSIVE MOBILE OPTIMIZATION =================== */

@media (max-width: 768px) {
    /* General Mobile Adjustments */
    .container {
        padding: 0 16px;
    }
    
    html, body {
        font-size: 14px;
    }

    /* Hero Content - Prevent Overflow */
    .hero-content {
        max-width: 100% !important;
        padding: 0 8px;
    }

    /* Override ALL inline 2-col grids on mobile */
    .services-showcase .container > div[style] {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    /* Partners Cards (over-ons 4-col grid) */
    .partners-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    /* Stories grids with inline overrides */
    .stories-grid[style] {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }

    /* Features grids with inline overrides */
    .features-grid[style] {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }

    /* Map iframe responsive */
    .map-container iframe {
        height: 280px !important;
    }

    /* Prevent horizontal overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    img, iframe, video {
        max-width: 100%;
        height: auto;
    }

    /* Metrics Section */
    .metrics-strip {
        padding: 40px 16px;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .metric-number {
        font-size: 32px;
    }
    
    .metric-label {
        font-size: 13px;
    }
    
    /* Typography */
    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    /* Grids & Cards */
    .services-grid, 
    .features-grid, 
    .stories-grid, 
    .gallery-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .gallery-item {
        height: 220px;
        border-radius: 12px;
    }
    
    .gallery-badge {
        font-size: 12px;
        padding: 8px 12px;
        bottom: 10px;
        left: 10px;
    }
    
    .story-image {
        height: 180px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 50px 16px;
    }
    
    .cta-section h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .cta-section p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    /* Forms - Touch Friendly */
    .contact-form {
        padding: 25px 16px;
        border-radius: 12px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 12px 12px;
        min-height: 44px;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    /* Buttons - Touch Optimized */
    .btn {
        width: 100%;
        min-height: 48px;
        font-size: 15px;
        padding: 14px 20px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 16px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-col h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-col p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .footer-col a {
        font-size: 13px;
        padding: 8px 0;
        min-height: 40px;
        display: flex;
        align-items: center;
    }
}

/* Extra Small Devices - Phone Portrait */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        min-height: 48px;
        font-size: 14px;
        padding: 12px 16px;
    }
    
    /* Mobile Menu Adjustments */
    .nav-menu a, .nav-menu li {
        padding: 14px 0;
        font-size: 15px;
        min-height: 44px;
    }
    
    /* Section Headers */
    .section-title {
        font-size: 22px;
    }
    
    /* Floating Frames on Very Small Screens */
    .floating-frame {
        margin: 10px auto;
    }
    
    .floating-frame:nth-child(1),
    .floating-frame:nth-child(2),
    .floating-frame:nth-child(3) {
        width: 80%;
        max-width: 250px;
        height: 250px;
    }

    /* Partners single column on small phones */
    .partners-cards {
        grid-template-columns: 1fr !important;
    }

    /* Metrics single column on small phones */
    .metrics-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Very Small Screens - Ensure Readability */
@media (max-width: 360px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .metric-number {
        font-size: 28px;
    }
}

/* Mobile Hero and Subpage Links */
@media (max-width: 768px) {
    .hero-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-links a {
        font-size: 15px;
        padding: 10px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Cookie Consent Banner
   ═══════════════════════════════════════════════════════════════ */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--navy-dark, #1a223f);
    color: #fff;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#cookie-consent-banner.cookie-consent-visible {
    transform: translateY(0);
    opacity: 1;
}

#cookie-consent-banner.cookie-consent-hiding {
    transform: translateY(100%);
    opacity: 0;
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-consent-text p {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-text p:first-child {
    font-size: 15px;
    margin-bottom: 6px;
}

.cookie-consent-link {
    color: var(--coral-highlight, #e3aeb2);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-link:hover {
    color: #fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--coral-highlight, #e3aeb2);
    color: var(--navy-dark, #1a223f);
}

.cookie-btn-accept:hover {
    background: #fff;
    color: var(--navy-dark, #1a223f);
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

/* Mobile cookie banner */
@media (max-width: 600px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        padding: 18px 16px;
        gap: 16px;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-height: 44px;
    }
}


