.hero-button{
    margin-top: 25px;
}
.avis-count-img{
    max-width: 150px;;
}
.avis-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 55px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
/* For medium screens and below */
@media (max-width: 768px) {
    .avis-container {
        gap: 1rem; /* Decrease gap for better spacing */
        margin-top: 30px;
    }


    .avis-container .avis-count-img{
        max-width: 125px;;
    }
}

/* For small screens (mobile) */
@media (max-width: 576px) {
    .avis-container {
        flex-direction: column; /* Stack images vertically */
        gap: 1rem; /* Smaller gap between images */
    }



    .avis-container .avis-count-img{
        max-width: 125px;;
    }
}

.text-container{
    border-bottom: 1px solid #BDBDBD;
}

.text-container-spacing{
    margin-top: 25px;
    padding-bottom: 25px;
}


.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    justify-content: center;
}

.reviews-container .review-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 1.5rem;

    justify-content: space-between;
    position: relative;
    overflow: hidden;
}


.reviews-container .review-card .review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviews-container .review-card .review-header .profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    margin-right: 1rem;
}

.reviews-container .review-card .review-header .google-logo {
    width: 30px;
    height: 30px;
}

.reviews-container .review-card .review-header .reviewer-info {
    flex: 1;
}

.reviews-container .review-card .review-header .reviewer-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.reviews-container .review-card .review-header .reviewer-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

.reviews-container .review-card .review-header .reviewer-info .rating {
    margin-top: 5px;
    color: #ffcc00;
    font-size: 1rem;
}

.reviews-container .review-card .review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.hero-avis{
    margin-top: 50px;
    padding-bottom: 50px;
    background: url('https://images.lamaisondestravaux.com/media/cache/homepage_banner/2024-04-03/7968e5e39556070275ba147e46eaafeb.jpeg');
    background-position: center;
    background-size: cover;
}

.achievements-container{
    margin-bottom: 25px;
}


.review-card-achievement {
    padding: 15px;
    text-align: center;
}
.review-card-achievement img {
    width: 100%;
    margin-bottom: 10px;
}
.review-card-achievement .stars {
    color: #ffcc00;
    font-size: 1.2rem;
    margin: 10px 0;
}
.review-card-achievement h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: bold;
}
.review-card-achievement p {
    font-size: 0.9rem;
    color: #555;
}

.avis-palmares{
    width: 300px;
    background: #fff;
}   


/* Scoped Rating Container */
.rating-container {
    display: flex;
    gap: 10px;
    font-size: 24px;
    color: #444;
    background: #fff;

    align-items: center; /* Align items to the top */
    flex-wrap: wrap; /* Allow content to wrap to the next line */
    padding: 10px;
    max-width: 235px;
}

.rating-container .google-logo {
    width: 50px;
    height: auto;
}

.rating-container .stars-container,
.rating-container .average-rating {
    display: inline-block;
    vertical-align: middle;
}

.rating-container .star {
    font-size: 35px;
    color: #fbbc04; /* Gold Color */
    margin-left: 5px;
}

.rating-container .average-rating {
    font-weight: bold;
    color: #333;
    padding-left: 10px; /* Add some space between stars and average rating */
}

.rating-container .reviews-count {
    width: 100%; /* Force it to take the full width and move to the next line */
    margin: 5px 0 0; /* Add slight margin to separate it visually */
    font-size: 18px;
    color: #666;
    text-align: center;
}

.rating-container .reviews-counter{
    font-weight: bold;
}


.avis-page h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.avis-page p {
    margin: 10px 0;
}


.avis-page .section {
    margin-bottom: 30px;
}

.avis-page .highlight {
    font-weight: bold;
}



.view-more-text {
    text-decoration: underline;
    font-weight: bold;
    cursor: pointer;
    display: block;
    bottom: 10px;
    position: absolute;
    right: 15px;
}

.view-more-text:hover {
    text-decoration: underline;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    width: 60%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;

    max-height: 300px;
    overflow-y: hidden;
    margin: auto;  
    top: 25%;
}

.close-btn {
    align-self: inherit;
    font-size: 40px;
    color: #333;
    cursor: pointer;
    height: 25px;
    margin: auto;
    float: right;
}

#popup-content{
    max-height: 250px;
    overflow-y: scroll;
    margin: auto;
}



/* Styling for the award badge (Capital award) */
.avis-palmares {
    max-width: 100%;
    border-radius: 8px;
    padding: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
    min-width: 300px;
    min-height: 140px;
}

/* Google reviews container */
.rating-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    min-height: 140px;
}

/* Google logo */
.google-logo {
    width: 40px;
    height: auto;
}

/* Star rating styling */
.stars-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Average rating number */
.average-rating {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* Review count text */
.reviews-count {
    font-size: 0.9rem;
    color: #666;
}

.reviews-counter {
    font-weight: bold;
    color: #000;
}

/* Mobile responsiveness */
@media (max-width: 480px) {

}


.rating-header, .stars-container,.reviews-count {
    margin: auto;
}