/* ===== FINAL OVERRIDE: Ensure custom admin headers render horizontally ===== */
.admin-table-wrapper > .custom-table-header {
    display: grid !important;
    grid-template-columns: 70px 110px 180px 220px 160px 280px 150px 140px !important;
    align-items: center !important;
    width: max-content !important;
    min-width: 100% !important;
}

.admin-table-wrapper > .custom-table-header > .header-cell {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    white-space: nowrap !important;
}
/* Intro Loading Screen Styles */
.intro-loading {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: var(--white);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Block all interactions during loading */
}
.intro-loading.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.intro-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: logoMorph 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.intro-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 32px var(--primary-teal));
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
@keyframes logoMorph {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

/* Prevent FOUC - Hide body content initially only when loading screen exists */
body.has-loading-screen {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.has-loading-screen.loaded {
    opacity: 1;
    visibility: visible;
}
/* ============================================
   CYRANIUS TRAVEL - CSS MODERNE PREMIUM 3D
   Design avec effets 3D, glassmorphism & animations
   Palette: Teal/Turquoise & Navy
   ============================================ */

/* ===== VARIABLES CSS - COULEURS TEAL/TURQUOISE ===== */
:root {    /* Couleurs principales Teal/Turquoise */
    --primary-teal: #14B8A6;
    --primary-light: #5EEAD4;
    --primary-dark: #0D9488;
    --primary-darker: #0F766E;
    --primary-darkest: #065F5E;
    
    /* Couleurs Navy/Dark */
    --navy-dark: #0F172A;
    --navy-medium: #1E293B;
    --navy-light: #334155;
    --navy-darker: #020617;
    
    /* Couleurs d'accent */
    --accent-cyan: #06B6D4;
    --accent-emerald: #10B981;
    
    /* Couleurs neutres */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0F172A;
    
    /* Ombres 3D */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-3d: 0 30px 60px -12px rgba(20, 184, 166, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(20, 184, 166, 0.4);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== STYLES GÉNÉRAUX AVEC FONTS MODERNES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global smooth scrolling for all elements */
html {
    scroll-behavior: auto; /* Disable default smooth scrolling to use custom */
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    line-height: 1.65;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typographie moderne avec Poppins pour tout */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-dark);
    letter-spacing: -0.025em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 3.5rem); 
    font-weight: 800;
    letter-spacing: -0.03em;
}
h2 { 
    .custom-table-header {
        display: grid !important;
        grid-template-columns: 70px 110px 160px 200px 140px 250px 150px 140px !important;
        width: max-content !important;
        min-width: 100% !important;
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
        border-bottom: 2px solid #e2e8f0 !important;
        position: relative !important;
        z-index: 10 !important;
        cursor: default !important;
        box-sizing: border-box !important;
        margin-bottom: 0 !important;
        border-radius: 12px 12px 0 0 !important;
        overflow-x: auto !important;
    }

    .custom-table-header .header-cell {
        display: flex !important;
        align-items: center !important;
        padding: 16px 12px !important;
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.8px !important;
        text-transform: uppercase !important;
        color: #64748b !important;
        border-right: 1px solid #f1f5f9 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: left !important;
        box-sizing: border-box !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }

    .custom-table-header .header-cell:last-child {
        border-right: none !important;
    }
    display: block;
}

/* ===== MOBBIN-STYLE NAVBAR - STICKY WITH SCROLL EFFECT ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: transparent !important;
    transition: all 200ms ease-in-out;
    border-bottom: none;
}

/* Hide navbar initially for animation */
.navbar.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Ensure navbar is visible by default */
.navbar {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ===== NAVBAR GLASSMORPHISM CONTAINER ===== */
.navbar .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.navbar-glass-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-glass-container {
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 1);
}

.navbar-glass-container .navbar-brand {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-glass-container .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-direction: row !important;
}

@media (max-width: 991.98px) {
    .navbar-glass-container {
        gap: 6px;
        padding: 6px 12px;
    }
    
    .navbar-brand span {
        font-size: 1.1rem !important;
    }
    
    .navbar-brand img {
        height: 36px !important;
    }
    
    .navbar-brand img:first-of-type {
        height: 36px !important;
    }
    
    .navbar-brand img:last-of-type {
        height: 28px !important;
    }
    
    .nav-link {
        color: var(--navy-dark) !important;
        font-size: 0.85rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .navbar .btn-primary {
        font-size: 0.85rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* Brand Styling */
.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0px; /* tightened further */
    transition: all 200ms ease-in-out;
    letter-spacing: -0.02em;
}

/* ensure the textual logo sits extremely close to the globe and override any inline margin */
.navbar-brand img + img {
    margin-left: 2px !important; /* override inline styles and make spacing minimal */
}

.navbar-brand span {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar.scrolled .navbar-brand span {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--primary-darkest) 50%, var(--primary-darker) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: all 200ms ease-in-out;
    background: transparent;
}

.navbar-brand img:first-of-type {
    height: 45px;
}

.navbar-brand img:last-of-type {
    height: 35px;
    margin-left: 0;
}

.navbar.scrolled .navbar-brand img:first-of-type {
    height: 38px;
}

.navbar.scrolled .navbar-brand img:last-of-type {
    height: 30px;
}

/* Navigation Links - Mobbin Style */
.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: var(--gray-900) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem !important;
    position: relative;
    transition: all 200ms ease-in-out;
    letter-spacing: -0.01em;
}

.navbar.scrolled .nav-link {
    color: var(--gray-900) !important;
}

/* Smooth Hover Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease-in-out;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--primary-teal) !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-teal) !important;
}

/* Active Link Styling */
.nav-link.active,
.nav-link.fw-semibold {
    color: var(--primary-teal) !important;
    font-weight: 600;
}

.navbar.scrolled .nav-link.active,
.navbar.scrolled .nav-link.fw-semibold {
    color: var(--primary-teal) !important;
}

/* Dropdown active link - NO green overlay; keep white text and underline animation */
.vols-dropdown .nav-link.active {
    /* Use the primary teal for text when active to match site palette */
    color: var(--primary-teal) !important;
    background: transparent !important; /* keep no overlay */
    box-shadow: none;
    border-radius: 4px;
    padding: 0 0.25rem; /* slight horizontal padding to preserve spacing */
}

.vols-dropdown .nav-link.active::after {
    /* underline bar using palette colors */
    transform: scaleX(1);
    opacity: 1;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-cyan));
    height: 3px; /* slightly thicker underline for visibility */
    border-radius: 2px;
}

.navbar.scrolled .vols-dropdown .nav-link.active {
    color: var(--primary-teal) !important;
    background: transparent !important;
    box-shadow: none;
}

.navbar.scrolled .vols-dropdown .nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-cyan));
}

/* CTA Button - Mobbin Style */
.navbar .btn-primary,
.navbar .btn[style*="background"] {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%) !important;
    color: rgb(255, 255, 255) !important;
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.25);
    transition: all 200ms ease-in-out;
    letter-spacing: 0.01em;
}

.navbar.scrolled .btn-primary,
.navbar.scrolled .btn[style*="background"] {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%) !important;
    color: var(--white) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.25);
}

.navbar .btn-primary:hover,
.navbar .btn[style*="background"]:hover {
    color: inherit !important; /* Prevent overriding text color */
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.navbar.scrolled .btn-primary:hover,
.navbar.scrolled .btn[style*="background"]:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%) !important;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
    transform: translateY(-1px);
}

/* Hamburger Menu - Animated */
.navbar-toggler {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    padding: 0.5rem !important;
    z-index: 1050 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 200ms ease-in-out !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--white);
    display: block;
    transition: all 200ms ease-in-out;
    border-radius: 2px;
}

.navbar.scrolled .navbar-toggler-icon {
    background: var(--gray-900);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    left: 0;
    transition: all 200ms ease-in-out;
    border-radius: 2px;
}

.navbar.scrolled .navbar-toggler-icon::before,
.navbar.scrolled .navbar-toggler-icon::after {
    background: var(--gray-900);
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* X Animation on Open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Menu - Full Screen Slide In */
@media (max-width: 991.98px) {
    /* Keep navigation visible and horizontal on mobile - matching desktop behavior */

    .navbar-nav {
        /* Keep horizontal layout (default) instead of column */
        flex-direction: row;
        gap: 0;
        align-items: center !important;
    }

    /* Remove mobile-specific animations and hide/show behavior */
    .nav-item {
        opacity: 1;
        transform: none;
        animation: none;
    }

    /* Simplified nav-link styling for mobile - keep horizontal */
    .nav-link {
        color: var(--navy-dark) !important;
        font-size: 0.9rem;
        font-weight: 600;
        padding: 0.5rem 0.75rem !important;
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        color: var(--primary-teal) !important;
        padding-left: 0.75rem !important;
    }

    /* Keep contact button visible and styled appropriately for mobile */
    .navbar .btn-primary,
    .navbar .btn[style*="background"] {
        margin-top: 0;
        width: auto;
        background: var(--primary-teal) !important;
        color: var(--white) !important;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
        border: none;
    }
}

/* Add body padding for fixed navbar */
body {
    padding-top: 80px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Vols dropdown - hover to open and right-side badge/logo */
.nav-item.dropdown.vols-dropdown {
    position: relative;
}

/* Improved Vols badge — more balanced size, border and hover */
.nav-item .vols-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(20,184,166,0.18);
    font-size: 14px;
    line-height: 1;
    margin-left: 10px;
    flex: 0 0 30px;
    border: 2px solid rgba(255,255,255,0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    transform: translateY(1px);
}

/* Vols badge - compact, transparent background, icon inherits text color */
.nav-item .vols-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent !important;
    color: currentColor; /* inherit the nav link color */
    box-shadow: none !important;
    font-size: 12px;
    line-height: 1;
    margin-left: 8px;
    flex: 0 0 18px;
    border: none !important;
    padding: 0;
    transition: transform 0.18s ease;
    transform: translateY(0);
}

/* Make the plane icon itself a subtle smaller size and reset previous rotation */
.nav-item .vols-badge i {
    font-size: 12px;
    transform: rotate(0deg);
    transition: transform 0.22s ease;
}

.nav-item .vols-badge i {
    transform: rotate(-8deg);
}

.nav-item .vols-badge:hover {
    transform: translateY(0) scale(1.07);
    box-shadow: 0 10px 30px rgba(20,184,166,0.22);
}

/* Ensure the badge and label spacing look good on small screens */
.nav-link .vols-badge { margin-left: 8px; }

/* style the dropdown menu to match theme */
.nav-item .dropdown-menu {
    min-width: 220px;
    border-radius: 12px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(20,184,166,0.08);
    box-shadow: 0 12px 40px rgba(16,185,129,0.06);
    padding: 6px 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    transform: translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-item .dropdown-item {
    color: var(--navy-dark);
    padding: 10px 18px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.nav-item .dropdown-item:hover,
.nav-item .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(20,184,166,0.06), rgba(6,182,212,0.04));
    color: var(--primary-teal);
}

/* Show on hover for desktop (do not interfere with Bootstrap click on mobile) */
@media (min-width: 992px) {
    .nav-item.dropdown.vols-dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* keep caret hidden because we use badge */
    .nav-link.dropdown-toggle::after { display: none; }
}

/* Ensure dropdown doesn't push layout on small screens when using bootstrap toggler */
@media (max-width: 991px) {
    .nav-item .dropdown-menu { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
}

/* Rotate plane icon to face downwards when hovering the Vols dropdown */
.nav-item.vols-dropdown .vols-badge i {
    transition: transform 0.22s ease;
    transform-origin: center;
}

/* On hover over the dropdown (desktop) or the badge itself, rotate the plane to point down */
@media (min-width: 992px) {
    .nav-item.vols-dropdown:hover .vols-badge i,
    .nav-item.vols-dropdown .vols-badge:hover i {
        transform: rotate(90deg);
    }
}

@media (max-width: 991px) {
    /* On mobile when the menu is tapped, give a subtle downward tilt on badge tap */
    .nav-item.vols-dropdown .vols-badge:active i {
        transform: rotate(90deg);
    }
}

/* ===== HERO SECTION - PREMIUM 3D WITH DYNAMIC SLIDESHOW ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    padding-top: 0;
    margin-top: -80px;
}

/* Dynamic Background Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Video slide styling */
.video-slide .video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Dark fallback for letterboxing */
.hero {
    background-color: #000;
}

/* Video element: center, allow a small capped upscale on large screens, but show intrinsic on phones */
.hero-video {
    position: absolute;
    left: 50%;
    top: 50%;
    /* center and apply scale via --video-scale (default 1) */
    transform: translate(-50%, -50%) scale(var(--video-scale, 1));
    width: 100%;
    height: 100%;
    object-fit: cover; /* desktop: cover and crop */
    object-position: center center;
    filter: saturate(1.02) contrast(1.02);
    image-rendering: auto;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Phone: show original/intrinsic size (centered); allow downscaling to fit but avoid upscaling */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
    }
    .hero-video {
        object-fit: none; /* show intrinsic pixels */
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        --video-scale: 1 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* Larger screens: allow a gentle capped upscale to 1.05 for a full-bleed look without aggressive pixelation */
@media (min-width: 992px) {
    .hero-video {
        --video-scale: 1.05;
        transform: translate(-50%, -50%) scale(var(--video-scale));
    }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* cover keeps aspect ratio, prevents stretching */
    background-position: center center;
    background-repeat: no-repeat;
    /* avoid using fixed attachment which can cause blur on some devices */
    background-attachment: scroll;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    /* subtle ken burns to avoid large scaling that pixelates images (disabled on video slides) */
    animation: kenBurns 20s ease-in-out infinite;
    will-change: opacity, transform; /* hint to browser for smoother animations */
    transform: translateZ(0); /* promote to its own layer to avoid compositing artifacts */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    image-rendering: auto;
}

.hero-slide.active {
    opacity: 1;
}

/* Ken Burns Effect for Dynamic Movement */
@keyframes kenBurns {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.02) translate(-0.6%, -0.6%);
    }
    50% {
        transform: scale(1.03) translate(0.6%, -0.8%);
    }
    75% {
        transform: scale(1.04) translate(-0.8%, 0.6%);
    }
}

/* Modern gradient overlay - much more transparent for video hero */
.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* significantly reduced alpha values so the fade is very light */
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(247, 254, 252, 0.10) 1%,
        rgba(240, 253, 250, 0.08) 2%,
        rgba(230, 252, 245, 0.07) 3%,
        rgba(220, 251, 240, 0.06) 4%,
        rgba(209, 250, 235, 0.06) 5%,
        rgba(180, 245, 225, 0.06) 8%,
        rgba(150, 240, 215, 0.07) 11%,
        rgba(120, 235, 205, 0.07) 13%,
        rgba(100, 230, 200, 0.08) 15%,
        rgba(70, 225, 195, 0.09) 20%,
        rgba(50, 220, 190, 0.09) 40%,
        rgba(35, 202, 178, 0.09) 60%,
        rgba(20, 184, 166, 0.10) 100%);
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* Subtle top highlight */
.hero-overlay-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 30%);
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

/* Very gentle vignette */
.hero-overlay-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center,
        transparent 92%,
        rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.hero-overlay {
    position: relative;
    z-index: 4;
    max-width: 1000px;
    padding: 2rem;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4),
                 0 8px 40px rgba(20, 184, 166, 0.3);
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: heroTextFloat 3s ease-in-out infinite;
}

@keyframes heroTextFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero .lead {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.65;
    letter-spacing: -0.015em;
}

.hero .btn {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    padding: 1.1rem 2.8rem;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero .btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-light {
    background: var(--white);
    color: var(--primary-teal);
    border: none;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-bounce);
}

.btn-light:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.4),
                0 8px 20px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(20, 184, 166, 0.4);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all var(--transition-bounce);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Darker base for outline buttons inside hero to improve contrast before hover
   Keeps the existing hover and ripple (::before) animations intact */
.hero .btn-outline-light {
    /* richer, darker teal/green wash for stronger contrast */
    background: linear-gradient(180deg, rgba(9, 123, 143, 0.38), rgba(20,184,166,0.34));
    border-color: rgba(15, 90, 81, 0.72);
    color: var(--white);
    box-shadow: 0 14px 36px rgba(6,182,212,0.22), inset 0 1px 0 rgba(255,255,255,0.02);
    transition: background 250ms var(--transition-normal), transform 200ms var(--transition-normal), box-shadow 200ms var(--transition-normal);
}

/* When hovering, keep the existing hover effect (lighter translucent white) and ripple */
/* hover behavior is inherited from .btn-outline-light:hover above */

/* stronger glow on focus for accessibility */
.hero .btn-outline-light:focus {
    box-shadow: 0 10px 30px rgba(6,182,212,0.14), 0 0 8px rgba(20,184,166,0.1);
    outline: none;
}

/* Hero loading overlay (shows while video buffers/loads) */
.hero-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3; /* below hero content (z-index:4) but above video/background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(6, 182, 212, 0.06); /* subtle teal-tinted glass */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 320ms ease, visibility 320ms ease;
    opacity: 1;
    visibility: visible;
    pointer-events: none; /* allow clicks to pass through when visible only to avoid blocking hero actions */
}

.hero-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-loading-overlay .spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.18);
    border-top-color: var(--primary-teal);
    box-shadow: 0 6px 20px rgba(6,182,212,0.12);
    animation: hero-spin 900ms linear infinite;
}

@keyframes hero-spin {
    to { transform: rotate(360deg); }
}

.hero-loading-overlay .loading-text {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    text-transform: none;
}

/* ===== FLOATING 3D SHAPES ANIMATION ===== */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 3;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
    animation: float2 18s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.25) 0%, transparent 70%);
    top: 40%;
    left: 10%;
    animation: float3 15s ease-in-out infinite;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.35) 0%, transparent 70%);
    top: 20%;
    right: 15%;
    animation: float4 22s ease-in-out infinite;
}

.shape-5 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation: float5 17s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(80px, 120px) rotate(120deg);
    }
    66% {
        transform: translate(-50px, 80px) rotate(240deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-100px, -80px) rotate(-120deg);
    }
    66% {
        transform: translate(60px, -120px) rotate(-240deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(150px, -100px) scale(1.2);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-120px, 100px) rotate(180deg) scale(0.9);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(80px, -60px) rotate(90deg);
    }
    50% {
        transform: translate(120px, 40px) rotate(180deg);
    }
    75% {
        transform: translate(40px, 80px) rotate(270deg);
    }
}

/* Hero: modern arrow-only scroll button */
.hero-scroll-btn {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 22px 50px rgba(6,182,212,0.12), 0 8px 24px rgba(15,23,42,0.08), inset 0 -6px 18px rgba(0,0,0,0.03);
    cursor: pointer;
    transition: transform 240ms var(--transition-fast), box-shadow 240ms ease;
    backdrop-filter: blur(6px);
    will-change: transform;
}

.hero-scroll-btn .hero-arrow path {
    transition: transform 220ms ease, stroke 220ms ease;
}

/* stronger movement: pronounced bob plus subtle scale pulse */
@keyframes hero-arrow-wiggle {
    0% { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
    15% { transform: translateX(-50%) translateY(-6px) rotate(-3deg) scale(1.02); }
    30% { transform: translateX(-50%) translateY(-12px) rotate(3deg) scale(1.04); }
    45% { transform: translateX(-50%) translateY(-18px) rotate(-2deg) scale(1.06); }
    60% { transform: translateX(-50%) translateY(-24px) rotate(2deg) scale(1.04); }
    75% { transform: translateX(-50%) translateY(-18px) rotate(-1deg) scale(1.02); }
    90% { transform: translateX(-50%) translateY(-12px) rotate(1deg) scale(1.01); }
    100% { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1); }
}

.hero-scroll-btn { animation: hero-arrow-wiggle 2000ms ease-in-out infinite; }

.hero-scroll-btn:hover { transform: translateX(-50%) translateY(-18px) scale(1.06); box-shadow: 0 30px 70px rgba(6,182,212,0.18); }

/* Modernize SVG arrow: thicker rounded stroke, subtle inner shadow and rotate on hover */
.hero-scroll-btn .hero-arrow path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
    filter: drop-shadow(0 6px 14px rgba(6,182,212,0.12));
    transform-origin: 50% 50%;
}

.hero-scroll-btn:hover .hero-arrow path {
    transform: translateY(4px) rotate(6deg) scale(1.03);
    stroke: var(--primary-dark);
}

/* Slight pulse glow to the button background to emphasize affordance */
.hero-scroll-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 60%, rgba(20,184,166,0.06), transparent 40%);
    opacity: 0.9;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.hero-scroll-btn:hover::after { opacity: 1; }

/* Move the arrow interior slightly on each bob for more life */
@keyframes arrow-nudge {
    0% { transform: translateY(0); }
    50% { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

.hero-scroll-btn .hero-arrow { display: block; animation: arrow-nudge 800ms ease-in-out infinite; }

/* Visual contrast tweak for dark hero backgrounds */
.hero-overlay-gradient + .hero-scroll-btn .hero-arrow path,
.hero-scroll-btn .hero-arrow path {
    stroke: var(--primary-teal);
}

/* small screens: smaller button and disable label previously used */
@media (max-width: 576px) {
    .hero-scroll-btn { width: 52px; height: 52px; bottom: 18px; }
    .hero-scroll-btn .hero-arrow { width: 18px; height: 18px; }
}

/* Respect reduced motion user preference */
/* @media (prefers-reduced-motion: reduce) {
    .hero-scroll-btn, .hero-scroll-btn .hero-arrow { animation: none !important; transition: none !important; }
} */

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    color: var(--white);
    padding: 80px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.page-header h1 {
    color: var(--white);
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(6, 95, 94, 0.4);
}

.page-header .lead {
    color: var(--gray-100);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* ===== SECTIONS WITH MODERN STYLING ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--navy-dark);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--primary-darkest) 30%, var(--primary-dark) 70%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-cyan));
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary-light));
    border-radius: 10px;
    opacity: 0.5;
}

.section-title p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    color: var(--gray-600);
    max-width: 750px;
    margin: 2rem auto 0;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ===== ABOUT SECTION - PREMIUM 3D STYLE ===== */
.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(20, 184, 166, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--primary-darkest) 40%, var(--primary-dark) 80%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content .lead {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.015em;
}

.about-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 2.5rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(20, 184, 166, 0.1);
    transition: all var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
}

.feature-badge:hover {
    border-color: var(--primary-teal);
    background: var(--white);
    box-shadow: 0 12px 35px rgba(20, 184, 166, 0.2),
                0 0 25px rgba(20, 184, 166, 0.1);
    transform: translateY(-5px) translateZ(20px);
}

.feature-badge i {
    color: var(--primary-teal);
    font-size: 24px;
    transition: all var(--transition-bounce);
    filter: drop-shadow(0 2px 4px rgba(20, 184, 166, 0.3));
}

.feature-badge:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(20, 184, 166, 0.5));
}

.feature-badge span {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-dark);
    letter-spacing: -0.01em;
}

.about-image {
    position: relative;
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border-radius: 32px;
    opacity: 0.1;
    z-index: -1;
    transition: all var(--transition-normal);
}

.about-image:hover::before {
    opacity: 0.2;
    transform: translate(5px, 5px);
}

.about-image img {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15),
                0 10px 30px rgba(20, 184, 166, 0.1);
    border-radius: 32px !important;
    transition: all var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2),
                0 15px 40px rgba(20, 184, 166, 0.2);
}

@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 60px 0;
    }
}

/* ===== CARDS - MODERNE ===== */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    background: var(--white);
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Service Cards avec icônes */
.service-card {
    border: 2px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.service-card:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all var(--transition-normal);
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--accent-cyan);
}

/* ===== MODERN 3D SERVICE CARDS WITH GLASSMORPHISM ===== */
.service-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 56px 42px;
    text-align: left;
    transition: all var(--transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 
                0 2px 8px rgba(0, 0, 0, 0.04);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.service-card-modern:hover {
    transform: translateY(-12px) translateZ(50px) rotateX(2deg);
    box-shadow: var(--shadow-3d),
                0 0 80px rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.3);
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #E0F2FE 0%, #CCFBF1 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: all var(--transition-bounce);
    position: relative;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.15),
                inset 0 -2px 8px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.service-card-modern:hover .service-icon-wrapper {
    transform: scale(1.1) translateY(-8px) rotateZ(-5deg) translateZ(30px);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.35),
                0 0 60px rgba(20, 184, 166, 0.2),
                inset 0 -2px 15px rgba(0, 0, 0, 0.1);
}

.service-card-modern:hover .service-icon-wrapper::after {
    opacity: 1;
}

.service-icon-wrapper i {
    font-size: 42px;
    color: var(--primary-teal);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-card-modern:hover .service-icon-wrapper i {
    color: var(--white);
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.service-card-modern h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    transition: all var(--transition-normal);
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-darkest) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card-modern:hover h3 {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card-modern p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 28px;
    flex-grow: 1;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-teal);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-bounce);
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.service-link:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border-color: transparent;
    gap: 14px;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.service-link i {
    font-size: 16px;
    transition: all var(--transition-bounce);
}

.service-link:hover i {
    transform: translateX(4px) scale(1.1);
}

/* ===== BOUTONS - MODERNE TEAL ===== */
.btn {
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
    color: var(--white) !important; /* Ensure text remains white */
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-outline-primary:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--accent-emerald);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* ===== FORMULAIRES - MODERNE ===== */
.form-label {
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
    color: var(--gray-900);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-300);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Form group styling */
.mb-3, .mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Visual style for inputs marked as disabled/unfillable */
.form-group-enhanced.input-disabled {
    opacity: 0.6;
    filter: grayscale(10%);
}

.form-group-enhanced.input-disabled .enhanced-input {
    background: linear-gradient(180deg, rgba(250,250,250,0.95), rgba(245,245,245,0.95));
    border-color: rgba(150,150,150,0.25) !important;
    color: rgba(80, 100, 110, 0.9);
    cursor: not-allowed;
    pointer-events: none; /* prevent interactions */
}

.form-group-enhanced.input-disabled .form-label-floating {
    color: rgba(80, 100, 110, 0.7);
}

/* Ensure native disabled inputs also look unfillable */
.enhanced-input:disabled,
input[disabled],
select:disabled,
textarea:disabled {
    background: #f7f7f7 !important;
    color: rgba(80, 100, 110, 0.9) !important;
    border-color: rgba(150,150,150,0.2) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.95;
}

/* Slightly dim the help text when disabled */
.form-group-enhanced.input-disabled .form-help-text {
    opacity: 0.5;
}

/* Smooth transition when toggling disabled state */
.form-group-enhanced .enhanced-input,
.form-group-enhanced .form-label-floating {
    transition: all 0.18s ease;
}

/* ===== TABS - MODERNE ===== */
.nav-tabs {
    border-bottom: 2px solid var(--gray-200);
    gap: 0.5rem;
}

.nav-tabs .nav-link {
    color: var(--gray-600);
    font-weight: 600;
    border: none;
    border-radius: 10px 10px 0 0;
    padding: 1rem 2rem;
    transition: all var(--transition-fast);
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-teal);
    background: var(--gray-50);
}

.nav-tabs .nav-link.active {
    color: var(--primary-teal);
    background: var(--white);
    border-bottom: 3px solid var(--primary-teal);
}

.tab-content {
    padding: 2.5rem 0;
}

/* ===== MODERN 3D GALLERY ===== */
.gallery-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 30%, #f8fafc 70%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(20, 184, 166, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    perspective: 1000px;
}

.gallery-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.gallery-card-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
}

.gallery-card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(-2deg);
}

.gallery-card:hover .gallery-card-inner {
    box-shadow: 
        0 32px 80px rgba(20, 184, 166, 0.25),
        0 16px 40px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(20, 184, 166, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(20, 184, 166, 0.3);
}

.gallery-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.gallery-card:hover .gallery-image {
    transform: scale(1.08) rotate(1deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(20, 184, 166, 0.9) 0%, 
        rgba(6, 182, 212, 0.8) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    transform: scale(0.8);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
    transform: scale(1);
}

.gallery-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.gallery-card:hover .gallery-icon {
    transform: scale(1) rotate(360deg);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.gallery-icon i {
    font-size: 32px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.gallery-info {
    padding: 32px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.gallery-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-info h3 {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-2px);
}

.gallery-info p {
    color: var(--gray-600);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.gallery-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(20, 184, 166, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-stats span {
    background: rgba(20, 184, 166, 0.15);
    color: var(--primary-teal);
    transform: translateY(-2px);
}

.gallery-stats i {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* 3D Tilt Effect */
.gallery-card[data-tilt] {
    transform-style: preserve-3d;
}

/* Lightbox Modal for Gallery */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.gallery-lightbox.active .gallery-lightbox-content {
    transform: scale(1) translateY(0);
}

.gallery-lightbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .gallery-card {
        margin: 0 16px;
    }
    
    .gallery-image-container {
        height: 220px;
    }
    
    .gallery-info {
        padding: 24px;
    }
    
    .gallery-info h3 {
        font-size: 1.5rem;
    }
    
    .gallery-stats {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-card {
        margin: 0;
    }
    
    .gallery-image-container {
        height: 200px;
    }
    
    .gallery-info {
        padding: 20px;
    }
    
    .gallery-info h3 {
        font-size: 1.3rem;
    }
}

/* ===== ALERTS - MODERNE ===== */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1.2rem 1.5rem;
    font-weight: 500;
}

.alert-info {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    color: var(--accent-cyan);
}

.alert-success {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: var(--accent-emerald);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="circles" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="15" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
}

/* Ensure pseudo-element doesn't block clicks and CTA button is on top */
.cta-section::before {
    pointer-events: none;
}

.cta-section .btn {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.cta-section h2 {
    color: var(--white);
    font-weight: 800;
    font-size: 2.8rem;
}

.cta-section p {
    color: var(--gray-100);
    font-size: 1.2rem;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 16px;
    border-left: 4px solid var(--primary-teal);
    transition: all var(--transition-normal);
}

.contact-info:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-info i {
    color: var(--primary-teal);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info h5 {
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--gray-600);
    margin: 0;
}

/* ===== MAP PLACEHOLDER ===== */
.placeholder-map {
    height: 400px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-300);
}

.placeholder-map i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

/* ===== FOOTER - MODERNE ===== */
footer {
    background: var(--navy-dark);
    color: var(--gray-300);
    padding: 60px 0 30px;
    border-top: 3px solid var(--primary-teal);
}

footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

footer a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--navy-medium);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all var(--transition-normal);
}

footer .social-links a:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--navy-medium);
    text-align: center;
    color: var(--gray-400);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 450px;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .navbar .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ===== PAGE TRANSITIONS ===== */
.page-transition {
    opacity: 0;
    transform: scale(0.98) translateY(20px);
    filter: blur(2px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-enter {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
    filter: blur(0px) !important;
}

/* Subtle exit effect - DISABLED to prevent freezes */
.page-exit {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* Performance optimization */
.page-transition {
    will-change: opacity, transform, filter;
}

/* GALLERY PAGE OPTIMIZATION - Disable transitions to prevent lag */
body:has(.gallery-section) .page-transition,
.gallery-section .page-transition {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

body:has(.gallery-section) .page-enter,
.gallery-section .page-enter {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

body:has(.gallery-section) .page-exit,
.gallery-section .page-exit {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

/* Mobile optimizations - simpler effects */
@media (max-width: 768px) {
    .page-transition {
        transform: scale(0.99) translateY(10px);
        filter: blur(1px);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .page-enter {
        transform: scale(1) translateY(0) !important;
        filter: blur(0px) !important;
    }

    .page-exit {
        opacity: 0.9 !important;
        transform: scale(0.995) translateY(-3px) !important;
        filter: blur(0.5px) !important;
        transition: all 0.1s ease-out !important;
    }

    /* Gallery mobile - even simpler */
    body:has(.gallery-section) .page-transition,
    .gallery-section .page-transition {
        transform: translateY(5px) !important;
        filter: none !important;
        transition: opacity 0.2s ease, transform 0.2s ease !important;
    }

    body:has(.gallery-section) .page-enter,
    .gallery-section .page-enter {
        transform: translateY(0) !important;
    }
}/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-teal);
    color: var(--white);
}

/* Focus visible pour accessibilité */
:focus-visible {
    outline: 3px solid var(--primary-teal);
    outline-offset: 2px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    overflow: hidden;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: slideLeft 30s linear infinite;
    width: fit-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    min-width: 400px;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.2);
}

.stars {
    color: #FFA500;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-teal);
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--navy-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-600);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 100px 0;
    background: white;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: 16px !important;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.1);
}

.accordion-button {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-dark);
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    color: var(--primary-teal);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2314B8A6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
    background: white;
}

/* ===== ENHANCED BOOKING SECTION STYLES ===== */
.booking-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="booking-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(20, 184, 166, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23booking-pattern)"/></svg>');
    opacity: 0.6;
}

/* Enhanced Tabs */
.booking-tabs {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.booking-tab-btn {
    border: none !important;
    background: transparent !important;
    border-radius: 16px !important;
    padding: 20px 30px !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 80px;
    overflow: hidden;
}

.booking-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}


.booking-tab-btn.active::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-light) 100%);
}

.booking-tab-btn.active {
    color: #fff;
    box-shadow: 0 4px 24px rgba(20, 184, 166, 0.10);
    z-index: 3;
}

.booking-tab-btn.active .tab-title,
.booking-tab-btn.active .tab-subtitle {
    color: #fff;
}

.booking-tab-btn.active .tab-icon-wrapper {
    background: rgba(255,255,255,0.18);
    transform: scale(1.1);
}

.booking-tab-btn.active .tab-icon-wrapper i {
    color: #fff;
    transform: rotate(5deg);
}

.tab-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.booking-tab-btn.active .tab-icon-wrapper,
.booking-tab-btn:hover .tab-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.tab-icon-wrapper i {
    font-size: 24px;
    color: var(--primary-teal);
    transition: all 0.3s ease;
}

.booking-tab-btn.active .tab-icon-wrapper i,
.booking-tab-btn:hover .tab-icon-wrapper i {
    color: white;
    transform: rotate(5deg);
}

.tab-content-wrapper {
    position: relative;
    z-index: 2;
}

.tab-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-dark);
    display: block;
    transition: color 0.3s ease;
}

.booking-tab-btn.active .tab-title,
.booking-tab-btn:hover .tab-title {
    color: white;
}

.tab-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    display: block;
    margin-top: 2px;
    transition: color 0.3s ease;
}

.booking-tab-btn.active .tab-subtitle,
.booking-tab-btn:hover .tab-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-teal);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.booking-tab-btn.active .tab-indicator {
    width: 60%;
}

/* Ensure active booking tab stays green across all viewports and when Bootstrap toggles aria-selected/active */
.nav-tabs .nav-link.booking-tab-btn.active,
.nav-tabs .nav-link.booking-tab-btn[aria-selected="true"],
.booking-tab-btn.active,
.booking-tab-btn[aria-selected="true"] {
    /* Make the whole button visibly green so it doesn't rely only on pseudo-element opacity */
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-emerald) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(20,184,166,0.18) !important;
    transform: translateY(-2px);
    transition: all 220ms cubic-bezier(0.4,0,0.2,1) !important;
}

.nav-tabs .nav-link.booking-tab-btn.active .tab-icon-wrapper i,
.booking-tab-btn.active .tab-icon-wrapper i {
    color: #ffffff !important;
}

.nav-tabs .nav-link.booking-tab-btn.active .tab-title,
.booking-tab-btn.active .tab-title,
.nav-tabs .nav-link.booking-tab-btn.active .tab-subtitle,
.booking-tab-btn.active .tab-subtitle {
    color: #ffffff !important;
}

/* Keep the pseudo-element gradient for an extra layered glow */
.booking-tab-btn.active::before,
.nav-tabs .nav-link.booking-tab-btn.active::before {
    opacity: 1 !important;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-emerald) 100%) !important;
}

/* Desktop: center the booking tab group and center content inside each button */
@media (min-width: 992px) {
    .booking-tabs {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        gap: 1rem;
    }

    .booking-tabs .nav-item {
        display: flex;
        align-items: center;
    }

    .booking-tab-btn {
        /* Keep buttons compact but center their inner flex content */
        justify-content: center !important;
        text-align: center;
        padding: 16px 26px !important;
        min-width: 220px;
    }

    /* Center the icon and the text vertically and remove left margin on wrapper */
    .booking-tab-btn .tab-icon-wrapper {
        margin-right: 8px;
        flex: 0 0 auto;
    }

    .booking-tab-btn .tab-content-wrapper {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .booking-tab-btn .tab-title, .booking-tab-btn .tab-subtitle {
        display: block;
    }
}

/* Mobile-specific adjustments for booking tabs
   Ensure active tab shows green gradient, white text/icon and full-width layout on small screens */
@media (max-width: 767.98px) {
    .booking-tabs {
        padding: 6px;
        border-radius: 12px;
    }

    .booking-tab-btn {
        width: 100% !important;
        padding: 12px 16px !important;
        justify-content: flex-start;
        gap: 12px;
        min-height: 64px;
        display: flex;
        align-items: center;
    }

    .booking-tab-btn::before {
        border-radius: 12px;
    }

    .booking-tab-btn.active::before {
        opacity: 1;
        background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-emerald) 100%) !important;
    }

    .booking-tab-btn.active .tab-icon-wrapper i,
    .booking-tab-btn.active .tab-title,
    .booking-tab-btn.active .tab-subtitle {
        color: #ffffff !important;
    }

    .booking-tab-btn.active {
        box-shadow: 0 10px 30px rgba(20,184,166,0.18);
        z-index: 3;
    }

    .booking-tab-btn .tab-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .booking-tab-btn .tab-content-wrapper {
        margin-left: 8px;
    }
}

/* Form Progress Indicator */
.form-progress-container {
    position: relative;
    z-index: 2;
}

.form-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border-radius: 20px;
    width: 0%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.form-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Enhanced Booking Cards */
.booking-card {
    border: none;
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(6, 182, 212, 0.02) 100%);
    pointer-events: none;
}

.booking-card .card-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border: none;
    padding: 25px 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.booking-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="header-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23header-pattern)"/></svg>');
}

.card-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.card-icon i {
    font-size: 28px;
    color: white;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.card-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Enhanced Form Groups */
.form-group-enhanced {
    position: relative;
    margin-bottom: 2rem;
}

.enhanced-input {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 18px 16px 8px 16px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    width: 100%;
    position: relative;
    z-index: 2;
}

.enhanced-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
}

.form-label-floating {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 1rem;
    color: var(--gray-500);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: white;
    padding: 0 4px;
    z-index: 3;
}

.input-focused .form-label-floating,
.input-has-value .form-label-floating,
.enhanced-input:focus + .form-label-floating,
.enhanced-input:not(:placeholder-shown) + .form-label-floating {
    top: -8px;
    font-size: 0.85rem;
    color: var(--primary-teal);
    font-weight: 600;
}

.input-border-effect {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.input-focused .input-border-effect {
    width: 100%;
}

.form-validation-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.input-valid .form-validation-icon {
    opacity: 1;
    color: var(--accent-emerald);
}

.input-invalid .form-validation-icon {
    opacity: 1;
    color: #ef4444;
}

.input-invalid .form-validation-icon i::before {
    content: '\f00d'; /* Font Awesome X icon */
}

.form-help-text {
    position: absolute;
    bottom: -20px;
    left: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-focused .form-help-text {
    opacity: 1;
}

.field-completed .enhanced-input {
    border-color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.02);
}

.field-completed .form-label-floating {
    color: var(--accent-emerald);
}

/* Enhanced Submit Button */
.enhanced-submit-btn {
    position: relative;
    overflow: hidden;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
    min-width: 250px;
}

.enhanced-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
}

.enhanced-submit-btn:active {
    transform: translateY(-1px);
}

.btn-content,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.btn-loading-active .btn-loading {
    opacity: 1;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

.ripple-active {
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Tab Content Animations */
.booking-tabs-content .tab-pane {
    transition: all 0.3s ease;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .booking-tab-btn {
        padding: 15px 20px !important;
        min-height: 70px;
        gap: 10px;
    }
    
    .tab-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .tab-icon-wrapper i {
        font-size: 20px;
    }
    
    .tab-title {
        font-size: 1rem;
    }
    
    .tab-subtitle {
        font-size: 0.8rem;
    }
    
    .card-header-content {
        gap: 15px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon i {
        font-size: 24px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .enhanced-submit-btn {
        min-width: 200px;
        padding: 16px 32px;
    }
}

/* Pulse Animation for Call-to-Action */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(20, 184, 166, 0.5), 0 0 0 10px rgba(20, 184, 166, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
    }
}

.enhanced-submit-btn:not(:disabled):not(.btn-loading-active) {
    animation: pulse 2s infinite;
}

.enhanced-submit-btn:hover {
    animation: none;
}

/* ===== ENHANCED CONTACT SECTION STYLES ===== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 30%, #f0f9ff 70%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="contact-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(20, 184, 166, 0.08)"/><circle cx="10" cy="10" r="1" fill="rgba(6, 182, 212, 0.06)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.7;
}

/* Contact Stats */
.contact-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contact-stat-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(6, 182, 212, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.15);
}

.contact-stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.contact-stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.stat-icon i {
    font-size: 28px;
    color: white;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-600);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
}

/* Contact Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-action-btn {
    background: rgba(20, 184, 166, 0.1);
    border: 2px solid rgba(20, 184, 166, 0.2);
    color: var(--primary-teal);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.contact-action-btn:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.current-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.status-open {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

.status-closed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Enhanced Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.02) 0%, rgba(6, 182, 212, 0.02) 100%);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.form-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.form-icon i {
    font-size: 28px;
    color: white;
}

.form-header-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0;
}

.form-header-content p {
    color: var(--gray-600);
    margin: 5px 0 0 0;
    font-size: 1.1rem;
}

/* Contact Form Progress */
.contact-form-progress {
    position: relative;
    z-index: 2;
}

.progress-bar {
    height: 8px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border-radius: 20px;
    width: 0%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Character Counter */
.character-counter {
    position: absolute;
    bottom: -25px;
    right: 16px;
    font-size: 0.8rem;
    color: var(--gray-500);
    transition: color 0.3s ease;
}

.character-counter.near-limit {
    color: #f59e0b;
}

.character-counter.at-limit {
    color: #ef4444;
}

/* Contact Submit Button */
.contact-submit-btn {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    border: none;
    padding: 18px 40px;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 250px;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(20, 184, 166, 0.4);
}

.contact-submit-btn:not(:disabled):not(.btn-loading-active):hover {
    animation: none;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%);
}

/* Hover Effects for Contact Cards */
.contact-info-card[data-hover-effect] {
    cursor: pointer;
}

.contact-info-card[data-hover-effect]:hover .contact-content h5 {
    color: var(--primary-teal);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Responsive Design for Contact */
@media (max-width: 768px) {
    .contact-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 24px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .form-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .form-header-content h3 {
        font-size: 1.5rem;
    }
    
    .contact-info-card {
        padding: 20px;
    }
    
    .contact-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon-wrapper i {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .contact-stats-container {
        grid-template-columns: 1fr;
    }
    
    .contact-stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* ===== RESPONSIVE HERO SLIDESHOW ===== */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        margin-top: -80px;
        padding-top: 80px;
    }
    
    .hero-slide {
        background-attachment: scroll;
        animation: kenBurnsMobile 15s ease-in-out infinite;
    }
    
    @keyframes kenBurnsMobile {
        0%, 100% {
            transform: scale(1.02) translate(0, 0);
        }
        50% {
            transform: scale(1.03) translate(-0.8%, -0.6%);
        }
    }
    
    .hero-overlay {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-slide {
        background-size: cover;
        background-position: center;
    }
    
    .hero-overlay {
        padding: 1rem;
    }
}

/* Performance optimization for devices with reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none;
        transition: opacity 1s ease-in-out;
    }
    
    .hero-overlay-gradient::before {
        animation: none;
    }
    
    .shape {
        animation: none;
    }
}

/* ===== ENHANCED LOGO COLORS - DARKER VARIANTS ===== */
/* Darker navbar brand when scrolled for better contrast */
.navbar.scrolled .navbar-brand span {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--primary-darkest) 50%, var(--primary-darker) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced section titles with darker logo colors */
.section-title h2 {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--primary-darkest) 30%, var(--primary-dark) 70%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service card titles with logo color gradient */
.service-card-modern h3 {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-darkest) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page headers with enhanced contrast */
.page-header h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(6, 95, 94, 0.4);
}

/* About section heading enhancement */
.about-content h2 {
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--primary-darkest) 40%, var(--primary-dark) 80%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SLIDESHOW LOADING & INDICATORS ===== */
.hero-slideshow-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-slideshow-loading.active {
    opacity: 1;
}

.slideshow-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Slideshow dots indicator (optional) */
.hero-slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active {
    background: var(--primary-teal);
    border-color: var(--white);
    transform: scale(1.2);
}

/* ===== POPPINS MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    /* Enhanced mobile typography for Poppins geometric shapes */
    body {
        font-size: 16px;
        line-height: 1.6;
        letter-spacing: -0.01em;
    }
    
    h1 {
        font-weight: 700;
        letter-spacing: -0.035em;
    }
    
    h2 {
        font-weight: 600;
        letter-spacing: -0.025em;
    }
    
    h3 {
        font-weight: 600;
        letter-spacing: -0.02em;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
        letter-spacing: -0.01em;
    }
    
    .lead {
        font-size: 1.125rem;
        font-weight: 500;
        letter-spacing: -0.015em;
    }
    
    /* Better button typography on mobile */
    .btn {
        font-weight: 600;
        letter-spacing: -0.01em;
    }
    
    /* Navigation improvements */
    .nav-link {
        font-weight: 500;
        letter-spacing: -0.01em;
    }
}

/* ===== POPPINS ACCESSIBILITY ENHANCEMENTS ===== */
/* High contrast mode support for Poppins */
@media (prefers-contrast: high) {
    body {
        font-weight: 500;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-weight: 800;
    }
    
    .btn {
        font-weight: 700;
    }
}

/* Better text selection for Poppins */
::selection {
    background-color: var(--primary-light);
    color: var(--navy-dark);
}

::-moz-selection {
    background-color: var(--primary-light);
    color: var(--navy-dark);
}

/* Hero Scroll Down Button */
.hero-scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(6,182,212,0.14);
    cursor: pointer;
    transition: transform 220ms var(--transition-fast), opacity 220ms ease;
    backdrop-filter: blur(6px);
}

.hero-scroll-down i { font-size: 18px; }

.hero-scroll-down:hover { transform: translateX(-50%) translateY(-6px) scale(1.03); }

/* Back to top control */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
    color: white;
    z-index: 1100;
    display: none; /* show after scroll */
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(20,184,166,0.25);
    cursor: pointer;
    transition: transform 180ms ease, opacity 180ms ease;
}

.back-to-top.show { display: inline-flex; }
.back-to-top:hover { transform: translateY(-6px); }

/* Ensure hero overlay doesn't block the scroll button touches */
.hero-overlay, .hero-overlay-gradient {
    pointer-events: none;
}

/* But allow interactive elements inside hero-overlay to receive pointer events */
.hero-overlay .btn, .hero-overlay a, .hero-overlay button, .hero-overlay input, .hero-overlay select {
    pointer-events: auto;
}

/* small responsive tweak */
@media (max-width: 576px) {
    .hero-scroll-down { width: 48px; height: 48px; bottom: 18px; }
    .back-to-top { right: 12px; bottom: 12px; width: 44px; height: 44px; }
}

/* ===== MOBILE ARROW TOGGLE & VERTICAL DROPDOWN ===== */
.navbar-arrow-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-left: 12px;
}

.navbar-arrow-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.navbar-arrow-toggle i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.navbar-arrow-toggle.active i {
    transform: rotate(180deg);
}

/* Mobile-specific navbar styles */
@media (max-width: 991.98px) {
    .navbar-arrow-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-nav-container {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        padding: 20px;
        min-width: 280px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(-20px);
        transition: all 0.3s ease;
        z-index: 1000;
        margin-top: 12px;
    }
    
    .navbar-nav-container.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 8px;
        margin: 0;
        padding: 0;
        align-items: stretch !important;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 20px !important;
        margin: 0;
        border-radius: 12px;
        background: rgba(20, 184, 166, 0.05);
        border: 1px solid rgba(20, 184, 166, 0.1);
        color: var(--navy-dark) !important;
        font-weight: 600;
        transition: all 0.3s ease;
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-link:hover::before {
        left: 100%;
    }
    
    .nav-link:hover {
        background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
        border-color: var(--primary-teal);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, var(--primary-teal) 0%, var(--accent-cyan) 100%);
        color: white !important;
        box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
        border-color: var(--primary-teal);
    }
    
    .navbar .btn-primary {
        width: 100%;
        margin-top: 8px;
        padding: 14px 20px;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .navbar .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
    }
    
    /* Adjust navbar glass container for mobile */
    .navbar-glass-container {
        justify-content: center;
        padding: 8px 16px;
    }
}

/* ===== MODERN ADMIN TABLE STYLING ===== */

/* Table Container - Clean Modern Wrapper */
.admin-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Custom Table Header - Horizontal Single Row */
.custom-table-header {
    display: grid;
    grid-template-columns: 70px 110px 160px 200px 140px 250px 150px 140px;
    width: max-content;
    min-width: 100%;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #e2e8f0;
    overflow-x: auto;
}

.custom-table-header .header-cell {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #475569;
    text-align: left;
    border-right: 1px solid #e2e8f0;
    white-space: nowrap;
}

.custom-table-header .header-cell:last-child {
    border-right: none;
}

/* Table Base Styling - Fixed Layout */
.admin-table-wrapper table.dataTable {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 !important;
}

/* Modern Column Widths - Optimized for Content */
.admin-table-wrapper table.dataTable thead th:nth-child(1),
.admin-table-wrapper table.dataTable tbody td:nth-child(1) {
    width: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
}

.admin-table-wrapper table.dataTable thead th:nth-child(2),
.admin-table-wrapper table.dataTable tbody td:nth-child(2) {
    width: 110px !important;
    max-width: 110px !important;
    min-width: 110px !important;
}

.admin-table-wrapper table.dataTable thead th:nth-child(3),
.admin-table-wrapper table.dataTable tbody td:nth-child(3) {
    width: 160px !important;
    max-width: 160px !important;
    min-width: 160px !important;
}

.admin-table-wrapper table.dataTable thead th:nth-child(4),
.admin-table-wrapper table.dataTable tbody td:nth-child(4) {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
}

.admin-table-wrapper table.dataTable thead th:nth-child(5),
.admin-table-wrapper table.dataTable tbody td:nth-child(5) {
    width: 140px !important;
    max-width: 140px !important;
    min-width: 140px !important;
}

.admin-table-wrapper table.dataTable thead th:nth-child(6),
.admin-table-wrapper table.dataTable tbody td:nth-child(6) {
    width: 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
}

.admin-table-wrapper table.dataTable thead th:nth-child(7),
.admin-table-wrapper table.dataTable tbody td:nth-child(7) {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
}

.admin-table-wrapper table.dataTable thead th:nth-child(8),
.admin-table-wrapper table.dataTable tbody td:nth-child(8) {
    width: 140px !important;
    max-width: 140px !important;
    min-width: 140px !important;
}

/* Modern Header Styling - Clean & Minimal */
.admin-table-wrapper table.dataTable thead th {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    padding: 16px 12px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-right: 1px solid #f1f5f9 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: middle !important;
    text-align: left !important;
    box-sizing: border-box !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

.admin-table-wrapper table.dataTable thead th:last-child {
    border-right: none !important;
}


/* Modern Badge Styling - Clean Pills */
.admin-table-wrapper .badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.admin-table-wrapper .badge.bg-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
}

.admin-table-wrapper .badge.bg-info {
    background: linear-gradient(135deg, #14B8A6 0%, #0d9488 100%) !important;
    color: #ffffff !important;
}

.admin-table-wrapper .badge.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
}

.admin-table-wrapper .badge.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
}

.admin-table-wrapper .badge.bg-secondary {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%) !important;
    color: #ffffff !important;
}

/* Modern Button Styling - Clean & Minimal */
.admin-table-wrapper .btn-sm {
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.admin-table-wrapper .btn-outline-primary {
    background: #ffffff !important;
    color: #14B8A6 !important;
    border: 1.5px solid #14B8A6 !important;
}

.admin-table-wrapper .btn-outline-primary:hover {
    background: #14B8A6 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3) !important;
}

/* Remove DataTables Default Sorting Icons */
.admin-table-wrapper table.dataTable thead .sorting:before,
.admin-table-wrapper table.dataTable thead .sorting:after,
.admin-table-wrapper table.dataTable thead .sorting_asc:before,
.admin-table-wrapper table.dataTable thead .sorting_asc:after,
.admin-table-wrapper table.dataTable thead .sorting_desc:before,
.admin-table-wrapper table.dataTable thead .sorting_desc:after {
    display: none !important;
}

/* Modern DataTables Controls Styling */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 20px !important;
}

/* Ensure DataTables controls don't interfere with custom headers */
.admin-table-wrapper .dataTables_wrapper {
    position: relative !important;
}

.admin-table-wrapper .dataTables_wrapper .dataTables_length,
.admin-table-wrapper .dataTables_wrapper .dataTables_filter {
    position: relative !important;
    z-index: 5 !important;
    margin-bottom: 10px !important;
}

/* Custom header positioning for DataTables */
.admin-table-wrapper .custom-table-header {
    position: relative !important;
    z-index: 15 !important;
    margin-bottom: 0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.dataTables_wrapper .dataTables_length select {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 6px 30px 6px 12px !important;
    font-size: 13px !important;
    color: #475569 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: #14B8A6 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1) !important;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    color: #475569 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #14B8A6 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1) !important;
}

/* Modern Pagination Styling */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    margin: 0 2px !important;
    border-radius: 6px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: #14B8A6 !important;
    background: #f0fdfa !important;
    color: #14B8A6 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #14B8A6 0%, #0d9488 100%) !important;
    border-color: #14B8A6 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3) !important;
}

/* Modern Info Text Styling */
.dataTables_wrapper .dataTables_info {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    padding-top: 12px !important;
}


/* Scrollbar Styling for Modern Look */
.admin-table-wrapper .dataTables_scrollBody {
    border-radius: 0 0 12px 12px !important;
}

.admin-table-wrapper .dataTables_scrollBody::-webkit-scrollbar {
    height: 8px !important;
}

.admin-table-wrapper .dataTables_scrollBody::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}

.admin-table-wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}

.admin-table-wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* COMPREHENSIVE TABLE STYLING FIX - Consolidated and Non-Conflicting */

/* Base table styling - clean and minimal */
.admin-table-wrapper table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

/* CUSTOM TABLE HEADER - Outside the table structure */
.custom-table-header {
    display: flex !important;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-bottom: 2px solid #e2e8f0 !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: default !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    border-radius: 12px 12px 0 0 !important;
}

.custom-table-header .header-cell {
    padding: 16px 12px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    border-right: 1px solid #f1f5f9 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: middle !important;
    text-align: left !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    flex: 1 !important;
}

.custom-table-header .header-cell:last-child {
    border-right: none !important;
}

/* ID Column header specific styling */
.custom-table-header .header-cell:nth-child(1) {
    text-align: center !important;
    font-weight: 700 !important;
    color: #64748b !important;
    background: transparent !important;
    border-right: 2px solid #e2e8f0 !important;
    flex: 0 0 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
}

/* Actions Column header - centered */
.custom-table-header .header-cell:nth-child(8) {
    text-align: center !important;
    flex: 0 0 140px !important;
    max-width: 140px !important;
    min-width: 140px !important;
}

/* TYPE Column */
.custom-table-header .header-cell:nth-child(2) {
    flex: 0 0 110px !important;
    max-width: 110px !important;
    min-width: 110px !important;
}

/* NOM Column */
.custom-table-header .header-cell:nth-child(3) {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    min-width: 160px !important;
}

/* EMAIL Column */
.custom-table-header .header-cell:nth-child(4) {
    flex: 0 0 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
}

/* TÉLÉPHONE Column */
.custom-table-header .header-cell:nth-child(5) {
    flex: 0 0 140px !important;
    max-width: 140px !important;
    min-width: 140px !important;
}

/* DÉTAILS/SUJET Column */
.custom-table-header .header-cell:nth-child(6) {
    flex: 0 0 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
}

/* DATE/MESSAGE Column */
.custom-table-header .header-cell:nth-child(7) {
    flex: 0 0 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
}

/* RECENT ACTIVITY HEADER - 4 columns layout */
.recent-activity-header .header-cell:nth-child(1) {
    flex: 0 0 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
    text-align: center !important;
}

.recent-activity-header .header-cell:nth-child(2) {
    flex: 0 0 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
}

.recent-activity-header .header-cell:nth-child(3) {
    flex: 0 0 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
}

.recent-activity-header .header-cell:nth-child(4) {
    flex: 0 0 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
    text-align: center !important;
}

/* Recent Activity Table Body Styling */
#recentActivity tr td:nth-child(1) {
    width: 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
    text-align: center !important;
    padding: 14px 12px !important;
    border-right: 1px solid #f8fafc !important;
}

#recentActivity tr td:nth-child(2) {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    padding: 14px 12px !important;
    border-right: 1px solid #f8fafc !important;
}

#recentActivity tr td:nth-child(3) {
    width: 250px !important;
    max-width: 250px !important;
    min-width: 250px !important;
    padding: 14px 12px !important;
    border-right: 1px solid #f8fafc !important;
}

#recentActivity tr td:nth-child(4) {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
    text-align: center !important;
    padding: 14px 12px !important;
}

/* Recent Activity Table Row Styling */
#recentActivity tr {
    border-bottom: 1px solid #f1f5f9 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#recentActivity tr:hover {
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%) !important;
    box-shadow: inset 3px 0 0 #14B8A6 !important;
}

#recentActivity tr:nth-child(even) {
    background: #fafafa !important;
}

#recentActivity tr:nth-child(even):hover {
    background: linear-gradient(90deg, #f8fafc 0%, #fafafa 100%) !important;
}


/* Table body cell styling - clean and consistent */
.admin-table-wrapper table.dataTable tbody td {
    padding: 14px 12px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f8fafc !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: middle !important;
    text-align: left !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    transition: background-color 0.15s ease !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.admin-table-wrapper table.dataTable tbody td:last-child {
    border-right: none !important;
}

/* Row hover effects - subtle and clean */
.admin-table-wrapper table.dataTable tbody tr {
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.admin-table-wrapper table.dataTable tbody tr:hover td {
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%) !important;
    box-shadow: inset 3px 0 0 #14B8A6 !important;
}

/* ID Column specific styling - centered and distinct */
.admin-table-wrapper table.dataTable thead th:nth-child(1),
.admin-table-wrapper table.dataTable tbody td:nth-child(1) {
    text-align: center !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #ffffff !important;
    border-right: 2px solid #e2e8f0 !important;
}

.admin-table-wrapper table.dataTable tbody tr:hover td:nth-child(1) {
    background: linear-gradient(90deg, #f0fdfa 0%, #ffffff 100%) !important;
    box-shadow: inset 3px 0 0 #14B8A6 !important;
}

/* Actions Column - centered */
.admin-table-wrapper table.dataTable thead th:nth-child(8),
.admin-table-wrapper table.dataTable tbody td:nth-child(8) {
    text-align: center !important;
}

/* Alternating row colors for better readability */
.admin-table-wrapper table.dataTable tbody tr:nth-child(even) td {
    background: #fafafa !important;
}

.admin-table-wrapper table.dataTable tbody tr:nth-child(even):hover td {
    background: linear-gradient(90deg, #f8fafc 0%, #fafafa 100%) !important;
}

/* Remove all browser default selection styling */
.admin-table-wrapper table.dataTable tbody td::selection,
.admin-table-wrapper table.dataTable tbody td::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}


/* Empty state styling */
.admin-table-wrapper table.dataTable tbody td[colspan] {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}