/* Styles généraux */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* En-tête avec image */
section.text-center.position-relative {
    position: relative;
    text-align: center;
    color: white;
}

section.text-center.position-relative .position-absolute {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

/* Conteneur principal */
.container {
    max-width: 1100px;
}

/* Titres */
h1, h2 {
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

h4 {
    font-weight: 600;
    color: #333;
}

/* Sections */
section {
    padding: 50px 20px;
}

/* Sections en arrière-plan gris */
.bg-light {
    background-color: #f4f4f4 !important;
}

/* Icônes */
i {
    margin-bottom: 10px;
}

/* Bloc texte */
p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

/* ✅ Design amélioré des cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Images des cartes */
.card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 300px;
    object-fit: cover;
}

/* Texte des cartes */
.card-body {
    text-align: center;
    padding: 20px;
}

/* Titres des cartes */
.card-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
}

/* Texte des cartes */
.card-text {
    font-size: 1rem;
    color: #555;
}

/* ✅ Effet responsive et taille uniforme des cartes */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }

    .card-img-top {
        height: 250px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.95rem;
    }
}

/* ✅ Design des boutons */
.btn-success {
    background-color: #3a9d5d;
    border: none;
    font-size: 1.1rem;
    padding: 12px 20px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-success:hover {
    background-color: #2c7a46;
    transform: scale(1.05);
}

.btn-success:active {
    transform: scale(0.95);
}

/* ✅ Footer */
footer {
    background-color: #212529;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}