/* --- FONTS & VARIABLES --- */
/* Font loading moved to HTML for performance */

/* Smooth reveal after FOUC prevention */
html {
    transition: opacity 0.15s ease-in;
}

:root {
    --bg-color: #040108;
    --card-bg: #141414;
    --card-glass: rgba(10, 10, 10, 0.85);
    --text-color: #ffffff;
    --text-muted: #B0B7C3;
    --border-color: #333;

    --col-particulier: #FF9F1C;
    --col-creative: #FF0055;
    --col-kmo: #00F0FF;
    --col-managed: #39FF14;
    --col-synergy: #667eea;

    /* Glow Colors */
    --glow-primary: rgba(102, 126, 234, 0.4);
    --glow-secondary: rgba(0, 187, 249, 0.35);
    --glow-accent: rgba(130, 140, 255, 0.3);
    --glow-heavy: rgba(102, 126, 234, 0.6);

    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --container-wide: 1400px;

    /* Typography Scale */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 2rem;
    /* 32px */
    --text-4xl: 2.5rem;
    /* 40px */
    --text-5xl: 3rem;
    /* 48px */

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Spacing Scale */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-6: 1.5rem;
    /* 24px */
    --space-8: 2rem;
    /* 32px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-20: 5rem;
    /* 80px */
    --space-24: 6rem;
    /* 96px */

    /* Section Spacing */
    --section-padding-y: 120px;
    --section-gap: 80px;

    /* Transition Timing */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ✨ PREMIUM MICRO-DETAILS ✨ */

/* Brand selection highlight */
::selection {
    background: rgba(102, 126, 234, 0.35);
    color: #fff;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.35);
    color: #fff;
}

/* Premium slim scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.6), rgba(0, 187, 249, 0.5));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.9), rgba(0, 187, 249, 0.8));
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.5) rgba(0, 0, 0, 0.2);
}

/* Shimmer keyframe for cards */
@keyframes shimmer-sweep {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Premium float animation */
@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Gradient pulse */
@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ==============================================================
   GLOBAL ANIMATED CV BACKGROUND (Replaces Vanta WebGL)
============================================================== */
#vanta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background-color: #040108;
    /* Deep Space background */
}

/* Hide Vanta Canvas so it doesn't cover our CSS background */
#vanta-background canvas {
    display: none !important;
}

#vanta-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.35) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
    animation: bgFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bgFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(2%, -2%) rotate(5deg);
    }

    50% {
        transform: translate(-1%, 3%) rotate(-3deg);
    }

    75% {
        transform: translate(-3%, -1%) rotate(2deg);
    }
}

/* Floating Particles (Injected via JS) */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Changed from -1 to ensure it paints above the background gradient */
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-secondary);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* --- RESET --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- TOP-RIGHT LOGIN BUTTON --- */
.nav-login-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Match nav bar top position on tablet/mobile (≤900px) */
@media (max-width: 900px) {
    .nav-login-btn {
        top: 12px;
        right: 12px;
    }
}

.nav-login-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.nav-login-btn svg {
    flex-shrink: 0;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .nav-login-btn span {
        display: none;
    }

    .nav-login-btn {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }
}

/* Extra-small screens: hide logo text to prevent header crunch */
@media (max-width: 380px) {
    .nav-login-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .main-nav .logo-text {
        display: none !important;
    }

    .main-nav .logo-icon {
        height: 22px !important;
        width: 22px !important;
        min-height: 22px !important;
        min-width: 22px !important;
        max-height: 22px !important;
        max-width: 22px !important;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    /* Page-level fade-in to prevent layout shift */
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.page-ready {
    opacity: 1;
}

/* --- VANTA BACKGROUND --- */
#vanta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-color: #040108;
    /* Prevent flash of unstyled content/white background */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease, opacity 0.25s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 20px;
}

/* KNOP STIJLEN (Algemeen) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-align: center;
    text-decoration: none;
    background: rgba(20, 10, 40, 0.7);
    color: white;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    /* Gradient border via outline */
    outline: 1px solid rgba(102, 126, 234, 0.35);
    outline-offset: -1px;
}

/* Shimmer sweep effect inside button */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3), 0 0 20px rgba(102, 126, 234, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    outline-color: rgba(102, 126, 234, 0.7);
    background: rgba(30, 10, 60, 0.85);
}

.btn:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* --- MODERN NAVIGATION MENU --- */

/* Prevent layout shift - reserve space for dynamically injected content */
#nav-placeholder {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;
    min-height: 48px;
    min-width: 200px;
}

#footer-placeholder {
    min-height: 300px;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

/* Always Visible Buttons */
.nav-visible {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* New top-level nav links */
.nav-menu-items {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-top-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-top-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-top-link.active {
    color: white;
    background: rgba(102, 126, 234, 0.2);
}

.main-nav.scrolled {
    background: rgba(10, 10, 20, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Contact CTA button */
.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #667eea, #5a6fd6);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

/* Hamburger always visible */
.hamburger-btn {
    display: flex;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #5a6fd6);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.hamburger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

.nav-btn {
    height: 48px;
    padding: 0 16px;
    background: transparent;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
}

.nav-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-btn:active {
    transform: translateY(0);
}

.logo-btn {
    padding: 0 16px 0 0;
    height: 48px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    text-decoration: none;
}


.logo-btn img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-btn:hover img {
    transform: scale(1.08);
}

/* New split logo styles */
.logo-icon {
    height: 28px !important;
    width: 28px !important;
    object-fit: contain;
    margin: 0;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #8281ff 50%, #00bbf9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-btn:hover .logo-text {
    background: linear-gradient(135deg, #7c8ff7 0%, #00F0FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.help-btn {
    width: 48px;
    padding: 0;
    font-size: 1.2rem;
}

.contact-btn {
    text-decoration: none;
}

.help-btn.hidden {
    display: none !important;
}

/* Expandable Menu */
.nav-expandable {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
    pointer-events: none;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 0;
    overflow: hidden;
}

.main-nav:hover .nav-expandable,
.main-nav.is-open .nav-expandable {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    max-width: 2000px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu-items {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    height: 48px;
    padding: 0 18px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.nav-link:hover::before {
    transform: translateX(100%);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-action-btn {
    height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.nav-action-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Nav Horizontal Expand System - 4 colored triggers that expand on hover */
.nav-expand-group {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.nav-expand-trigger {
    height: 48px;
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    position: relative;
}

.nav-expand-trigger:hover {
    transform: translateY(-2px);
}

/* Menu button - keeping simple black style for all triggers */
/* Colors removed - all buttons now use the base .nav-expand-trigger styling */

/* Hidden items - vertical dropdown below trigger */
.nav-expand-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding-top: 8px;
    /* Visual spacing moved inside */
    min-width: 200px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: transparent;
    /* Background moved to inner content */
    border-radius: 12px;
    box-shadow: none;
    /* Slow transition for closing */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

/* Inner wrapper styling for the actual dropdown appearance */
.nav-expand-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    margin-top: 0;
    /* Reduced from 8px - closer to trigger */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Invisible bridge for regular dropdowns - same as mega-menu */
.nav-expand-items::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -20px;
    right: -20px;
    height: 35px;
    background: transparent;
    pointer-events: auto;
}


/* On hover of the group, dropdown opens */
.nav-expand-group:hover .nav-expand-items,
.nav-expand-group.is-open .nav-expand-items {
    max-height: 600px;
    opacity: 1;
    padding: 16px 8px 8px 8px;
    /* Extra top padding to account for bridge */
    pointer-events: auto;
    /* Fast transition for opening */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keep ALL expanded items open as long as mouse is anywhere on nav-visible */
/* This prevents menus from closing while navigating between different menu buttons */
.nav-visible:hover .nav-expand-group.menu-hovered .nav-expand-items {
    max-height: 600px;
    opacity: 1;
    padding: 16px 8px 8px 8px;
    /* Extra top padding to account for bridge */
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-expand-item {
    height: 44px;
    padding: 0 16px;
    /* Same glassy background as main menu buttons */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
    justify-content: flex-start;
}

.nav-expand-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* === MEGA MENU STYLES === */
.mega-menu .nav-expand-items.nav-mega {
    display: none;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 680px;
    max-width: 800px;
    padding: 20px;
    gap: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    /* CRITICAL: Position below the trigger button */
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    /* Reduced from 8px - menu sits closer to trigger */
    padding-top: 20px;
    z-index: 1000;
}

/* Invisible bridge - positioned ABOVE the menu to connect with button */
/* Extended dimensions for stable hover during diagonal mouse movement */
.mega-menu .nav-expand-items.nav-mega::after {
    content: '';
    position: absolute;
    top: -50px;
    /* Extended from -30px - deeper overlap with trigger zone */
    left: -40px;
    /* Extended from -20px - wider horizontal coverage */
    right: -40px;
    height: 60px;
    /* Extended from 40px - taller bridge for better stability */
    background: transparent;
    pointer-events: auto;
}

/* Add hover extension to the trigger button itself */
.mega-menu .nav-expand-trigger::after {
    content: '';
    position: absolute;
    bottom: -20px;
    /* Extends trigger hitzone downward into the gap */
    left: -10px;
    right: -10px;
    height: 25px;
    background: transparent;
    pointer-events: auto;
}

.mega-menu:hover .nav-expand-items.nav-mega,
.mega-menu.is-open .nav-expand-items.nav-mega {
    display: flex;
    opacity: 1;
    max-height: none;
    pointer-events: auto;
}

.mega-col {
    flex: 1 1 150px;
    min-width: 150px;
    padding: 10px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.mega-col:last-child {
    border-right: none;
}

.mega-col h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Emoji above text, centered */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.2;
}

.mega-col .nav-expand-item {
    height: 38px;
    font-size: 0.85rem;
    padding: 0 8px;
    margin-bottom: 4px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.mega-col .nav-expand-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

/* Mobile mega menu - stack columns, full width */
@media (max-width: 900px) {
    .mega-menu .nav-expand-items.nav-mega {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        max-width: none;
        min-width: auto;
        width: calc(100vw - 20px);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        flex-direction: column;
        padding: 16px;
        transform: none;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    }

    .mega-col {
        flex: none;
        width: 100%;
        min-width: auto;
        padding: 12px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .mega-col h4 {
        font-size: 0.85rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
        height: auto;
        min-height: auto;
        color: white;
    }

    .mega-col .nav-expand-item {
        height: 44px;
        font-size: 0.9rem;
        padding: 0 12px;
        margin-bottom: 4px;
        border-radius: 10px;
    }

    /* Mobile close button for mega menu */
    .mega-menu-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: white;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 10;
    }

    .mega-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    /* Mobile: Click-based menu opening via .is-open class */
    .nav-expand-group.is-open .nav-expand-items {
        max-height: 600px;
        opacity: 1;
        padding: 16px 8px 8px 8px;
        pointer-events: auto;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mega-menu.is-open .nav-expand-items.nav-mega {
        display: flex;
        opacity: 1;
        max-height: none;
        pointer-events: auto;
    }

    /* Disable hover-based opening on mobile */
    .nav-expand-group:hover .nav-expand-items,
    .mega-menu:hover .nav-expand-items.nav-mega {
        /* Don't open on hover on mobile - only via .is-open */
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }

    /* Re-enable when .is-open is applied */
    .nav-expand-group.is-open:hover .nav-expand-items,
    .mega-menu.is-open:hover .nav-expand-items.nav-mega {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
    }
}

/* Hide close button on desktop only */
@media (min-width: 901px) {
    .mega-menu-close {
        display: none;
    }
}

/* ==========================================
   MOBILE HAMBURGER & DRAWER SYSTEM
   ========================================== */

/* Hamburger Button - now visible on all screen sizes */
/* (main styles defined in the nav section above) */

/* Mobile nav responsiveness */
@media (max-width: 900px) {
    .nav-visible {
        padding: 10px 16px;
    }

    .nav-menu-items {
        display: none;
    }

    .nav-contact-btn {
        margin-left: auto;
        padding: 8px 16px;
        font-size: 0.82rem;
    }
}

/* Mobile Drawer Backdrop */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2999;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer Panel */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 0, 20, 0.98) 0%, rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3000;
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.active {
    transform: translateX(0);
}

/* Desktop: wider drawer with new double-column layout */
@media (min-width: 901px) {
    .mobile-drawer {
        max-width: 620px;
        width: 620px;
    }
}

/* Drawer action buttons area */
.drawer-action-buttons {
    padding: 0 0 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Contact row: Bel Me | CONTACT | Mail Me */
.drawer-action-row--contact {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.drawer-action-btn {
    padding: 8px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.25s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.drawer-action-btn:hover {
    transform: translateY(-2px);
}

/* Center button: Contact — prominent Blue/Cyan gradient */
.drawer-action-btn--center {
    flex: 1.4;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea, #06b6d4);
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
    letter-spacing: 0.3px;
}

.drawer-action-btn--center:hover {
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.55);
    background: linear-gradient(135deg, #5a6fd6, #06b6d4);
}

/* Side buttons: Bel Me & Mail Me — Blue/Cyan tinted */
.drawer-action-btn--side {
    flex: 1;
    padding: 10px 8px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.35);
    font-size: 0.75rem;
    color: #c7d2fe;
}

.drawer-action-btn--side:hover {
    background: rgba(102, 126, 234, 0.35);
    border-color: rgba(102, 126, 234, 0.55);
    color: white;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.25);
}

/* Full-width action rows */
.drawer-action-btn--full {
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    font-size: 0.82rem;
}

/* Aanmelden Klantportaal: solid amber fill */
.drawer-action-btn--portal {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    border: none;
    color: #1a1a2e;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.25);
}

.drawer-action-btn--portal:hover {
    background: linear-gradient(135deg, #b45309, #d97706);
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
    color: #0a0a1a;
}

/* Hulp Op Afstand: solid cyan fill */
.drawer-action-btn--remote {
    background: linear-gradient(135deg, #667eea, #5a6fd6);
    border: none;
    color: #1a1a2e;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(6, 182, 212, 0.25);
}

.drawer-action-btn--remote:hover {
    background: linear-gradient(135deg, #0e7490, #06b6d4);
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
    color: #0a0a1a;
}

/* Language pills in header */
.drawer-header-lang {
    display: flex;
    gap: 4px;
    margin-left: auto;
    margin-right: 8px;
}

.drawer-lang-pill {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.drawer-lang-pill:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
}

.drawer-lang-pill--active {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    color: #a78bfa;
}

/* Legacy — hide old lang group in content area */
.drawer-lang-group {
    display: none;
}

/* Drawer sections grid: 2-column on desktop */
.drawer-sections-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.drawer-col-2-stack,
.drawer-col-1-stack {
    display: flex;
    flex-direction: column;
}

.drawer-col-full {
    grid-column: 1 / -1;
}

@media (min-width: 901px) {
    .drawer-sections-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
        align-items: start;
    }

    .drawer-col-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .drawer-col-1-stack {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        flex-direction: column;
    }

    .drawer-col-2-stack {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
    }

    .drawer-col-full {
        grid-column: 1 / -1;
    }
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.02);
}

.mobile-drawer-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.drawer-logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.mobile-drawer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #8281ff 50%, #00bbf9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-drawer-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: scale(1.05);
}

.mobile-drawer-content {
    padding: 12px 14px;
}

.mobile-drawer-section {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* "Op deze pagina" highlighted section */
.mobile-drawer-section--page {
    background: rgba(102, 126, 234, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.18);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 12px;
}

.mobile-drawer-section--page h4 {
    color: rgba(130, 140, 255, 0.85) !important;
    padding-left: 0 !important;
}

.mobile-drawer-section--page a:hover {
    background: rgba(102, 126, 234, 0.12) !important;
    color: white !important;
}

.mobile-drawer-section h4 {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
    padding-left: 6px;
}

.mobile-drawer-section a {
    display: block;
    padding: 5px 8px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 6px;
    transition: all 0.15s ease;
    margin-bottom: 1px;
    line-height: 1.4;
}

.mobile-drawer-section a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    transform: translateX(3px);
}

/* ══════════════════════════════════════
   DRAWER ACCORDION — Collapsible Menu
   ══════════════════════════════════════ */

.drawer-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}

.drawer-accordion {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.drawer-accordion[open] {
    border-color: rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.drawer-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    list-style: none;
    user-select: none;
    transition: all 0.2s ease;
    border-radius: 10px;
}

/* Remove default marker/arrow */
.drawer-accordion-header::-webkit-details-marker { display: none; }
.drawer-accordion-header::marker { display: none; content: ''; }

/* Chevron via pseudo-element */
.drawer-accordion-header::before {
    content: '▸';
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    margin-right: 10px;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.drawer-accordion[open] > .drawer-accordion-header::before {
    transform: rotate(90deg);
    color: rgba(102, 126, 234, 0.8);
}

.drawer-accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Count badge */
.drawer-accordion-count {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 9999px;
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
    margin-left: auto;
}

.drawer-accordion[open] .drawer-accordion-count {
    color: rgba(102, 126, 234, 0.7);
    background: rgba(102, 126, 234, 0.08);
}

/* Accordion body */
.drawer-accordion-body {
    padding: 0 12px 10px 34px;
}

.drawer-accordion-body a {
    display: block;
    padding: 5px 8px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.15s ease;
    margin-bottom: 1px;
    line-height: 1.5;
}

.drawer-accordion-body a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: white;
    transform: translateX(3px);
}

/* Sub-category labels within accordion body */
.drawer-sub-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0 3px 0;
    margin-top: 4px;
}

.drawer-sub-label:first-child {
    padding-top: 0;
    margin-top: 0;
}

/* "Op deze pagina" special accordion */
.drawer-accordion--page {
    border-color: rgba(102, 126, 234, 0.2);
    background: rgba(102, 126, 234, 0.04);
}

.drawer-accordion--page > .drawer-accordion-header {
    color: rgba(130, 140, 255, 0.9);
}

.drawer-accordion--page .drawer-accordion-body a:hover {
    background: rgba(102, 126, 234, 0.12);
}

/* Drawer action buttons */
.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.drawer-lang-btn {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.drawer-lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.drawer-contact-btn {
    display: block;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--col-synergy) 0%, #7c8ff7 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Legacy quick action styles (kept for backward compat) */
.mobile-drawer-quick-actions {
    display: none;
}

.drawer-quick-btn {
    display: none;
}

/* Mobile-specific styles */
/* =============================================
   Mobile nav bar: tom·cool (dot = icon menu button)
   Hidden on desktop, shown on mobile
   ============================================= */
.mobile-nav-bar {
    display: none;
    /* Hidden on desktop */
}

@media (max-width: 900px) {

    /* Show mobile-only nav bar */
    .mobile-nav-bar {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2000;
        justify-content: center;
        align-items: center;
        padding: 14px 0 10px;
        background: linear-gradient(180deg, rgba(5, 5, 20, 0.85) 0%, rgba(5, 5, 20, 0.4) 70%, transparent 100%);
        pointer-events: none;
        /* Let content below be clickable */
    }

    .mobile-nav-brand {
        display: flex;
        align-items: center;
        gap: 0;
        pointer-events: auto;
        /* Make brand area clickable */
    }

    .mobile-nav-tom,
    .mobile-nav-cool {
        font-family: 'Outfit', 'Inter', sans-serif;
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: white;
        user-select: none;
    }

    .mobile-nav-cool {
        background: linear-gradient(135deg, #00f0ff, #667eea);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* The dot = favicon icon = menu button */
    .mobile-nav-dot {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 48px;
        height: 48px;
        margin: 0 2px;
        padding: 0;
        background: rgba(102, 126, 234, 0.2);
        border: 1.5px solid rgba(102, 126, 234, 0.4);
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        z-index: 10;
        pointer-events: auto;
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.3);
        touch-action: manipulation;
        transition: all 0.3s ease;
        animation: dotPulse 3s ease-in-out infinite;
    }

    .mobile-nav-dot:hover,
    .mobile-nav-dot:active {
        background: rgba(102, 126, 234, 0.45);
        transform: scale(1.1);
        box-shadow: 0 0 16px rgba(102, 126, 234, 0.5);
    }

    .mobile-nav-dot-icon {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        object-fit: contain;
        pointer-events: none;
        flex-shrink: 0;
    }

    /* 3 hamburger lines beside the icon */
    .mobile-nav-dot::after {
        content: '';
        display: block;
        width: 11px;
        height: 9px;
        flex-shrink: 0;
        pointer-events: none;
        background:
            linear-gradient(white, white) 0 0 / 11px 2px no-repeat,
            linear-gradient(white, white) 0 50% / 8px 2px no-repeat,
            linear-gradient(white, white) 0 100% / 11px 2px no-repeat;
        opacity: 0.75;
    }

    @keyframes dotPulse {

        0%,
        100% {
            box-shadow: 0 0 4px rgba(102, 126, 234, 0.2);
        }

        50% {
            box-shadow: 0 0 12px rgba(102, 126, 234, 0.5), 0 0 24px rgba(102, 126, 234, 0.15);
        }
    }

    /* Hide the entire desktop nav on mobile */
    .main-nav {
        display: none !important;
    }

    /* Hide contact button on mobile - it's already in the drawer */
    .nav-contact-btn {
        display: none !important;
    }

    /* Desktop hamburger not needed on mobile (dot replaces it) */
    .desktop-hamburger {
        display: none !important;
    }

    /* Mobile drawer: wider on small screens */
    .mobile-drawer {
        width: 92% !important;
        max-width: 400px !important;
    }

    /* Drawer action buttons: allow wrapping on tiny screens */
    .drawer-action-row {
        flex-wrap: wrap;
    }

    .drawer-action-btn {
        min-width: 0;
        font-size: 0.78rem;
    }

    .drawer-lang-group {
        flex-shrink: 0;
    }
}


/* Onboarding Form Styles */
.onboarding-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Stagger animation for menu items */
.main-nav:hover .nav-link,
.main-nav.is-open .nav-link {
    animation: navItemFadeIn 0.4s ease forwards;
    opacity: 0;
}

.main-nav:hover .nav-link:nth-child(1),
.main-nav.is-open .nav-link:nth-child(1) {
    animation-delay: 0.05s;
}

.main-nav:hover .nav-link:nth-child(2),
.main-nav.is-open .nav-link:nth-child(2) {
    animation-delay: 0.1s;
}

.main-nav:hover .nav-link:nth-child(3),
.main-nav.is-open .nav-link:nth-child(3) {
    animation-delay: 0.15s;
}

.main-nav:hover .nav-link:nth-child(4),
.main-nav.is-open .nav-link:nth-child(4) {
    animation-delay: 0.2s;
}

.main-nav:hover .nav-link:nth-child(5),
.main-nav.is-open .nav-link:nth-child(5) {
    animation-delay: 0.25s;
}

@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FLY-IN ANIMATIONS FOR HOMEPAGE (Desktop only) --- */
/* Cards start hidden and offset */
.animate-fly-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When visible, animate to normal position */
.animate-fly-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for bento cards */
.bento-card.animate-fly-in:nth-child(1) {
    transition-delay: 0s;
}

.bento-card.animate-fly-in:nth-child(2) {
    transition-delay: 0.05s;
}

.bento-card.animate-fly-in:nth-child(3) {
    transition-delay: 0.1s;
}

.bento-card.animate-fly-in:nth-child(4) {
    transition-delay: 0.15s;
}

.bento-card.animate-fly-in:nth-child(5) {
    transition-delay: 0.2s;
}

.bento-card.animate-fly-in:nth-child(6) {
    transition-delay: 0.25s;
}

.bento-card.animate-fly-in:nth-child(7) {
    transition-delay: 0.3s;
}

.bento-card.animate-fly-in:nth-child(8) {
    transition-delay: 0.35s;
}

.bento-card.animate-fly-in:nth-child(9) {
    transition-delay: 0.4s;
}

.bento-card.animate-fly-in:nth-child(10) {
    transition-delay: 0.45s;
}

.bento-card.animate-fly-in:nth-child(11) {
    transition-delay: 0.5s;
}

.bento-card.animate-fly-in:nth-child(12) {
    transition-delay: 0.55s;
}

.bento-card.animate-fly-in:nth-child(13) {
    transition-delay: 0.6s;
}

.bento-card.animate-fly-in:nth-child(14) {
    transition-delay: 0.65s;
}

/* Service blocks with alternating direction */
.service-block.animate-fly-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-block.animate-fly-in:nth-child(even) {
    transform: translateX(50px);
}

.service-block.animate-fly-in.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Mobile Styles */
@media (max-width: 900px) {
    .main-nav {
        left: 0;
        top: 0;
        right: 0;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 6px;
        /* Glassmorphism background for mobile nav bar */
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        /* Curved bottom corners only - like inverted U */
        border-radius: 0 0 24px 24px;
        padding: 12px 12px 10px 12px;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
    }

    .nav-visible {
        flex-wrap: nowrap;
        gap: 4px;
        width: auto;
        justify-content: center;
    }

    /* Mobile: use favicon for logo, compact size */
    .logo-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        padding: 0;
        flex-shrink: 0;
        gap: 0;
        border-radius: 8px;
    }

    .logo-btn .logo-icon {
        height: 22px !important;
        width: 22px !important;
    }

    .logo-btn .logo-text {
        display: none;
    }

    .logo-btn img {
        height: auto;
    }

    /* Compact triggers for mobile - use clamp for responsive sizing */
    .nav-expand-trigger {
        height: 36px;
        font-size: clamp(0.6rem, 2.5vw, 0.75rem);
        padding: 0 8px;
        white-space: nowrap;
    }

    .nav-expand-group {
        flex: 0 1 auto;
        position: relative;
    }

    /* Mobile: expand below the button, stacked vertically */
    .nav-expand-items {
        position: absolute;
        left: 0;
        top: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        white-space: nowrap;
        margin-top: 4px;
        min-width: 120px;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 8px;
        padding: 4px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        z-index: 100;
    }

    .nav-expand-item {
        height: 36px;
        font-size: 0.7rem;
        padding: 0 12px;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        border-radius: 6px;
    }

    .nav-btn {
        height: 44px;
        padding: 0 16px;
        font-size: 0.85rem;
    }

    .help-btn {
        width: 44px;
        font-size: 1.1rem;
    }

    .nav-expandable {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 12px;
        flex-direction: column;
        align-items: stretch;
        width: calc(100vw - 80px);
        max-width: 320px;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px;
        padding: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        transform: translateY(-10px) scale(0.98);
        max-width: none;
    }

    .main-nav.is-open .nav-expandable {
        transform: translateY(0) scale(1);
    }

    .nav-menu-items {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0 16px;
        height: 44px;
        border-radius: 10px;
    }

    .nav-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 12px;
        margin-top: 8px;
        width: 100%;
    }

    /* Mobile horizontal expand adjustments */
    .nav-expand-group {
        flex-wrap: wrap;
    }

    .nav-expand-trigger {
        height: 40px;
        font-size: 0.8rem;
        padding: 0 12px;
    }

    .nav-expand-items {
        flex-wrap: wrap;
    }

    .nav-expand-item {
        height: 40px;
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .nav-action-btn {
        flex: 1;
        min-width: 80px;
        height: 40px;
        font-size: 0.8rem;
    }

    .logo-btn {
        height: 48px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-btn img {
        height: 80px;
    }
}

@media (max-width: 480px) {
    /* Nav stays at edges - no override needed */

    .nav-btn {
        height: 40px;
        padding: 0 12px;
        font-size: 0.8rem;
    }

    .logo-btn {
        padding: 0 3px;
        height: 40px;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-btn img {
        height: 70px;
    }

    .help-btn {
        width: 40px;
        font-size: 1rem;
    }

    .nav-expandable {
        width: calc(100vw - 70px);
        max-width: 280px;
    }
}

@media (min-width: 901px) {
    .mobile-only {
        display: none;
    }
}


/* --- HERO --- */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.intro-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    text-align: left;
    position: relative;
    z-index: 10;
}

.tom-photo {
    width: 280px;
    height: auto;
    object-fit: contain;
    z-index: 10;
    /* Start hidden - revealed by JS after setting correct seasonal image */
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.9));
    margin-right: -20px;
}

.tom-photo.loaded {
    opacity: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: #e5e5e5;
    max-width: 650px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 1);
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .subtitle {
        font-size: 1rem;
    }
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    position: relative;
    z-index: 10;
}

@media (min-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .span-2-tablet {
        grid-column: span 2;
    }
}

@media (min-width: 1100px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .span-2-desktop {
        grid-column: span 4;
        text-align: center;
    }

    .span-2-desktop .bento-content {
        justify-content: center;
    }
}

.bento-card {
    background: var(--card-glass);
    backdrop-filter: blur(12px);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s var(--ease-spring), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease, opacity 0.6s ease-out;
    text-decoration: none;
    color: inherit;
}

/* Desktop-only fly-in animation for homepage bento cards */
@media (min-width: 1100px) {
    .bento-card.animate-fly-in {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bento-card.animate-fly-in.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* Staggered delays for each card in the grid */
    .bento-card.animate-fly-in:nth-child(1) {
        transition-delay: 0s;
    }

    .bento-card.animate-fly-in:nth-child(2) {
        transition-delay: 0.08s;
    }

    .bento-card.animate-fly-in:nth-child(3) {
        transition-delay: 0.16s;
    }

    .bento-card.animate-fly-in:nth-child(4) {
        transition-delay: 0.24s;
    }

    .bento-card.animate-fly-in:nth-child(5) {
        transition-delay: 0.32s;
    }

    .bento-card.animate-fly-in:nth-child(6) {
        transition-delay: 0.40s;
    }

    .bento-card.animate-fly-in:nth-child(7) {
        transition-delay: 0.48s;
    }

    .bento-card.animate-fly-in:nth-child(8) {
        transition-delay: 0.56s;
    }

    .bento-card.animate-fly-in:nth-child(9) {
        transition-delay: 0.64s;
    }

    .bento-card.animate-fly-in:nth-child(10) {
        transition-delay: 0.72s;
    }

    /* Fly-in animation for service blocks */
    .service-block.animate-fly-in {
        opacity: 0;
        transform: translateY(80px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .service-block.animate-fly-in.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.bento-card>div:last-child {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 480px) {
    .bento-card {
        padding: 20px;
        min-height: 180px;
    }

    .bento-card h3 {
        font-size: 1.3rem;
    }

    .bento-card p {
        font-size: 0.9rem;
    }

    .bento-extra {
        font-size: 0.8rem;
    }
}

.bento-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 10, 40, 0.97);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Shimmer sweep inside bento card on hover */
.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

.bento-card:hover::after {
    transform: translateX(100%);
}

/* When animated and visible, keep hover effect working properly */
@media (min-width: 1100px) {
    .bento-card.animate-fly-in.is-visible:hover {
        transform: translateY(-10px) scale(1);
    }
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.bento-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.bento-extra {
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 15px;
    color: #fff;
    font-weight: 600;
    opacity: 0.8;
}

/* --- PARTICULIER HERO --- */
.part-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 60px;
}

@media(min-width: 900px) {
    .part-hero {
        flex-direction: row;
        align-items: stretch;
    }
}

.part-hero-content {
    flex: 1;
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    border: 1px solid var(--border-color);
    border-right: none;
}

.part-hero-img {
    flex: 1;
    position: relative;
    min-height: 450px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-left: none;
}

.part-hero-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 899px) {
    .part-hero-content {
        border-radius: 16px 16px 0 0;
        border: 1px solid #333;
        border-bottom: none;
        padding: 30px;
    }

    .part-hero-img {
        border-radius: 0 0 16px 16px;
        border: 1px solid #333;
        border-top: none;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .part-hero-content {
        padding: 20px;
    }

    .part-hero-content h1 {
        font-size: 2rem !important;
    }

    .part-hero-content h2 {
        font-size: 1rem !important;
    }

    .part-hero-content h3 {
        font-size: 1.1rem !important;
    }

    .part-hero-img {
        height: 250px;
    }
}

/* --- SERVICE BLOKKEN (Uniform voor Home & Sub) --- */
.service-block {
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

a.service-block {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    /* Ensure it sits above background elements */
}

a.service-block:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
}

@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media(min-width: 900px) {
    .service-block {
        flex-direction: row;
        align-items: stretch;
    }

    .service-block:nth-child(even) {
        flex-direction: row-reverse;
    }

    .service-text {
        flex: 1;
        padding: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Right-align buttons in even rows (when image is on left) to avoid sticky CTA overlap */
    .service-block:nth-child(even) .service-text {
        align-items: flex-end;
        text-align: right;
    }

    .service-block:nth-child(even) .service-text ul {
        text-align: left;
    }

    .service-block:nth-child(even) .service-text h3,
    .service-block:nth-child(even) .service-text p {
        text-align: left;
    }

    /* Right-align buttons container in even rows (text is on right, image on left) */
    .service-block:nth-child(even) .service-text>div {
        justify-content: flex-end;
        width: 100%;
    }

    /* When image-box comes first (image on left), right-align the text content and buttons */
    .service-block .service-img-box:first-child~.service-text {
        align-items: flex-end;
    }

    .service-block .service-img-box:first-child~.service-text>div[style*="flex"] {
        justify-content: flex-end !important;
    }

    .service-img-box {
        flex: 1;
        position: relative;
        min-height: 400px;
    }

    .service-img-box img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media(max-width: 899px) {
    .service-text {
        padding: 30px;
    }

    .service-img-box {
        height: 250px;
        width: 100%;
        position: relative;
    }

    .service-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .service-text {
        padding: 20px;
    }

    .service-text h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .service-img-box {
        height: 200px;
    }
}

.service-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    margin-top: 0;
}

.service-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.service-text li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #ccc;
}

.service-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Panels (FAQ/Tarieven) - Zelfde breedte als service-block */
.panel-box {
    background: var(--card-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px;
    backdrop-filter: blur(10px);
    width: 100%;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .panel-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .panel-box {
        padding: 20px 15px;
    }
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #333;
    color: white;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .pricing-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .pricing-table th:first-child,
    .pricing-table td:first-child {
        position: sticky;
        left: 0;
        background: var(--card-glass);
        z-index: 1;
    }
}

@media (max-width: 480px) {

    .pricing-table th,
    .pricing-table td {
        padding: 10px 6px;
        font-size: 0.85rem;
    }
}

/* --- STICKY CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 90%;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #333;
    border-radius: 50px;
    padding: 8px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1900;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 480px) {
    .sticky-cta {
        bottom: 20px;
        max-width: 95%;
        padding: 6px 8px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

.sticky-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}

.cta-button {
    background: #fff;
    color: #000;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
    margin-top: 0;
}

/* --- FOOTER --- */
.site-footer {
    background: rgba(5, 5, 5, 0.5);
    color: var(--text-muted);
    padding: 120px 0 60px;
    border-top: 1px solid #222;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* 4-column footer layout with wider form */
.footer-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1.3fr 1fr 1fr;
        align-items: stretch;
        width: 100%;
    }

    .footer-grid-4 {
        grid-template-columns: 1.2fr 1.3fr 1fr 1fr;
        align-items: stretch;
        width: 100%;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
}

/* Mobile footer improvements - 2 columns for links */
@media (max-width: 767px) {

    .footer-grid,
    .footer-grid-4 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Hide contact form on mobile to save space - just show CTA */
    .footer-col-form {
        order: 99;
    }

    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 4px 0;
        display: inline-block;
    }
}

/* Form column takes more space */
.footer-col-form {
    min-width: 280px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--col-synergy);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    transition: 0.2s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dotted #666;
    transition: 0.3s;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.contact-link:hover {
    color: var(--col-synergy);
    border-bottom-color: var(--col-synergy);
    transform: translateX(5px);
}

.contact-link[href^="tel:"]::before {
    content: '📞';
    font-size: 1.2rem;
}

.contact-link[href^="mailto:"]::before {
    content: '✉️';
    font-size: 1.2rem;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
}

.footer-form textarea {
    min-height: 120px;
    resize: vertical;
}

.footer-form button {
    width: 100%;
    padding: 14px;
    background: var(--col-synergy);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    margin-top: 10px;
}

.footer-form button:hover {
    background: #fff;
    color: var(--col-synergy);
    box-shadow: 0 0 15px var(--col-synergy);
    transform: translateY(-2px);
}

.footer-watermark {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: #111;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.5;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

/* Contact column social icons wrapper */
.contact-social {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.contact-social .social-link {
    width: 36px;
    height: 36px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    background: var(--col-synergy);
    border-color: var(--col-synergy);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.social-link svg {
    transition: transform 0.3s var(--ease-out);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Footer Trust Badges */
.footer-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .footer-trust {
        gap: 12px;
    }

    .trust-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* Cookie Float - Clean Glass Design */
@keyframes floatIn {
    from {
        transform: translateY(100px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

#cookie-float {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 480px;

    /* Clean glass background */
    background: rgba(12, 14, 28, 0.92);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);

    /* Simple border */
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;

    /* Subtle shadow */
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.04);

    padding: 24px 28px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle triangle motif from logo — geometric accent */
#cookie-float::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background:
        linear-gradient(135deg, rgba(102, 126, 234, 0.06) 25%, transparent 25%),
        linear-gradient(225deg, rgba(102, 126, 234, 0.04) 25%, transparent 25%),
        linear-gradient(315deg, rgba(130, 129, 255, 0.03) 25%, transparent 25%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    border-radius: 0 16px 0 0;
    pointer-events: none;
    z-index: 0;
}

#cookie-float::after {
    display: none;
}

#cookie-float.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

#cookie-float.hidden {
    display: none;
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-icon {
    font-size: 2.2rem;
}

.cookie-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.cookie-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 5px;
}

.cookie-text a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.cookie-text a:hover {
    color: #8281ff;
    border-bottom-color: rgba(102, 126, 234, 0.4);
}

.cookie-options {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
    padding: 16px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.cookie-options.show {
    display: flex;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cookie-option-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

.cookie-option-desc {
    font-size: 0.85rem;
    color: #aaa;
    margin-left: 30px;
}

.cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: #333;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle.active {
    background: var(--col-kmo);
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cookie-toggle.active .cookie-slider {
    transform: translateX(20px);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.cookie-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    transition: all 0.3s;
    text-align: center;
}

.cookie-btn-primary {
    background: #06b6d4;
    color: #040108;
}

.cookie-btn-primary:hover {
    background: #00f0ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.cookie-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.cookie-btn-accept {
    background: #06b6d4;
    color: #040108;
}

.cookie-btn-accept:hover {
    background: #00f0ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

/* --- COOKIE BACKDROP --- */
#cookie-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2999;
    /* Just below cookie float (3000) */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#cookie-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    #cookie-float {
        bottom: 20px;
        left: 5%;
        right: 5%;
        width: auto;
        transform: translateY(100px);
        border-radius: 14px;
        padding: 10px 14px;
        gap: 8px;
        flex-direction: column;
        align-items: center;
        overflow: visible;
        background: rgba(12, 14, 28, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(102, 126, 234, 0.2);
        position: fixed;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }

    #cookie-float.show {
        transform: translateY(0);
    }

    #cookie-float::after {
        display: none;
    }

    .cookie-buttons {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .cookie-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 0.9rem;
        border-radius: 24px;
        font-weight: 700;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cookie-btn-accept {
        box-shadow: 0 0 12px rgba(102, 126, 234, 0.3);
    }

    .cookie-btn-reject {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.7);
    }

    .cookie-btn-secondary {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.7);
    }

    .cookie-header,
    .cookie-text,
    .cookie-options {
        display: none;
    }

    #cookie-float::before {
        content: '\1F6E1\FE0F Privacy';
        color: white;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        position: static;
        width: auto;
        height: auto;
        background: none;
        clip-path: none;
    }
}

@media (max-width: 768px) {
    .intro-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .tom-photo {
        margin-right: 0;
        width: 220px;
    }

    .footer-watermark {
        font-size: 4rem;
    }

    /* Ensure proper padding for content below fixed header */
    .hero-wrapper {
        padding-top: 100px !important;
    }

    div[style*="padding-top: 140px"] {
        padding-top: 100px !important;
    }

    /* Portfolio grid optimization for tablets */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 20px !important;
    }

    /* FAQ grid optimization for tablets */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .hero-wrapper {
        padding-top: 90px !important;
    }

    div[style*="padding-top: 140px"] {
        padding-top: 90px !important;
    }

    /* Portfolio grid optimization */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .portfolio-item {
        padding: 20px !important;
    }

    .portfolio-item div[style*="height: 200px"] {
        height: 150px !important;
        font-size: 2rem !important;
    }

    /* FAQ grid optimization */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Section headings */
    h2[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
}

/* --- TOM COOL POPUP GREETINGS --- */
.tom-photo {
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;
}

.tom-photo:hover {
    transform: scale(1.05);
}

.tom-greeting-popup {
    position: fixed;
    background: rgba(10, 10, 10, 0.95);
    /* Deeper black for better readability */
    backdrop-filter: blur(12px);
    border: 1px solid var(--col-synergy);
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 300px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 10000;
    pointer-events: none;
    animation: popupAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    font-family: var(--font-main);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
}

/* Mobile optimizations for popup */
@media (max-width: 768px) {
    .tom-greeting-popup {
        max-width: 90vw !important;
        /* Prevent cutoff */
        font-size: 0.9rem;
        padding: 14px 18px;
        border-width: 1px;
    }
}

@keyframes popupAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.tom-greeting-popup.fade-out {
    animation: popupFadeOut 0.3s ease-out forwards;
}

@keyframes popupFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* --- PORTFOLIO TITLE --- */
.section-title-glass {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 50px;
    color: var(--accent-color);
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 15px 40px;
    width: fit-content;
    max-width: 95%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .section-title-glass {
        font-size: 2rem;
        padding: 15px 25px;
        width: 100%;
        border-radius: 12px;
    }
}

/* --- LOGIN & DASHBOARD --- */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.login-card {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    margin-bottom: 30px;
}

.login-logo {
    height: 80px;
    margin: 0 auto 15px;
    display: block;
}

.login-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
}

.login-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--col-creative);
    box-shadow: 0 0 0 4px rgba(255, 0, 85, 0.1);
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.btn-glow {
    background: var(--col-creative);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow:hover {
    background: #ff1f6d;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

.login-error {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.login-footer {
    margin-top: 25px;
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--text-muted);
}

.login-footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: rgba(10, 10, 10, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-brand img {
    height: 40px;
}

.sidebar-brand span {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-menu a.active {
    background: var(--col-creative);
}

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: var(--col-kmo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: black;
}

.dash-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}


/* Microsoft Button */
.btn-microsoft {
    background: #2F2F2F;
    color: white;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-microsoft:hover {
    background: #3e3e3e;
    border-color: #888;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* Prevent FOUC (Flash of Unstyled Content) on dashboard */
body.dashboard-body {
    display: none;
}

/* --- 404 PAGE --- */
.page-404 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    padding: 20px;
}

.terminal-window {
    width: 600px;
    max-width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.t-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.t-close {
    background: #ff5f56;
}

.t-max {
    background: #ffbd2e;
}

.t-min {
    background: #27c93f;
}

.terminal-title {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
}

.terminal-body {
    padding: 20px;
    min-height: 300px;
    overflow-y: auto;
    color: #39FF14;
    /* Hacker green */
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.glitch-404 {
    font-size: 6rem;
    font-weight: 800;
    color: #f0f0f0;
    text-shadow: 2px 2px 0px #FF0055, -2px -2px 0px #00F0FF;
    animation: glitch 2s infinite alternate-reverse;
    margin-bottom: 20px;
    font-family: var(--font-main);
    letter-spacing: -5px;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px 0px #FF0055, -2px -2px 0px #00F0FF;
        transform: skewX(0deg);
    }

    10% {
        text-shadow: -2px 2px 0px #FF0055, 2px -2px 0px #00F0FF;
        transform: skewX(-5deg);
    }

    20% {
        text-shadow: 2px -2px 0px #FF0055, -2px 2px 0px #00F0FF;
        transform: skewX(5deg);
    }

    30% {
        text-shadow: -2px 2px 0px #FF0055, 2px -2px 0px #00F0FF;
        transform: skewX(0deg);
    }

    100% {
        text-shadow: 2px 2px 0px #FF0055, -2px -2px 0px #00F0FF;
        transform: skewX(0deg);
    }
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 14px;
    background: #39FF14;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.emergency-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid #FF0055;
    color: #FF0055;
    font-family: var(--font-main);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.emergency-btn:hover {
    background: #FF0055;
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

/* --- Dashboard Extra Styles --- */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    min-width: 200px;
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: #ccc;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.invoice-item-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.invoice-item-row input,
.invoice-item-row select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    color: white;
    border-radius: 6px;
}

.btn-micro {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* --- MOBILE OPTIMIZATION --- */

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {

    /* Layout */
    .dashboard-layout {
        flex-direction: column;
    }

    /* Sidebar - Mobile: Hidden by default */
    .sidebar {
        position: fixed;
        width: 100%;
        height: auto;
        padding: 10px 20px;
        z-index: 1000;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-menu {
        display: none;
        /* Toggled via JS */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #111;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
    }

    .sidebar-menu.show {
        display: flex;
    }

    .main-content {
        padding-top: 80px;
        /* Space for fixed header */
    }

    /* Top Bar */
    .top-bar {
        flex-direction: row;
        /* Keep row */
        margin-bottom: 20px;
    }

    .top-bar h1 {
        font-size: 1.5rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    /* Grids & Flex */
    .form-row,
    .invoice-item-row {
        flex-direction: column;
        gap: 10px;
    }

    .stat-card {
        min-width: 100%;
    }

    /* Kanban */
    div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        /* Stack columns */
    }

    /* Tables */
    .table-container {
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .data-table th,
    .data-table td {
        font-size: 0.85rem;
        padding: 10px 8px;
    }

    /* Modals */
    .modal-card {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* --- SMART ESTIMATOR WIZARD --- */
.wizard-card {
    background: rgba(10, 10, 10, 0.85);
    /* fallback */
    background: var(--card-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    /* Default full width */
    max-width: 900px;
    /* Max width to prevent it being too stretched */
    margin: 0 auto;
    /* Center it */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.wizard-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--col-creative), var(--col-kmo));
    width: 0%;
    transition: width 0.4s ease;
}

.wizard-header {
    text-align: center;
    margin-bottom: 40px;
}

.wizard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.wizard-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.wizard-content {
    flex: 1;
    /* Pushes buttons down */
    margin-bottom: 40px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.selection-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selection-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.selection-card.selected {
    border-color: var(--col-kmo);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.selection-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.selection-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: white;
    color: black;
    border: none;
    margin-left: auto;
    /* Push to right if alone */
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Result Box */
.result-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.price-tag {
    font-size: 4rem;
    font-weight: 800;
    color: var(--col-managed);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    margin-bottom: 10px;
}

.disclaimer {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.summary-list {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.summary-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.summary-item:last-child {
    border-bottom: none;
}

/* =====================================
   SECTION NAVIGATOR - Circles Only (no vertical line)
   ===================================== */
.section-navigator {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Vertical line removed for cleaner look */
.section-navigator::before {
    display: none;
}

.section-nav-item {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-nav-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.section-nav-item:hover .section-nav-dot {
    transform: scale(1.3);
    border-color: white;
}

/* Active state - bigger with glow */
.section-nav-item.active .section-nav-dot {
    width: 24px;
    height: 24px;
    border-width: 3px;
    box-shadow:
        0 0 15px currentColor,
        0 0 30px currentColor,
        0 0 45px currentColor;
    animation: sectionPulse 2s ease-in-out infinite;
}

@keyframes sectionPulse {

    0%,
    100% {
        box-shadow:
            0 0 10px currentColor,
            0 0 20px currentColor;
    }

    50% {
        box-shadow:
            0 0 20px currentColor,
            0 0 40px currentColor,
            0 0 60px currentColor;
    }
}

/* Tooltip */
.section-nav-label {
    position: absolute;
    left: 50px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.9);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-nav-item:hover .section-nav-label {
    opacity: 1;
    transform: translateX(0);
}

/* Section-specific colors */
.section-nav-item[data-section="particulier"] .section-nav-dot {
    border-color: var(--col-particulier);
}

.section-nav-item[data-section="particulier"].active .section-nav-dot {
    background: var(--col-particulier);
    color: var(--col-particulier);
}

.section-nav-item[data-section="creative"] .section-nav-dot {
    border-color: var(--col-creative);
}

.section-nav-item[data-section="creative"].active .section-nav-dot {
    background: var(--col-creative);
    color: var(--col-creative);
}

.section-nav-item[data-section="kmo"] .section-nav-dot {
    border-color: var(--col-kmo);
}

.section-nav-item[data-section="kmo"].active .section-nav-dot {
    background: var(--col-kmo);
    color: var(--col-kmo);
}

.section-nav-item[data-section="managed"] .section-nav-dot {
    border-color: var(--col-managed);
}

.section-nav-item[data-section="managed"].active .section-nav-dot {
    background: var(--col-managed);
    color: var(--col-managed);
}

.section-nav-item[data-section="training"] .section-nav-dot {
    border-color: #FFD700;
}

.section-nav-item[data-section="training"].active .section-nav-dot {
    background: #FFD700;
    color: #FFD700;
}

.section-nav-item[data-section="webdev"] .section-nav-dot {
    border-color: #FF6B35;
}

.section-nav-item[data-section="webdev"].active .section-nav-dot {
    background: #FF6B35;
    color: #FF6B35;
}

.section-nav-item[data-section="data"] .section-nav-dot {
    border-color: #00D4AA;
}

.section-nav-item[data-section="data"].active .section-nav-dot {
    background: #00D4AA;
    color: #00D4AA;
}

.section-nav-item[data-section="synergy"] .section-nav-dot {
    border-color: var(--col-synergy);
}

.section-nav-item[data-section="synergy"].active .section-nav-dot {
    background: var(--col-synergy);
    color: var(--col-synergy);
}

/* Security - Red */
.section-nav-item[data-section="security"] .section-nav-dot {
    border-color: #ef4444;
}

.section-nav-item[data-section="security"].active .section-nav-dot {
    background: #ef4444;
    color: #ef4444;
}

/* AI - Cyan */
.section-nav-item[data-section="ai"] .section-nav-dot {
    border-color: #06b6d4;
}

.section-nav-item[data-section="ai"].active .section-nav-dot {
    background: #06b6d4;
    color: #06b6d4;
}

/* Cloud - Blue */
.section-nav-item[data-section="cloud"] .section-nav-dot {
    border-color: #3b82f6;
}

.section-nav-item[data-section="cloud"].active .section-nav-dot {
    background: #3b82f6;
    color: #3b82f6;
}

/* Network - Green */
.section-nav-item[data-section="network"] .section-nav-dot {
    border-color: #22c55e;
}

.section-nav-item[data-section="network"].active .section-nav-dot {
    background: #22c55e;
    color: #22c55e;
}

/* Backup - Tech Blue */
.section-nav-item[data-section="backup"] .section-nav-dot {
    border-color: #667eea;
}

.section-nav-item[data-section="backup"].active .section-nav-dot {
    background: #667eea;
    color: #667eea;
}

/* Hide on mobile and tablets */
@media (max-width: 1200px) {
    .section-navigator {
        display: none;
    }
}

/* =====================================
   BACK TO TOP BUTTON - Modern Glassmorphism
   ===================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top::before {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg) translateY(2px);
    transition: transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.back-to-top:hover::before {
    transform: rotate(45deg) translateY(-1px);
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
}


/* =====================================
   SCROLL INDICATOR - Animated arrow at top
   ===================================== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0 20px;
    position: relative;
    z-index: 10;
}

.scroll-indicator-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroll-indicator-chevron {
    font-size: 2.5rem;
    color: rgba(102, 126, 234, 0.8);
    animation: scrollBounce 2s ease-in-out infinite;
    line-height: 1;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(15px);
        opacity: 0.5;
    }
}

/* =====================================
   SECTION CHEVRONS - Between service cards
   ===================================== */
.section-chevron {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.section-chevron span {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    transition: all 0.3s ease;
    animation: chevronPulse 3s ease-in-out infinite;
}

.section-chevron:hover span {
    color: rgba(102, 126, 234, 0.6);
    transform: scale(1.2);
}

@keyframes chevronPulse {

    0%,
    100% {
        opacity: 0.25;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(5px);
    }
}

/* Hide scroll indicator after scrolling down */
.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-indicator {
        padding: 20px 0 10px;
    }

    .scroll-indicator-text {
        font-size: 0.75rem;
    }

    .scroll-indicator-chevron {
        font-size: 2rem;
    }

    .section-chevron {
        padding: 20px 0;
    }

    .section-chevron span {
        font-size: 2rem;
    }
}

/* =====================================
   NAV AUTH BUTTONS (Login/Signup)
   ===================================== */
/* CTA button - fixed top right */
.nav-cta-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    height: 48px;
    padding: 0 20px;
    background: linear-gradient(135deg, #667eea 0%, #06b6d4 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-cta-button:hover {
    background: linear-gradient(135deg, #7c8ff7 0%, #00F0FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .nav-cta-button {
        height: 36px;
        padding: 0 14px;
        font-size: 0.75rem;
        top: 12px;
        right: 12px;
        border-radius: 8px;
    }
}

/* Very small screens: hide */
@media (max-width: 380px) {
    .nav-cta-button {
        display: none;
    }
}

/* --- SKELETON LOADERS --- */
.skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    border-radius: 4px;
}

.skeleton-text:last-child {
    width: 70%;
}

.skeleton-card {
    min-height: 200px;
    border-radius: 12px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* --- CARD GLOW EFFECTS --- */
.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
    pointer-events: none;
}

.card-glow:hover::before {
    transform: translateX(200%);
}

/* --- FOCUS VISIBLE (Accessibility) --- */
:focus-visible {
    outline: 2px solid rgba(102, 126, 234, 0.6);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(102, 126, 234, 0.6);
    outline-offset: 2px;
}

/* =====================================
   SKIP TO CONTENT LINK (Accessibility)
   ===================================== */
.skip-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #06b6d4);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid white;
    outline-offset: 2px;
}

/* =====================================
   FORM VALIDATION UX
   ===================================== */
/* Valid input state */
input:valid:not(:placeholder-shown):not([type="hidden"]):not([type="checkbox"]),
textarea:valid:not(:placeholder-shown) {
    border-color: rgba(57, 255, 20, 0.5);
}

/* Invalid input state - only show after interaction */
input:invalid:not(:placeholder-shown):not(:focus):not([type="hidden"]):not([type="checkbox"]),
textarea:invalid:not(:placeholder-shown):not(:focus) {
    border-color: rgba(255, 82, 82, 0.7);
}

/* Form error message */
.form-error {
    color: #ff5252;
    font-size: 0.85rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeInError 0.3s ease;
}

.form-error::before {
    content: '\26A0';
    font-size: 1rem;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shake animation for invalid form submission */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.form-shake {
    animation: shake 0.5s ease;
}

/* =====================================
   SKELETON LOADERS
   ===================================== */
.skeleton {
    background: linear-gradient(90deg,
            rgba(51, 51, 51, 0.8) 25%,
            rgba(80, 80, 80, 0.8) 50%,
            rgba(51, 51, 51, 0.8) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Review card skeleton */
.review-skeleton {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-skeleton .skeleton-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-skeleton .skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.review-skeleton .skeleton-name {
    height: 16px;
    width: 120px;
}

.review-skeleton .skeleton-stars {
    height: 20px;
    width: 100px;
    margin-top: 8px;
}

.review-skeleton .skeleton-text {
    height: 14px;
    width: 100%;
}

.review-skeleton .skeleton-text:last-child {
    width: 75%;
}

/* ==========================================
   SECURITY PROMO BANNER
   ========================================== */
.security-promo-banner {
    margin: 40px 20px;
    padding: 0;
}

.security-promo-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(0, 187, 249, 0.08));
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.security-promo-content:hover {
    border-color: rgba(0, 187, 249, 0.5);
    box-shadow: 0 0 40px rgba(102, 126, 234, 0.2), 0 0 20px rgba(0, 187, 249, 0.15);
}

.security-promo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea, #00bbf9);
}

.security-promo-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.6));
    flex-shrink: 0;
}

.security-promo-text {
    flex: 1;
}

.security-promo-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    background: linear-gradient(90deg, #fff, #00bbf9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-promo-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

.security-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #00bbf9);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.security-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .security-promo-content {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .security-promo-content::before {
        width: 100%;
        height: 4px;
    }

    .security-promo-text h3 {
        font-size: 1.1rem;
    }

    .security-promo-text p {
        font-size: 0.9rem;
    }
}

/* --- FOOTER REVIEWS STRIP --- */
.footer-review-card {
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.footer-review-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    transform: translateY(-2px);
}

.footer-reviews-scroll::-webkit-scrollbar {
    height: 4px;
}

.footer-reviews-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.footer-reviews-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.footer-reviews-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}


/* ═══════════════════════════════════════════════════════════
   ✨ PREMIUM UPGRADES — MAXIMUM QUALITY PASS ✨
   ═══════════════════════════════════════════════════════════ */

/* --- Navigation Premium Glow --- */
.nav-btn:hover,
.nav-link:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.logo-btn:hover .logo-text {
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    filter: drop-shadow(0 0 8px rgba(0, 187, 249, 0.4));
}

/* Shimmer sweep effect on nav trigger hover */
.nav-expand-trigger {
    position: relative;
    overflow: hidden;
}

.nav-expand-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.nav-expand-trigger:hover::before {
    transform: translateX(100%);
}

/* --- Section Heading Premium Style --- */
/* Utility class for sections with gradient titles */
.section-title {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.8), rgba(0, 187, 249, 0.6), transparent);
    border-radius: 2px;
    animation: glow-pulse 3s ease-in-out infinite;
}

/* Apply heading glow underline to about/service h2 headings */
.about-section h2,
.service-text h3 {
    position: relative;
    padding-bottom: 14px;
}

.about-section h2::after,
.service-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.9), rgba(0, 187, 249, 0.5));
    border-radius: 2px;
    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-section h2:hover::after,
.service-text h3:hover::after {
    transform: scaleX(1);
}

/* --- Service Image Hover Float --- */
.service-img-box {
    transition: transform 0.5s var(--ease-spring), filter 0.4s ease;
}

.service-block:hover .service-img-box {
    animation: float-gentle 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* --- Glass Card Premium Hover (used in about, trust, etc.) --- */
.glass-card,
.trust-badge,
.review-card {
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-primary);
    border-color: rgba(102, 126, 234, 0.35) !important;
}

/* --- Footer Premium --- */
footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.6) 30%, rgba(0, 187, 249, 0.5) 70%, transparent 100%);
}

footer h4,
footer h3,
footer .footer-brand-name {
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer a:hover {
    color: rgba(102, 126, 234, 0.9) !important;
    text-shadow: 0 0 12px rgba(102, 126, 234, 0.4);
}

/* Footer social icons glow on hover */
.footer-social a,
.footer-socials a {
    transition: transform 0.25s var(--ease-spring), filter 0.25s ease, color 0.25s ease;
}

.footer-social a:hover,
.footer-socials a:hover {
    transform: translateY(-4px) scale(1.15);
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.6));
    color: #667eea !important;
}

/* Footer divider line — gradient glow */
footer hr,
.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 20px 0;
}

/* --- Trust Badges hover polish --- */
.trust-badge {
    transition: transform 0.3s var(--ease-spring), filter 0.3s ease;
    cursor: default;
}

.trust-badge:hover {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.3));
}

/* --- Word Cloud hover polish --- */
.word-item:hover,
.word-cloud a:hover {
    text-shadow: 0 0 20px var(--glow-primary), 0 0 40px var(--glow-secondary) !important;
}

/* --- Lucide Vector Icons Styling --- */
[data-lucide] {
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    stroke-width: 2px;
    stroke: currentColor;
    fill: none;
    vertical-align: -0.15em;
    margin-right: 0.35em;
}

/* Adjustments inside custom items and drawers */
.drawer-accordion-header [data-lucide],
.drawer-accordion-body [data-lucide],
.drawer-action-btn [data-lucide],
.nav-contact-btn [data-lucide],
.btn-ribbon-primary [data-lucide],
.h3-spot-tag [data-lucide],
.h2-section-header [data-lucide] {
    margin-right: 0.45em;
}

/* Specific styling for trust badge icons in footer */
.trust-badge [data-lucide] {
    margin-right: 0;
    width: 1.25em;
    height: 1.25em;
}

/* Remove right margin when icon is single element in icon container and color checkmarks green */
.h3-feature-icon [data-lucide] {
    margin-right: 0;
}

[data-lucide="check-circle-2"] {
    stroke: #22c55e;
}

/* --- Language code badges (replacing flags in cv.html) --- */
.lang-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-color, #667eea);
    font-weight: 700;
    font-size: 0.72em;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    margin-right: 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: middle;
    letter-spacing: 0.05em;
}

/* --- Interactive Motion-First Lucide Icons (itshover.com style) --- */

[data-lucide] {
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), stroke 0.3s ease, fill 0.3s ease;
}

/* --- 1. Spin / Rotate Group --- */
/* Settings, refresh/sync, wrench/tools, sun, loader, dices, disc: rotate 180deg on hover */
a:hover [data-lucide="settings"],
button:hover [data-lucide="settings"],
li:hover [data-lucide="settings"],
.interactive-card:hover [data-lucide="settings"],
.service-switcher-card:hover [data-lucide="settings"],
.h3-feature:hover [data-lucide="settings"],
[data-lucide="settings"]:hover,
a:hover [data-lucide="refresh-cw"],
button:hover [data-lucide="refresh-cw"],
[data-lucide="refresh-cw"]:hover,
a:hover [data-lucide="refresh-ccw"],
button:hover [data-lucide="refresh-ccw"],
[data-lucide="refresh-ccw"]:hover,
a:hover [data-lucide="sun"],
.skill-card:hover [data-lucide="sun"],
[data-lucide="sun"]:hover,
a:hover [data-lucide="wrench"],
.skill-card:hover [data-lucide="wrench"],
.h3-feature:hover [data-lucide="wrench"],
[data-lucide="wrench"]:hover,
a:hover [data-lucide="dices"],
[data-lucide="dices"]:hover,
a:hover [data-lucide="disc"],
[data-lucide="disc"]:hover {
    transform: rotate(180deg);
}

/* --- 2. Bounce / Float Up Group --- */
/* Bot, monitor, CPU, database, server, home, landmark, briefcase, shield, award, trophy, car, building, box, folder, layout, tv, utensils, coffee, bath, bed, tent: float up and scale */
a:hover [data-lucide="bot"],
.h3-feature:hover [data-lucide="bot"],
[data-lucide="bot"]:hover,
a:hover [data-lucide="monitor"],
.h3-feature:hover [data-lucide="monitor"],
[data-lucide="monitor"]:hover,
a:hover [data-lucide="cpu"],
[data-lucide="cpu"]:hover,
a:hover [data-lucide="database"],
.h3-feature:hover [data-lucide="database"],
[data-lucide="database"]:hover,
a:hover [data-lucide="server"],
[data-lucide="server"]:hover,
a:hover [data-lucide="laptop"],
[data-lucide="laptop"]:hover,
a:hover [data-lucide="smartphone"],
[data-lucide="smartphone"]:hover,
a:hover [data-lucide="hard-drive"],
[data-lucide="hard-drive"]:hover,
a:hover [data-lucide="terminal"],
[data-lucide="terminal"]:hover,
a:hover [data-lucide="home"],
[data-lucide="home"]:hover,
a:hover [data-lucide="landmark"],
.skill-card:hover [data-lucide="landmark"],
[data-lucide="landmark"]:hover,
a:hover [data-lucide="briefcase"],
[data-lucide="briefcase"]:hover,
a:hover [data-lucide="shield"],
.skill-card:hover [data-lucide="shield"],
[data-lucide="shield"]:hover,
a:hover [data-lucide="award"],
.skill-card:hover [data-lucide="award"],
[data-lucide="award"]:hover,
a:hover [data-lucide="trophy"],
[data-lucide="trophy"]:hover,
a:hover [data-lucide="car"],
.skill-card:hover [data-lucide="car"],
[data-lucide="car"]:hover,
a:hover [data-lucide="building"],
[data-lucide="building"]:hover,
a:hover [data-lucide="building-2"],
[data-lucide="building-2"]:hover,
a:hover [data-lucide="box"],
[data-lucide="box"]:hover,
a:hover [data-lucide="folder"],
[data-lucide="folder"]:hover,
a:hover [data-lucide="folder-open"],
[data-lucide="folder-open"]:hover,
a:hover [data-lucide="gift"],
[data-lucide="gift"]:hover,
a:hover [data-lucide="layout"],
[data-lucide="layout"]:hover,
a:hover [data-lucide="layout-grid"],
[data-lucide="layout-grid"]:hover,
a:hover [data-lucide="tv"],
[data-lucide="tv"]:hover,
a:hover [data-lucide="utensils"],
[data-lucide="utensils"]:hover,
a:hover [data-lucide="coffee"],
[data-lucide="coffee"]:hover,
a:hover [data-lucide="bath"],
[data-lucide="bath"]:hover,
a:hover [data-lucide="bed"],
[data-lucide="bed"]:hover,
a:hover [data-lucide="tent"],
[data-lucide="tent"]:hover,
a:hover [data-lucide="shopping-cart"],
[data-lucide="shopping-cart"]:hover {
    transform: translateY(-4px) scale(1.08);
}

/* --- 3. Slide Up-Right / Slide Right / Slide Up --- */
/* trending-up, rocket, external-link, plane: slide up and right */
a:hover [data-lucide="trending-up"],
[data-lucide="trending-up"]:hover,
a:hover [data-lucide="rocket"],
[data-lucide="rocket"]:hover,
a:hover [data-lucide="external-link"],
[data-lucide="external-link"]:hover,
a:hover [data-lucide="plane"],
[data-lucide="plane"]:hover {
    transform: translate(3px, -3px) scale(1.05);
}

/* arrow-up: slide up */
a:hover [data-lucide="arrow-up"],
[data-lucide="arrow-up"]:hover {
    transform: translateY(-4px);
}

/* --- 4. Wiggle Group --- */
/* bell, phone, phone-call, mail, inbox, message-square, message-circle, megaphone, volume-2, volume-x */
@keyframes lucide-wiggle {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-12deg); }
    30% { transform: rotate(10deg); }
    45% { transform: rotate(-8deg); }
    60% { transform: rotate(6deg); }
    75% { transform: rotate(-4deg); }
}
a:hover [data-lucide="bell"],
[data-lucide="bell"]:hover,
a:hover [data-lucide="phone"],
[data-lucide="phone"]:hover,
a:hover [data-lucide="phone-call"],
[data-lucide="phone-call"]:hover,
a:hover [data-lucide="mail"],
.nav-contact-btn:hover [data-lucide="mail"],
[data-lucide="mail"]:hover,
a:hover [data-lucide="inbox"],
[data-lucide="inbox"]:hover,
a:hover [data-lucide="message-square"],
.skill-card:hover [data-lucide="message-square"],
[data-lucide="message-square"]:hover,
a:hover [data-lucide="message-circle"],
[data-lucide="message-circle"]:hover,
a:hover [data-lucide="megaphone"],
[data-lucide="megaphone"]:hover,
a:hover [data-lucide="volume-2"],
[data-lucide="volume-2"]:hover,
a:hover [data-lucide="volume-x"],
[data-lucide="volume-x"]:hover {
    animation: lucide-wiggle 0.5s ease-in-out;
}

/* --- 5. Beat / Pulse Group --- */
/* heart, flame, zap, activity, sparkles, gem, brain, dna, lightbulb, signal, wifi, battery */
@keyframes lucide-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.22); }
    50% { transform: scale(1.08); }
    75% { transform: scale(1.22); }
}
a:hover [data-lucide="heart"],
[data-lucide="heart"]:hover,
a:hover [data-lucide="flame"],
[data-lucide="flame"]:hover,
a:hover [data-lucide="zap"],
[data-lucide="zap"]:hover,
a:hover [data-lucide="activity"],
[data-lucide="activity"]:hover,
a:hover [data-lucide="sparkles"],
[data-lucide="sparkles"]:hover,
a:hover [data-lucide="gem"],
[data-lucide="gem"]:hover,
a:hover [data-lucide="brain"],
[data-lucide="brain"]:hover,
a:hover [data-lucide="dna"],
[data-lucide="dna"]:hover,
a:hover [data-lucide="lightbulb"],
[data-lucide="lightbulb"]:hover,
a:hover [data-lucide="signal"],
[data-lucide="signal"]:hover,
a:hover [data-lucide="wifi"],
[data-lucide="wifi"]:hover,
a:hover [data-lucide="battery"],
[data-lucide="battery"]:hover {
    animation: lucide-beat 0.6s ease-in-out;
}

/* --- 6. Tilt Group --- */
/* user, users, handshake, globe, book, book-open, graduation-cap, scroll, newspaper, file-text, file, archive, calendar, clipboard, clipboard-list, clock, map, map-pin, paperclip, ruler, scale, search, sliders, thumbs-up */
a:hover [data-lucide="user"],
[data-lucide="user"]:hover,
a:hover [data-lucide="users"],
[data-lucide="users"]:hover,
a:hover [data-lucide="handshake"],
[data-lucide="handshake"]:hover,
a:hover [data-lucide="globe"],
[data-lucide="globe"]:hover,
a:hover [data-lucide="book"],
[data-lucide="book"]:hover,
a:hover [data-lucide="book-open"],
[data-lucide="book-open"]:hover,
a:hover [data-lucide="graduation-cap"],
.skill-card:hover [data-lucide="graduation-cap"],
[data-lucide="graduation-cap"]:hover,
a:hover [data-lucide="scroll"],
[data-lucide="scroll"]:hover,
a:hover [data-lucide="newspaper"],
[data-lucide="newspaper"]:hover,
a:hover [data-lucide="file-text"],
[data-lucide="file-text"]:hover,
a:hover [data-lucide="file"],
[data-lucide="file"]:hover,
a:hover [data-lucide="archive"],
[data-lucide="archive"]:hover,
a:hover [data-lucide="calendar"],
[data-lucide="calendar"]:hover,
a:hover [data-lucide="clipboard"],
[data-lucide="clipboard"]:hover,
a:hover [data-lucide="clipboard-list"],
[data-lucide="clipboard-list"]:hover,
a:hover [data-lucide="clock"],
[data-lucide="clock"]:hover,
a:hover [data-lucide="map"],
[data-lucide="map"]:hover,
a:hover [data-lucide="map-pin"],
[data-lucide="map-pin"]:hover,
a:hover [data-lucide="paperclip"],
[data-lucide="paperclip"]:hover,
a:hover [data-lucide="ruler"],
[data-lucide="ruler"]:hover,
a:hover [data-lucide="scale"],
[data-lucide="scale"]:hover,
a:hover [data-lucide="search"],
[data-lucide="search"]:hover,
a:hover [data-lucide="sliders"],
[data-lucide="sliders"]:hover,
a:hover [data-lucide="thumbs-up"],
[data-lucide="thumbs-up"]:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- High-Fidelity Micro-Animations (itshover.com style) --- */

/* Lock Unlocking (shackle shift) */
svg.lucide-lock {
    overflow: visible;
}
svg.lucide-lock path {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: 12px 11px;
}
*:hover > svg.lucide-lock path,
*:hover > * > svg.lucide-lock path,
svg.lucide-lock:hover path {
    transform: translateY(-3px) rotate(10deg);
}

/* Trash Can Lid Lifting */
svg.lucide-trash-2 {
    overflow: visible;
}
svg.lucide-trash-2 path:nth-child(1),
svg.lucide-trash-2 path:nth-child(3) {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: 12px 6px;
}
*:hover > svg.lucide-trash-2 path:nth-child(1),
*:hover > svg.lucide-trash-2 path:nth-child(3),
*:hover > * > svg.lucide-trash-2 path:nth-child(1),
*:hover > * > svg.lucide-trash-2 path:nth-child(3),
svg.lucide-trash-2:hover path:nth-child(1),
svg.lucide-trash-2:hover path:nth-child(3) {
    transform: translateY(-3px) rotate(-12deg);
}

/* Plug connecting (prongs sliding) */
svg.lucide-plug path:nth-child(1),
svg.lucide-plug path:nth-child(2) {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
*:hover > svg.lucide-plug path:nth-child(1),
*:hover > svg.lucide-plug path:nth-child(2),
*:hover > * > svg.lucide-plug path:nth-child(1),
*:hover > * > svg.lucide-plug path:nth-child(2),
svg.lucide-plug:hover path:nth-child(1),
svg.lucide-plug:hover path:nth-child(2) {
    transform: translateY(-2px);
}

/* Eye looking left/right */
svg.lucide-eye circle {
    transition: transform 0.35s ease;
}
*:hover > svg.lucide-eye circle,
*:hover > * > svg.lucide-eye circle,
svg.lucide-eye:hover circle {
    transform: translateX(1.5px);
}

/* Mail envelope flap sealing/opening */
svg.lucide-mail path {
    transition: transform 0.35s ease;
    transform-origin: top center;
}
*:hover > svg.lucide-mail path,
*:hover > * > svg.lucide-mail path,
svg.lucide-mail:hover path {
    transform: scaleY(1.1) translateY(0.5px);
}

/* Copy pages sliding apart */
svg.lucide-copy rect {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
*:hover > svg.lucide-copy rect,
*:hover > * > svg.lucide-copy rect,
svg.lucide-copy:hover rect {
    transform: translate(2px, 2px);
}

/* Phone Vibrating */
@keyframes lucide-vibrate {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-8deg) translateX(-1px); }
    30% { transform: rotate(6deg) translateX(1px); }
    45% { transform: rotate(-6deg) translateX(-1px); }
    60% { transform: rotate(4deg) translateX(1px); }
    75% { transform: rotate(-2deg); }
}
svg.lucide-phone, svg.lucide-phone-call {
    transform-origin: center;
}
*:hover > svg.lucide-phone,
*:hover > * > svg.lucide-phone,
svg.lucide-phone:hover,
*:hover > svg.lucide-phone-call,
*:hover > * > svg.lucide-phone-call,
svg.lucide-phone-call:hover {
    animation: lucide-vibrate 0.4s ease-in-out;
}

/* Bell Ringing */
@keyframes lucide-bell-ring {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(12deg); }
    40% { transform: rotate(-12deg); }
    60% { transform: rotate(8deg); }
    80% { transform: rotate(-8deg); }
}
svg.lucide-bell {
    transform-origin: top center;
}
*:hover > svg.lucide-bell,
*:hover > * > svg.lucide-bell,
svg.lucide-bell:hover {
    animation: lucide-bell-ring 0.5s ease-in-out;
}

/* Briefcase Handle Slide */
svg.lucide-briefcase path {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
*:hover > svg.lucide-briefcase path,
*:hover > * > svg.lucide-briefcase path,
svg.lucide-briefcase:hover path {
    transform: translateY(-2px);
}

/* Shield Shimmer (Glow and scale) */
svg.lucide-shield {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
*:hover > svg.lucide-shield,
*:hover > * > svg.lucide-shield,
svg.lucide-shield:hover {
    transform: translateY(-2px) scale(1.06);
    filter: drop-shadow(0 0 6px rgba(102, 126, 234, 0.5));
}

/* Bot Antenna Tilt */
svg.lucide-bot path:nth-child(1) {
    transition: transform 0.3s ease;
    transform-origin: 12px 8px;
}
*:hover > svg.lucide-bot path:nth-child(1),
*:hover > * > svg.lucide-bot path:nth-child(1),
svg.lucide-bot:hover path:nth-child(1) {
    transform: rotate(15deg);
}

/* Arrow Right Slide */
svg.lucide-arrow-right {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
*:hover > svg.lucide-arrow-right,
*:hover > * > svg.lucide-arrow-right,
svg.lucide-arrow-right:hover {
    transform: translateX(4px);
}

/* Arrow Up-Right Slide */
svg.lucide-arrow-up-right, svg.lucide-external-link {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
*:hover > svg.lucide-arrow-up-right,
*:hover > * > svg.lucide-arrow-up-right,
svg.lucide-arrow-up-right:hover,
*:hover > svg.lucide-external-link,
*:hover > * > svg.lucide-external-link,
svg.lucide-external-link:hover {
    transform: translate(3px, -3px);
}

/* Sprout Leaf Sway */
svg.lucide-sprout path {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
}
*:hover > svg.lucide-sprout path,
*:hover > * > svg.lucide-sprout path,
svg.lucide-sprout:hover path {
    transform: rotate(8deg);
}

/* Zap Lightning Glow & Tilt */
svg.lucide-zap {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
*:hover > svg.lucide-zap,
*:hover > * > svg.lucide-zap,
svg.lucide-zap:hover {
    transform: scale(1.15) rotate(12deg);
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.7));
}

/* Star Rating spin and scale */
svg.lucide-star {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), fill 0.3s ease;
}
*:hover > svg.lucide-star,
*:hover > * > svg.lucide-star,
svg.lucide-star:hover {
    transform: scale(1.2) rotate(15deg);
}

/* Log-out arrow sliding */
svg.lucide-log-out path:nth-child(2) {
    transition: transform 0.3s ease;
}
*:hover > svg.lucide-log-out path:nth-child(2),
svg.lucide-log-out:hover path:nth-child(2) {
    transform: translateX(3px);
}

/* Search lens circular movement */
@keyframes lucide-search-scan {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(1.5px, -0.7px); }
    50% { transform: translate(0.7px, 1.5px); }
    75% { transform: translate(-0.7px, 0.7px); }
}
svg.lucide-search circle {
    transition: transform 0.3s ease;
}
*:hover > svg.lucide-search circle,
*:hover > * > svg.lucide-search circle,
svg.lucide-search:hover circle {
    animation: lucide-search-scan 0.6s ease-in-out infinite;
}

/* Key turn 45 degrees */
svg.lucide-key {
    transform-origin: 7px 7px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
*:hover > svg.lucide-key,
*:hover > * > svg.lucide-key,
svg.lucide-key:hover {
    transform: rotate(45deg);
}

/* Code-2 brackets slide out-in */
svg.lucide-code-2 path:nth-child(1) {
    transition: transform 0.3s ease;
}
svg.lucide-code-2 path:nth-child(2) {
    transition: transform 0.3s ease;
}
*:hover > svg.lucide-code-2 path:nth-child(1),
svg.lucide-code-2:hover path:nth-child(1) {
    transform: translateX(-2px);
}
*:hover > svg.lucide-code-2 path:nth-child(2),
svg.lucide-code-2:hover path:nth-child(2) {
    transform: translateX(2px);
}

/* Shopping cart translation and wheels rotating */
@keyframes lucide-cart-wheel {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
svg.lucide-shopping-cart {
    transition: transform 0.3s ease;
}
*:hover > svg.lucide-shopping-cart,
svg.lucide-shopping-cart:hover {
    transform: translateX(2px);
}
*:hover > svg.lucide-shopping-cart circle,
svg.lucide-shopping-cart:hover circle {
    transform-origin: center;
    animation: lucide-cart-wheel 0.5s linear infinite;
}

/* Cloud rain droplets translate Y */
@keyframes lucide-rain {
    0% { transform: translateY(-2px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(3px); opacity: 0; }
}
svg.lucide-cloud-rain line {
    animation: lucide-rain 0.8s ease-in-out infinite;
}

/* Cloud sun rotation behind cloud */
svg.lucide-cloud-sun path:nth-child(1) {
    transition: transform 0.8s ease;
    transform-origin: 18px 6px;
}
*:hover > svg.lucide-cloud-sun path:nth-child(1),
svg.lucide-cloud-sun:hover path:nth-child(1) {
    transform: rotate(45deg);
}

/* Wind and waves horizontal slide */
@keyframes lucide-wind-slide {
    0% { transform: translateX(-1px); }
    50% { transform: translateX(1px); }
    100% { transform: translateX(-1px); }
}
svg.lucide-wind path, svg.lucide-waves path {
    animation: lucide-wind-slide 1.5s ease-in-out infinite;
}

/* Brain neon glow */
svg.lucide-brain {
    transition: transform 0.3s ease, filter 0.3s ease;
}
*:hover > svg.lucide-brain,
svg.lucide-brain:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.6));
}

/* Lightbulb glow */
svg.lucide-lightbulb {
    transition: transform 0.3s ease, filter 0.3s ease;
}
*:hover > svg.lucide-lightbulb,
svg.lucide-lightbulb:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.7));
}

/* Wifi ripple */
@keyframes lucide-wifi-ripple {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}
svg.lucide-wifi path:nth-child(2) { animation: lucide-wifi-ripple 0.8s ease infinite; }
svg.lucide-wifi path:nth-child(3) { animation: lucide-wifi-ripple 0.8s ease infinite 0.2s; }
svg.lucide-wifi path:nth-child(4) { animation: lucide-wifi-ripple 0.8s ease infinite 0.4s; }

/* Hamburger menu (align-center) hover animations */
svg.lucide-menu-anim {
    overflow: visible;
}

svg.lucide-menu-anim .line-1,
svg.lucide-menu-anim .line-2,
svg.lucide-menu-anim .line-3 {
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes menu-line-1-bounce {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.8); }
}

@keyframes menu-line-2-bounce {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(1.2); }
}

@keyframes menu-line-3-bounce {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(0.9); }
}

.hamburger-btn:hover svg.lucide-menu-anim .line-1 {
    animation: menu-line-1-bounce 0.3s ease-in-out;
}

.hamburger-btn:hover svg.lucide-menu-anim .line-2 {
    animation: menu-line-2-bounce 0.3s ease-in-out;
    animation-delay: 0.1s;
}

.hamburger-btn:hover svg.lucide-menu-anim .line-3 {
    animation: menu-line-3-bounce 0.3s ease-in-out;
    animation-delay: 0.2s;
}