/* Testimonial Section Improvements */

.testimonial-area {
    position: relative;
    padding: 90px 0 100px;
    background-color: #f9fafc;
    overflow: hidden;
    z-index: 1;
}

.testimonial-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-light.png');
    background-size: cover;
    opacity: 0.03;
    z-index: -1;
}

.testimonial-area::after {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background-color: rgba(67, 97, 238, 0.03);
    border-radius: 50%;
    z-index: -1;
}

.section__title {
    margin-bottom: 30px;
}

.section__title .sub-title {
    font-size: 16px;
    font-weight: 600;
    color: #4361ee;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.section__title .sub-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #4361ee;
    border-radius: 2px;
}

.testimonial-box {
    position: relative;
}

.testimonial-shadow {
    padding: 15px;
}

.testimonial-items {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.swiper-slide-active .testimonial-items {
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.1);
    transform: scale(1.02);
    border-color: rgba(67, 97, 238, 0.1);
}

.testimonial-items::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: #4361ee;
    transition: all 0.5s ease;
}

.swiper-slide-active .testimonial-items::before {
    height: 100%;
}

.testimonial__icon {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimonial__icon i {
    color: #ffcc00;
    font-size: 18px;
    margin-right: 3px;
}

.testimonial__text {
    position: relative;
    z-index: 2;
}

.testimonial__text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial__auth {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial__auth-text {
    text-align: center;
}

.testimonial__auth-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.swiper-slide-active .testimonial__auth-text h4 {
    color: #4361ee;
}

.testimonial__auth-text span {
    font-size: 14px;
    color: #666;
}

.testimonial__quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    color: rgba(67, 97, 238, 0.05);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-slide-active .testimonial__quote-icon {
    transform: scale(1.2);
    opacity: 1;
}

/* Contact Form Styles */
.contact-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-form:hover {
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.1);
    border-color: rgba(67, 97, 238, 0.1);
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #4361ee, #7289f3);
}

.single-input-field {
    position: relative;
    margin-bottom: 20px;
}

.single-input-field input,
.single-input-field textarea {
    width: 100%;
    height: 55px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px 20px 10px 50px;
    font-size: 15px;
    color: #666;
    background-color: #f9fafc;
    transition: all 0.3s ease;
}

.single-input-field textarea {
    height: 150px;
    resize: none;
    padding-top: 15px;
}

.single-input-field input:focus,
.single-input-field textarea:focus {
    border-color: #4361ee;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
    outline: none;
    background-color: #fff;
}

.single-input-field i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #4361ee;
    font-size: 18px;
    z-index: 1;
}

.single-input-field.textarea i {
    top: 25px;
}

.fill-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4361ee;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #4361ee;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
}

.fill-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    transition: all 0.3s ease;
}

.fill-btn:hover {
    color: #4361ee;
}

.fill-btn:hover::before {
    width: 100%;
}

/* Swiper Styles */
.testimonial-active .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.testimonial-active .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(67, 97, 238, 0.3);
    opacity: 1;
    margin: 0 5px;
}

.testimonial-active .swiper-pagination-bullet-active {
    background-color: #4361ee;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .testimonial-area {
        padding: 80px 0 90px;
    }
    
    .testimonial-items {
        padding: 35px 25px;
    }
    
    .testimonial__text p {
        font-size: 15px;
    }
    
    .contact-form {
        padding: 35px;
    }
}

@media (max-width: 991px) {
    .testimonial-area {
        padding: 70px 0 80px;
    }
    
    .testimonial-items {
        padding: 30px 20px;
        margin-bottom: 15px;
    }
    
    .testimonial__text p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 30px;
        margin-top: 30px;
    }
    
    .single-input-field input,
    .single-input-field textarea {
        height: 50px;
        font-size: 14px;
    }
    
    .single-input-field textarea {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .testimonial-area {
        padding: 60px 0 70px;
    }
    
    .testimonial-items {
        padding: 25px 15px;
    }
    
    .testimonial__auth-text h4 {
        font-size: 16px;
    }
    
    .testimonial__quote-icon {
        font-size: 40px;
        top: 15px;
        right: 15px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .fill-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .testimonial-area {
        padding: 50px 0 60px;
    }
    
    .testimonial__text p {
        font-size: 13px;
    }
    
    .testimonial__auth-text h4 {
        font-size: 15px;
    }
    
    .testimonial__auth-text span {
        font-size: 12px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .single-input-field {
        margin-bottom: 15px;
    }
    
    .single-input-field input,
    .single-input-field textarea {
        height: 45px;
        padding: 10px 15px 10px 45px;
        font-size: 13px;
    }
    
    .single-input-field textarea {
        height: 100px;
    }
    
    .single-input-field i {
        left: 15px;
        font-size: 16px;
    }
    
    .fill-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
} 