.testimonial-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    /* Make responsive: avoid fixed width */
    width: 100%;
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 280px;
    border-left: 4px solid #F39C37;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    color: rgba(0, 147, 132, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 147, 132, 0.1);
}

.testimonial-rating {
    color: #ffc107;
    margin: 10px 0;
}

.testimonial-rating .far {
    color: #ddd;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 0 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.carousel-slide {
    min-width: calc(33.333% - 1rem);
    flex-shrink: 0;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #F39C37;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #F39C37;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: #F39C37;
    color: white;
}

.carousel-control.prev {
    background: #F39C37;
    color: white;
    width: 60px;
    height: 60px;
    left: 0;
}

.carousel-control.next {
    background: #F39C37;
    width: 60px;
    height: 60px;
    color: white;
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #F39C37;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: #F39C37;
}




.testimonial-card h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-card .text-muted {
    color: #999 !important;
    font-size: 0.9rem;
} 

@media (max-width: 1199px) {
    .carousel-slide {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 767px) {
    .carousel-slide {
        /* Match slide width to card size and keep it responsive */
        min-width: clamp(240px, 90vw, 270px);
    }
    
    .testimonial-section {
        padding: 60px 0;
    }
    
    .carousel-container {
        padding: 0 12px;
    }
    .carousel-track { 
        padding: 0 4px; 
    }
    
    .testimonial-card {
        padding: 25px;
        min-height: 260px;
        height: auto;
        max-width: 270px;
    }
    /* Hide nav arrows on small screens */
    .carousel-control {
        display: none !important;
    }
}