:root {
    --primary-dark: #042e18;
    --primary: #054d2b9d;
    --secondary: #087437;
    --accent: #0b9c48;
    --accent-light: #49b87b;
    --light: #ffffff;
    --light-green: #52d18360;
    --help-button-green: #008037;
    
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;

    --radius-sm: 15px;
    --radius-md: 25px;
    --radius-lg: 40px;
    --radius-xl: 60px;
}

.reviews-section {
    margin-top: 10px;
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/review.jpg');
    opacity: 0.15;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #042e18;
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.reviews-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.reviews-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

/* Modified to display cards side by side */
.review-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 0 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 30px); /* For 3 cards */
    /* flex: 0 0 calc(50% - 30px); */ /* Uncomment for 2 cards */
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.avatar-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #e1e8ed;
}

.reviewer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details {
    text-align: left;
}

.reviewer-name {
    font-weight: 700;
    margin: 0 0 5px;
    color: #2c3e50;
    font-size: 1.1rem;
}

.reviewer-location {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.reviewer-location::before {
    content: '\F3E8';
    font-family: "bootstrap-icons";
    margin-right: 5px;
    font-size: 0.8rem;
}

.review-rating {
    color: #f1c40f;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 20px;
    position: relative;
}

.review-content::before {
    content: '\201C';
    font-size: 4rem;
    color: #e1e8ed;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
    z-index: 0;
    opacity: 0.7;
}

.review-content p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.review-product {
    font-size: 0.9rem;
    color: #7f8c8d;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.review-product span {
    font-weight: 600;
    color: #3498db;
}

.slider-arrow {
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2c3e50;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 10;
    margin: 0 10px;
}

.slider-arrow:hover {
    background-color: #3498db;
    color: white;
    transform: scale(1.1);
}

.slider-arrow:focus {
    outline: none;
}

.reviews-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background-color: #3498db;
    transform: scale(1.2);
}

.review-cta-container {
    text-align: center;
}

.review-cta-button {
    display: inline-block;
    background-color: #042e18;
    color: white;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
}

.review-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

/* Make responsive for smaller screens */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 30px); /* 2 cards on medium screens */
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 calc(100% - 30px); /* 1 card on small screens */
    }
}