html { 
    scroll-behavior: smooth; 
}

.tab-content { 
    display: none; 
}

.tab-content.active { 
    display: block; 
    animation: fadeIn 0.5s; 
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

.brand-shadow { 
    box-shadow: 0 10px 30px -10px rgba(255, 177, 41, 0.4); 
}

.card-shadow { 
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1); 
}

/* Mobile Menu */
#mobile-menu { 
    transition: all 0.3s ease-in-out; 
}

/* Marquee / Infinite Slider for Reviews */
.reviews-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    display: flex;
}

/* Gradient fades on the edges for a nice effect */
.reviews-marquee-container::before,
.reviews-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 20;
    pointer-events: none;
}

.reviews-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(249, 249, 249, 1), rgba(249, 249, 249, 0));
}

.reviews-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(249, 249, 249, 1), rgba(249, 249, 249, 0));
}

.reviews-marquee-track {
    display: flex;
    gap: 24px;
    animation: marqueeScroll 150s linear infinite;
    width: max-content;
}

.reviews-marquee-container:hover .reviews-marquee-track,
.reviews-marquee-container:active .reviews-marquee-track,
.reviews-marquee-container:focus-within .reviews-marquee-track {
    animation-play-state: paused;
}

.review-card {
    width: 350px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.1);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12px)); /* Slides exactly half the track width plus half gap */
    }
}
