.testimonials-section {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

/*.section-title {*/
/*    text-align: center;*/
/*    margin-bottom: 50px;*/
/*    position: relative;*/
/*}*/

.section-title b {
    display: block;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 2px;
    opacity: .1;
    background-color: currentColor;
}
.testimonials-section h2
{
    color:white !important ;
}


.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.testimonials-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    background: rgba(0,0,0,0.4);
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.05);
}

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

.testimonial-content {
    flex: 1;
}

.star-rating {
    display: flex;
    margin-bottom: 20px;
    gap: 2px;
}

.star {
    color: #FFD700;
    font-size: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: #f1f1f1;
}

.testimonial-meta {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
}

.testimonial-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
}

.testimonial-location {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 5px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.6);
}

/* Background Pattern */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .testimonial-avatar {
        width: 100px;
        height: 100px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title::before,
    .section-title::after {
        width: 50px;
    }

    .section-title::before {
        left: calc(50% - 120px);
    }

    .section-title::after {
        right: calc(50% - 120px);
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 10px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}
.testimonials-section
{
    /*background-image: url('<?php echo esc_url(_opt("section4_bg")); ?>');*/
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: 50% 50%;
}