/* ********** TESTIMONIAL SECTION START 1 *********** */
.testimonial_section_1 {
    padding: 70px 0;
}

/* Scoped styles */
.testimonial_section_1 .testimonial-card {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s linear;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial_section_1 .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial_section_1 .testimonial-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
}

.testimonial_section_1 .quote-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial_section_1 .testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial_section_1 .client-info {
    display: flex;
    align-items: center;
}

.testimonial_section_1 .client-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
}

.testimonial_section_1 .rating {
    margin-left: auto;
}

.testimonial_section_1 .rating img {
    height: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial_section_1 {
        padding: 50px 0;
    }

    .testimonial_section_1 .section-header h2 {
        font-size: 2rem;
    }
}
/* ********** TESTIMONIAL SECTION END 1 *********** */

/* ********** TESTIMONIAL SECTION START 2 *********** */
.testimonial_section_2 .review-card2 {
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.testimonial_section_2 .review-card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px var(--primary);
}

.testimonial_section_2 .client-img-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 10px auto 25px;
}

.testimonial_section_2 .client-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 0 0 3px var(--primary);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.testimonial_section_2 .client-img-container::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.testimonial_section_2 .review-card2:hover .client-img {
    box-shadow: 0 0 0 3px var(--primary),
        0 10px 30px rgba(108, 99, 255, 0.5);
    transform: scale(1.05);
}

.testimonial_section_2 .review-card2:hover .client-img-container::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.testimonial_section_2 .testimonial-text {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding: 0 10px;
}

.testimonial_section_2 .client-info {
    position: relative;
    z-index: 2;
}

.testimonial_section_2 .client-name {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.testimonial_section_2 .client-designation {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ********** TESTIMONIAL SECTION END 2 *********** */