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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo .logo-image {
    height: 104px;
    width: auto;
    max-width: 482px;
    margin-top: 8px;
    transform: translateY(10px) scale(1.15);
}

.nav-logo h2 {
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-accent {
    color: #76ff03;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-link:hover,
.nav-link.active {
    color: #76ff03;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #76ff03;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, #76ff03, #64dd17);
    color: #1a237e !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.cta-button::after {
    display: none;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="crack" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M10,10 L90,90 M20,80 L80,20 M50,10 L50,90" stroke="rgba(118,255,3,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23crack)"/></svg>');
}

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

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

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-accent {
    color: #76ff03;
    text-shadow: 0 0 20px rgba(118, 255, 3, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(118, 255, 3, 0.2);
}

.feature-card i {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

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

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #76ff03, #64dd17);
    color: #1a237e;
    box-shadow: 0 4px 15px rgba(118, 255, 3, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(118, 255, 3, 0.4);
    animation: buttonGlow 0.5s ease-in-out;
}

@keyframes buttonGlow {
    0% { box-shadow: 0 6px 20px rgba(118, 255, 3, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(118, 255, 3, 0.6), 0 0 15px rgba(118, 255, 3, 0.3); }
    100% { box-shadow: 0 6px 20px rgba(118, 255, 3, 0.4); }
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #76ff03;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 73%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transform: scale(1.755); /* Keep the original scale */
    opacity: 0; /* Initial state for animation */
    animation: slideInFromRightWithScale 1s ease-out forwards;
    animation-delay: 0.8s;
}


.floating-badge,
.floating-badge-2,
.floating-badge-3 {
    display: none;
}

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

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRightWithScale {
    0% {
        transform: translateX(100%) scale(1.755);
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1.755);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Appliquer les animations aux éléments du hero */
.hero-text h1 {
    opacity: 0;
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    opacity: 0;
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-features {
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.floating-badge i,
.floating-badge-2 i,
.floating-badge-3 i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.floating-badge i {
    color: #1a237e;
}

.floating-badge-2 i {
    color: #1a237e;
}

.floating-badge-3 i {
    color: #1a237e;
}

.floating-badge span,
.floating-badge-2 span,
.floating-badge-3 span {
    display: block;
    font-weight: 600;
}

.floating-badge span {
    color: #1a237e;
}

.floating-badge-2 span {
    color: #1a237e;
}

.floating-badge-3 span {
    color: #1a237e;
}

.floating-badge small,
.floating-badge-2 small,
.floating-badge-3 small {
    font-size: 0.8rem;
}

.floating-badge small {
    color: #666;
}

.floating-badge-2 small {
    color: #666;
}

.floating-badge-3 small {
    color: #666;
}

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

@keyframes floatCar {
    0%, 100% { transform: scale(1.4) translateY(0px); }
    50% { transform: scale(1.4) translateY(-15px); }
}

/* New Animations for sections */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Windshield Section */
.windshield-section {
    padding: 5rem 0;
    background: white;
}

.windshield-section .windshield-image,
.windshield-section .windshield-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.windshield-section.animate .windshield-image {
    opacity: 1;
    transform: translateY(0);
    animation: slideInFromLeft 0.8s ease-out forwards;
}

.windshield-section.animate .windshield-text {
    opacity: 1;
    transform: translateY(0);
    animation: slideInFromRight 0.8s ease-out forwards;
}

.windshield-section .highlight-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.windshield-section.animate .highlight-item {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.services-section .section-title,
.services-section .section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-section.animate .section-title,
.services-section.animate .section-subtitle {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.services-section .service-card-main,
.services-section .service-card {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-section.animate .service-card-main,
.services-section.animate .service-card {
    opacity: 1;
    transform: scale(1);
    animation: fadeInScale 0.8s ease-out forwards;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: white;
}

.process-section .section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.process-section.animate .section-title {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.process-section .step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.process-section.animate .step {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

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

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

.windshield-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.windshield-text h2 {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.windshield-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.insurance-partners h3 {
    color: #1a237e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.insurance-logos-compact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.insurance-logos-compact img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.insurance-logos-compact img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.expertise-highlights h3 {
    color: #1a237e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.highlights-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #e8f5e8;
    transform: translateY(-2px);
}

.highlight-item i {
    color: #76ff03;
    font-size: 1.5rem;
    min-width: 24px;
}

.highlight-item span {
    color: #1a237e;
    font-weight: 600;
}

/* Offer Section */
.offer-section {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    padding: 4rem 0;
    position: relative;
    /* overflow: hidden; */ /* Supprimé pour permettre aux images de déborder */
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fissure.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
}

.offer-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    opacity: 0.8;
    z-index: 1;
}

.offer-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.offer-badge {
    background: #76ff03;
    color: #1a237e;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

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

.offer-content h2 {
    font-size: 3rem;
    color: white;
    font-weight: 800;
    margin-bottom: 1rem;
}

.offer-plus {
    font-size: 4rem;
    color: #76ff03;
    font-weight: 800;
    margin: 1rem 0;
}

.offer-content h3 {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.offer-content h3 span {
    color: #76ff03;
    font-size: 1.5rem;
    display: block;
}

.offer-content h3 span::before {
    content: "OU ";
    color: #76ff03;
}

.offer-content h3 span::after {
    content: " OU";
    color: #76ff03;
}

.offer-brand {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 2rem;
    display: none;
}

.btn-offer {
    background: linear-gradient(135deg, #76ff03, #64dd17);
    color: #1a237e;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(118, 255, 3, 0.3);
}

.btn-offer:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(118, 255, 3, 0.4);
}

.cta-franchise {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Light */
    font-style: italic;
    margin-bottom: 1.5rem; /* Espace avant le bouton */
    font-size: 1.1rem;
}

/* Green triangles decoration */
.offer-section .triangle {
    position: absolute;
    z-index: 2;
}

.offer-section .triangle-1 {
    top: 10%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 60px solid #76ff03;
    border-radius: 0 0 50% 50%;
    transform: rotate(15deg);
    animation: float 4s ease-in-out infinite;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.offer-section .triangle-2 {
    top: 20%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 45px solid #76ff03;
    transform: rotate(-25deg);
    animation: float 4s ease-in-out infinite 1s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.offer-section .triangle-3 {
    bottom: 15%;
    left: 15%;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 55px solid #76ff03;
    transform: rotate(45deg);
    animation: float 4s ease-in-out infinite 2s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.offer-section .triangle-4 {
    bottom: 25%;
    right: 5%;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 35px solid #76ff03;
    transform: rotate(-15deg);
    animation: float 4s ease-in-out infinite 3s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.service-card-main {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    color: white;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.service-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.service-card-main:hover .service-video {
    transform: scale(1.05);
}

.service-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.service-card-main::before {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 2;
}

.service-card-main-content {
    position: relative;
    z-index: 2;
}

.service-card-main img {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.service-card-main h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card-main p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-service {
    background: #76ff03;
    color: #1a237e;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: white;
    transform: scale(1.05);
}

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

.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: #76ff03;
}

.service-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1a237e;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: white;
}

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

.step {
    text-align: center;
    position: relative;
}

.step img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.step h3 {
    color: #1a237e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Insurance Section */
.insurance-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.insurance-logos-container {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.insurance-logos-scroll {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scrollLogos 20s linear infinite;
    width: calc(200% + 4rem);
}

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

.insurance-logos-scroll img {
    max-height: 60px; /* Hauteur maximale */
    max-width: 120px; /* Largeur maximale pour éviter que les logos trop larges ne dominent */
    width: auto; /* Conserver le rapport d'aspect */
    height: auto; /* Conserver le rapport d'aspect */
    object-fit: contain; /* Assure que l'image entière est visible */
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.insurance-logos-scroll img:hover {
    transform: scale(1.1);
}

.logo-large {
    transform: scale(1.24);
}

.insurance-logos-container:hover .insurance-logos-scroll {
    animation-play-state: paused;
}

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    text-align: center;
}

.trust-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.trust-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(118, 255, 3, 0.2);
}

.trust-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.trust-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: #1a237e;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4 {
    color: #76ff03;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #76ff03;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section p i {
    color: #76ff03;
    margin-right: 0.5rem;
}

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

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #76ff03;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 35, 126, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .floating-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .offer-content h2 {
        font-size: 2rem;
    }
    
    .offer-content h3 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .insurance-logos {
        gap: 1.5rem;
    }
    
    .insurance-logos img {
        height: 40px;
    }
    
    .trust-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .offer-content h2 {
        font-size: 1.5rem;
    }
    
    .offer-content h3 {
        font-size: 1.3rem;
    }
    
    .trust-section h2 {
        font-size: 2rem;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="crack" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M10,10 L90,90 M20,80 L80,20 M50,10 L50,90" stroke="rgba(118,255,3,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23crack)"/></svg>');
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Services Detail Styles */
.services-detail {
    padding: 5rem 0;
    background: #f8f9fa;
}

.service-detail-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-detail-card:hover {
    /* The transform is now handled by the animation, but we keep the shadow effect */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-card.reverse {
    transform: translateX(100px);
}

.service-detail-card.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.service-detail-card.reverse .service-detail-content {
    grid-template-columns: 1fr 1fr;
}

.service-detail-card.reverse .service-detail-text {
    order: 2;
}

.service-detail-card.reverse .service-detail-image {
    order: 1;
}

.service-detail-text {
    padding: 3rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.service-detail-text h2 {
    color: #1a237e;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detail-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #333;
}

.service-features li i {
    color: #1a237e;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.service-detail-image {
    height: 400px;
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.05);
}

/* Additional Services */
.additional-services {
    padding: 5rem 0;
    background: white;
}

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

.additional-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.additional-card:hover {
    background: white;
    border-color: #76ff03;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.additional-card i {
    font-size: 3rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.additional-card h3 {
    color: #1a237e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.additional-card p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

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

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

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

/* Responsive for Services Page */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card.reverse .service-detail-text,
    .service-detail-card.reverse .service-detail-image {
        order: unset;
    }
    
    .service-detail-text {
        padding: 2rem;
    }
    
    .service-detail-image {
        height: 250px;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-detail-text h2 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* About Page Styles */
.about-section {
    padding: 5rem 0;
    background: white;
}

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

.about-text h2 {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.about-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #76ff03;
    transform: translateY(-5px);
}

.stat-item h3 {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 600;
    margin: 0;
}

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

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

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

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid;
    border-image: linear-gradient(45deg, #333333, #1a237e, #333333) 1;
    animation: borderGlow 2s ease-in-out infinite;
}

.value-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.value-card h3 {
    color: #1a237e;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
    background: white;
}

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

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

.team-text h2 {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.team-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.team-features {
    list-style: none;
}

.team-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 500;
}

.team-features li i {
    color: #76ff03;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.certification-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.certification-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.certification-item h3 {
    color: #1a237e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.certification-item p {
    color: #666;
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #1a237e, #76ff03);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-icon {
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.3);
}

.timeline-icon img {
    width: 50px;
    height: 50px;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #76ff03;
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: #1a237e;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.timeline-item {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.timeline-item:nth-child(odd) {
    transform: translateX(-150px);
}

.timeline-item:nth-child(even) {
    transform: translateX(150px);
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info Section */
.contact-info-section {
    padding: 2rem 0 5rem;
    background: white;
}

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

.contact-info-text h2 {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-info-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item i {
    color: #76ff03;
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-info-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Zone d'Intervention Section */
.intervention-zone-section {
    padding: 5rem 0;
    background: #f8f9fa;
    text-align: left;
}

.intervention-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.intervention-details {
    margin-bottom: 3rem;
}

.intervention-details h3 {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.intervention-details p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
}

.intervention-image {
    text-align: center;
    margin-bottom: 3rem;
    background: transparent; /* Rendre le fond transparent */
}

.intervention-image img {
    width: 100%;
    height: auto;
    max-width: 525px;
    background: transparent; /* Rendre le fond de l'image transparent */
    transition: transform 0.3s ease, margin-top 0.3s ease;
    transform: scale(1.2); /* Augmente la taille par un facteur 1.2 */
    margin-top: -20px; /* Remonte l'image de 20px */
}

.intervention-image img:hover {
    transform: scale(1.25); /* Ajuste le hover pour la nouvelle taille */
}

.departments-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    min-height: 400px;
}

.departments-left,
.departments-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 200px;
}

.departments-left {
    align-items: flex-end;
}

.departments-right {
    align-items: flex-start;
}

.intervention-image-centered {
    flex-shrink: 0;
    width: 525px;
    align-self: center;
}

.department-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    width: fit-content;
    animation: float 4s ease-in-out infinite;
}

.department-item:hover {
    border-color: #3f51b5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.department-item i {
    color: #1a237e;
    font-size: 1rem;
    min-width: 16px;
}

.department-item span {
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Responsive for About Page */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-text h2 {
        font-size: 2rem;
    }
    
    .certifications-content {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }
    
    .timeline-icon img {
        width: 30px;
        height: 30px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .contact-info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-text h2,
    .team-text h2,
    .contact-info-text h2 {
        font-size: 1.8rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
    }
    
    .timeline-icon img {
        width: 25px;
        height: 25px;
    }
}

/* Booking Page Styles */
.booking-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}

.booking-info {
    position: sticky;
    top: 100px;
}

.booking-info h2 {
    color: #1a237e;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.booking-info p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.booking-features {
    margin-bottom: 3rem;
}

.booking-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.booking-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.booking-feature i {
    color: #1a237e;
    font-size: 2rem;
    min-width: 50px;
}

.booking-feature h4 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.contact-emergency {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.contact-emergency h3 {
    color: #76ff03;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-emergency p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: white;
}

.btn-emergency {
    background: #76ff03;
    color: #1a237e;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(118, 255, 3, 0.4);
    animation: emergencyPulse 1s infinite;
}

@keyframes emergencyPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(118, 255, 3, 0.4);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(118, 255, 3, 0.6), 0 0 20px rgba(118, 255, 3, 0.3);
    }
}

/* Booking Form */
.booking-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.booking-form {
    padding: 3rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    color: #1a237e;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-step h3 i {
    color: #76ff03;
}

/* Service Selection */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-option {
    cursor: pointer;
}

.service-option input[type="radio"] {
    display: none;
}

.service-card-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.service-option:hover .service-card-form {
    border-color: #76ff03;
    transform: translateY(-3px);
}

.service-option input[type="radio"]:checked + .service-card-form {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    border-color: #1a237e;
}

.service-option input[type="radio"]:checked + .service-card-form h4,
.service-option input[type="radio"]:checked + .service-card-form p {
    color: white;
}

.service-card-form img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.service-card-form h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-card-form p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Date and Time Selection */
.datetime-selection-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.date-selection {
    flex: 1;
    min-width: 300px; /* Ensure calendar has enough space */
}

.date-selection label {
    display: block;
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.date-selection input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.date-selection input:focus {
    outline: none;
    border-color: #76ff03;
}

/* Custom Calendar Styles */
.custom-calendar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #e0e0e0;
    max-width: 400px;
    margin: 0 auto;
}

.calendar-header {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.calendar-nav:hover {
    background: rgba(118, 255, 3, 0.2);
    transform: scale(1.1);
}

.calendar-month-year {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 2px solid #e0e0e0;
}

.weekday {
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #1a237e;
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: white;
}

.calendar-day {
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background: rgba(118, 255, 3, 0.1);
    color: #1a237e;
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.other-month:hover {
    background: none;
    transform: none;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
    opacity: 0.6; /* Make it slightly transparent */
    position: relative;
}

.calendar-day.disabled[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 10;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.calendar-day.disabled[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    z-index: 10;
    margin-bottom: -2px;
}

.calendar-day.disabled:hover {
    background: #f5f5f5;
    transform: none;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    font-weight: 700;
    border-radius: 10px;
    position: relative;
}

.calendar-day.selected::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #76ff03, #64dd17);
    border-radius: 12px;
    z-index: -1;
    animation: calendarGlow 2s ease-in-out infinite;
}

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

.calendar-day.today {
    background: rgba(118, 255, 3, 0.2);
    color: #1a237e;
    font-weight: 700;
    border: 2px solid #76ff03;
    border-radius: 8px;
}

.calendar-day.today:hover {
    background: rgba(118, 255, 3, 0.3);
}

.calendar-day.available {
    position: relative;
}

.calendar-day.available::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #76ff03;
    border-radius: 50%;
}

/* Responsive Calendar */
@media (max-width: 480px) {
    .custom-calendar {
        max-width: 100%;
    }
    
    .calendar-header {
        padding: 1rem;
    }
    
    .calendar-month-year {
        font-size: 1.1rem;
    }
    
    .calendar-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .weekday {
        padding: 0.8rem 0.3rem;
        font-size: 0.8rem;
    }
    
    .calendar-day {
        padding: 0.8rem 0.3rem;
        min-height: 40px;
        font-size: 0.9rem;
    }
}

.time-selection label {
    display: block;
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 1rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Adjusted min-width for larger slots */
    gap: 0.5rem; /* Reduced gap */
}

.time-slot {
    cursor: pointer;
}

.time-slot input[type="radio"] {
    display: none;
}

.time-slot span {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.time-slot:hover span {
    border-color: #76ff03;
}

.time-slot input[type="radio"]:checked + span {
    background: #76ff03;
    color: #1a237e;
    border-color: #76ff03;
}

.time-slot.reserved span {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
    background: #e9ecef;
    color: #6c757d;
}

.time-slot.reserved span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background-color: #1a237e;
    transform: translateY(-50%) rotate(-45deg);
    transform-origin: center;
}

.time-slot.reserved:hover span::after {
    content: 'Réservé';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    color: #1a237e;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.time-slot.reserved span::after {
    content: '';
    opacity: 0;
}

/* Styles pour les créneaux de 2 heures */
.time-slot-2h {
    cursor: pointer;
}

.time-slot-2h input[type="radio"] {
    display: none;
}

.time-slot-2h .slot-time {
    display: block;
    padding: 1.2rem 0.8rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: #1a237e;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px; /* Adjusted height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot-2h:hover .slot-time {
    border-color: #76ff03;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 255, 3, 0.2);
}

.time-slot-2h input[type="radio"]:checked + .slot-time {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    border-color: #1a237e;
    box-shadow: 0 5px 20px rgba(26, 35, 126, 0.3);
    font-weight: 700;
}


/* Animation pour les créneaux de 2h */
@keyframes slot2hPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(118, 255, 3, 0.3);
    }
    50% {
        box-shadow: 0 5px 25px rgba(118, 255, 3, 0.5);
    }
}

.time-slot-2h input[type="radio"]:checked + .slot-time {
    animation: slot2hPulse 2s ease-in-out infinite;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #76ff03;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn-next,
.btn-prev,
.btn-submit {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #76ff03, #64dd17);
    color: #1a237e;
    margin-left: auto;
}

.btn-prev {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 255, 3, 0.3);
}

.btn-prev:hover {
    border-color: #76ff03;
    color: #1a237e;
}

/* Booking Summary */
.booking-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.summary-section {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-section h4 {
    color: #1a237e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.summary-section p {
    color: #666;
    margin: 0;
}

/* Terms Section */
.terms-section {
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    line-height: 1.5;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #76ff03;
    border-color: #76ff03;
}

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

.checkbox-container a {
    color: #1a237e;
    text-decoration: underline;
}

/* Progress Bar */
.form-progress {
    background: #1a237e;
    padding: 2rem;
    color: white;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 4px;
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    background: #76ff03;
    height: 100%;
    width: 20%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
    color: #76ff03;
}

.progress-step i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.progress-step span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Navigation Sticky */
.services-nav-sticky {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: linear-gradient(135deg, #333333 0%, #1a237e 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(26, 35, 126, 0.5);
}

.services-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.services-nav-list .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.8rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 80px;
}

.services-nav-list .nav-item:hover {
    background: rgba(118, 255, 3, 0.1);
    color: #1a237e;
    transform: translateX(5px);
}

.services-nav-list .nav-item.active {
    background: linear-gradient(135deg, #87ceeb, #00bfff);
    color: white;
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
}

.services-nav-list .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.services-nav-list .nav-item:hover i {
    color: #76ff03;
    transform: scale(1.1);
}

.services-nav-list .nav-item.active i {
    color: white;
}

.services-nav-list .nav-item span {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* All service icons in white */
.services-nav-list .nav-item[data-service="pare-brise"] i,
.services-nav-list .nav-item[data-service="reparation"] i,
.services-nav-list .nav-item[data-service="vitres-laterales"] i,
.services-nav-list .nav-item[data-service="lunette"] i,
.services-nav-list .nav-item[data-service="toit"] i,
.services-nav-list .nav-item[data-service="phares"] i {
    color: white;
}

/* Responsive for Services Navigation */
@media (max-width: 1024px) {
    .services-nav-sticky {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        margin: 2rem 0;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-nav-list {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .services-nav-list .nav-item {
        min-width: 60px;
        padding: 0.8rem 0.5rem;
    }
    
    .services-nav-list .nav-item span {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .services-nav-sticky {
        margin: 1rem 0;
        padding: 0.5rem 0;
    }
    
    .services-nav-list {
        gap: 0.5rem;
    }
    
    .services-nav-list .nav-item {
        min-width: 50px;
        padding: 0.6rem 0.3rem;
    }
    
    .services-nav-list .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .services-nav-list .nav-item span {
        font-size: 0.6rem;
    }
}

/* Responsive for Booking Page */
@media (max-width: 1024px) {
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-info {
        position: static;
    }

    .datetime-selection-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .date-selection,
    .time-selection {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .booking-form {
        padding: 2rem;
    }
    
    .booking-info h2 {
        font-size: 2rem;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); /* Further adjust for smaller screens */
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .btn-next {
        margin-left: 0;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .progress-step {
        flex: 1;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .booking-section {
        padding: 3rem 0;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .form-step h3 {
        font-size: 1.5rem;
    }
    
    .booking-info h2 {
        font-size: 1.8rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); /* Even smaller for very small screens */
    }
    
    .form-progress {
        padding: 1.5rem;
    }
    
    .progress-step span {
        font-size: 0.8rem;
    }
}

/* Blocked Client Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

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

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #76ff03;
    text-decoration: none;
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 3.5rem;
    color: #d9534f; /* Red color for warning */
    margin-bottom: 15px;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.modal-header h2 {
    color: #1a237e;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    margin-bottom: 25px;
}

.modal-body p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-body .contact-info {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a237e;
    margin-top: 20px;
}

.modal-body .contact-info i {
    margin-right: 10px;
}

.modal-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-modal-close {
    background: linear-gradient(135deg, #76ff03, #64dd17);
    color: #1a237e;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 255, 3, 0.3);
}

/* Case Study Carousel Section */
.case-study-carousel-section {
    padding: 6rem 0;
    background: #f8f9fa; /* Lighter background for contrast */
    position: relative;
}

.section-title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.case-study-carousel-section .section-title {
    font-size: 2.5rem; /* Reduced title size */
    margin-bottom: 0.5rem;
}

.section-subtitle-case-study {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    font-size: 1.2rem;
    color: #666;
    text-align: center;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1600px; /* Adjusted width */
    margin: 0 auto;
    padding: 0 60px; /* Space for buttons */
}

.carousel-track-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex; /* Use flexbox for horizontal layout */
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    overflow: hidden;
}

/* Slide Content Layout */
.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 3rem;
}

.slide-text {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-number {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.2);
    margin-bottom: 1.5rem;
}

.step-number span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.slide-text h3 {
    color: #1a237e;
    font-size: 1.8rem; /* Adjusted title size */
    font-weight: 600;
    margin-bottom: 1rem;
}

.slide-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.step-highlights .highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #76ff03;
}

.step-highlights .highlight-item i {
    color: #1a237e;
    font-size: 1.1rem;
}

.step-highlights .highlight-item span {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Slide Image */
.slide-image {
    background-color: #f0f2f5;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover; /* Display full image */
    transition: transform 0.6s ease;
}

.carousel-slide:hover .slide-image img {
    transform: scale(1.05);
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    color: #1a237e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.carousel-btn:hover {
    background: #76ff03;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn i {
    font-size: 1.5rem;
}

.carousel-btn span {
    display: none; /* Hide text */
}

.carousel-btn-left {
    left: 0;
}

.carousel-btn-right {
    right: 0;
}

/* Carousel Navigation Indicators */
.carousel-nav {
    position: absolute;
    bottom: -40px; /* Position below the carousel */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background: #ccc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.current-slide {
    background: #1a237e;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: #76ff03;
}

/* Animations d'apparition */
.case-study-carousel-section .section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.case-study-carousel-section.animate .section-title {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.case-study-carousel-section .carousel-container {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.case-study-carousel-section.animate .carousel-container {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: scaleInUp 1s ease-out forwards;
}

@keyframes scaleInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design for Carousel */
@media (max-width: 1024px) {
    .slide-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .slide-image {
        height: 300px;
        margin-bottom: 2rem;
    }

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

@media (max-width: 768px) {
    .case-study-carousel-section {
        padding: 4rem 0;
    }

    .carousel-container {
        padding: 0 15px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn i {
        font-size: 1.2rem;
    }

    .carousel-btn-left {
        left: -10px;
    }

    .carousel-btn-right {
        right: -10px;
    }

    .carousel-nav {
        bottom: -35px;
    }
}

/* Booking Confirmation Message Styles */
.booking-confirmation-message {
    text-align: center;
    padding: 3rem;
    animation: fadeIn 0.5s ease-in-out;
}

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

.confirmation-header {
    margin-bottom: 2rem;
}

.confirmation-icon {
    font-size: 5rem;
    color: #76ff03;
    margin-bottom: 1rem;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

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

.booking-confirmation-message h3 {
    color: #1a237e;
    font-size: 2.2rem;
    font-weight: 700;
}

.confirmation-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.confirmation-text strong {
    color: #1a237e;
    font-weight: 600;
}

.important-info-box,
.warning-info-box {
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
    max-width: 600px;
}

.important-info-box {
    background-color: #e8f5e9; /* Light green */
    border-left: 5px solid #64dd17; /* Green */
}

.warning-info-box {
    background-color: #fff3e0; /* Light orange */
    border-left: 5px solid #ff9800; /* Orange */
}

.important-info-box h4,
.warning-info-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.important-info-box h4 {
    color: #2e7d32; /* Darker green */
}

.warning-info-box h4 {
    color: #e65100; /* Darker orange */
}

.important-info-box ul {
    list-style: none;
    padding-left: 1rem;
}

.important-info-box ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.important-info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

.warning-info-box p {
    margin: 0;
    line-height: 1.6;
}

.btn-return-home {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    font-size: 1.1rem;
}

.btn-return-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

/* --- Animation "Apparition Subtile" pour la Section Offre --- */

/* Animation de flottement */
@keyframes float-gift {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Conteneur principal pour les cadeaux */
.gift-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Permet de cliquer à travers les cadeaux */
}

.gift-item {
    position: absolute;
    pointer-events: auto; /* Réactive les événements pour les cadeaux */
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.4));
    
    /* État initial : invisible et décalé */
    opacity: 0;
    
    /* Transition douce pour l'apparition */
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 1.2s ease;
}

/* Positionnement et état initial de chaque cadeau */
.gift-item:nth-child(1) { top: -10%; left: 15%; width: 150px; transform: translate(-80px, -80px) scale(0.5) rotate(-45deg); transition-delay: 0s; }
.gift-item:nth-child(2) { top: -5%; right: 12%; width: 130px; transform: translate(80px, -60px) scale(0.6) rotate(35deg); transition-delay: 0.2s; }
.gift-item:nth-child(3) { bottom: -15%; left: 20%; width: 190px; transform: translate(-100px, 100px) scale(0.7) rotate(25deg); transition-delay: 0.1s; }
.gift-item:nth-child(4) { bottom: -10%; right: 18%; width: 160px; transform: translate(100px, 80px) scale(0.6) rotate(-30deg); transition-delay: 0.3s; }
.gift-item:nth-child(5) { top: 25%; left: 0%; width: 120px; transform: translate(-120px, -50%) scale(0.7) rotate(-25deg); transition-delay: 0.4s; }
.gift-item:nth-child(6) { top: 55%; right: 0%; width: 140px; transform: translate(120px, 50%) scale(0.8) rotate(45deg); transition-delay: 0.5s; }
.gift-item:nth-child(7) { bottom: 20%; left: 45%; width: 100px; transform: translate(0, 100px) scale(0.5) rotate(10deg); transition-delay: 0.6s; }

/* État final lorsque le conteneur devient visible */
#gift-container.is-visible .gift-item {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0); /* Retour à la position normale */
    animation: float-gift 6s ease-in-out infinite; /* Application de l'animation de flottement */
}

/* Appliquer des délais d'animation différents pour un effet plus naturel */
#gift-container.is-visible .gift-item:nth-child(2) { animation-delay: 1s; }
#gift-container.is-visible .gift-item:nth-child(3) { animation-delay: 2s; }
#gift-container.is-visible .gift-item:nth-child(4) { animation-delay: 3s; }
#gift-container.is-visible .gift-item:nth-child(5) { animation-delay: 1.5s; }
#gift-container.is-visible .gift-item:nth-child(6) { animation-delay: 2.5s; }
#gift-container.is-visible .gift-item:nth-child(7) { animation-delay: 0.5s; }


/* Ajustements spécifiques pour garder une légère rotation sur certains cadeaux */
#gift-container.is-visible .gift-item:nth-child(5) {
    transform: translate(0, 0) scale(1) rotate(-10deg);
}
#gift-container.is-visible .gift-item:nth-child(6) {
    transform: translate(0, 0) scale(1) rotate(15deg);
}

/* Effet de survol subtil */
.gift-item:hover {
    transform: scale(1.1) !important; /* !important pour outrepasser le transform du JS */
    z-index: 10;
    transition-duration: 0.3s;
    animation-play-state: paused; /* Met en pause l'animation de flottement au survol */
}

/* Gift Cards Section */
.gift-cards-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.gift-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="sparkles" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="20" cy="20" r="2" fill="rgba(118,255,3,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(26,35,126,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(118,255,3,0.15)"/><circle cx="40" cy="90" r="1.5" fill="rgba(26,35,126,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23sparkles)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

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

.gift-cards-section .section-title {
    background: linear-gradient(135deg, #1a237e, #76ff03);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(26, 35, 126, 0.1);
}

.gift-cards-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grille des cartes cadeaux */
.gift-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Carte cadeau individuelle */
.gift-card {
    perspective: 1000px;
    height: 280px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gift-card:hover {
    transform: translateY(-5px) scale(1.02);
    filter: drop-shadow(0 15px 35px rgba(26, 35, 126, 0.2));
}

.gift-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border-radius: 20px;
}

.gift-card.flipped .gift-card-inner {
    transform: rotateY(180deg);
}

/* Faces de la carte */
.gift-card-front,
.gift-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Recto de la carte */
.gift-card-front {
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    position: relative;
}

.gift-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #2196f3, #1976d2);
    border-radius: 20px 20px 0 0;
    border-bottom: 3px solid rgba(25, 118, 210, 0.8);
}

.gift-ribbon::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #1976d2;
}

.card-logo {
    width: 120px;
    height: auto;
    filter: none; /* Supprime le filtre qui rend le logo invisible */
    z-index: 2;
    position: relative;
    margin-top: 1rem;
}

/* Verso de la carte */
.gift-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem;
    border: 3px solid;
    border-image: linear-gradient(135deg, #76ff03, #64dd17) 1;
    gap: 1rem; /* Ajout de gap pour un espacement fiable */
}

.gift-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    /* margin-bottom: 1rem; a été supprimé */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.gift-title {
    color: #1a237e;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    margin: 0;
    background: linear-gradient(135deg, #1a237e, #76ff03);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Overlay pour l'effet focus */
.gift-card-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    display: none;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gift-card-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
}

.close-gift-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #1a237e;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-gift-modal:hover {
    background: #76ff03;
    color: white;
    transform: scale(1.1) rotate(90deg);
}

/* États des cartes */
.gift-card.focused {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    z-index: 1001;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gift-card.focused::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #76ff03, #64dd17);
    border-radius: 30px;
    z-index: -1;
    /* Animation chaotique supprimée - remplacée par un effet statique */
    opacity: 0.3;
}

/* Animation rotateGlow supprimée - causait la rotation chaotique */

/* Micro-interactions */
.gift-card:active .gift-card-inner {
    animation: cardBounce 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes cardBounce {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Animations d'entrée */
.gift-card {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gift-cards-section.animate .gift-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gift-cards-section.animate .gift-card:nth-child(1) { transition-delay: 0.1s; }
.gift-cards-section.animate .gift-card:nth-child(2) { transition-delay: 0.2s; }
.gift-cards-section.animate .gift-card:nth-child(3) { transition-delay: 0.3s; }
.gift-cards-section.animate .gift-card:nth-child(4) { transition-delay: 0.4s; }
.gift-cards-section.animate .gift-card:nth-child(5) { transition-delay: 0.5s; }
.gift-cards-section.animate .gift-card:nth-child(6) { transition-delay: 0.6s; }

/* Les styles responsives pour les cartes cadeaux ont été supprimés. */

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .gift-card-inner {
        transition: none;
    }
    
    .gift-card:hover {
        transform: none;
        filter: none;
    }
    
    .gift-card.focused::after {
        animation: none;
    }
}

/* Styles pour la nouvelle modale de cadeau de la section franchise offerte */
@keyframes gift-reveal-pop-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    60% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes gift-reveal-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes title-typewriter {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes gift-click-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.gift-reveal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 126, 0.9);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.gift-reveal-modal.visible {
    display: flex;
    opacity: 1;
}

.gift-reveal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 450px;
    border: 2px solid #1a237e;
    animation: gift-reveal-pop-in 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0.5);
    opacity: 0;
}

.gift-reveal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}

.gift-reveal-close:hover {
    color: white;
    background: #1a237e;
    transform: rotate(90deg) scale(1.1);
}

.gift-reveal-header {
    margin-bottom: 2rem;
    animation: gift-reveal-fade-in 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.gift-reveal-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a237e, #76ff03);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.gift-reveal-header p {
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
}

.gift-reveal-image {
    margin: 2rem 0;
    animation: gift-reveal-pop-in 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.8s;
    opacity: 0;
    transform: scale(0.5);
}

.gift-reveal-image img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(26, 35, 126, 0.2));
}

.gift-reveal-title {
    margin: 1.5rem 0;
    animation: gift-reveal-fade-in 1s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.gift-reveal-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.gift-reveal-subtitle-text {
    font-size: 1.1rem;
    color: #666;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.gift-reveal-actions {
    animation: gift-reveal-fade-in 1s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.btn-another-gift {
    background: #1a237e; /* Bleu nuit */
    color: white; /* Police blanche */
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px rgba(26, 35, 126, 0.3);
    margin: 1rem 0;
}

.btn-another-gift:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(26, 35, 126, 0.4);
    background: #3949ab; /* Un bleu un peu plus clair au survol */
}

/* Confettis Canvas */
.confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3001;
}

/* Animation de clic sur les cadeaux de la section offre */
.gift-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gift-item:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(118, 255, 3, 0.5)) !important;
}

.gift-item.clicked {
    animation: gift-click-pulse 0.6s ease;
}

/* Styles pour la nouvelle modale de cadeau */
@keyframes gift-pop-in {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.gift-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 126, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none; /* Caché par défaut */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gift-modal.visible {
    display: flex;
    opacity: 1;
}

.gift-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 400px;
    animation: gift-pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0.7); /* État initial pour l'animation */
    opacity: 0; /* État initial pour l'animation */
}

.gift-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.gift-modal-close:hover {
    color: #1a237e;
    transform: rotate(90deg);
}

#gift-modal-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

#gift-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.3;
}

/* Responsive pour la modal de révélation */
@media (max-width: 768px) {
    .gift-reveal-content {
        width: 95%;
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .gift-reveal-header h2 {
        font-size: 1.8rem;
    }
    
    .gift-reveal-title h3 {
        font-size: 1.5rem;
    }
    
    .gift-reveal-image img {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .gift-reveal-content {
        padding: 1.5rem 1rem;
    }
    
    .gift-reveal-header h2 {
        font-size: 1.5rem;
    }
    
    .gift-reveal-title h3 {
        font-size: 1.3rem;
    }
    
    .btn-another-gift {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animation for step cards */
.step-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.step-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
