/* Akili Motor - Variables CSS */
:root {
    /* Couleurs principales */
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;

    /* Couleurs Akili Motor - Plus vives et visibles */
    --akili-primary: #dc2626;
    /* Rouge vif pour l'énergie */
    --akili-secondary: #1e40af;
    /* Bleu foncé pour la confiance */
    --akili-accent: #ea580c;
    /* Orange pour l'attention */
    --akili-light: #fef3c7;
    /* Jaune pâle pour les fonds */
    --akili-border: #f3f4f6;
    /* Gris clair pour les bordures */

    /* Couleurs de contraste élevées */
    --text-primary: #111827;
    /* Noir presque pur */
    --text-secondary: #6b7280;
    /* Gris moyen */
    --bg-primary: #ffffff;
    /* Blanc pur */
    --bg-secondary: #f9fafb;
    /* Gris très clair */

    /* Typographie */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.5;

    /* Espacement */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;

    /* Bordures */
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;

    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset et base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Remise à zéro de la couleur des textes pour éviter l'invisibilité */
#services,
#about,
#portfolio,
footer,
.section-title,
.service-card,
.feature-card {
    color: #111827 !important;
}

#services .service-card,
#about .feature-card {
    background: #ffffff !important;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--akili-primary) 0%, var(--akili-secondary) 100%);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: white !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 0.5rem !important;
}

.navbar-nav .nav-item {
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem !important;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link i {
    margin-right: 0.4rem;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.dropdown-menu {
    background-color: var(--akili-primary);
    border: none;
    border-radius: 0.375rem;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-item.active {
    background-color: var(--akili-accent);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Boutons personnalisés */
.btn-akili {
    background: linear-gradient(90deg, var(--akili-primary), var(--akili-secondary)) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 0.75rem 1.8rem !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-akili:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2) !important;
    background: linear-gradient(90deg, var(--akili-secondary), var(--akili-primary)) !important;
}

.btn-outline-primary-custom {
    border-radius: 50px !important;
    padding: 0.75rem 1.8rem !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-section .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.hero-section .btn-primary {
    background-color: var(--akili-accent);
    border-color: var(--akili-accent);
}

.hero-section .btn-primary:hover {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stats-number.text-primary {
    color: var(--akili-accent) !important;
}

.stats-number.text-success {
    color: var(--success-color) !important;
}

.stats-number.text-warning {
    color: var(--warning-color) !important;
}

/* Services Section */
.service-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-card .card-body {
    padding: 2rem;
}

.service-card i {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.45rem;
}

.service-title-large {
    font-size: 2.6rem !important;
    color: #000 !important;
    font-weight: 900;
    letter-spacing: 0.9px;
}

.service-subtitle {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 0.6rem;
    color: #000 !important;
}

.section-title,
.service-title-large,
.service-subtitle {
    color: #000 !important;
    font-weight: 800 !important;
}

.service-card h5 {
    font-size: 1.65rem;
}

.service-card h3 {
    font-size: 1.8rem;
}


.service-card h3,
.service-card h5 {
    font-weight: 700;
}

.service-card p {
    color: #556076;
    font-size: 1.08rem;
}

.service-card ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.services-heading {
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

/* Sections communes */
.section-title {
    font-weight: 700;
    color: var(--akili-secondary);
    margin-bottom: 30px;
    position: relative;
}

/* Sécurité visuelle : assurer la lisibilité des textes services */
#services .service-card,
#services .service-card h3,
#services .service-card h5,
#services .service-card h6,
#services .service-card p,
#services .service-card ul li,
#services .service-card .card-text {
    color: #000 !important;
}

#services .service-card {
    background: #fff !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    border-radius: 4px;
    background-color: var(--akili-primary);
}

#services {
    background: linear-gradient(120deg, #f8f9fa 0%, #ffffff 100%);
}

.service-card .card-body {
    padding: 2.2rem;
}

.service-card .fa-3x {
    color: var(--akili-primary);
}

.service-card h5 {
    color: var(--akili-secondary);
    letter-spacing: 0.5px;
}

.service-title-revision {
    color: #0d6efd !important;
}

.service-card p {
    color: #556076;
}

.service-card ul li {
    margin-bottom: 0.4rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--akili-accent), var(--akili-primary));
    border-radius: 2px;
}

/* Cartes générales */
.card {
    border: none;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

/* Boutons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--akili-accent);
    border-color: var(--akili-accent);
}

.btn-primary:hover {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

/* ========================================
   STYLES SPÉCIFIQUES PAGE D'ACCUEIL
   ======================================== */

/* Hero Section avec Carousel */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid white;
    background-color: transparent;
    opacity: 0.7;
}

.carousel-indicators .active {
    background-color: white;
    opacity: 1;
}

/* Stats Cards */
.stats-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--akili-border);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--akili-accent), var(--akili-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--akili-border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid var(--akili-border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl) !important;
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 3px solid #e5e7eb;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    border-color: #dc2626;
}

.portfolio-item img {
    transition: transform 0.7s ease;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.portfolio-item:hover img {
    transform: scale(1.12);
}

.portfolio-item .portfolio-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.0));
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Photo Overlays */
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    border-radius: 0 0 15px 15px;
}

.photo-overlay h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.photo-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* À propos - images uniformes */
#about {
    background: #f7f8fc;
    border-radius: 1rem;
    padding: 3rem 0.5rem;
    width: 100%;
}

#about .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
}

#about .row.justify-content-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .col-lg-5,
#about .col-lg-7 {
    margin: 0 auto;
    float: none;
}

#about .about-photo-card {
    height: 240px !important;
    min-height: 235px !important;
    max-height: 240px !important;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

#quote-devise-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
    background: linear-gradient(90deg, var(--akili-primary), var(--akili-secondary));
    color: #fff;
    border-radius: 50px;
    padding: 0.85rem 1.6rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#quote-devise-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

#about .about-photo-card.about-photo-card-large {
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
}

#about .about-photo-card img {
    width: 100% !important;
    height: 100% !important;
    max-height: 340px !important;
    object-fit: cover;
    transition: transform 0.35s ease;
}

#about .about-photo-card:hover img {
    transform: scale(1.06);
}

#about h2 {
    margin-bottom: 1rem;
    font-size: 2.6rem;
    color: #212529;
    letter-spacing: 0.5px;
}

#about p.lead {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    color: #4f5b6c;
}

#about .feature-card {
    border: 1px solid var(--akili-border);
    background-color: #fff;
}


#about .feature-card {
    padding: 1rem;
    min-height: unset;
}


.about-photo-card:hover img {
    transform: scale(1.05);
}

.about-photo-card .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.25rem;
    border-radius: 0 0 0.5rem 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-photo-card:hover .photo-overlay {
    opacity: 1;
}

/* Animation de frappe pour le titre */
.typing {
    border-right: 2px solid;
    animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: white;
    }
}

/* Animation de fade-in avec délai */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Délais pour les cartes */
.about-photo-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-photo-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-photo-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid var(--akili-border);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

/* FAQ Accordion */
.accordion-button {
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--akili-light);
    color: var(--akili-primary);
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--akili-light);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, var(--akili-primary), var(--akili-secondary));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 5rem 0;
    }

    .hero-slide {
        min-height: auto;
        padding: 5rem 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }

    .portfolio-item img {
        height: 200px;
    }

    .portfolio-overlay {
        padding: 1.5rem 1rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slide .row {
        text-align: center;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .stats-card {
        padding: 1.5rem;
    }

    .stats-number {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--akili-light);
}

::-webkit-scrollbar-thumb {
    background: var(--akili-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--akili-primary);
}

/* Bouton personnalisé avec style moderne */
.btn-custom {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Formulaires */
.form-control {
    border: 2px solid var(--akili-border);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--akili-accent);
    box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.25);
}

/* Alertes */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--akili-primary) 0%, var(--akili-secondary) 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: white;
    color: var(--akili-primary);
    border-color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 65px 0;
    }

    .hero-slide,
    .hero-slide::before {
        min-height: 50vh;
    }

    .hero-section h1,
    .hero-slide .display-4 {
        font-size: 2.7rem;
    }

    .hero-section .lead,
    .hero-slide .lead {
        font-size: 1.1rem;
    }

    .stats-card {
        margin-bottom: 1rem;
        padding: 1.4rem;
    }

    .stats-number {
        font-size: 2.2rem;
    }

    .service-card .card-body {
        padding: 1.2rem;
    }

    .service-card h5,
    .service-card h3 {
        font-size: 1.3rem;
    }

    .about-photo-card,
    .about-photo-card-large {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    #quote-devise-btn {
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-section h1,
    .hero-slide .display-4 {
        font-size: 2.4rem;
    }

    .hero-section .lead,
    .hero-slide .lead {
        font-size: 1rem;
    }

    .hero-slide .container,
    .carousel-caption {
        padding: 0 1rem;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .service-card {
        margin-bottom: 1rem;
    }

    .service-card .card-body {
        padding: 1rem;
    }

    .service-card h5,
    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p,
    .service-card ul li {
        font-size: 0.96rem;
    }

    .about-photo-card {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }

    #quote-devise-btn {
        position: fixed;
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
        bottom: 0.8rem;
        border-radius: 0.75rem;
    }
}

@media (max-width: 576px) {

    .hero-section h1,
    .hero-slide .display-4 {
        font-size: 1.9rem;
    }

    .hero-section .lead,
    .hero-slide .lead {
        font-size: 0.96rem;
    }

    .hero-slide {
        min-height: auto;
    }

    .service-card .card-body {
        padding: 0.85rem;
    }

    .service-card h5,
    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p,
    .service-card ul li {
        font-size: 0.92rem;
    }

    .about-photo-card,
    .about-photo-card-large {
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
    }

    .stats-number {
        font-size: 1.8rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.88rem;
        padding: 0.35rem 0.5rem !important;
    }

    .footer .social-links a {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus states pour accessibilité */
.btn:focus,
.form-control:focus {
    outline: none;
}

/* Print styles */
@media print {

    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
}