/* Base Styles */
:root {
    --primary-color: #2C3E50; /* Bleu-gris moderne */
    --secondary-color: #34495E; /* Gris ardoise */
    --accent-color: #E74C3C; /* Rouge moderne */
    --highlight-color: #F39C12; /* Orange doré */
    --success-color: #27AE60; /* Vert moderne */
    --text-color: #2C3E50;
    --light-text: #FFFFFF;
    --light-bg: #FAFAFA;
    --dark-bg: #1A252F;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header.scrolled {
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.menu-open {
    overflow: hidden;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 80px;
    
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.8)), url('../images/fondA.png') center/cover;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 152, 0, 0.1);
    filter: blur(30px);
    animation: float 15s infinite ease-in-out;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -30px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Modern About Section */
.about-section-modern {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 15s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.about-section-modern .container {
    position: relative;
    z-index: 1;
}

.about-content-modern {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.about-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.6;
}

.about-description {
    margin-bottom: 50px;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
}

.stat-content p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.about-features-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-modern {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-modern:hover::before {
    transform: scaleX(1);
}

.feature-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

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

.feature-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

/* Nouvelle classe pour la version simplifiée sans image */
.about-content-simple {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-content-simple h2,
.about-text h2 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.about-content-simple h2::after,
.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 250px;
    max-width: 280px;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.1);
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-text h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    border-radius: 15px;
    z-index: 0;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 152, 0, 0.1);
    border-radius: 50%;
    z-index: 0;
}

/* Services Section Improvements */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.services::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services h2 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e8f4fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255,255,255,0.3);
}

.services .section-intro {
    color: rgba(255,255,255,0.95);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 0.3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding: 0;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.05) 0%, 
        rgba(52, 152, 219, 0.08) 50%,
        rgba(231, 76, 60, 0.05) 100%);
    z-index: -1;
    transition: all 0.6s ease;
    opacity: 0;
    transform: scale(0.8);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    z-index: -2;
    transition: transform 0.8s ease;
    transform: rotate(0deg);
}

.service-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(52, 152, 219, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

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

.service-card:hover::after {
    transform: rotate(360deg);
}

.service-card .icon {
    font-size: 4rem;
    color: white;
    margin: 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--accent-color) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
}

.service-card .icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.service-card .icon::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(20px);
}

.service-card .icon i {
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.service-card:hover .icon i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.service-card-content {
    padding: 35px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.service-card h3 {
    margin: 20px 0 20px;
    color: var(--secondary-color);
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.service-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.service-card p {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 400;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-weight: 700;
    position: relative;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    padding: 15px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    box-shadow: 
        0 10px 20px rgba(231, 76, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin-top: auto;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.service-link:hover {
    background: linear-gradient(135deg, #e67e22 0%, var(--accent-color) 100%);
    box-shadow: 
        0 15px 30px rgba(231, 76, 60, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-3px) scale(1.05);
}

.service-link:hover::before {
    left: 100%;
}

.service-link::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

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

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

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

.services-cta {
    text-align: center;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out;
}

.services-cta .cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.25);
    transition: all 0.4s ease;
}

.services-cta .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.35);
}

/* Page Banner */
.page-banner {
    background-image: linear-gradient(135deg, rgba(13, 71, 161, 0.6), rgba(30, 136, 229, 0.5)), url('../images/fondS.png');
    background-size: cover;
    background-position: center 50%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #f8f9fa, transparent);
    z-index: 1;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    display: inline-block;
}

.banner-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-top: 25px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.3s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.9;
    }
}

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

/* Services Details */
.services-details {
    padding: 0 0 80px 0;
    background-color: #f8f9fa;
}

.services-intro {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.services-intro::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, transparent 25%, #f8f9fa 25%, #f8f9fa 50%, transparent 50%, transparent 75%, #f8f9fa 75%);
    background-size: 40px 40px;
}

.services-intro h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.services-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.services-intro h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    z-index: 1;
    animation: slideLeftRight 3s infinite ease-in-out;
}

.services-intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.services-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(30, 136, 229, 0.05);
    border-radius: 10px;
    min-width: 200px;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-color: rgba(30, 136, 229, 0.1);
}

.badge i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge span {
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-detail {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    z-index: 1;
}

.service-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.2);
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
}

.service-icon {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.service-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, 30%);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.service-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-content h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    z-index: 1;
    margin-left: 0;
    animation: slideLeftRight 3s infinite ease-in-out;
}

.service-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-content ul {
    margin: 20px 0;
    padding-left: 5px;
    list-style: none;
}

.service-content ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: #555;
}

.service-content ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    background-color: rgba(30, 136, 229, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.price {
    font-size: 1.2rem;
    margin: 20px 0;
    text-align: center;
    background-color: rgba(30, 136, 229, 0.05);
    padding: 10px;
    border-radius: 8px;
    margin-top: auto;
}

.price span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.service-detail .cta-button {
    align-self: center;
    margin-top: 15px;
    background: linear-gradient(90deg, var(--accent-color), #F57C00);
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.service-detail .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4);
    background: linear-gradient(90deg, #F57C00, var(--accent-color));
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-bottom: 30px;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 30px;
    height: 30px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.rating {
    color: #FFD700;
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 15px;
}

.prev-btn,
.next-btn {
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.2);
}

/* Modern CTA Section */
.cta-section-modern {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 20s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.particle:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 20%;
    animation-delay: 10s;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 30%;
    left: 70%;
    animation-delay: 15s;
}

.particle:nth-child(5) {
    width: 14px;
    height: 14px;
    top: 70%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.7; }
    25% { transform: translateY(-30px) translateX(20px) scale(1.2); opacity: 1; }
    50% { transform: translateY(-60px) translateX(-10px) scale(0.8); opacity: 0.5; }
    75% { transform: translateY(-30px) translateX(-20px) scale(1.1); opacity: 0.8; }
}

.cta-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    z-index: 1;
}

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

.cta-content-modern {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 50px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.cta-feature i {
    color: white;
    font-size: 1.3rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-feature span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-buttons-modern {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-cta-primary-modern {
    background: white;
    color: #667eea;
    padding: 20px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.btn-cta-primary-modern:hover::before {
    left: 100%;
}

.btn-cta-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    color: #667eea;
}

.btn-cta-secondary-modern {
    background: transparent;
    color: white;
    padding: 20px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-cta-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.9;
}

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

.trust-item .number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.trust-item .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    font-weight: 500;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    background-image: linear-gradient(135deg, rgba(30, 136, 229, 0.6) 0%, rgba(13, 71, 161, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fondS.png');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.4;
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Before/After Section */
.before-after {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.before-after::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 200 200"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="200" height="200" fill="url(%23dots)"/></svg>') repeat;
    pointer-events: none;
    z-index: 0;
}

.before-after .container {
    position: relative;
    z-index: 1;
}

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

.section-header h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

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

/* === Réalisations – Grille & cartes (unifié) === */
.before-after-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); /* 1/2/3 colonnes auto */
  gap: 2rem;
  align-items: stretch;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-header {
    padding: 20px 20px 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.project-header h3 {
    color: var(--secondary-color);
    margin: 0;
    font-size: 1.3rem;
}

.date {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.date i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Comparison Slider */
.comparison-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: col-resize;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image {
    left: 0;
    width: 50%; /* Initial position - half the container */
    z-index: 1;
}

.after-image {
    right: 0;
    z-index: 0;
}

.before-image img, .after-image img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image img {
    left: 0;
}

.before-image img {
    right: 0;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Initial position */
    width: 4px;
    background-color: white;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.slider-handle i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 0.8rem;
    z-index: 4;
}

.slider-handle i:first-child {
    left: -18px;
}

.slider-handle i:last-child {
    right: -18px;
}

.label {
    position: absolute;
    top: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.before-image .label {
    left: 15px;
}

.after-image .label {
    right: 15px;
}

.project-info {
    padding: 20px;
}

.project-info p {
    margin-bottom: 15px;
    color: #555;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.features li {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.features li i {
    color: var(--accent-color);
    margin-right: 8px;
}

.date {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 10px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.rating {
    color: #FFD700;
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--secondary-color);
}

.slider-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: white;
    background-image: linear-gradient(135deg, rgba(245, 245, 245, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: slideDown 0.8s ease-out;
}

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

.section-header h2 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

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

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(30, 136, 229, 0.05);
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(13, 71, 161, 0.05);
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(30, 136, 229, 0.1);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none; /* Supprime les styles par défaut du navigateur */
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Style pour les placeholders */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
    opacity: 0.7;
    font-style: italic;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Animation au focus */
.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    opacity: 0.3;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* Effet d'animation du label quand le champ est en focus */
.form-group:focus-within label {
    color: var(--primary-color);
    transform: translateY(-2px);
    font-weight: 600;
    letter-spacing: 0.7px;
}

/* Amélioration des états actifs pour mobile */
.form-group input:active,
.form-group select:active,
.form-group textarea:active {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Style pour les champs avec erreur */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

/* Feedback visuel pour les champs valides */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.05);
}

.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    margin-top: 10px;
}

/* Effet d'ondulation au clic sur le bouton */
.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.submit-btn:active::after {
    animation: ripple 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.7;
    }
    100% {
        transform: scale(25, 25);
        opacity: 0;
    }
}

.submit-btn:hover {
    background-image: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(30, 136, 229, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(30, 136, 229, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.info-card h3 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 12px;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.info-card ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
    padding: 5px 0;
}

.info-card ul li:hover {
    transform: translateX(5px);
}

.info-card ul li i {
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    font-size: 1.1rem;
    text-align: center;
}

.hours li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(30, 136, 229, 0.1);
    font-weight: 500;
}

.hours li span:first-child {
    color: var(--secondary-color);
}

.hours li span:last-child {
    color: var(--text-color);
    font-weight: 600;
}

.emergency {
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.map-container {
    margin-top: 40px;
}

.google-map {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Form Success and Error Messages */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-error {
    text-align: center;
    padding: 40px 20px;
}

.form-error i {
    font-size: 4rem;
    color: #ff3860;
    margin-bottom: 20px;
}

.form-error .submit-btn {
    margin-top: 20px;
    display: inline-block;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-logo img {
    height: 120px;
    margin-bottom: 20px;
    max-width: 100%;
    object-fit: contain;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: white;
}

/* Mentions Légales Styles */
.legal-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.legal-card h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
    font-weight: 700;
}

.legal-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.legal-card p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.legal-card strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideLeftRight {
    0% {
        transform: translateX(-15px);
    }
    50% {
        transform: translateX(15px);
    }
    100% {
        transform: translateX(-15px);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1000;
    padding: 5px;
    margin-left: 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    background-color: rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Règles du menu mobile supprimées car dupliquées */

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 15px;
    }
    
    /* Styles responsifs pour le formulaire de contact */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px 25px;
        order: 1;
        width: 100%;
        margin: 0 auto;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
    }
    
    .contact-info {
        order: 2;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Amélioration de la largeur du formulaire sur mobile */
    .container {
        padding: 0 20px;
    }
    
    /* Grille pour les champs courts sur tablette */
    .contact-form form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Animation d'entrée pour le formulaire */
    .contact-form {
        animation: slideUp 0.6s ease-out forwards;
    }
    
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Formulaire pleine largeur sur très petits écrans */
    @media (max-width: 576px) {
        .contact-section {
            padding: 40px 0;
        }
        
        .section-header {
            margin-bottom: 30px;
        }
        
        .section-header h2 {
            font-size: 1.8rem;
        }
        
        .section-header p {
            font-size: 0.95rem;
            padding: 0 10px;
        }
        
        .contact-form {
            padding: 25px 20px;
            border-radius: 10px;
        }
        
        .contact-form form {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .form-group.full-width {
            grid-column: 1;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            font-size: 0.9rem;
            margin-bottom: 8px;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            padding: 12px 14px;
            font-size: 0.95rem;
        }
        
        .submit-btn {
            padding: 14px 20px;
            font-size: 1rem;
            margin-top: 15px;
        }
        
        .info-card {
            padding: 25px 20px;
            margin-bottom: 5px;
        }
        
        .info-card h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
        }
    }
    
    .form-group.full-width {
        grid-column: span 2;
    }
    
    /* Amélioration de l'espacement */
    .form-group {
        margin-bottom: 10px;
    }
    
    /* Amélioration du bouton d'envoi */
    .submit-btn {
        padding: 14px 20px;
        margin-top: 10px;
        font-size: 1.05rem;
    }
    
    .logo {
        position: relative;
        left: 0;
        transform: none;
        z-index: 999;
    }
    
    .logo img {
        height: 80px;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        z-index: 1002;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transition: all 0.4s ease;
        z-index: 1001;
        padding-top: 100px;
        overflow-y: auto;
        opacity: 0;
        transform: translateX(30px);
        display: block;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        visibility: hidden;
        pointer-events: none;
    }
    
    nav.active {
        right: 0;
        opacity: 1;
        transform: translateX(0);
        transition: all 0.4s ease;
        display: block;
        visibility: visible;
        pointer-events: auto;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        width: 100%;
    }
    
    /* Assurez-vous que les liens sont visibles quand le menu est actif */
    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition-delay: 0.1s;
        display: block;
        visibility: visible;
        position: relative;
        z-index: 1004;
        width: 100%;
    }
    
    /* Assurez-vous que les liens sont bien positionnés */
    nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 15px;
        font-size: 1.5rem;
        z-index: 1005; /* Z-index plus élevé pour s'assurer qu'ils sont au-dessus de tout */
        position: relative;
        pointer-events: auto;
        cursor: pointer;
    }
    
    /* Amélioration de la visibilité de l'overlay */
    .overlay.active {
        opacity: 1;
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.3); /* Overlay plus visible */
        backdrop-filter: blur(3px);
        pointer-events: auto;
    }
    
    /* Responsive Legal Section */
    .legal-section {
        padding: 50px 0;
    }
    
    .legal-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .legal-card h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .legal-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        opacity: 1;
        transform: translateY(0);
        transition: all 0.3s ease;
        padding: 8px 0;
        z-index: 1004;
        display: block;
        visibility: visible;
    }
    
    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition-delay: 0.1s;
        display: block;
        visibility: visible;
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
        display: block;
        width: 100%;
        padding: 15px 15px;
        font-size: 1.5rem;
        font-weight: 600;
        color: #333333;
        background-color: rgba(255, 255, 255, 0.7);
        transition: all 0.3s ease;
        border-radius: 5px;
        margin: 15px 0;
        position: relative;
        z-index: 1005;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        text-align: center;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    nav ul li a.active,
    nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 15px 20px;
        position: relative;
        font-weight: 700;
        transform: scale(1.02);
        transition: all 0.3s ease;
        border-left: 3px solid var(--primary-color);
        z-index: 1006;
        display: block;
        visibility: visible;
    }
    
    nav ul li a.active::after {
        content: '';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background-color: var(--primary-color);
        border-radius: 50%;
        box-shadow: 0 0 5px rgba(30, 136, 229, 0.5);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.05);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        pointer-events: none;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(3px);
        pointer-events: none;
        cursor: pointer;
        z-index: 999;
    }
    
    /* Règle supprimée car dupliquée */
    
    /* Ajustements pour le header en mobile */
    header .container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 60px;
    }
    
    /* Ajustements pour les sections en mobile */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Styles pour les très petits écrans */
@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-detail {
        flex-direction: column;
    }
    
    .service-icon {
        min-width: 100%;
        padding: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Améliorations supplémentaires pour le formulaire sur très petits écrans */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px;
        font-size: 16px; /* Taille minimale pour éviter le zoom sur iOS */
        border-radius: 8px;
        margin-bottom: 5px;
        height: auto; /* Assure une hauteur adaptée au contenu */
    }
    
    .form-group label {
        font-size: 1.1rem;
        margin-bottom: 10px;
        font-weight: 600; /* Rend les labels plus visibles */
    }
    
    .submit-btn {
        padding: 16px 24px;
        font-size: 1.1rem;
        border-radius: 8px;
        margin-top: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    /* Création d'une grille pour les champs courts */
    .contact-form form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Ajustements pour les petits écrans */
    .contact-form {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    /* Amélioration de l'espacement entre les sections */
    .contact-section {
        padding: 50px 0;
    }
    
    /* Amélioration de la lisibilité des placeholders */
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-size: 14px;
    }
    
    .project-images {
        flex-direction: column;
    }
    
    .before, .after {
        width: 100%;
    }
}

/* Style amélioré pour le titre de la section services */
.services h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.services h2::before {
    content: '⚙️';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: var(--accent-color);
    background-color: white;
    padding: 0 10px;
    z-index: 1;
}

.services .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Services Section Modern */
.services-modern {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    color: white;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: float 20s ease-in-out infinite;
}

.services-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102,126,234,0.3) 0%, rgba(118,75,162,0.3) 100%);
}

.services-modern .container {
    position: relative;
    z-index: 2;
}

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

.section-badge-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-badge-services i {
    font-size: 16px;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
    text-align: center;
}

/* Responsive pour le titre des services */
@media (max-width: 768px) {
    .services-title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 20px;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 15px;
        padding: 0 15px;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        white-space: normal;
    }
}

.services-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
    color: #e0e7ff;
}

.services-modern .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Style amélioré pour le titre de la section témoignages */
.testimonials h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

.testimonials h2::before {
    content: '★';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: var(--accent-color);
    background-color: white;
    padding: 0 10px;
    z-index: 1;
}

.testimonials .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}
    
.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50px;
    width: 30px;
    height: 30px;
    background-color: white;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.rating {
    color: #FFD700;
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--secondary-color);
}

.slider-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.info-card h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.info-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-card ul li a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.info-card ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.hours li {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.emergency {
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.map-container {
    margin-top: 40px;
}

.google-map {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Form Success and Error Messages */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.form-error {
    text-align: center;
    padding: 40px 20px;
}

.form-error i {
    font-size: 4rem;
    color: #ff3860;
    margin-bottom: 20px;
}

.form-error .submit-btn {
    margin-top: 20px;
    display: inline-block;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

footer::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 200px;
    margin-bottom: 25px;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-certifications {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.certification-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.certification-badge:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: white;
    padding-bottom: 15px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-links ul li:hover {
    transform: translateX(5px);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a::before {
        content: '▶';
        font-size: 0.7rem;
        color: #667eea;
        transition: all 0.3s ease;
    }

    .footer-links ul li a:hover {
        color: white;
        padding-left: 5px;
    }

    .footer-links ul li a:hover::before {
        color: #764ba2;
    }

    .footer-links ul li:hover {
        transform: none;
    }

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-contact p:hover {
    color: white;
    transform: translateX(3px);
}

.footer-contact p i {
    margin-right: 12px;
    color: #667eea;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #667eea;
}

.hours {
    color: rgba(255, 255, 255, 0.8);
}

.hours p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency {
    color: #ff6b6b !important;
    font-weight: 600;
    margin-top: 15px !important;
    padding: 10px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icons a:nth-child(1):hover {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-icons a:nth-child(2):hover {
    background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcb045);
}

.social-icons a:nth-child(3):hover {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 25px;
}

.footer-bottom .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom .footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.footer-bottom .footer-links a:hover {
    color: white;
}

.footer-bottom .footer-links a:hover::after {
    width: 100%;
}

/* Animations */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1000;
    padding: 5px;
    margin-left: 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    background-color: rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animated menu button */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 15px;
    }
    
    .logo {
        position: relative;
        left: 0;
        transform: none;
        z-index: 999;
    }
    
    .logo img {
        height: 80px;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        z-index: 1002;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        transition: all 0.4s ease;
        z-index: 1001;
        padding-top: 100px;
        overflow-y: auto;
        opacity: 0;
        transform: translateX(30px);
        display: block;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        visibility: hidden;
        pointer-events: none;
    }
    
    nav.active {
        right: 0;
        opacity: 1;
        transform: translateX(0);
        transition: all 0.4s ease;
        z-index: 1001;
        display: block;
        visibility: visible;
        pointer-events: auto;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        width: 100%;
    }
}

/* ===== ANIMATIONS MODERNES ===== */

/* Animation de fade-in pour les éléments */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation de rotation pour les icônes */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Animation de pulsation */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

/* Animation de brillance */
@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Animation de particules flottantes */
@keyframes floatParticle {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 1;
    }
}

/* ===== CLASSES D'ANIMATION ===== */

/* Animation au scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de survol pour les cartes */
.service-card,
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.service-card:hover::before,
.testimonial-card:hover::before {
    left: 100%;
}

.service-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Animation des icônes */
.service-card .icon i,
.feature i {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card:hover .icon i,
.feature:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-color);
}

/* Animation du bouton CTA */
.cta-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

/* Animation de typing pour les titres */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Effet de particules en arrière-plan */
.hero::after {
    animation: floatParticle 6s ease-in-out infinite;
}

/* Animation de chargement */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    animation: spin 1s linear infinite;
}

/* Animation de rebond */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.bounce {
    animation: bounce 2s infinite;
}

/* Animation de zoom */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 0.6s;
}

/* Effet de gradient animé pour les arrière-plans */
.gradient-bg {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Animation de révélation de texte */
.reveal-text {
    position: relative;
    overflow: hidden;
}

.reveal-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-100%);
    animation: revealText 1.5s ease-out forwards;
}

@keyframes revealText {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animation de morphing pour les formes */
@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.morphing-shape {
    animation: morph 8s ease-in-out infinite;
}

/* Optimisation des performances */
.service-card,
.testimonial-card,
.cta-button,
.feature {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Animation de défilement fluide */
html {
    scroll-behavior: smooth;
}

/* Réduction des animations pour les utilisateurs qui préfèrent moins de mouvement */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Services Page Styles */
.services-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%), url('../images/servicesF.png') center bottom/cover;
    background-attachment: fixed;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Animation supprimée pour utiliser l'image de fond statique */
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.services-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 6px 12px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.2s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat {
    text-align: center;
    background: rgba(255,255,255,0.15);
    padding: 40px 30px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.4);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.services-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid-advanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card-advanced {
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(20px);
    will-change: transform;
}

.service-card-advanced.featured {
    transform: scale(1.05);
    border: 2px solid #3498db;
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.15);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.service-card-advanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.98);
}

.service-card-advanced.featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.25);
}

.card-header {
    padding: 40px 30px 20px;
    text-align: center;
    position: relative;
}

.service-icon-advanced {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.2s ease;
    will-change: transform;
}

.service-card-advanced:hover .service-icon-advanced {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.25);
}

.service-icon-advanced i {
    font-size: 2.2rem;
    color: white;
}

.card-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 0 30px 20px;
    text-align: center;
}

.card-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #495057;
    font-size: 0.95rem;
}

.service-features i {
    color: #27ae60;
    margin-right: 12px;
    font-size: 0.9rem;
}

.service-price {
    text-align: center;
    margin-bottom: 20px;
}

.price-from {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
}

.card-footer {
    padding: 0 30px 30px;
}

.service-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.service-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f4e79);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.service-btn.emergency {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.service-btn.emergency:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

/* Compact Process Section */
.process-section-modern {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.process-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.process-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

.process-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(168, 85, 247, 0.03) 100%);
}

.process-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.section-badge-process {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    color: #6366f1;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.process-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.process-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    z-index: 2;
}

.timeline-line {
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, #6366f1 50%, #e2e8f0 100%);
    z-index: 0;
}

.process-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px 15px;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    max-width: 220px;
    z-index: 1;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 1.3rem;
    color: white;
}

.process-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid rgba(71, 85, 105, 0.1);
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.2;
}

.card-content p {
    color: #64748b;
    line-height: 1.4;
    font-size: 0.8rem;
    margin: 0;
}

/* Animation for cards */
.process-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.process-card[data-step="1"] { animation-delay: 0.1s; }
.process-card[data-step="2"] { animation-delay: 0.2s; }
.process-card[data-step="3"] { animation-delay: 0.3s; }
.process-card[data-step="4"] { animation-delay: 0.4s; }

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

/* Responsive Design */
@media (max-width: 768px) {
    .process-section-modern {
        padding: 40px 0;
    }
    
    .process-title {
        font-size: 1.6rem;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .timeline-line {
        display: none;
    }
    
    .process-card {
        max-width: 280px;
        padding: 20px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
}

.cta-section-services {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-services::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="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cta-button {
    padding: 18px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f4e79);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-3px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-grid-advanced {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card-advanced.featured {
        transform: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Réalisations Page Styles */
.realisations-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%), url('../images/realisationF.jpg') center bottom/cover;
}

.realisations-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.realisations-hero .hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 100px 100px;
    animation: floatParticle 20s linear infinite;
}

.realisations-hero .hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.realisations-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.realisations-hero .hero-content {
    text-align: center;
    color: white;
}

.realisations-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.realisations-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Filter Section */
.filter-section {
    padding: 3rem 0;
    background: #f8fafc;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Projects Gallery */
.projects-gallery {
    padding: 4rem 0;
    background: white;
}

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

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.project-card.featured {
    border: 3px solid #667eea;
    position: relative;
}

.project-card.featured::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    border-radius: 23px;
    z-index: -1;
    animation: gradientShift 3s ease-in-out infinite;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.view-btn,
.zoom-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.view-btn:hover,
.zoom-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.project-badge.featured-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.featured-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.project-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-description {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.8rem;
    color: #64748b;
}

.project-date,
.project-duration {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.testimonial-content p {
    color: #475569;
    line-height: 1.6;
    font-style: italic;
}

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

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

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

.author-info h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.9rem;
}

/* CTA Section Realisations */
.cta-section-realisations {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-section-realisations .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section-realisations .cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-section-realisations .cta-button.primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section-realisations .cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section-realisations .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.cta-section-realisations .cta-button.secondary:hover {
    background: white;
    color: #1e293b;
}

/* Responsive Design for Realisations Page */
@media (max-width: 768px) {
    .realisations-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .realisations-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section-realisations .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
     }
 }

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        margin: 0 0.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-location {
        font-size: 0.9rem;
    }
    
    .filter-tabs {
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #667eea;
}

.modal-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Single image takes full width */
.modal-images:has(.modal-image-container:only-child) {
    grid-template-columns: 1fr;
}

/* Fallback for browsers that don't support :has() */
.modal-images .modal-image-container:only-child {
    grid-column: 1 / -1;
}

.modal-image-container {
    text-align: center;
}

.modal-image-container h3 {
    margin-bottom: 1rem;
    color: #667eea;
    font-size: 1.2rem;
}

.modal-image-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.modal-details p {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.modal-details strong {
    color: #333;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-image-container img {
        height: 200px;
    }
}



/* Carte = colonne flexible, texte toujours bien calé */
.before-after-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  transition:transform .25s ease, box-shadow .25s ease;
  position:relative;
}
.before-after-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 50px rgba(0,0,0,.18);
}

.before-after-card::after {
    content: '🔍 Cliquer pour agrandir';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(102, 126, 234, 0.95);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.before-after-card:hover::after {
    opacity: 1;
}

/* Zone images : ratio fluide (fini les hauteurs figées) */
.comparison-container{
  display:grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 16 / 9;       /* adapte si tu préfères 4/3 */
  width:100%;
}
@media (max-width: 768px){
  .comparison-container{ grid-template-columns:1fr; }
}

/* Cible la structure réelle du HTML */
.comparison-container .image-container{
  position:relative;
  overflow:hidden;
}
.comparison-container .image-container img{
  width:100%; height:100%;
  object-fit:cover; display:block;
  transition: transform .35s ease;
}
.before-after-card:hover .comparison-container .image-container img{
  transform:scale(1.04);
}

.image-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}



/* Modal pour agrandir les réalisations */
.realization-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.realization-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease;
}

.modal-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 400px;
}

.modal-image {
    position: relative;
    overflow: hidden;
}

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

.modal-image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



/* Texte */
.project-info{
  padding:1.25rem 1.25rem 1.5rem;
  display:flex; flex-direction:column; gap:.5rem;
}

.project-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.project-info p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.project-info .project-location {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-info .project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-info .project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-info .feature-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.project-info .project-date,
.project-info .project-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Tablettes et écrans moyens */
@media (max-width: 768px) {
    .filter-section {
        padding: 2rem 0;
    }
    
    .filter-tabs {
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 25px;
    }
    
    .projects-gallery {
        padding: 2rem 0;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    

    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .project-info .project-features {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .project-info .feature-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .project-info .project-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }
    
    .before-after-card::after {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

/* Mobiles et petits écrans */
@media (max-width: 480px) {
    .filter-section {
        padding: 1.5rem 0;
    }
    
    .filter-tabs {
        gap: 0.5rem;
        padding: 0 0.5rem;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .filter-btn:hover,
    .filter-btn.active {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    }
    
    .projects-gallery {
        padding: 1.5rem 0;
    }
    
    .before-after-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
        margin-top: 1.5rem;
    }
    
    .image-label {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }
    
    .project-info {
        padding: 1.2rem;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }
    
    .project-info .project-location {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        justify-content: center;
    }
    
    .project-info .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .project-info .project-features {
        justify-content: center;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .project-info .feature-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        border-radius: 12px;
    }
    
    .project-info .project-meta {
        flex-direction: column;
        gap: 0.4rem;
        align-items: center;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .before-after-card::after {
        content: '🔍 Agrandir';
        font-size: 0.75rem;
        padding: 8px 12px;
        border-radius: 20px;
    }
    
    /* Amélioration des modales sur mobile */
    .modal-content {
        max-width: 95%;
        max-height: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
}

/* Modern Contact Page Styles */
.contact-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%), url('../images/contactF.png') center bottom/cover;
    background-attachment: fixed;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Animation supprimée pour utiliser l'image de fond statique */
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Methods Section */
.contact-methods {
    padding: 80px 0;
    background: #f8f9fa;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.method-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.method-card.urgent {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.method-card.urgent .method-icon {
    background: rgba(255,255,255,0.2);
}

.method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.method-card.urgent h3 {
    color: white;
}

.method-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.method-card.urgent p {
    color: rgba(255,255,255,0.9);
}

.method-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.method-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.urgent-btn {
    background: rgba(255,255,255,0.2) !important;
    border: 2px solid white;
}

.urgent-btn:hover {
    background: white !important;
    color: #667eea !important;
}

/* Main Contact Section */
.main-contact {
    padding: 100px 0;
    background: white;
}

.contact-form-section .form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-section .form-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-section .form-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.modern-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.modern-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.modern-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.modern-form .form-group input,
.modern-form .form-group select,
.modern-form .form-group textarea {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.modern-form .form-group input:focus,
.modern-form .form-group select:focus,
.modern-form .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-icon {
    position: absolute;
    right: 15px;
    top: calc(50% + 15px);
    transform: translateY(-50%);
    color: #667eea;
    font-size: 1.1rem;
    pointer-events: none;
}

.modern-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-right: 15px;
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: #666;
    font-size: 0.95rem;
}

.modern-form .submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.modern-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.modern-form .submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.modern-form .submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.form-note {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note i {
    color: #28a745;
}

/* Contact Info Section */
.contact-info-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.info-header h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.advantages-list {
    margin-bottom: 40px;
}

.advantage {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.advantage:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.advantage-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.advantage-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.contact-details {
    border-top: 2px solid #e9ecef;
    padding-top: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.detail-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.map-section .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.map-section .map-container {
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.map-section .map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Contact Page Responsive Design */
@media (max-width: 1024px) {
    .main-contact .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat {
        min-width: 100px;
        padding: 15px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modern-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info-section {
        padding: 30px 20px;
    }
    
    .contact-form-section .form-header h2 {
        font-size: 2rem;
    }
    
    .map-section .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero {
        min-height: 60vh;
    }
    
    .main-contact {
        padding: 60px 0;
    }
    
    .contact-methods {
        padding: 60px 0;
    }
    
    .map-section {
        padding: 60px 0;
    }
}

/* Compact CTA Features */
.cta-features-compact {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-feature-compact {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: white;
}

.cta-feature-compact i {
    color: #3498db;
    font-size: 0.9rem;
}

/* Compact CTA Buttons */
.cta-buttons-compact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-btn-primary-compact {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
    font-size: 0.95rem;
}

.cta-btn-primary-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.cta-btn-secondary-compact {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 0.95rem;
}

.cta-btn-secondary-compact:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive adjustments for compact CTA */
@media (max-width: 768px) {
    .cta-features-compact {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .cta-feature-compact {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .cta-buttons-compact {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .cta-btn-primary-compact,
    .cta-btn-secondary-compact {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Footer responsive styles */
    footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .footer-certifications {
        justify-content: center;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
        display: flex; 
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .hours {
        text-align: center;
    }
    
    .hours p {
        justify-content: space-between;
        max-width: 200px;
        margin: 0 auto 8px;
        text-align: left;
        gap: 15px;
    }
    
    .hours p span:first-child {
        flex: 1;
    }
    
    .hours p span:last-child {
        flex: 1;
        text-align: right;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .certification-badge {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hours p {
        font-size: 0.8rem;
    }
    
    .emergency {
        font-size: 0.8rem;
        padding: 8px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom p,
    .footer-bottom .footer-links a {
        font-size: 0.8rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: #1a1a2e;
    margin: 2% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.4s ease;
}

.modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.modal-image-container {
    position: relative;
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.modal-image-container:hover {
    transform: translateY(-5px);
}

.modal-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.modal-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.modal-info {
    text-align: center;
    color: #e2e8f0;
}

.modal-info h3 {
    color: #667eea;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e0;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #e2e8f0;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.2);
    transform: rotate(90deg);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }
    
    .modal-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-info h3 {
        font-size: 22px;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 28px;
    }
}

/* Smooth scrolling for modal content */
.modal-content {
    scroll-behavior: smooth;
}

/* Enhanced hover effects for better UX */
.before-after-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.before-after-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Contact Section Enhanced Styles */
.main-contact {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-particles" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="%23ffffff" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-particles)"/></svg>') repeat;
    animation: contactFloat 25s ease-in-out infinite;
}

.contact-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

@keyframes contactFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(90deg); }
}

.main-contact .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    position: relative;
    z-index: 2;
}

.contact-direct-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-method-large {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-method-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 100%);
}

.contact-btn-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
}

.contact-btn-large.secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3);
}

.contact-btn-large.secondary:hover {
    box-shadow: 0 12px 35px rgba(240, 147, 251, 0.4);
}

/* Contact Page Simplified Styles */
.contact-hero-simple {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.contact-hero-simple .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-simple .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-simple .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.contact-hero-simple .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.contact-hero-simple .hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.contact-hero-simple .hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.contact-hero-simple .hero-feature i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* Contact Methods Simple */
.contact-methods-simple {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-card-simple {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-card-simple:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.contact-card-simple .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.05;
}

.contact-card-simple .floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.contact-card-simple .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    animation: float 6s ease-in-out infinite;
}

.contact-card-simple .shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.contact-card-simple .shape-2 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.contact-card-simple .card-content {
    position: relative;
    z-index: 2;
}

.contact-card-simple .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.contact-card-simple .card-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card-simple h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-card-simple p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-card-simple .contact-info {
    margin-bottom: 25px;
}

.contact-card-simple .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    width: 100%;
    justify-content: center;
}

.contact-card-simple .contact-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.contact-card-simple .contact-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

.contact-card-simple .contact-btn.secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-card-simple .contact-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.contact-card-simple .availability {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
    justify-content: center;
}

.contact-card-simple .availability i {
    color: var(--primary-color);
}

.contact-card-simple .card-benefits {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.contact-card-simple .benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
}

.contact-card-simple .benefit i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Why Choose Us Simple */
.why-choose-simple {
    padding: 80px 0;
    background: white;
}

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

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.advantage-icon i {
    font-size: 1.8rem;
    color: white;
}

.advantage-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Intervention Zone */
.intervention-zone {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.zone-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.zone-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.zone-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.zone-icon i {
    font-size: 1.5rem;
    color: white;
}

.zone-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.zone-card p {
    color: #64748b;
    line-height: 1.6;
}

.map-container {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-simple .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-simple .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-card-simple {
        padding: 30px 25px;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
    
    .zone-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .contact-hero-simple .hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-simple .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-card-simple {
        padding: 25px 20px;
    }
    
    .contact-card-simple .card-benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* New Complete Contact Page Styles */
.contact-hero-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-hero-new .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-new .animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: gradientShift 8s ease-in-out infinite;
}

.contact-hero-new .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-hero-new .element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.contact-hero-new .element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.contact-hero-new .element-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.contact-hero-new .element-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.contact-hero-new .element-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.contact-hero-new .container {
    position: relative;
    z-index: 2;
}

.contact-hero-new .hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-new .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.contact-hero-new .hero-badge i {
    color: #ffd700;
}

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

.contact-hero-new .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-hero-new .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.contact-hero-new .stat {
    text-align: center;
}

.contact-hero-new .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
}

.contact-hero-new .stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Contact Options */
.contact-options {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.contact-option {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-option.urgent {
    border: 2px solid #ff4757;
}

.contact-option.quote {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.contact-option.advice {
    border: 2px solid #2ed573;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.urgent .option-icon {
    background: linear-gradient(135deg, #ff4757, #ff3742);
}

.quote .option-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.advice .option-icon {
    background: linear-gradient(135deg, #2ed573, #17a2b8);
}

.urgent-badge, .popular-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.urgent-badge {
    background: #ff4757;
    color: white;
}

.popular-badge {
    background: #667eea;
    color: white;
}

.contact-option h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-option p {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 25px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    flex-direction: column;
    text-align: center;
}

.urgent-btn {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
}

.quote-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.advice-btn {
    background: linear-gradient(135deg, #2ed573, #17a2b8);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn small {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #7f8c8d;
    justify-content: center;
}

.urgent-availability {
    color: #ff4757;
    font-weight: 600;
}

.features {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #7f8c8d;
}

.feature i {
    color: #667eea;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.form-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #2c3e50;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.advantage-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.advantage-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.location-info h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.location-info p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.location-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.location-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.location-text p {
    color: #7f8c8d;
    margin: 0;
}

/* Responsive Design for New Contact Page */
@media (max-width: 768px) {
    .contact-hero-new .hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-new .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-option.quote {
        transform: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Choose Us Section Improved */
.why-choose-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.why-choose-section .section-header {
    margin-bottom: 60px;
}

.why-choose-section .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-choose-section .section-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

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

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.advantage-card .advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-card .advantage-icon i {
    font-size: 24px;
    color: white;
}

.advantage-card .advantage-content h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-card .advantage-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.info-card .info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card .info-icon i {
    font-size: 20px;
    color: white;
}

.info-card .info-content h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-card .info-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.info-card .info-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.info-card .info-content a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for improved why choose us section */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
    }
    
    .why-choose-section .section-header h2 {
        font-size: 2rem;
    }
    
    .advantages-grid-improved {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 25px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}