/* Testimonials Slider Custom Styles */
.testimonials-section {
    position: relative;
    background-color: #111;
    color: #fff;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(195, 160, 89, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.testimonial-header-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #c3a059;
    line-height: 1;
}

.stat-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.rates {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.rates img {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(77%) sepia(21%) saturate(1212%) hue-rotate(3deg) brightness(91%) contrast(89%);
    /* Gold color for stars */
}

/* Testimonial Card Styles */
.testimonial-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(195, 160, 89, 0.3);
    box-shadow: 0 15px 40px rgba(195, 160, 89, 0.1);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: rgba(195, 160, 89, 0.15);
    line-height: 1;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #c3a059;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar i {
    color: #fff;
    font-size: 20px;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.author-role {
    font-size: 13px;
    color: #c3a059;
    margin-top: 2px;
}

/* Customizing Splide elements */
.testimonials-splide .splide__pagination {
    bottom: -40px;
}

.testimonials-splide .splide__pagination__page {
    background: rgba(255, 255, 255, 0.2);
}

.testimonials-splide .splide__pagination__page.is-active {
    background: #c3a059;
    transform: scale(1.3);
}

.testimonials-splide .splide__arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
}

.testimonials-splide .splide__arrow svg {
    fill: #fff;
}

.testimonials-splide .splide__arrow:hover {
    background: #c3a059;
    border-color: #c3a059;
}

.testimonials-splide .splide__arrow--prev {
    left: -20px;
}

.testimonials-splide .splide__arrow--next {
    right: -20px;
}

@media (max-width: 1200px) {

    .testimonials-splide .splide__arrow--prev,
    .testimonials-splide .splide__arrow--next {
        display: none;
        /* Hide arrows on smaller screens for cleaner look */
    }
}

@media (max-width: 992px) {
    .testimonial-header-box {
        margin-bottom: 40px;
        padding: 30px;
    }
}