  /* CSS pour ajuster la hauteur du carousel */
  .carousel-item-custom img {
    max-height: 500px; /* Ajustez cette valeur selon vos besoins */
    width: 100%;
    object-fit: cover;
}

.carousel-caption-custom {
    bottom: px; /* Ajustez cette valeur pour placer correctement la légende */
}
#navbarCollapse {
    margin-left: 38%;
}
p{
    text-align: justify;
}
/* Style pour le fond des modals */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Style pour le conteneur des modals */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Style pour l'en-tête des modals */
.modal-header {
    background-color: #007bff;
    color: white;
    border-bottom: 1px solid #007bff;
}

/* Style pour le corps des modals */
.modal-body {
    padding: 20px;
    font-size: 16px;
}

/* Style pour le pied de page des modals */
.modal-footer {
    background-color: #f1f1f1;
    border-top: 1px solid #e9ecef;
}

/* Style pour les boutons dans le pied de page */
.modal-footer .btn {
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
}

.modal-footer .btn-primary {
    background-color: #007bff;
    color: white;
}

.modal-footer .btn-primary:hover {
    background-color: #0056b3;
}

/* Style pour le bouton de fermeture */
.btn-close {
    color: white;
    opacity: 1;
}

.btn-close:hover {
    color: #ffc107;
    opacity: 1;
}



