/* Style pour assurer que le footer reste en bas */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

.title-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ff2600, #ffe600);
     /* background: linear-gradient(to right, #00ffea, #ff00ff);  */
    border-radius: 5px;
}


/* Animation au survol des cartes services */
.service-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* border-left: 4px solid #ff5e00; pour souligner la carte*/

     border-left: 4px solid #fd0000; /* pour souligner la carte*/
    /* border-left: 4px solid #087453;  pour souligner la carte*/
}

/* Animation des icônes */
.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Effet parallaxe pour l'en-tête */
/* .parallax-header {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.parallax-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2));*/
    background-color: #005741f8; 
} */
.text{
    color: #ffffff;
}   

/* Animation des titres */
.animated-title {
    position: relative;
    overflow: hidden;
}

/* .animated-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(to right, #ff1100, #ff00ff);
    transform: translateX(-50%);
    transition: transform 0.3s ease;
} */

.animated-title:hover::after {
    transform: translateX(0);
}

/* Animation du texte au survol */
.hover-text {
    transition: color 0.3s ease;
}

.hover-text:hover {
    color: #000000;
    text-shadow: 0 0 8px rgba(253, 153, 2, 0.562);
}

/* Effet de bordure brillante */
.glow-border {
    position: relative;
}

.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /*background: linear-gradient(45deg, #00ffea, #ff00ff, #00ffea);  j'ai changer la couleur de la bordure*/
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #087454d8;
}

.glow-border:hover::before {
    opacity: 1;
}

/* Style des boutons */
.custom-button {
    /*background: linear-gradient(45deg, #00ffea, #ff00ff);  la couleur du bouton*/
    background: linear-gradient(45deg, #5b9e95f8, #045f31); /* la couleur du bouton*/
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 234, 0.3);
}

.custom-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
}

.custom-button:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}


/* test */
/* Animation au scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out;
    visibility: hidden;
}

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

/* Styles pour la section "Pourquoi nous choisir" */
.bg-white.p-6 {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #ffffff, #f3f4f6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.text-3xl {
    transition: all 0.3s ease;
    display: inline-block;
}

.bg-gray-100 {
    position: relative;
    overflow: hidden;
}

.bg-gray-100::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

/* Ajoute cet effet dans ton fichier CSS */
.bg-white:hover {
    transform: scale(1.10); /* taille des carré */ 
    transition: transform 0.29s ease;
    box-shadow: 0 px 20px rgba(0, 0, 0, 0.1);
}


/* navbar */
/* Désactiver toutes les transitions et animations dans la navbar */


/* Désactiver toutes les animations et transitions dans la navbar */
/* Désactiver toutes les animations et transitions dans la navbar */
/* Désactiver toutes les animations et transitions dans la navbar */
nav, .navbar, #mobile-menu, #mobile-menu-button, .navbar a {
    transition: none !important; /* Désactive toutes les transitions */
    animation: none !important;   /* Désactive toutes les animations */
    background-color: #ffffff;

}

/* Désactiver l'animation de survol des liens dans la navbar */
.navbar a {
    position: relative;
}

/* Effet de soulignement au survol */
.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #389466;
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

/* Pas de soulignement pour le bouton Se connecter */
.navbar a[href*="login"]::after {
    display: none;
}

/* Style du menu mobile */
#mobile-menu {
    border-top: 1px solid #e5e7eb;
    background-color: white;
}

#mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
}

#mobile-menu a:hover {
    background-color: #f3f4f6;
}

/* navbar */
