/* Testimonials Section Styles */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    margin: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 70%;
    text-align: center;
    width: 100%;
    margin-bottom: 5px;
    padding-top: 5px;
}

.card-inner {
    padding: 40px 30px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding-bottom: 20px;
}

.client-photo-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.client-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.client-photo:hover img {
    transform: scale(1.05);
}



/* Client Details */
.client-details {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.client-name {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.client-designation {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    display: block;
    margin-bottom: 15px;
}

.rating {
    color: #ffd700;
    font-size: 1.1rem;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.rating .fa-star {
    margin: 0 2px;
}

.rating .fa-star:not(.active) {
    color: #e4e5e7;
}

/* Testimonial Content */
.testimonial-content {
    position: relative;
    width: 100%;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-mark {
    font-size: 3rem;
    color: rgba(var(--primary-color-rgb), 0.1);
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.comment {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    padding: 0 20px;
    font-style: italic;
    text-align: center;
    max-width: 85%;
    margin: 0 auto;
}

/* Project Info */
.project-info {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.project-label {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-right: 5px;
}

.project-title {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.project-title:hover {
    color: var(--secondary-color);
}

/* Improved Slider Navigation */
.testimonials-slider {
    padding: 20px 0 40px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 55px;
    height: 55px;
    /* background: var(--white); */
    border-radius: 50%;
    /* color: var(--primary-color); */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 35px;
    border-radius: 6px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .card-inner {
        padding: 35px 25px;
    }
    
    .client-photo {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 767.98px) {
    .testimonials-section {
        padding: 70px 0;
    }

    .card-inner {
        padding: 30px 20px;
    }

    .client-photo {
        width: 100px;
        height: 100px;
    }

    .comment {
        max-width: 95%;
        font-size: 1.05rem;
    }
}

@media (max-width: 575.98px) {
    .testimonial-card {
        margin: 15px;
    }

    .card-inner {
        padding: 25px 15px;
    }

    .client-photo {
        width: 90px;
        height: 90px;
    }

    .comment {
        font-size: 1rem;
        padding: 0 10px;
    }

    .project-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}