/* Home Testimonials Section */
.home-testimonials-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.testimonials-heading {
    color: #000;
    font-family: Golden;
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
    letter-spacing: 2.5px;
    margin: 0;
}

/* Navigation Arrows */
.testimonials-nav-arrows {
    display: flex;
    gap: 30px;
    z-index: 10;
    position: relative;
}
.testimonials-prev, .testimonials-next {
    cursor: pointer;
    opacity: 1; 
    transition: opacity 0.3s, transform 0.2s;
    width: 36px;
    height: 32px;
}
.testimonials-prev:hover, .testimonials-next:hover {
    opacity: 0.5;
    transform: scale(1.1);
}

/* Swiper Container */
.swiper.testimonialsSwiper {
    overflow: hidden; 
    padding-top: 0px;
    padding-bottom: 100px;
    width: 100%;
    margin: 0;
}

/* Card Style */
.swiper-slide.testimonial-card {
    background: #FFF;
    border-radius: 10px;
    padding: 20px;
    height: auto; 
    box-shadow: 0px 4px 20px rgba(0,0,0,0.05); 
    display: flex;
    flex-direction: column;
    /* Ensure sizing is correct */
    box-sizing: border-box; 
    width: auto;
}

/* Header inside card */
.t-header {
    display: flex;
    align-items: unset;
    margin-bottom: 12px;
    gap: 20px;
    width: 100%;
}

/* Avatar / Initials */
.t-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #EBEBEB; /* Light grey circle */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}
.t-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.t-initials {
    color: #999;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 500;
}

/* Info */
.t-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.t-name {
    color: #093A58;
    font-family: Outfit;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 1px;
    margin: 0 0 13px 0;
}

.t-stars {
    display: flex;
    gap: 5px;
}

/* Date - Pushed to right */
.t-date-wrap {
    margin-left: auto; /* Push to right */
}
.t-date {
  color: #9A9A9A;
  font-family: Outfit;
  font-size: 15px;
  font-style: normal;
  font-weight: 200;
  line-height: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.t-date svg path {
    fill: #9A9A9A;
}

/* Body Text */
.t-body {
  color: #000;
  font-family: Outfit;
  font-size: 18px;
  font-style: normal;
  font-weight: 200;
  line-height: 27px;
}

/* Responsive */
@media screen and (max-width: 1279px) {
    .testimonials-header {
        margin-bottom: 10px;
    }
    .testimonials-heading {
        font-size: 40px;
    }
    .t-body {
        font-size: 16px;
    }
}
@media screen and (max-width: 726px) {
    .testimonials-prev svg, .testimonials-next svg {
        width: 21px;
        height: 21px;
    }
    .testimonials-heading {
        font-size: 27px;
        font-style: normal;
    }
    
    /* Mobile Card Header Layout */
    .t-header {
        display: grid;
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
        column-gap: 20px;
        row-gap: 8px;
        align-items: center; /* Center avatar vertically relative to total height */
    }
    
    .t-avatar {
        grid-row: 1 / span 2;
        grid-column: 1;
    }
    
    .t-info {
        grid-row: 1;
        grid-column: 2;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .t-date-wrap {
        grid-row: 2;
        grid-column: 2;
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .t-name {
        margin-bottom: 3px;
        font-size: 18px; /* Slightly smaller name on mobile */
    }
    .t-avatar {
        width: 74px;
        height: 74px;
    }
    .testimonials-prev, .testimonials-next {
        width: 21px;
        height: 21px;
    }
    .swiper.testimonialsSwiper {
        padding-bottom: 75px;
    }
}