/* ========== TESTIMONIAL SECTION STYLES ========== */
.testimonial-area {
    padding: 80px 0;
}

.testimonial-slider {
    margin-top: 40px;
}

.testimonial-item {
    padding: 0 15px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(21, 56, 146, 0.05);
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card .rating {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card .rating i {
    color: #FF6910;
    font-size: 18px;
    margin-right: 4px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 30px;
    flex-grow: 1;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 2px solid #F7FAFC;
    position: relative;
    z-index: 1;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #153892;
    box-shadow: 0 4px 12px rgba(21, 56, 146, 0.2);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #153892;
    margin-bottom: 4px;
}

.client-details span {
    font-size: 14px;
    color: #718096;
    display: block;
}

/* Slick Slider Customization for Testimonials */
.testimonial-slider {
    position: relative;
    padding-bottom: 80px;
}

/* Navigation Container */
.testimonial-slider .slick-dots {
    bottom: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.testimonial-slider .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
    list-style: none;
}

.testimonial-slider .slick-dots li button {
    width: 14px;
    height: 14px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    background: #153892;
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.3s ease;
    border: none;
}

.testimonial-slider .slick-dots li button:before {
    display: none;
}

.testimonial-slider .slick-dots li.slick-active button {
    opacity: 1;
    background: #FF6910;
    transform: scale(1.3);
}

/* Arrow Buttons */
.testimonial-slider .slick-arrow {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(21, 56, 146, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 0;
    top: auto;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: visible;
    border: 2px solid #E8EBF0;
}

.testimonial-slider .slick-arrow:hover {
    background: #153892;
    box-shadow: 0 4px 16px rgba(21, 56, 146, 0.3);
    border-color: #153892;
    transform: scale(1.05);
}

.testimonial-slider .slick-arrow:before {
    content: '';
    display: none;
}

/* CSS Arrow using borders */
.testimonial-slider .slick-arrow:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #153892;
    border-right: 3px solid #153892;
    transition: border-color 0.3s ease;
}

.testimonial-slider .slick-arrow:hover:after {
    border-color: white;
}

.testimonial-slider .slick-prev:after {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.testimonial-slider .slick-next:after {
    transform: translate(-70%, -50%) rotate(45deg);
}

.testimonial-slider .slick-prev {
    left: 50%;
    margin-left: -220px;
}

.testimonial-slider .slick-next {
    right: 50%;
    margin-right: -220px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .testimonial-slider .slick-prev {
        margin-left: -200px;
    }

    .testimonial-slider .slick-next {
        margin-right: -200px;
    }
}

@media (max-width: 991px) {
    .testimonial-slider .slick-prev {
        margin-left: -170px;
    }

    .testimonial-slider .slick-next {
        margin-right: -170px;
    }

    .testimonial-slider .slick-arrow {
        width: 45px;
        height: 45px;
    }

    .testimonial-slider .slick-arrow:after {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .testimonial-area {
        padding: 60px 0;
    }

    .testimonial-slider {
        padding-bottom: 60px;
    }

    .testimonial-card {
        padding: 30px 24px;
    }

    .testimonial-card::before {
        font-size: 80px;
        top: 15px;
        left: 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .client-avatar {
        width: 50px;
        height: 50px;
    }

    .client-details h6 {
        font-size: 15px;
    }

    .client-details span {
        font-size: 13px;
    }

    .testimonial-slider .slick-prev,
    .testimonial-slider .slick-next {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .testimonial-area {
        padding: 50px 0;
    }

    .testimonial-slider {
        padding-bottom: 50px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .testimonial-card .rating i {
        font-size: 16px;
    }
}