h3 { color: #38685A; }
/*body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
    color: #333;
}*/
header {
    background: #38685A;
    border-bottom: 1px solid #38685A;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .logo {
    
    width: 200px;
    height: 70px;
}
.logo img {
    max-width: 100%;
    max-height: 100%;
}
header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
header nav a:hover {
    color: #CBC8CA;
}
.hero {
    position: relative;
    height: 400px; /* Hauteur plus visible pour les images */
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #CBC8CA;
}

.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%; /* 3 images */
    height: 100%;
    display: flex;
    animation: slide 12s infinite;
    z-index: 1; /* derrière le texte */
}

.slide {
    flex: 1 0 100%;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2; /* devant les images */
}

@keyframes slide {
    0%, 33% { transform: translateX(0); }
    34%, 66% { transform: translateX(-100%); }
    67%, 100% { transform: translateX(-200%); }
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.hero a {
    padding: 12px 25px;
    background: white;
    color: #CBC8CA;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 60px 50px;
    background: white;
}
.feature {
    background:#CBC8CA /* #f9fafb*/;
    border: 1px solid #38685A;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}
.feature h3 {
    color: #CBC8CA;
    margin-bottom: 10px;
}
.cta {
    text-align: center;
    padding: 60px 20px;
    background: #CBC8CA;
    color: white;
}
.cta h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.cta a {
    padding: 12px 25px;
    background: white;
    color: #CBC8CA;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
footer {
    text-align: center;
    padding: 20px;
    background: #38685A;
    color: #aaa;
    font-size: 14px;
}
.testimonials-slider {
    background: #f3f4f6;
    padding: 60px 0;
    overflow: hidden;
    text-align: center;
}

.testimonials-slider h2 {
    font-size: 32px;
    color: #38685A;
    margin-bottom: 40px;
}

/* Slider Track */
.slider-track {
    display: flex;
    width: calc(250px * 10); /* ajuster selon le nombre de témoignages répétés */
    animation: scroll 20s linear infinite;
}

.testimonial {
    flex: 0 0 250px;
    background: white;
    margin: 0 15px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    color: #333;
}

.testimonial h4 {
    font-weight: bold;
    color: #38685A;
    margin: 0;
}
.login-container {
    display: flex;
    height: 100vh;
}
.info-section {
    flex: 1;
    background: #38685A;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
}
.form-section {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}
.form-box {
    width: 100%;
    max-width: 400px;
}
.form-box h2 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #38685A;
}

.btn-main:hover {
    background: #CBC8CA;
}

.register-container {
            display: flex;
            height: 100vh;
        }
        .info-section {
            flex: 1;
            background: #38685A;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 30px;
        }
        .form-section {
            flex: 1;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        }
        .form-box {
            width: 100%;
            max-width: 500px;
        }
        .form-box h2 {
            font-weight: bold;
            margin-bottom: 20px;
            color: #38685A;
        }
        .btn-main {
            background: #38685A;
            color: #CBC8CA;
            font-weight: bold;
        }

/* Animation scroll droite-gauche */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* défiler la moitié pour que ça boucle */
}
/* Fixe la hauteur du slider pour éviter que le formulaire ne bouge */
    @media (min-width: 768px) {
        .info-section {
            min-height: 320px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
    }
    @media (max-width: 767.98px) {
        .info-section {
            min-height: 180px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
    }
    .carousel {
    width: 100%;
    position: relative;
    height: 120px;
    padding: auto auto;
}

/* Stylise la zone qui contient les slides */
.carousel-inner {
    min-height: 120px;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    
   
    /*justify-content: center;  centre horizontalement */
}

/* Stylise chaque slide */
.carousel-item {
    width: 100%;
    transition: transform 0.6s ease;
    text-align: center;
}
    
/* Responsive */
@media (max-width: 768px) {
    .slider-track {
        width: calc(250px * 10);
    }
    .testimonial {
        flex: 0 0 200px;
    }
}

/* Dégradé pour le bouton inscription */
    .btn-gradient {
        background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb);
        color: white;
        border: none;
        border-radius: 30px;
        transition: all 0.3s ease;
    }
    .btn-gradient:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    /* Effet hover sur les liens */
    .nav-link {
        position: relative;
        font-weight: 500;
        color: #CBC8CA !important;
        transition: color 0.3s ease;
    }
    .nav-link::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 2px;
        background: #ff6b6b;
        left: 0;
        bottom: -4px;
        transition: width 0.3s;
    }
    .nav-link:hover::after {
        width: 100%;
    }
    .headerl{
        backdrop-filter: blur(10px); background: #38685A /* #ffffffcc*/;
    }

 body, .form-label, .form-control, h2, p, label, input, button {
        font-family: 'Fredoka', 'Poppins', 'Quicksand', Arial, sans-serif !important;
        letter-spacing: 0.01em;
        color: #333;
    }
    h2 {
        font-weight: 600;
        letter-spacing: 0.03em;
    }
    .btn-main {
        font-family: 'Fredoka', 'Poppins', 'Quicksand', Arial, sans-serif !important;
        font-weight: 600;
        letter-spacing: 0.05em;
    }


    .dashboard-header {
        background: #38685A;
        color: #fff;
        padding: 24px 32px;
        border-radius: 12px;
        margin-bottom: 32px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .dashboard-menu {
        margin-bottom: 32px;
        display: flex;
        gap: 24px;
    }
    .dashboard-menu a {
        background: #CBC8CA;
        color: #38685A;
        padding: 12px 24px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: background 0.2s;
    }
    .dashboard-menu a:hover {
        background: #38685A;
        color: #fff;
    }
    .dashboard-section {
        background: #fff;
        border-radius: 12px;
        padding: 32px;
        box-shadow: 0 2px 8px #0001;
    }