/* ========== POLICES ========== */
body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #0d6efd;
    padding-top: 70px;
    margin: 0;
}

/* ========== NAVBAR FIXE ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0d6efd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffc107 !important;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #fff !important;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffc107 !important;
    text-decoration: underline;
}

/* ========== SLIDER AUTOMATIQUE ========== */
.slider-container {
    position: relative;
    height: 90vh;
    overflow: hidden;
}
hr {
    border-top: 3px solid #000058;
    width: 75%;
    margin: 15rem auto;
    opacity: 0.8;
  }
  

.slider {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slide 15s infinite;
}

.slide {
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 110, 253, 0.4);
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding-top: 80px;
}

.slide h1 {
    font-size: 3.5rem;
    font-weight: 600;
}

.slide p {
    font-size: 1.5rem;
    margin-top: 1rem;
}
p, li {
    text-align: justify;
  }
  

@keyframes slide {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-100%); }
    50%, 70% { transform: translateX(-200%); }
    75%, 100% { transform: translateX(0); }
}

.btn-custom {
    background-color: #ffc107;
    color: #0d6efd;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-custom:hover {
    background-color: #0d6efd;
    color: #fff;
    border: 1px solid #fff;
}

/* ========== AUTRES SECTIONS ========== */
section {
    padding: 60px 0;
    animation: fadeIn 2s ease-in-out;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 25px;
    position: relative;
}

section p {
    color: #333333;
    font-size: 1.1rem;
}

/* ========== SERVICES ========== */
#services {
    background-color: #fefefe;
}

.service-box {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.service-box i {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.service-box i:hover {
    transform: rotate(10deg) scale(1.1);
}

.service-box h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

.service-box p {
    color: #555;
}

/* ========== PORTFOLIO ========== */
#portfolio {
    background-color: #f2f7ff;
}

#portfolio img {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portfolio img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ========== FORMULAIRES ========== */
input,
textarea {
    border: 1px solid #0d6efd;
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: #ffc107;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
    outline: none;
}

/* ========== FOOTER ========== */
footer {
    background-color: #001433;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer i {
    font-size: 1.2rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

footer i:hover {
    color: #ffc107;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========== ÉQUIPE ========== */
#equipe {
    background-color: #fffdf2;
    padding: 60px 0;
    text-align: center;
}

.team-member {
    margin-bottom: 30px;
    text-align: center;
}

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffc107;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.05);
}

.team-member h5 {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #0d6efd;
    font-weight: 600;
}

.team-member p {
    font-size: 1rem;
    color: #333;
    margin-top: 5px;
}

/* ========== RÉACTIVITÉ ========== */
@media (max-width: 767px) {
    .slide h1 {
        font-size: 2.5rem;
    }

    .slide p {
        font-size: 1.1rem;
    }

    .service-box {
        margin-bottom: 20px;
    }

    .team-member {
        margin-bottom: 20px;
    }
}

