/* About Section */
.about {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px; /* Increase space between image and text */
    max-width: 1400px; /* Increase the overall container width */
    width: 95%; /* Make it more flexible */
    margin: auto;
}
.about-image {
    flex: 1;
    max-width: 100%; /* Default image width */
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.about-text {
    flex: 1.8; /* Allow more space */
    max-width: 75%; /* Increase max width */
    text-align: left;
    padding-left: 40px; /* Move text slightly to the right */
}
.about-text h2 {
    font-size: 30px;
    color: #ffd700;
    font-family: 'Horizon', sans-serif;
    margin-bottom: 20px;
    text-align: center;
}

.about-text p {
    font-size: 14px;
    line-height: 1.8;
    font-family: 'Montserrat-Thin', sans-serif;
    color:white;

}

/* Restrict Slider Size */
.about-slider {
    position: relative;
    max-width: 500px; /* Set to previous image size */
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

/* Ensure Images Fit Properly */
.slide img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 500px; /* Set maximum height */
    border-radius: 15px;
    object-fit: cover; /* Prevent distortion */
}


/* Slide Images */
.slide {
    display: none;
}



/* Navigation Dots */
.dots {
    text-align: center;
    padding: 10px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.active-dot {
    background-color: #ffd700;
}

/* Customer Reviews Section */
.customer-reviews {
    display: flex;
    flex-wrap: wrap; /* Allows reviews to wrap to the next row on smaller screens */
    justify-content: center; /* Center align items */
    gap: 20px; /* Add space between reviews */
    max-width: 1200px;
    margin: auto;
}

/* Reviews Container */
.reviews-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    flex-wrap: nowrap; /* Prevent wrapping */
    gap: 20px; /* Space between reviews */
    max-width: 1200px; /* Set a max width */
    margin: auto;
    overflow: hidden;
    
}

.review-card {
    flex: 1 1 30%; /* Show 3 reviews per row */
    max-width: 350px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
}

/* Review Header */

.review-header {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between image and text */
    position: relative;
    z-index: 2;
}


/* Increase reviewer image size */
.reviewer-image {
    width: 100px; /* Increase size */
    height: 100px; /* Increase size */
    border-radius: 20%;
    object-fit: cover;
    position: relative;
    z-index: 2; /* Ensure it stays above the grey box */
    margin-top: 55px;
}


.reviewer-info h3 {
    font-size: 18px;
    margin: 0;
    color:white;
}
.reviewer-info {margin-top: 50px;}



.stars {
    font-size: 20px;
    color: gold;
}

/* Review Text */
.review-text {
    font-size: 13px;
    font-family: 'Montserrat-Thin', sans-serif;

    color: #ddd;
    margin: 0; /* Remove any margin that might be pushing it up */
    padding-top: 55px; /* Add spacing at the bottom */
}

/* Review Ratings */
.review-ratings {
    text-align: left;
    font-size: 14px;
    color: white;
}

.review-ratings p {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-weight: bold;
}

.review-ratings span {
    color: gold;
}

/* Dots for Multiple Reviews */
.review-dots {
    text-align: center;
    padding: 10px;
}

.review-dots .dot {
    height: 10px;
    width: 10px;
    margin: 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
}

.review-dots .dot.active {
    background-color: #ffd700; /* Gold active dot */
}

.reviews-container {
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

/* Adjust review content box */
.review-content {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    max-width: 100%;
    min-height: 150px; /* Ensures enough space for text */
    display: flex;
    align-items: center; /* Keep the content aligned properly */
    justify-content: center;
    margin-top: -70px; /* Add proper spacing instead of absolute positioning */
}
/* Hide mobile logo by default */
.collaboration-logo-container {
    text-align: center;
    display: none;
}

#collaboration-logo {
    width: 120px; /* Adjust as needed */
    height: auto;
    transition: opacity 0.5s ease-in-out;
}
/* Collaboration Container */
.collaboration-container {
    text-align: center;
    border-radius: 10px;
    max-width: 1200px;
    margin: 40px auto; /* Adds spacing before and after */
}

/* Title Styling */
.collaboration-title {
    font-size: 30px;
    font-family: 'Horizon', sans-serif;
    color: #ffd700;
    margin-bottom: 30px;
}

/* Default: Show all logos */
.collaboration-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}
/* Individual Logos */
.collaboration-logos img {
    width: 100px; /* Reduce size */
    height: auto;
    max-width: 100%;

    padding: 10px; /* Additional spacing inside */
}

/* Hover Effect */
.collaboration-logos img:hover {
    transform: scale(1.1);

}
/* Default Desktop View - Show 3 Reviews Per Page */
@media (min-width: 1024px) {
    .reviews-container {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        width: 100%;
    }

    .review-card {
        display: none; /* Hide all by default */
        width: 30%;
        max-width: 350px;
        min-width: 280px;
    }

    .review-card.active {
        display: block; /* Only active reviews will show */
    }
}

/* Mobile View - Show 1 Review at a Time */
@media (max-width: 1024px) {
    .reviews-container {
        flex-direction: row;
        overflow: hidden;
        width: 100%;
        justify-content: center;
    }

    .review-card {
        display: none;
        width: 100%;
        max-width: 400px;
    }

    .review-card.active {
        display: block;
    }
}


/* Responsive About Section */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;
        gap: 10px; /* Space between image and text */

    }

    .about-image {
        max-width: 80%; /* Increase image size */
    }

    .about-text {
        max-width: 90%; /* Make text occupy less space */
        padding-left: 0; /* Remove padding */
    }

    .about-text h2 {
        font-size: 24px; /* Reduce heading size */
    }

    .about-text p {
        font-size: 14px; /* Smaller text size */
        line-height: 1.6; /* Reduce line spacing */
        color:white;
    }

    .reviews-container {
        display: flex;
        flex-direction: row;
        overflow: hidden; /* Hide extra reviews */
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .review-card {
        display: none; /* Hide all reviews by default */
        width: 100%;
        max-width: 400px;
    }

    .review-card.active {
        display: block; /* Show only the active review */
    }

    .review-content {
        margin-top: -70px; /* Reduce gap on smaller screens */
    }

    .review-card {
        margin-bottom: 20px; /* Keep uniform spacing */
    }

    .collaboration-logos {
        display: none; /* Hide all logos */
    }
    .collaboration-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100px; /* Adjust this value based on the largest logo */
        overflow: hidden; /* Prevents any extra spacing issues */
    }

    #collaboration-logo {
        max-width: 100%; /* Ensures logos don’t exceed container width */
        max-height: 100%; /* Maintains uniform height */
        object-fit: contain; /* Prevents distortion while keeping size consistent */
        transition: opacity 0.5s ease-in-out;
    }

    /* Title Styling */
    .collaboration-title {
        font-size: 20px;
      
    }

}

