:root {
    --review-bg: #ffffff;
    --review-border: #e0e0e0;
    --review-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --primary-color: #0055aa;
    --secondary-color: #ffc107;
    --text-color: #333333;
    --text-light: #666666;
    --font-primary: 'Open Sans', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

.glsr-reviews {
    margin: 40px auto 0;
    padding: 0 16px 20px;
    width: 100%;
    max-width: 1400px;
    position: relative;
}

/* Review Card Styling */
.glsr-review {
    background: var(--review-bg);
    border: 1px solid var(--review-border);
    border-radius: 12px;
    padding: 20px;
    margin: 8px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--review-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glsr-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.glsr-review::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 50px;
    font-family: var(--font-secondary);
    color: rgba(0, 85, 170, 0.1);
    line-height: 1;
    z-index: 0;
}

/* Star Rating Styling */
.glsr-review-rating {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.glsr-star-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.glsr-star {
    color: var(--secondary-color);
    font-size: 20px;
    margin: 0 2px;
    display: inline-block;
}

/* Ensure Site Reviews star classes are styled */
.glsr-star-full,
.glsr-star-half,
.glsr-star-empty {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 20px;
    margin: 0 2px;
}

.glsr-star-full::before {
    content: '';
}

.glsr-star-half::before {
    content: '\f089';
}

.glsr-star-empty::before {
    content: '\f005';
    font-weight: 400;
}

/* Content Styling */
.glsr-review-content {
    position: relative;
    z-index: 1;
}

.glsr-review-content p {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
    color: var(--text-color);
}

.glsr-review-author {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-top: 12px;
    font-size: 14px;
    color: #5a5a5a;
}

/* Arrow Navigation - Icons Only */
.slick-arrow {
    width: 32px;
    height: 32px;
    top: -36px; /* Position at top */
    z-index: 10;
    background: transparent !important;
    text-indent: -9999px;
    overflow: hidden;
    position: absolute;
    border: none;
    cursor: pointer;
    background-size: 48px !important;
    
}

.slick-prev {
    left: 10px; /* Position on left side of carousel container */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') no-repeat center !important;
}

.slick-next {
    right: 10px; /* Position on right side of carousel container */
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>') no-repeat center !important;
}

.slick-arrow:hover {
    opacity: 0.8;
}

/* Mobile Optimizations */
@media (max-width: 992px) {
    .glsr-review {
        padding: 18px;
    }
    
    .slick-arrow {
        width: 28px;
        height: 28px;
        top: -32px;
        background-size: 40px !important;
    }
    
    .slick-prev {
        left: 8px;
    }
    
    .slick-next {
        right: 8px;
    }
    
    .glsr-star,
    .glsr-star-full,
    .glsr-star-half,
    .glsr-star-empty {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .glsr-reviews {
        padding: 0 10px 20px;
        margin-top: 35px;
    }
    
    .glsr-review {
        padding: 16px;
        margin: 6px;
    }
    
    .glsr-review::before {
        font-size: 40px;
        top: 5px;
        left: 8px;
    }
    
    .slick-arrow {
        width: 24px;
        height: 24px;
        top: -28px;
    }
    
    .slick-prev {
        left: 6px;
    }
    
    .slick-next {
        right: 6px;
    }
    
    .glsr-star,
    .glsr-star-full,
    .glsr-star-half,
    .glsr-star-empty {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .glsr-reviews {
        padding: 0 8px 15px;
        margin-top: 30px;
    }
    
    .glsr-review {
        padding: 14px;
        margin: 4px;
    }
    
    .slick-arrow {
        width: 20px;
        height: 20px;
        top: -24px;
    }
    
    .slick-prev {
        left: -15px;
        margin-top: -43px !important;
    }
    
    .slick-next {
        right: -15px;
        margin-top: -43px !important;
    }
    
    .glsr-review-content p {
        font-size: 14px;
    }
    
    .glsr-review-author {
        font-size: 13px;
    }
    
    .glsr-star,
    .glsr-star-full,
    .glsr-star-half,
    .glsr-star-empty {
        font-size: 15px;
    }
}