.close {
    z-index: 999;
    font-size: 44px;
    position: absolute;
    top: 20px;
    right: 0px;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
}

/* Mobile styles */
@media (max-width: 767px) {
    .arrow-btn {
        color: white;
        font-size: 60px;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .arrow-btn {
        color: white;
        font-size: 80px;
    }
}

.arrow-btn:focus {
    background-color: transparent;
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

#popup-img {
    transition: transform 0.5s ease-in-out;
    /* Add a transition effect for transform */
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-height: 100vh;
    /* Set maximum height to 100% of the viewport height */
}

.modal-header {
    border: none;
}

#popup-img {
    max-width: 100%;
    /* Ensure the image doesn't exceed the modal width */
    max-height: 80vh;
    /* Set maximum height to 80% of the viewport height or adjust as needed */
    object-fit: contain;
    /* Maintain the aspect ratio of the image */
}

#popup-title {
    position: absolute;
    padding-top: 16px;
    top: 0;
    left: 7%;
    font-size: 36px;
}

/* Mobile styles */
@media (max-width: 767px) {
    .close {
        position: absolute;
        top: 20px;
        right: 35px;
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .section {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .close {
        display: none;
    }
}

.nav-link.active {
    font-weight: 600 !important;
}

.search-bar-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    justify-content: center; /* Centre le contenu horizontalement */
    align-items: center; /* Centre verticalement si nécessaire */
}

#search-bar:focus {
    border-color: #ef8daa; /* Couleur d'accent au focus */
    box-shadow: 0 0 5px rgba(248, 91, 154, 0.5);
}

#search-bar::placeholder {
    color: #aaa;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    top: 49%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
}

    #search-bar {
        width: 100%;
        padding: 10px 15px 10px 40px; /* Espace pour l'icône */
        border: 2px solid #ccc;
        border-radius: 25px; /* Arrondi */
        font-size: 16px;
        font-family: 'Poppins', sans-serif; /* Police élégante */
        font-weight: 400; /* Légère mais lisible */
        outline: none;
        transition: border-color 0.3s ease;
        color: #333; /* Couleur du texte */
    }


/* Mobile styles */
@media only screen and (max-width: 768px) { /* Ajustez la largeur selon vos besoins */
    .search-bar-container {
        display: flex; /* Active le modèle flex */
        justify-content: center; /* Centre horizontalement */
    }
    
    #popupRDVBtn {
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
    }
    .btn-primary {
        padding: 20px 20px;
        font-size: 20px;
    }
    #popup-img {
        padding-bottom: 50px;
    }
}

/* Desktop styles */
@media only screen and (min-width: 767px) {
    .btn-primary {
        min-width: 20%;
        border-radius: 25px; /* Arrondi */
        padding: 10px 20px;
        font-size: 15px;
    }
    #popupRDVBtn {
        position: absolute;
        bottom: 0%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    #popup-img {
        padding-bottom: 50px;
    }
}

.btn-primary {
    background-color: #ef8daa; /* Couleur rose élégante */
    color: #fff; /* Texte blanc */
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e5738a; /* Couleur légèrement plus foncée au survol */
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(239, 141, 170, 0.5);
}