:root {
    /* Dark Mode Color Palette - Professional & Modern */
    --primary-color: #818cf8;
    --primary-dark: #6366f1;
    --primary-light: #a5b4fc;
    --secondary-color: #f472b6;
    --secondary-dark: #ec4899;
    --accent-color: #fbbf24;
    --accent-light: #fcd34d;
    
    /* Gradient Colors - Dark Mode Optimized */
    --gradient-primary: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    --gradient-secondary: linear-gradient(135deg, #f472b6 0%, #fb7185 100%);
    --gradient-accent: linear-gradient(135deg, #60a5fa 0%, #34d399 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    
    /* Dark Mode Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    
    /* Dark Mode Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    
    /* Neutral Colors - Dark Mode */
    --dark-color: #0f172a;
    --dark-light: #1e293b;
    --text-color: #f1f5f9;
    --light-color: #1e293b;
    --white: #ffffff;
    --gray-50: #1e293b;
    --gray-100: #334155;
    --gray-200: #475569;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Shadows - Dark Mode */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4, .col-lg-3, .col-lg-2, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-md-6 {
    padding: 0 15px;
}

.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }

/* Header - Modern & Sticky - Dark Mode */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    transition: padding var(--transition-base);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-base);
}

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

.logo img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    border-radius: 8px;
    transition: transform var(--transition-base);
}

.logo:hover img {
    transform: rotate(5deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Navigation Menu - Modern Dropdown */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

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

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary-color);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

/* Dropdown Menu - Modern Style */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 0.7rem;
    transition: transform var(--transition-base);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 0.8rem 0;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.dropdown-menu a:hover {
    background: var(--bg-hover);
    color: var(--primary-light);
    padding-left: 2rem;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hide header CTA on mobile, show menu toggle instead */
@media (max-width: 767px) {
    .header-cta {
        display: none;
    }
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.phone-link:hover {
    color: var(--primary-color);
}

.phone-link i {
    color: var(--primary-color);
}

/* Buttons - Modern Style */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section - Modern & Dynamic */
.hero {
    min-height: 70vh;
    max-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    padding: 2rem 0;
}

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

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

.slide.active {
    opacity: 1 !important;
    z-index: 1;
    visibility: visible;
}

.slide.active {
    opacity: 1 !important;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 750px;
    animation: fadeInUp 1s ease-out;
    padding-top: 3rem;
    margin-top: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.hero-subtitle {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Styles - Dark Mode */
.section {
    padding: 60px 0;
    position: relative;
    background: var(--bg-primary);
}

.section.bg-light {
    background: var(--bg-secondary);
}

.services-details {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.services-details .section {
    padding: 0;
}

.services-details .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Centrer le contenu des services */
.services-details .service-detail {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.services-details .section-header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Services Section - Dark Mode */
.services-section {
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 18px;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: transform var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 1rem;
}

.service-link i {
    transition: transform var(--transition-base);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Footer - Modern Design - Dark Mode */
.footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 4rem 0 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-top {
    padding-bottom: 3rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 45px;
    border-radius: 8px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 1rem;
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Mobile Menu Toggle - Always visible on mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.bar {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: var(--primary-color);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-color);
}

/* Menu toggle hover effect */
@media (hover: hover) {
    .menu-toggle:hover .bar {
        background: var(--primary-color);
    }
}

/* ========== RESPONSIVE DESIGN - Optimized for All Devices ========== */

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
}

/* Desktop (1200px - 1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Tablet Landscape / Small Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .col-lg-4, .col-lg-3, .col-lg-2, .col-lg-5, .col-lg-7, .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.75rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu > li > a {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero {
        min-height: 75vh;
        max-height: 90vh;
    }
    
    .hero-content {
        padding-top: 2.5rem;
        margin-top: 1.5rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .page-header {
        padding: 130px 0 70px;
        min-height: 280px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .header-cta .phone-link {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile Landscape / Tablet Portrait (576px - 767px) */
@media (max-width: 767px) {
    .menu-toggle {
        display: flex !important;
        order: 3;
        margin-left: auto;
    }
    
    .navbar {
        justify-content: space-between;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: var(--bg-card);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        gap: 0;
        backdrop-filter: blur(10px);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Overlay when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu > li > a {
        padding: 1rem 0;
        width: 100%;
        display: block;
        font-size: 1rem;
        transition: all 0.2s ease;
    }
    
    .nav-menu > li > a:hover,
    .nav-menu > li > a:active {
        color: var(--primary-color);
        padding-left: 0.5rem;
    }
    
    .dropdown > a {
        position: relative;
    }
    
    .dropdown > a .fa-chevron-down {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a .fa-chevron-down {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0.5rem 0 0 0;
        background: var(--bg-hover);
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu li {
        margin: 0;
        border: none;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1rem;
        display: block;
        font-size: 0.95rem;
        transition: all 0.2s ease;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: var(--bg-card);
        padding-left: 1.5rem;
    }
    
    .dropdown-menu a i {
        margin-right: 0.5rem;
        width: 18px;
        text-align: center;
    }
    
    .header-cta {
        display: none;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero {
        min-height: 70vh;
        max-height: 85vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding-top: 2rem;
        margin-top: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .page-header {
        padding: 100px 0 50px;
        min-height: 250px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: calc(100vh - 80px);
        background: var(--bg-card);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: left var(--transition-base);
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu > li > a {
        padding: 1rem 0;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: var(--bg-hover);
        border-radius: 8px;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1rem;
    }
    
    .header-cta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 65vh;
        max-height: 80vh;
    }
    
    .hero-content {
        padding-top: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-md-right {
    text-align: right;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.align-items-center {
    align-items: center;
}

/* Smooth Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Touch Optimization */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

a, button, .btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

/* Prevent text selection on mobile for UI elements */
.menu-toggle,
.nav-menu > li > a,
.dropdown > a,
.btn {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Improve touch targets for mobile */
@media (max-width: 767px) {
    a, button, .btn, input, textarea, select {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu > li > a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .dropdown-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Optimize images for mobile */
img {
    max-width: 100%;
    height: auto;
        display: block;
    }

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Will-change for animations */
.nav-menu,
.menu-toggle,
.dropdown-menu {
    will-change: transform, opacity;
}

/* Backdrop filter fallback */
@supports not (backdrop-filter: blur(10px)) {
    .nav-menu {
        background: rgba(15, 23, 42, 0.98);
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-base);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    color: var(--white);
    font-size: 32px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Webconsulting Link in Footer */
.webconsulting {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.webconsulting a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.webconsulting a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Page Header Styles */
.page-header {
    padding: 120px 0 60px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 80px;
    text-align: center;
    min-height: 300px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumb-item a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Form Styles */
.form-control {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control.error {
    border-color: #ef4444;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

/* Contact Form Styles - Dark Mode */
.contact-section {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.contact-section .container {
    max-width: 1200px;
}

.contact-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .contact-section .row {
        flex-wrap: nowrap;
    }
}

.contact-section .col-lg-5,
.contact-section .col-lg-7 {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .contact-section .col-lg-5 {
        flex: 0 0 calc(41.666667% - 1rem);
        max-width: calc(41.666667% - 1rem);
    }
    
    .contact-section .col-lg-7 {
        flex: 0 0 calc(58.333333% - 1rem);
        max-width: calc(58.333333% - 1rem);
    }
}

.contact-info,
.contact-form-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info .section-header {
    margin-bottom: 1.5rem;
}

.contact-info .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-info .section-description {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.contact-item {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.contact-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.contact-text a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-text a:hover {
    color: var(--primary-light);
}

.contact-info .social-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info .social-links h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.contact-info .social-icons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
}

.contact-info .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1.1rem;
}

.contact-info .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.contact-form-container {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-container .section-header {
    margin-bottom: 1.25rem;
}

.contact-form-container .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Service Details */
.service-detail {
    margin-bottom: 6rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

/* Service CTA Buttons */
.service-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 767px) {
    .service-cta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        align-items: center;
    }
    
    .service-cta .btn {
        width: auto;
        min-width: 140px;
        padding: 0.6rem 1.2rem;
        margin: 0.25rem 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
}

.service-detail:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.service-detail:last-child {
    margin-bottom: 3rem;
}

/* Structure alternée gauche/droite pour les services */
@media (min-width: 992px) {
    /* Services impairs (1, 3, 5) - Image à gauche, contenu à droite */
    .service-detail:nth-child(odd) .col-lg-5 {
        padding-right: 2rem;
    }
    
    .service-detail:nth-child(odd) .col-lg-7 {
        padding-left: 4rem;
    }
    
    /* Services pairs (2, 4, 6) - Image à droite, contenu à gauche */
    /* Les order-lg dans le HTML gèrent déjà l'inversion */
    .service-detail:nth-child(even) .col-lg-5.order-lg-2 {
        padding-left: 2rem;
    }
    
    .service-detail:nth-child(even) .col-lg-7.order-lg-1 {
        padding-right: 4rem;
        padding-left: 0;
    }
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-height: 500px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-image:hover::before {
    opacity: 1;
}

.service-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image img,
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    min-height: 400px;
    max-height: 500px;
}

.service-image:hover img,
.service-image:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

@media (min-width: 992px) {
    .service-content {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 991px) {
    .service-detail {
        margin-bottom: 4rem;
        padding: 2.5rem 0;
    }
    
    .service-detail::after {
        width: 60%;
    }
    
    .service-image {
        min-height: 300px;
        max-height: 350px;
        margin-bottom: 2rem;
    }
    
    .service-image img,
    .service-img {
        min-height: 300px;
        max-height: 350px;
    }
    
    .service-content {
        padding: 1.5rem 1rem;
        min-height: auto;
    }
}

.service-content .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-content .service-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Boutons "Demander un devis" dans les services - largeur réduite */
.service-content .btn-primary,
.service-detail .btn-primary {
    width: auto;
    max-width: 200px;
    display: inline-block;
    text-align: center;
}

@media (max-width: 991px) {
    .service-content .btn-primary,
    .service-detail .btn-primary {
        max-width: 180px;
    }
}

@media (max-width: 575px) {
    .service-content .btn-primary,
    .service-detail .btn-primary {
        max-width: 140px;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin: 0.5rem 0;
    }
}

/* About Image Styles */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    max-height: 450px;
}

.about-image img,
.about-img {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform var(--transition-slow);
}

.about-image:hover img,
.about-image:hover .about-img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.experience-badge .years {
        display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.experience-badge span:last-child {
    display: block;
    font-size: 0.85rem;
    color: var(--white);
    margin-top: 0.5rem;
    opacity: 0.95;
}

.about-section {
    padding: 60px 0;
}

.about-content .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* CTA Section Styles */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-section .row {
    justify-content: center;
    align-items: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Team Section Styles - Dark Mode */
.team-section {
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.member-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-member:hover .member-social {
    opacity: 1;
}

.member-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-base);
}

.member-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.member-info {
    padding: 1.5rem;
    text-align: center;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-position {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials Styles - Dark Mode */
.testimonials-section {
    background: var(--bg-secondary);
    padding: 80px 0;
    margin: 0;
}

.testimonials-section .container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-section {
    margin-bottom: 0;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.testimonials-section + .cta-section {
    margin-top: 0;
    padding-top: 80px;
}

/* Remove any extra spacing or symbols */
.testimonials-section::after,
.cta-section::before {
    content: none;
}

/* Ensure slick elements don't overflow */
.testimonials-section .container {
    position: relative;
    overflow: visible;
}

/* Hide any unwanted slick elements outside the slider */
.testimonials-section .slick-list {
    overflow: hidden;
}

.testimonials-section .slick-track {
    display: flex;
    align-items: center;
}

.why-choose-us {
    padding: 80px 0;
    background: var(--bg-primary);
}

.why-choose-us .container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 60px; /* Espace pour les dots */
}

.testimonial-slide {
    padding: 2rem;
}

/* Slick Carousel Dots Styling */
.testimonial-slider .slick-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    z-index: 10;
}

.testimonial-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}

.testimonial-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-slider .slick-dots li button:before {
    display: none;
}

.testimonial-slider .slick-dots li.slick-active button {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Slick Carousel Arrows Styling */
.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    z-index: 10;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-primary);
    font-size: 1.2rem;
}

.testimonial-slider .slick-prev:hover,
.testimonial-slider .slick-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-slider .slick-prev {
    left: -60px;
}

.testimonial-slider .slick-next {
    right: -60px;
}

.testimonial-slider .slick-prev i,
.testimonial-slider .slick-next i {
    color: inherit;
}

/* Override Slick default styles */
.testimonial-slider .slick-dots li button:before {
    display: none !important;
}

.testimonial-slider .slick-dots li button {
    text-indent: 0 !important;
}

/* Hide arrows on mobile */
@media (max-width: 991px) {
    .testimonial-slider .slick-prev,
    .testimonial-slider .slick-next {
        display: none !important;
    }
    
    .testimonial-slider {
        padding-bottom: 50px;
    }
    
    .testimonial-slider .slick-dots {
        bottom: 10px;
    }
}

/* Ensure no overflow between sections */
.testimonials-section {
    overflow: visible;
}

.testimonials-section .container {
    overflow: visible;
}

/* Fix slick dots positioning - keep them inside the slider container */
.testimonial-slider .slick-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    margin: 0;
    padding: 0;
}

/* Hide default slick dots numbers/text */
.testimonial-slider .slick-dots li {
    display: inline-block;
}

.testimonial-slider .slick-dots li button {
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
}

/* Ensure slick arrows are positioned correctly */
.testimonial-slider {
    position: relative;
}

.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
    position: absolute;
    top: 50%;
    z-index: 2;
}

/* Remove any unwanted content between sections */
.testimonials-section::after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
}

.testimonial-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.rating {
    margin-top: 0.5rem;
    color: var(--accent-color);
}

.rating i {
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    margin: 0;
    background: var(--bg-secondary);
}

.map-container {
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Preloader - Dark Mode */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Devices - Portrait */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 60vh;
        max-height: 75vh;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        padding: 0.5rem 1.5rem;
    }
    
    .hero-text {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-info,
    .contact-form-container {
        margin-bottom: 2rem;
        padding: 1.25rem;
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-section .row {
        gap: 1.5rem;
    }
    
    .about-section {
        padding: 40px 0;
    }
    
    .services-details {
        padding: 60px 0;
    }
    
    .service-detail {
        margin-bottom: 4rem;
        padding: 2.5rem 0;
    }
    
    .about-img {
        max-height: 350px;
    }
    
    .service-img {
        max-height: 300px;
    }
    
    .service-image {
        max-height: 300px;
        margin-bottom: 1.5rem;
    }
    
    .service-content {
        padding: 1rem 0;
    }
    
    .service-content .service-title {
        font-size: 1.5rem;
    }
    
    .about-content .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info .section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-container .section-title {
        font-size: 1.5rem;
    }
    
    .contact-item {
        margin-bottom: 1.25rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .experience-badge {
        padding: 0.8rem 1.2rem;
        bottom: 15px;
        right: 15px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .service-image,
    .about-image {
        max-height: 280px;
        margin-bottom: 1.5rem;
    }
    
    .service-img,
    .about-img {
        max-height: 280px;
    }
    
    .service-content .service-title {
        font-size: 1.3rem;
    }
    
    .service-content .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .about-content .section-title {
        font-size: 1.5rem;
    }
    
    .col-lg-5,
    .col-lg-7,
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .text-md-right {
        text-align: center;
        margin-top: 1rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-text {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .phone-text {
        display: none;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float i {
        font-size: 26px;
    }
    
    .footer {
        padding: 3rem 0 0;
    }
    
    .webconsulting {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices (320px - 375px) */
/* Styles pour les boutons sur très petits écrans */
@media (max-width: 400px) {
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 120px;
        width: auto;
        display: inline-flex;
        justify-content: center;
    }
    
    .service-cta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-cta {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .service-cta .btn {
        width: auto;
        min-width: 130px;
        margin: 0.25rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo img {
        height: 32px;
        margin-right: 6px;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .menu-toggle {
        width: 28px;
        height: 20px;
        padding: 4px;
    }
    
    .bar {
        height: 2.5px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-text {
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: 60vh;
        max-height: 75vh;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        padding: 0.35rem 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
    }
    
    .section-description {
        font-size: 0.85rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 80px 0 40px;
        min-height: 200px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 1.25rem;
    }
    
    .contact-info .section-title,
    .contact-form-container .section-title {
        font-size: 1.3rem;
    }
    
    .about-content .section-title {
        font-size: 1.4rem;
    }
    
    .service-content .service-title {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 300px;
        max-width: 100%;
        border-radius: 10px;
    }
    
    .map-section {
        padding: 40px 0;
    }
}
