/* Base Styles & Variables */
/* @font-face {
    font-family: 'Busorama';
    src: url('../fonts/busorama.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Book';
    src: url('../fonts/GothamBook.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
} */

@font-face {
    font-family: 'Gill Sans';
    src: url('../fonts/GillSans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --primary-color: #0056b3; /* Pantone P 107-8U (Blue) */
    --secondary-color: #e67e22; /* Pantone 718 EC (Orange) */
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --gray: #e9ecef;
    --gray-dark: #343a40;
    
    /* Typography */
    --font-nav: 'Gill Sans' , sans-serif;
    --font-primary: 'Gill Sans' , sans-serif;
    --font-light: 300;
    --font-regular: 400;
    --font-semibold: 600;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Box Shadow */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

/* Reset de la police pour le body */
body {
    font-family: 'Gill Sans','Gotham Book', sans-serif;
    font-weight: normal;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Application de Gotham Book aux éléments de texte, en excluant la navigation et les icônes */
body *:not(.main-nav):not(.main-nav *):not(i):not(.fas):not(.fab):not(.far):not(.fa) {
    font-family: 'Gill Sans','Gotham Book', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: var(--font-semibold);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-family: var(--font-nav);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 0 0 rgba(22, 97, 131, 1);
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 0 rgba(22, 97, 131, 1);
}

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

.btn-secondary:hover {
    background-color: #d35400;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.btn-text {
    color: var(--primary-color);
    font-weight: var(--font-semibold);
    padding: 0;
    background: none;
    border: none;
    text-transform: none;
    letter-spacing: normal;
}

.btn-text:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.btn-text i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

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

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 2rem;
}

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

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

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Styles pour les tablettes et mobiles */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .main-nav li {
        margin: 1.5rem 0;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}


/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    max-height: 100%;
    transition: all 0.3s ease;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav li {
    position: relative;
    margin: 0 0.5rem;
}

.main-nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

/* Contact Button in Nav */
.nav-contact {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 30px;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.nav-contact:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    left: 0;
}

.menu-toggle span::before {
    top: -8px;
}

.menu-toggle span::after {
    bottom: -8px;
}

.menu-toggle.active span {
    background-color: transparent;
}

.menu-toggle.active span::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* No Scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.logo {
    height: 80px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 70px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.main-nav li {
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav li:not(:last-child)::after {
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    margin-left: 1.8rem;
}

.main-nav a {
    font-family: 'Busorama', 'Gill Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--dark-color);
    text-decoration: none;
    padding: 1rem 1.5rem;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-right: -1.8rem; /* Compensate for the separator */
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.nav-contact {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 30px;
    margin-left: 2rem !important; /* Add more space before the contact button */
    font-size: 0.85rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.nav-contact:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-contact::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    left: 0;
}

.menu-toggle span::before {
    top: -8px;
}

.menu-toggle span::after {
    bottom: -8px;
}

.menu-toggle.active span {
    background-color: transparent;
}

.menu-toggle.active span::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    padding-top: 100px; /* Height of the header */
    box-sizing: border-box;
}

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

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 86, 179, 0.5) 0%, rgba(0, 86, 179, 0.3) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 850px;
    margin: 0;
    text-align: left;
    opacity: 1; /* Suppression de l'animation globale */
    transform: none;
}

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

.hero h1 {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-family: var(--font-nav);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: 2px solid var(--white);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    animation: fadeInUp 1s ease 0.4s both;
}

/* Quick Services */
.quick-services {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    /* Effet de parallaxe amélioré */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 86, 179, 0.7) 100%);
    z-index: -1;
}

/* Dégradé plus doux sur la partie gauche */
.about-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.4) 100%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.about-text {
    flex: 1;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.5;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .about-text::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    color: white;
    background-color: #f8f9fa;
    min-height: auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 0.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 280px;
    box-sizing: border-box;
    opacity: 0.9;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.testimonial::before {
    content: '"\201D';
    font-family: Georgia, serif;
    position: absolute;
    font-size: 10rem;
    color: rgba(0, 86, 179, 0.1);
    top: -20px;
    right: 20px;
    line-height: 1;
}

.slick-center .testimonial {
    transform: scale(1.03);
    opacity: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    opacity: 1;
}

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

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

.client-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

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

.testimonials-slider {
    margin: 2rem auto 0;
    position: relative;
    max-width: 900px;
    padding: 0 50px;
    min-height: 350px;
}

/* Styles pour Slick Slider */
.slick-slide {
    padding: 10px;
    outline: none;
    height: auto;
}

/* Flèches de navigation */
.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.slick-prev:before,
.slick-next:before {
    color: var(--primary-color);
    font-size: 20px;
    opacity: 1;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev:before {
    content: '\f053';
}

.slick-next:before {
    content: '\f054';
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--primary-color);
}

.slick-prev:hover:before,
.slick-next:hover:before {
    color: white;
}

.slick-list {
    margin: 0 -10px;
}

.slick-dots {
    bottom: -30px;
    position: relative;
    margin-top: 2rem;
}

.slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0 4px;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
}

.slick-dots li button:before {
    font-size: 10px;
    color: var(--primary-color);
    opacity: 0.5;
    width: 12px;
    height: 12px;
    line-height: 12px;
}

.slick-dots li.slick-active button:before {
    color: var(--primary-color);
    opacity: 1;
    font-size: 12px;
}

.slick-dots li button:hover:before {
    color: var(--primary-color);
}

.slick-dots {
    position: relative;
    bottom: 0;
    margin-top: 2rem;
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots button {
    font-size: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    /* Effet de parallaxe amélioré */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

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

.testimonials .section-header h2,
.testimonials .section-header p {
    color: white;
    position: relative;
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    flex: 0 0 calc(50% - 20px);
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--box-shadow);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: var(--spacing-md);
}

.testimonial-content p::before {
    content: '\201C';
    position: absolute;
    left: -15px;
    top: -20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

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

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

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a8f 0%, #4a90e2 100%);
}

.cta-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s infinite linear;
}

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

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

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

.particle:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -3s;
}

.particle:nth-child(5) {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    animation-duration: 18s;
    animation-delay: -7s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.5;
    }
}

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

.cta-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-cta i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover i {
    transform: translateX(5px);
}

.btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Animation de fond subtile */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.1) 100%);
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
    z-index: 1;
}

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

/* Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .btn-cta {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .particle {
        display: none;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: var(--spacing-xl) 0 0;
}

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

.footer-about {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
    max-width: 150px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

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

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

.footer h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.contact-info i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.footer-legal {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

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

/* Animation de fondu progressif vers le haut */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--delay, 0s);
    will-change: transform, opacity;
}

/* Délais d'animation progressifs */
.hero-content > *:nth-child(1) { --delay: 0.2s; }
.hero-content > *:nth-child(2) { --delay: 0.4s; }
.hero-content > *:nth-child(3) { --delay: 0.6s; }

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.section-subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

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

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

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.5s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 86, 179, 0.8) 0%, rgba(0, 86, 179, 0.4) 100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 0.9;
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: #fff;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: -45px 0 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.btn-service i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

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

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

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

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-content p {
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
    opacity: 0.9;
}

.gallery-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Desktops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .header .container {
        padding: 0 2rem;
    }
    
    .main-nav a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .nav-contact {
        padding: 0.6rem 1.2rem !important;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .about-text::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .header .container {
        padding: 0 1.5rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }
    
    .main-nav.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .main-nav li:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-nav a {
        display: block;
        width: 100%;
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .nav-contact {
        margin-top: 1rem;
        text-align: center;
        display: inline-block;
        width: 100%;
        padding: 1rem !important;
        margin-left: 0 !important;
    }
    
    /* Menu items animation */
    .main-nav.active li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.active li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.active li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav.active li:nth-child(5) { transition-delay: 0.3s; }
    .main-nav.active li.nav-contact { 
        transition-delay: 0.35s;
        margin-top: 1.5rem;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    /* Gallery grid */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .about-text {
        padding: 2rem;
    }
    
    .about-text::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }
    
    .testimonial {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .services-section, .gallery-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid, .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-content h3 {
        font-size: 1.3rem;
    }
    
    .gallery-content p {
        font-size: 0.9rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav li {
        margin: 0 0 var(--spacing-md);
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-about {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        min-height: 500px;
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: pulse 2s infinite;
    transform: translateY(0);
    opacity: 0.95;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: none;
    opacity: 1;
}

.whatsapp-icon {
    transition: transform 0.3s ease;
    margin-top: 2px;
}

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

/* Animation d'entrée */
@keyframes floatIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 0.95;
    }
}

.whatsapp-float {
    animation: floatIn 0.8s ease-out forwards, pulse 2s 1s infinite;
}
