
/* Testimonials Slider */
.testimonials-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.section-subtitle {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.testimonials-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1100px; /* Adjusted to fit 3 cards + buttons comfortably */
    margin: 0 auto;
}

.testimonials-slider {
    display: flex;
    gap: 20px;
    overflow-x: hidden; /* Hide scrollbar completely for infinite effect */
    padding: 20px 0;
    width: 100%;
    max-width: 940px; /* Force width to match 3 cards exactly */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 20px;
    min-width: 300px;
    max-width: 300px;
    text-align: left;
    flex-shrink: 0;
    transition: 0.3s;
    scroll-snap-align: start; /* Align to start */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    background: rgba(255,255,255,0.08);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
}

.user-name {
    color: white;
    font-weight: bold;
}

.testimonial-date {
    font-size: 0.8rem;
    color: #888;
    margin-left: auto;
}

.testimonial-content {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
}

.slider-btn {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: black;
}

.slider-btn.prev-btn {
    margin-right: 15px;
}

.slider-btn.next-btn {
    margin-left: 15px;
}

.testimonial-loading {
    color: #888;
    font-style: italic;
    width: 100%;
    text-align: center;
}