/* En-tête */
header {
    background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header .navbar-brand {
    font-size: 28px;
    font-weight: bold;
}

header .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 18px;
    margin: 0 15px;
    transition: color 0.3s;
}

header .navbar-nav .nav-link:hover {
    color: #ffcc00;
}

header .navbar-nav .active .nav-link {
    color: #ffcc00;
}
/* Sections */
section {
    padding: 60px 20px;
    margin: 20px 0;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333333;
}

section p {
    text-align: center;
    font-size: 18px;
    color: #666666;
    margin-bottom: 20px;
}

.section-light {
    background-color: #f7f7f7;
}

.section-dark {
    background-color: #333333;
    color: #ffffff;
}
/* Boutons */
.btn {
    background-color: #4b6cb7;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #ffcc00;
    transform: translateY(-2px);
}
/* Pied de page */
footer {
    background: #182848;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 16px;
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
             transform: translateY(-5px);
    }
}

/* Utiliser les animations */
section {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.hero {
    animation: slideInFromLeft 1s ease-in-out forwards;
}

.hero .btn {
    animation: bounce 2s infinite;
}
/* Responsive Design */
@media (max-width: 768px) {
    header .navbar-nav .nav-link {
        font-size: 16px;
        margin: 0 10px;
    }

    section {
        padding: 40px 15px;
    }

    section h2 {
        font-size: 28px;
    }

    section p {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
        padding: 8px 15px;
    }

    .container {
        width: 90%;
        max-width: 600px;
    }
}
