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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafbfc;
}

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

/* Color Variables */
:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --bg-section: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Les styles mobile sont gérés plus bas dans le fichier */

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.language-switcher select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(59, 130, 246, 0.9) 50%, rgba(6, 182, 212, 0.85) 100%);
    color: white;
    padding: 140px 20px 100px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    width: 100%;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="90" r="1.5" fill="white" opacity="0.1"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 1.1rem;
    color: #c3d7ff;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

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

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

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border: 2px solid #25d366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
}

/* Urgence Banner */
.urgence-banner {
    background: var(--danger);
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
}

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

.urgence-content i {
    font-size: 1.5rem;
}

.urgence-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 8px 16px;
    border: 2px solid var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.urgence-phone:hover {
    background: var(--white);
    color: var(--danger);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-section) 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    height: 100%;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

/* Emergency Section */
.emergency-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border-top: 4px solid #d35400;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-icon {
    font-size: 4rem;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.emergency-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.emergency-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.emergency-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.emergency-buttons .btn-whatsapp {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.emergency-buttons .btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
}

.emergency-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.emergency-buttons .btn-outline:hover {
    background: white;
    color: #ff6b6b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .emergency-text h2 {
        font-size: 2rem;
    }
    
    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: #fbbf24;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.7;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #b8d4f0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b8d4f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

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

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

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    width: 16px;
}

.hours h5 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b8d4f0;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Animations pour le menu mobile */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes expandHeight {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 300px;
        opacity: 1;
    }
}

/* Mobile Menu Styles - Version Professionnelle */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
        flex-direction: column;
    }

    .nav-toggle:hover {
        background: rgba(30, 64, 175, 0.1);
    }

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 3px 0;
        display: block;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: white;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: white;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        height: -webkit-fill-available; /* Fix pour iOS Safari */
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        padding-top: 80px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling sur iOS */
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        display: flex;
        -webkit-transform: translateZ(0); /* Force hardware acceleration */
        transform: translateZ(0);
    }

    .nav-menu.active {
        left: 0;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 30px;
        margin: 0 20px;
        color: #2c3e50;
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        margin-bottom: 8px;
        text-align: left;
        width: calc(100% - 40px);
    }

    .nav-menu .nav-link:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        /*color: white;*/
        transform: translateX(8px);
        box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    }

    .nav-menu .dropdown {
        margin: 0 20px;
        margin-bottom: 8px;
    }

    .nav-menu .dropdown .nav-link {
        margin: 0;
        /*background: #f8f9fa;*/
        border: 2px solid #e9ecef;
    }

    .nav-menu .dropdown .nav-link::after {
        content: "\f107";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: var(--primary-color);
        margin-left: auto;
        flex-shrink: 0;
    }

    .nav-menu .dropdown.open .nav-link {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        /*color: white;*/
        border-color: var(--primary-color);
    }

    .nav-menu .dropdown.open .nav-link::after {
        transform: rotate(180deg);
        color: white;
    }

    .dropdown-content {
        max-height: 0;
        overflow: hidden;
        /*background: white;*/
        margin: 8px 0 0 0;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    transform 0.3s ease;
        opacity: 0;
        transform: translateY(-10px);
        border: 2px solid #e9ecef;
        position: static;
        visibility: visible;
    }

    .dropdown.open .dropdown-content {
        max-height: 300px;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-content a {
        display: flex;
        align-items: center;
        padding: 16px 25px;
        color: #495057;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid #f1f3f4;
        position: relative;
    }

    .dropdown-content a::before {
        content: "\f105";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-right: 12px;
        color: var(--primary-color);
        font-size: 12px;
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    /* Masquer les flèches des dropdowns sur mobile */
    @media (max-width: 768px) {
        .dropdown-content a::before {
            display: none;
        }
    }

    .dropdown-content a:hover {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        color: var(--primary-color);
        transform: translateX(8px);
        padding-left: 30px;
    }

    .dropdown-content a:hover::before {
        transform: translateX(5px);
    }

    .dropdown-content a:last-child {
        border-bottom: none;
        border-radius: 0 0 10px 10px;
    }

    .dropdown-content a:first-child {
        border-radius: 10px 10px 0 0;
    }
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 8px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 40px 0 60px;
        min-height: 70vh;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0 1rem;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
        padding: 0;
        max-width: 100%;
    }
    
    .hero-image {
        order: 1;
        max-width: 300px;
        margin: 0 auto 2rem;
        width: 100%;
    }
    
    .hero-image img {
        border-radius: 15px;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        min-width: 250px;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .urgence-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .emergency-content h2 {
        font-size: 1.8rem;
    }
    
    .emergency-content .btn {
        align-self: center;
        padding: 12px 24px;
        width: auto;
        min-width: 200px;
    }
    
    .stats-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stats-section .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stats-section .stat-number {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-link {
        font-size: 1.1rem;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .hero {
        min-height: 60vh;
        padding: 30px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 0.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 0.25rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 0.25rem;
    }
    
    .hero-buttons .btn {
        min-width: 220px;
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .nav-menu.active {
        padding: 0.5rem 0;
    }
    

    
    /* Dropdown content sur mobile */
    .nav-menu.active .dropdown-content {
        position: static;
        background: #f8fafc;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
        margin: 0;
        padding: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        overflow: hidden;
        border-top: 1px solid #e2e8f0;
    }
    
    .nav-menu.active .dropdown.open .dropdown-content {
        display: block;
        animation: slideDownSub 0.2s ease;
    }
    
    @keyframes slideDownSub {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 300px;
        }
    }
    
    .nav-menu.active .dropdown-content a {
        display: block;
        padding: 14px 24px 14px 48px;
        color: #2d3748;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 400;
        border-bottom: 1px solid #e9ecef;
        transition: all 0.2s ease;
        position: relative;
        background: white;
    }
    
    .nav-menu.active .dropdown-content a::before {
        content: '•';
        position: absolute;
        left: 32px;
        color: var(--primary-color);
        font-weight: bold;
    }
    
    .nav-menu.active .dropdown-content a:hover {
        background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%);
        color: var(--primary-color);
        padding-left: 52px;
    }
    
    .nav-menu.active .dropdown-content a:last-child {
        border-bottom: none;
    }
    

    
    .hero {
        padding: 40px 0;
        gap: 1.5rem;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.95rem;
        min-width: 180px;
    }
    
    .hero-image {
        max-width: 240px;
    }
    
    .services,
    .testimonials,
    .about-preview {
        padding: 40px 0;
    }
    
    .services-grid {
        padding: 0 0.5rem;
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 1.5rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    .about-text {
        padding: 0 0.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .stats-section .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stats-section .stat-number {
        font-size: 1.8rem;
    }
    
    .stats-section .stat-label {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem 1.2rem;
    }
    
    .testimonial-card p {
        font-size: 0.95rem;
    }
    
    .emergency-content {
        padding: 0 0.5rem;
    }
    
    .emergency-content h2 {
        font-size: 1.6rem;
    }
    
    .emergency-content p {
        font-size: 0.95rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Homepage Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stats-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stats-pattern)"/></svg>') repeat;
    opacity: 0.3;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

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

.stats-section .stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stats-section .stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stats-section .stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.stats-section .stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-section .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

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

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

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

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Enhanced list styling for service sections */
ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}
ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}
ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}
@media (prefers-color-scheme: dark) {
    ul li::before { box-shadow: none; }
}