

/* Review Section Styling */
.review-section {
    width: 100%;
    display: flex;
    justify-content: center; /* This centers the .main-review-section */
    align-items: center;
    padding: 50px 0;
    margin: auto;
    padding: auto;
}

.main-review-section {
    border-radius: 44px;
    background: linear-gradient(to right, #fea32e, #ec0caa);
    padding: 5px;
    box-shadow: 0px 4px 15px rgba(254, 163, 46, 0.5), 0px 8px 30px rgba(236, 12, 170, 0.5);
    width: 90%;
    margin: 0 auto;
}

.review-content {
    background-color: #171717;
    border-radius: 35px;
    padding: 60px 80px;
}

/* Review Top Section */
.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.review-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.review-top-img {
    width: 50px;
    height: 50px;
}

.review-top-text {
    font-size: 1.8rem;
    margin: 0;
}

.review-top-right {
    display: flex;
    gap: 15px;
}

.arrow {
    width: 50px;
    height: 50px;
    background-color: #252525;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-image: url('https://api.iconify.design/material-symbols/arrow-forward-ios-rounded.svg?color=white');
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
}

#left-arrow {
    transform: rotate(180deg);
}

.arrow.active {
    background-color: #444;
}

/* Review Bottom & Cards */
.review-bottom {
    overflow: hidden;
}

.review-cards {
    display: grid;
    grid-auto-flow: column;
    /* Two cards with a gap */
    grid-auto-columns: calc(50% - 13px);
    gap: 26px;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    background: #ffffff;
    color: #292930;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
}

.review-card-top-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-card-top-top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-card-top-top-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.circle-image {
    border-radius: 50%;
    object-fit: cover;
}

.review-card-top-top-left-text {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.review-card-top-top-right {
    display: flex;
    gap: 5px;
}

.rating-star {
    width: 20px;
    height: 20px;
}

.review-card-hr {
    border: 0;
    height: 1px;
    background-color: #ececec;
    margin: 15px 0;
}

.review-card-top-bottom p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.review-card-bottom {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ececec;
    gap: 15px;
}

.review-card-bottom-img img {
    width: 40px;
    height: 40px;
}

.review-card-bottom-text {
    line-height: 1.4;
}

.review-card-bottom-text p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
}

.review-card-bottom-text-1 {
    font-weight: 700;
    color: #292930;
    font-size: 1rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .review-content {
        padding: 40px 60px;
    }
}

@media screen and (max-width: 768px) {
    .review-content {
        padding: 30px 40px;
    }
    
        .review-top-text {
    font-size: 1.5rem;
    }
    
        .review-cards {
        grid-auto-columns: 100%;
    }
}

@media screen and (max-width: 426px) {
    .review-content {
        padding: 30px 20px;
    }
    
    .review-top-text {
    font-size: 1.4rem;
    }

    .review-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .rating-star {
    width: 15px;
    height: 15px;
}

.review-card-top-top-left-text {
    font-size: 1rem;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-card-top-top {
    flex-direction: column;
    gap:5px;
}
}