/* assets/css/sections/reviews.css */
.reviews-section {
    padding: 100px 0;
    background-color: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -40px;
    left: 5%;
    font-size: 15rem;
    color: rgba(0, 86, 210, 0.03);
    transform: rotate(10deg);
    pointer-events: none;
}

.reviews-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.reviews-header .badge-pill {
    background: rgba(255, 94, 0, 0.1);
    color: #FF5E00;
    display: inline-block;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 94, 0, 0.1);
}

.reviews-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.reviews-header p {
    font-size: 1.1rem;
    color: #64748B;
}

.reviews-scroller {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    padding: 40px 0;
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollRightToLeft 60s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scrollRightToLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    width: 350px; 
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: #FF5E00;
    box-shadow: 0 20px 40px -15px rgba(255, 94, 0, 0.15);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stars {
    color: #F59E0B;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.review-date {
    font-size: 0.8rem;
    color: #94A3B8;
    font-weight: 600;
}

.review-text {
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
    font-weight: 500;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #F8FAFC;
    padding-top: 20px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: #F1F5F9;
    color: #0056D2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 800;
    color: #0F172A;
    font-size: 1rem;
}

.author-badge {
    font-size: 0.8rem;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

.google-rating-container {
    text-align: center; 
    margin-top: 50px;
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 28px;
    border-radius: 100px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    font-weight: 600;
    color: #475569;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease;
}

.google-rating-badge:hover {
    transform: scale(1.05);
}

.google-fa-icon {
    font-size: 1.2rem;
    background: linear-gradient(45deg, #4285F4 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (max-width: 768px) {
    .reviews-header h2 { font-size: 2.2rem; }
    .review-card { width: 300px; padding: 24px; }
}