:root {
    --color-primary: #2ecc71;
    /* Green */
    --color-primary-dark: #27ae60;
    --color-dark: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   HEADER — Fixed height, never changes size.
   Only color/shadow transition to avoid repaints.
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    /* Fixed forever — no padding or size transitions */
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    /* NO size/padding transitions — prevents layout repaints during toolbar animation */
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(46, 204, 113, 0.25);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.header.scrolled .nav-list {
    background-color: transparent;
    border-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 10px 30px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease-in-out;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

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

/* Hide mobile elements on desktop */
.menu-toggle,
.mobile-nav {
    display: none;
}

/* =============================================
   HERO — Height is 100% JS-controlled.
   No viewport units in CSS at all.
   JS sets height/max-height/min-height !important
   immediately on DOMContentLoaded.
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    /* Fallback only — JS overrides this !important */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 20, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-dark);
    border: 2px solid var(--color-text);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-text);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-text);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

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

/* Desktop Refinements */
@media (min-width: 1024px) {
    .logo-main {
        font-size: 2.5rem;
    }

    .logo-sub {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .hero {
        text-align: left;
    }

    .hero-layout {
        display: flex;
        align-items: flex-end;
        /* Align bottom of title with bottom of right content */
        justify-content: space-between;
        gap: 80px;
        /* Increased gap */
        width: 100%;
        max-width: 1400px;
        /* Ensure content doesn't stretch too wide */
        margin: 0 auto;
    }

    .hero-left {
        flex: 1.2;
    }

    .hero-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 15px;
    }

    .hero-title {
        font-size: 5.5rem;
        /* Slightly larger */
        line-height: 1;
        margin-bottom: 0;
        letter-spacing: -2px;
        /* Tighten for modern look */
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        justify-content: flex-start;
        gap: 20px;
        /* Ensure space between buttons */
        display: flex;
        flex-wrap: nowrap;
        /* Prevent wrapping */
    }

    .btn {
        padding: 16px 40px;
        /* Larger buttons */
        font-size: 1rem;
        white-space: nowrap;
        /* Prevent text wrapping inside button */
    }
}

/* Mobile Responsiveness */
@media (max-width: 1023px) {

    /* Header is 64px fixed height - no adjustments needed on mobile */

    .nav {
        display: none;
    }

    /* Mobile Menu Button */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        /* Above mobile overlay */
        padding: 10px;
    }

    .hamburger {
        position: relative;
        width: 24px;
        height: 2px;
        background-color: #ffffff;
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: #ffffff;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before {
        transform: translateY(-8px);
    }

    .hamburger::after {
        transform: translateY(8px);
    }

    /* Animate hamburger to X */
    .menu-toggle.active .hamburger {
        background-color: transparent;
    }

    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
    }

    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
    }

    /* Mobile Navigation Overlay */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100dvh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        pointer-events: none;
        /* Contain touch events to overlay, preventing scroll on body below */
        touch-action: none;
        overscroll-behavior: contain;
    }

    .mobile-nav.active {
        right: 0;
        pointer-events: auto;
    }

    .mobile-nav-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .mobile-nav-link {
        font-size: 2rem;
        font-weight: 600;
        color: #ffffff;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 2px;
        transition: color 0.3s ease;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:active,
    .mobile-nav-link.active {
        color: var(--color-primary);
    }

    /* Simplified for mobile */

    .hero {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        padding: 10px 24px;
        width: fit-content;
    }
}


/* ───────────────────────────────
   Scroll-triggered Animations
─────────────────────────────── */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="slide-left"] {
    transform: translateX(-50px);
}

[data-animate="slide-right"] {
    transform: translateX(50px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ───────────────────────────────
   GLOBAL NEW CONTAINERS & TYPOGRAPHY
─────────────────────────────── */
.container-wide {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    padding-left: 48px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 2px;
    background-color: var(--color-primary);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -1px;
}

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

.section-lead {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
}

/* ───────────────────────────────
   Over Ons / About Section (High-Level Redesign)
─────────────────────────────── */
.about {
    padding: 160px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-statement {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 32px;
}

.about-description p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mv-block h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-block p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-visual {
    position: relative;
    height: 100%;
    min-height: 600px;
}

.about-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.95) 100%), url('assets/portfolio/overons.jpg') center/cover no-repeat;
    border: 1px solid rgba(46, 204, 113, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    overflow: hidden;
}

.about-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    z-index: 2;
}

.about-checklist li {
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-checklist li span {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .partners-carousel-wrapper {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .partners-grid {
        gap: 40px !important;
        opacity: 0.8;
        animation: scroll-left 30s linear infinite !important;
    }

    .partner-logo img {
        height: 25px !important;
    }

    .about-visual {
        min-height: 480px;
    }

    .about-image-wrapper {
        padding: 30px 20px;
    }

    .about-mission-vision {
        grid-template-columns: 1fr;
    }

    .about-checklist {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-checklist li {
        font-size: 1rem;
    }
}

/* ───────────────────────────────
   Partners Section (Edge-to-Edge)
─────────────────────────────── */
.partners {
    padding: 80px 0;
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.partners-content {
    text-align: center;
}

.partners-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    font-weight: 600;
}

.partners-carousel-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.partners-grid {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scroll-left 60s linear infinite;
    opacity: 0.7;
    padding: 10px 0;
    will-change: transform;
    transform: translateZ(0);
}

.partners-grid:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

.partner-logo {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    opacity: 0.6;
}

.partner-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* ───────────────────────────────
   Diensten / Services Section (Bento Grid)
─────────────────────────────── */
.services {
    padding: 160px 0;
    background: #0a0a0a;
}

.services-header {
    margin-bottom: 80px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(320px, auto);
    grid-auto-flow: dense;
    gap: 24px;
    position: relative;
    padding: 80px 0;
    margin: 40px 0;
}

.bento-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    width: 100vw;
    height: 100%;
    /* Use the newly generated custom electrical background image with a dark gradient overlay */
    background: linear-gradient(135deg, rgba(8, 8, 8, 0.85) 0%, rgba(8, 8, 8, 0.95) 100%), url('assets/diensten-bg.png') center/cover no-repeat;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.bento-item {
    background: rgba(10, 10, 10, 0.6);
    /* Slightly darker/more solid to contrast the new backing */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Align to top to remove empty space above titles */
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    z-index: 1;
    /* Ensure bento box is above the full screen background */
}

.bento-item:hover {
    transform: translateY(-5px);
    background: rgba(46, 204, 113, 0.05);
    border-color: rgba(46, 204, 113, 0.3);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bento-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.bento-content p {
    flex-grow: 1;
    /* Pushes the 'Meer info' link to the bottom if content is short */
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.bento-link .arrow {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.bento-item:hover .arrow {
    transform: translateX(5px);
}

.bento-retail-bg {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.9) 100%), url('assets/hero-bg.jpg') center/cover no-repeat;
}

.services-cta-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(39, 174, 96, 0.02) 100%);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 24px;
}

.services-cta-modern h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.services-cta-modern p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large,
    .bento-medium {
        grid-column: span 2;
    }

    .bento-small {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .services-cta-modern {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        padding: 40px;
    }
}

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

    .bento-large,
    .bento-medium,
    .bento-small {
        grid-column: span 1;
    }

    .services-cta-modern {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .services-cta-modern h3 {
        font-size: 1.6rem;
    }

    .services-cta-modern p {
        font-size: 1rem;
    }
}

/* ───────────────────────────────
   Portfolio Section (Full-Bleed Carousel)
─────────────────────────────── */
.portfolio-section {
    padding: 160px 0;
    background: #0d0d0d;
    overflow: hidden;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.pf-nav {
    display: flex;
    gap: 16px;
}

.pf-btn-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pf-btn-modern:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #0a0a0a;
}

.pf-grid-full {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 40px;
}

.pf-grid-track {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.pf-slide-grid {
    flex: 0 0 calc(25% - 18px);
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
}

.pf-slide-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
}

.pf-slide-grid:hover img {
    transform: scale(1.08);
    /* Premium subtle zoom effect */
}

@media (max-width: 1600px) {
    .pf-slide-grid {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 1200px) {
    .pf-slide-grid {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .pf-slide-grid {
        flex: 0 0 85%;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .pf-grid-full {
        padding: 0 20px;
    }
}

/* ───────────────────────────────
   Reviews Section (Horizontal Scroll)
─────────────────────────────── */
.reviews {
    padding: 160px 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.reviews-carousel-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 40px 60px 40px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
}

.reviews-carousel-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.reviews-track {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 32px;
    width: max-content;
    padding: 10px 0;
}

/* Dots Styling */
.reviews-dots {
    display: none;
    justify-content: center;
    gap: 12px;
    margin-top: -30px;
    padding-bottom: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.review-card-modern {
    width: 480px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    white-space: normal;
    transition: background 0.3s ease, transform 0.3s ease;
}

.review-card-modern:hover {
    background: rgba(46, 204, 113, 0.04);
    transform: translateY(-5px);
    border-color: rgba(46, 204, 113, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-right: 16px;
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.google-logo {
    width: 28px;
    height: 28px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.review-stars {
    color: #fbbc05;
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .reviews-carousel-wrapper {
        padding: 0 20px 60px 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .reviews-track {
        gap: 20px;
        padding-left: 0;
    }

    .review-card-modern {
        width: 85vw;
        padding: 32px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .reviews-dots {
        display: flex;
    }
}

/* ───────────────────────────────
   Major Clients Section
─────────────────────────────── */
.clients {
    padding: 80px 0;
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.clients-content {
    text-align: center;
}

.clients-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-weight: 600;
}

.clients-grid-static {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    padding: 10px 0;
}

@media (min-width: 1024px) {
    .clients-grid-static {
        gap: 120px;
    }
}

.clients-grid:hover {
    animation-play-state: paused;
}

.client-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
}

.client-logo-img:hover {
    transform: scale(1.05);
    opacity: 1;
}

@media (max-width: 768px) {
    .clients-grid-static {
        gap: 20px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .client-logo-img {
        height: 35px;
        max-width: 100%;
    }
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 25px;
}

.footer-logo .logo-image {
    height: auto;
    max-height: 100px;
    /* Larger in the footer */
}

.footer-contact-highlight {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 5px;
}

.footer-contact-highlight .contact-highlight-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-contact-highlight .contact-highlight-link:hover {
    color: var(--color-primary);
}

.footer-social-links {
    display: flex;
    gap: 16px;
    margin-top: 15px;
    justify-content: flex-end;
}

.footer-social-links a {
    color: var(--color-text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-links a:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
    border-color: var(--color-primary);
    background: rgba(46, 204, 113, 0.1);
}

.footer-social-links svg {
    width: 18px;
    height: 18px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

.footer-address p {
    color: #cccccc;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-address-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.footer-nav {
    list-style: none;
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: #ffffff;
    /* Brighter resting color */
    text-decoration: none;
    font-weight: 700;
    /* Bold */
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    border: none;
    font-size: 0.8rem;
    color: #888888;
}

.footer-legal-link {
    color: #888888;
    text-decoration: none;
}

.footer-legal-link:hover {
    color: #ffffff;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        margin-bottom: 40px;
    }

    .footer-logo {
        transform: none;
        margin-left: 0;
        margin-bottom: 10px;
        max-width: 90%;
    }

    .footer-logo .logo-image {
        height: auto;
        max-height: 70px;
    }

    .footer-contact-highlight {
        text-align: center;
        gap: 10px;
    }

    .footer-contact-highlight .contact-highlight-link {
        font-size: 1.1rem;
    }

    .footer-social-links {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-middle {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-address p {
        margin-bottom: 8px;
    }

    .footer-address p:last-child {
        margin-bottom: 0;
    }

    .footer-nav {
        flex-direction: column;
        gap: 18px;
        width: 100%;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ───────────────────────────────
   Contact Page Styles
─────────────────────────────── */
.contact-page .header {
    background-color: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(46, 204, 113, 0.25);
}

.contact-hero {
    padding: 160px 0 60px;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d120f 100%);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-title .highlight {
    color: var(--color-primary);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 40px;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.contact-info>p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-content strong {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.info-content p,
.info-content a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s;
}

.info-content a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(46, 204, 113, 0.15);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.contact-form label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.contact-form select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

/* Form Status Messages */
.form-status {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.5;
}

.status-success {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.status-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

@media (max-width: 1023px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero {
        padding: 130px 0 50px;
    }

    .contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }
}

/* Floating Action Buttons (FAB) */
.fab {
    position: fixed;
    bottom: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    border: none;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fab:hover {
    transform: scale(1.1);
}

/* WhatsApp – bottom left */
.fab-whatsapp {
    left: 28px;
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.fab-whatsapp::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.fab-whatsapp:hover {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

/* Go to top – bottom right */
.fab-top {
    right: 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.fab-top.fab-visible,
.fab-whatsapp.fab-visible {
    opacity: 1;
    pointer-events: auto;
}

.fab-top:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 6px 28px rgba(46, 204, 113, 0.45);
}