/* Marquee Slider Styles */
.marque-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    padding: 0 40px; /* spacing between logos */
}

.marquee-item img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover (optional) */
.marque-slider:hover .marquee-track {
    animation-play-state: paused;
}

/* Clean Responsive Testimonials */
.testimonial-wrapper {
    position: relative;
}

.testimonial-style-4 {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 35px 30px 32px;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.testimonial-style-4:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.shape-left { position: absolute; top: 25px; left: 25px; opacity: 0.15; }
.shape-right { position: absolute; top: 25px; right: 25px; opacity: 0.15; }

.shape-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, transparent, #1f7a67, transparent);
}

.rating-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rating-count {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1f7a67;
}

.rating-star { color: #ffd700; }

.description {
    flex: 1;
    line-height: 1.78;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.author-avatar img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1f7a67;
}

.author-info h3 {
    margin-bottom: 5px;
    color: #ffffff;
}

.author-info p {
    color: #aaaaaa;
    font-size: 0.95rem;
}

/* Mobile Navigation */
.testimonial-nav-btns button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: white;
    font-size: 18px;
    margin: 0 10px;
}

.testimonial-nav-btns button:hover {
    background: #1f7a67;
    border-color: #1f7a67;
}

/* Make sure cards are equal on desktop */
@media (min-width: 992px) {
    .testimonial-style-4 {
        min-height: 440px;
    }
}

@media (max-width: 768px) {
    .tmp-fsb h2 {
        font-size: 24px !important;
    }
    
    .tmp-section-title {
        margin-top: 10px !important;
    }
}
