
/*
.review-pf {
    width: 600px;
    height: 400px;
    background-color: white;
    margin: 5px 5px 0px 5px;
    position: relative;
    left: -25%;
}*/


/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%; /* Adjust based on your card width */
    margin: 0 auto;
    overflow: hidden; /* Hide overflow */
    border: 1px gray solid;
}

/* Slides */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0; /* Prevent slides from shrinking */
}

/* Review card styling */
.review-pf {
    width: 99%;
    height: 400px; /* Fixed height */
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px; /* Add padding for spacing */
    /*border-radius: 8px;*/
    border: 1 gray solid;
    margin: 0 auto;
    overflow-y: auto; /* Add scrollbar if content overflows */
    word-wrap: break-word; /* Older syntax */
    overflow-wrap: break-word; /* Modern syntax */
}

.review-pf h3 {
    margin: 0 0 10px 0; /* Add spacing below the heading */
}

.review-pf-hr {
    margin: 10px 0; /* Add spacing around the horizontal rule */
}

.review-pf p {
    margin: 10px 0; /* Add spacing around paragraphs */
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: black;
    font-weight: normal;
    font-size: 18px;
    transition: 1s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.0); /* Add background for better visibility */
    border: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: #1F9C19;
}

@media screen and (max-width: 1080px) and (min-width: 999px) { 

    .review-pf-left, .review-pf-right, .review-pf {
        width: 100%; /* Adjust width to fit smaller screens */
    }

    .slideshow-container {
    max-width: 100%; /* Adjust based on your card width */
    }
}

@media screen and (max-width: 998px) and (min-width: 760px) { 
    .reviews-container {
        flex-direction: column; /* Stack boxes vertically */
        justify-content: center; /* Center the boxes */
        align-items: center; /* Center horizontally */
    }

    .review-pf-left, .review-pf-right, .review-pf {
        width: 90%; /* Adjust width to fit smaller screens */
        height: 100%;
    }
}

@media screen and (max-width: 667px) and (min-width: 600px) {
    .reviews-container {
        flex-direction: column; /* Stack boxes vertically */
        justify-content: center; /* Center the boxes */
        align-items: center; /* Center horizontally */
    }

    .review-pf-left, .review-pf-right, .review-pf {
        width: 100%; /* Adjust width to fit smaller screens */
        height: 100%;
        flex-direction: column; /* Stack boxes vertically */
        justify-content: center; /* Center the boxes */
        align-items: center; /* Center horizontally */
    }

    .slideshow-container {
        max-width: 100%; /* Adjust based on your card width */
        height: 100%;
    }

    .innerPadding {
        width: 100%;
    }
}