/* Interactive Carousel Styles for Hendricks Law */
#testimonials-carousel {
    background-color: #020C1B; /* Premium deeper background to make the cards pop */
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 4 full cards + peek of the 5th */
.testimonial-card {
    flex: 0 0 calc(24% - 15px); /* slightly less than 25% to allow peek */
    min-width: 260px;
    background-color: #071E3D; /* Deep Navy Blue from buttons */
    border: 1px solid rgba(224, 169, 109, 0.15); /* Subtle gold border */
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1199px) {
    .testimonial-card {
        flex: 0 0 calc(32% - 15px); /* 3 cards + peek */
    }
}

@media (max-width: 991px) {
    .testimonial-card {
        flex: 0 0 calc(45% - 15px); /* 2 cards + peek */
    }
}

@media (max-width: 767px) {
    .testimonial-card {
        flex: 0 0 calc(85% - 15px); /* 1 card + peek */
    }
}

.testimonial-card:hover {
    box-shadow: 0 0 30px rgba(224, 169, 109, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    border-color: rgba(224, 169, 109, 0.4);
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1d5db;
    margin-bottom: 25px;
    font-family: "Montserrat", sans-serif;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E0A96D; /* Olive/Gold Accent */
}

.author-info h5 {
    color: #fff;
    margin: 0;
    font-size: 1.05rem;
    font-family: "Oranienbaum", serif;
}

.author-info span {
    color: #9ca3af;
    font-size: 0.85rem;
    font-family: "Montserrat", sans-serif;
}

/* Arrows */
.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #E0A96D;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.slider-arrow-btn:hover {
    background-color: #f1b776;
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow-btn svg {
    width: 24px;
    height: 24px;
    fill: #071E3D;
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Pagination */
.testimonials-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.testimonials-pagination .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-pagination .dot.active {
    background-color: #E0A96D;
    transform: scale(1.3);
}
