.reviews-section {
    background-color: #0d4f7b;
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.reviews-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background-color: white;
}
.reviews-container {
    background: white;
    border-radius: 15px;
    width: 85%;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-segment {
    flex: 1;
    padding: 30px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.review-segment:not(:last-child) {
    border-right: 1px solid #eee;
}

.review-segment h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.rating-text {
    color: #666;
    margin-bottom: 15px;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.stars span {
    color: #333;
    margin-left: 10px;
}

.review-count {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.feefo-logo {
    height: 150px;
    width: auto;
    opacity: 1;
    margin: 25px auto 0;
    display: block;
    max-width: none;
    object-fit: contain;
    background-color: transparent;
    position: relative;
    z-index: 2;
}

.rating-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.rating-summary {
    margin-bottom: 25px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    height: 24px;
}

.rating-bar .stars {
    display: flex;
    align-items: center;
    width: 35px;
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #666;
}

.rating-bar .stars i {
    color: #ffd700;
    margin-left: 4px;
}

.rating-bar .bar {
    flex-grow: 1;
    height: 6px;
    background: #f5f5f5;
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background: #ffd700;
    border-radius: 3px;
}

.rating-bar .count {
    color: #666;
    font-size: 0.85rem;
    min-width: 50px;
    text-align: right;
}

/* Tablet Styles */
@media (max-width: 1170px) {
    .reviews-container {
        width: 90%;
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }
    .review-segment:not(:last-child) {
        border-right: none;
    }
    .trip-rating,
    .customer-experience {
        display: none;
    }
    .reviews-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .review-segment {
        text-align: center;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .reviews-background {
        height: 40%;
    }

    .feefo-logo {
        height: 100px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .reviews-section {
        padding: 40px 0;
    }

    .reviews-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .reviews-container {
        width: 92%;
        padding: 0;
    }

    .review-segment {
        padding: 20px;
    }

    .rating-number {
        font-size: 2.4rem;
        margin-bottom: 2px;
    }

    .rating-text {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .stars {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .stars span {
        font-size: 0.9rem;
    }

    .review-count {
        font-size: 0.8rem;
        margin-bottom: 15px;
        opacity: 0.8;
    }

    .feefo-logo {
        height: 60px;
        margin-top: 15px;
    }

    .reviews-background {
        height: 30%;
    }

    .rating-bar {
        gap: 8px;
        height: 20px;
        margin-bottom: 5px;
    }

    .rating-bar .stars {
        font-size: 0.75rem;
        width: 30px;
    }

    .rating-bar .bar {
        height: 5px;
    }

    .rating-bar .count {
        font-size: 0.75rem;
        min-width: 40px;
    }

    .rating-description {
        font-size: 0.85rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }
}
