
#testimonials {
    background-color: #f1f4f9; /* Light blue-grey background to separate from services */
    padding: 100px 0;
}

/* The individual feedback card */
.testimonial-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    margin: 10px;
    height: 100%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.testimonial-card .d-flex 
{
    position: absolute;
    
    top: 190px;
}

.testimonial-card
{
    height: 300px !important;
}

.testimonial-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    
}

/* Large decorative quote mark */
.quote-mark {
    font-size: 3rem;
    line-height: 0;
    display: block;
    color: #dee2e6;
    margin-bottom: 15px;
    font-family: serif;
}

/* User Avatar (Circle with Initials) */
.avatar-circle {
    width: 50px;
    height: 50px;
    background: #1d2d50; /* Deep navy to match OMNORA branding */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0; /* Prevents circle from squishing */
}

.avatar-circle {
    width: 60px;           /* Must match height for a perfect circle */
    height: 60px;
    background: #1d2d50;
    color: #ffffff;
    border-radius: 50%;    /* Makes the container a circle */
    overflow: hidden;      /* Clips the image to the circle */
    display: flex;         /* Centers the image if it's smaller */
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0; /* Prevents circle from squishing */
}

.avatar-circle img {
    width: 100%;           /* Ensures the image fills the width */
    height: 100%;          /* Ensures the image fills the height */
    object-fit: cover;     /* IMPORTANT: Prevents stretching/distortion */
}

/* .testimonial-card .d-flex 
{
    position: absolute;

    top: 190px;
} */

/* Star Ratings */
.star-rating {
    color: #ffc107; /* Gold */
    font-size: 0.85rem;
    margin-top: 4px;
}

.star-rating i {
    margin-right: 2px;
}

/* Carousel Control Buttons (The arrows) */
.control-btn {
    width: 45px;
    height: 45px;
    border: 1px solid #ced4da;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.control-btn:hover {
    background: #1d2d50;
    color: #ffffff;
    border-color: #1d2d50;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
    }
}

@media (max-width: 906px) {
    .testimonial-card .d-flex 
    {
        position: relative;
        top: 0;
    }
    .testimonial-card
    {
        height: auto !important;
    }
}

@media (max-width: 992px) {
    .testimonial-card .d-flex 
    {
        position: relative;
        top: 0;
    }
    .testimonial-card
    {
        height: auto !important;
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .testimonial-card .d-flex 
    {
        position: absolute;
        
        top: 250px;
        right: 20px;
    }
    .testimonial-card
    {
        position: relative;
        height: 350px !important;
    }
}
