.testimonials-card {
    background-color: #f9fafb; /* Orange-yellow */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonials-card:hover {
    transform: translateY(-5px);
}

.testimonials-card .blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonials-card .carousel-inner {
    padding: 0 10%; /* 10% side padding for arrows */
}

.testimonials-card .carousel-control-prev,
.testimonials-card .carousel-control-next {
    width: 10%; /* Takes the side space */
    background: none; /* No background to avoid blocking */
    opacity: 0.8;
}

.testimonials-card .carousel-control-prev {
    left: 0; /* Align to left padding */
    justify-content: flex-start; /* Arrow close to edge */
}

.testimonials-card .carousel-control-next {
    right: 0; /* Align to right padding */
    justify-content: flex-end;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    background-size: 60%; /* Smaller icon */
}

.carousel-indicators {
    bottom: -20px; /* Below the card if needed, or adjust */
}

.carousel-indicators [data-bs-target] {
    background-color: #333;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.separator {
    border: 0;
    border-top: 1px solid #ccc; /* Thin line as in screenshot */
    margin: 1rem 0;
    width: 50%; /* Short line */
}

.img-testimonial {
    width: 30%;          /* ~30% as per your request */
    max-width: 150px;    /* Cap for large screens */
    aspect-ratio: 1 / 1; /* Forces square (circle base) */
    object-fit: cover;   /* Crops without stretch */
    flex-shrink: 0;      /* No shrink in flex */
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 50% !important; /* Perfect circle */
}

/* Mobile Fixes (Stack + No Overlaps) */
@media (max-width: 768px) {
    .testimonials-card {
        padding: 2rem 1rem !important; /* Extra padding to prevent scroll overlap */
    }
    
    .testimonials-card .carousel-inner {
        padding: 0 5%; /* Reduce padding on mobile for more content space */
    }
    
    .testimonials-card .carousel-item .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonials-card .carousel-control-prev,
    .testimonials-card .carousel-control-next {
        width: 15%; /* Slightly wider tap area on mobile */
    }
    
    .separator {
        width: 80%; /* Longer on mobile for better look */
        margin: 1.5rem auto;
    }
    
    .img-testimonial {
        width: 100px !important; /* Smaller fixed size on mobile */
        height: 100px !important; /* Equal height for perfect circle */
        margin: 0px; 
    }
    
    .testimonials-card .carousel-item > div > div {
        width: 100% !important;
        padding: 0 10%; /* 10% side buffer on mobile */
    }
}