/* Testimonials Section Styles */
.testimonials-section {
    padding: 80px 0 120px;
    background-color: #f8f9fa;
    position: relative;
    /* overflow: hidden; Removed to show arrows */
}

.testimonial-carousel {
    padding: 20px 5px 40px;
    margin: 0 -15px;
    width: 100%;
    display: block !important;
}

.testimonial-item {
    padding: 0 15px;
    outline: none;
    float: left;
    width: 33.333%;
    height: inherit;
}

.testimonial-box {
    background: #fff;
    transition: all 0.3s ease;
    margin: 10px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: visible;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #f76e11;
    border-radius: 12px 12px 0 0;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important;
}

.testimonial-box .p-4 {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 1.5rem !important;
}

.testimonial-img {
    flex-shrink: 0;
    margin-right: 1rem;
}

.testimonial-img img {
    border: none;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc04 100%);
    padding: 2px;
}

.testimonial-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.testimonial-header .testimonial-info {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
}

.testimonial-header .testimonial-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-header .testimonial-info h5 .verified-badge {
    color: #4285f4;
    font-size: 14px;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #fbbc04;
    font-size: 14px;
}

.testimonial-content {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.testimonial-content .fa-quote-left {
    display: none;
}

.testimonial-content p {
    margin: 0;
    line-height: 1.7;
    color: #4a5568;
    font-size: 14px;
}

/* Slick specific styles */
.slick-track {
    display: flex !important;
    padding-bottom: 20px;
}

.slick-slide {
    height: inherit;
    display: flex !important;
    margin-bottom: 40px;
}

.slick-slide>div {
    display: flex;
    flex: 1;
    width: 100%;
}

/* Slick Carousel Customization */
.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-dots {
    bottom: -40px;
    position: absolute;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 1;
    z-index: 1;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 10px;
    height: 10px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #f76e11;
    opacity: 0.25;
}

.slick-dots li.slick-active button:before {
    color: #f76e11;
    opacity: 1;
}

.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background: #f76e11;
    border-radius: 50%;
    z-index: 100;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.slick-prev {
    left: -25px;
}

.slick-next {
    right: -25px;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    opacity: 1;
    color: #fff;
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

.slick-prev:hover,
.slick-next:hover,
.slick-prev:focus,
.slick-next:focus {
    background: #c82333;
    outline: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .testimonials-section {
        padding: 40px 0 100px;
    }

    .testimonial-item {
        padding: 0 10px;
        width: 50%;
    }

    .slick-prev {
        left: -20px;
    }

    .slick-next {
        right: -20px;
    }
}

@media (max-width: 576px) {
    .testimonial-carousel {
        margin: 0;
    }

    .testimonial-item {
        padding: 0 5px;
        width: 100%;
    }

    .slick-dots {
        bottom: -30px;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }
}