.testimonial-section-three {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-section-three .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.testimonial-section-three .section-title {
    color: var(--p1);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial-section-three .section-heading {
    font-size: 32px;
    font-weight: bold;
}

.testimonial-section-three .navigation-buttons {
    display: flex;
    gap: 10px;
}

.testimonial-section-three .nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    background-color: transparent;
}

.testimonial-section-three .nav-button:hover,
.testimonial-section-three .nav-button:active,
.testimonial-section-three .nav-button.swiper-button-active {
    background-color: var(--s1);
    border-color: var(--s1);
}

.testimonial-section-three .nav-button:hover i,
.testimonial-section-three .nav-button:active i,
.testimonial-section-three .nav-button.swiper-button-active i {
    color: #fff !important;
}

.testimonial-section-three .nav-button.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--s1);
    background-color: transparent !important;
}

.testimonial-section-three .nav-button.swiper-button-disabled:hover,
.testimonial-section-three .nav-button.swiper-button-disabled:active {
    background-color: transparent !important;
    border-color: var(--s1);
}

.testimonial-section-three .nav-button.swiper-button-disabled i {
    color: var(--s1) !important;
}

.testimonial-section-three .nav-button.next {
    background-color: var(--s1);
    color: #111;
}

.testimonial-section-three .nav-button.next:hover,
.testimonial-section-three .nav-button.next:active,
.testimonial-section-three .nav-button.next.swiper-button-active {
    background-color: var(--s1);
    border-color: var(--s1);
}

.testimonial-section-three .nav-button.next:hover i,
.testimonial-section-three .nav-button.next:active i,
.testimonial-section-three .nav-button.next.swiper-button-active i {
    color: #fff !important;
}

.testimonial-section-three .testimonial-card {
    background-color: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    position: relative;
}

.testimonial-section-three .quote-icon {
    color: var(--p1);
    font-size: 40px;
    margin-bottom: 20px;
}

.testimonial-section-three .quote-svg-icon {
    width: 40px;
    height: 40px;
    fill: var(--p1);
}

.testimonial-section-three .stars {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
}

.testimonial-section-three .stars i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 2px;
}

.testimonial-section-three .testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--par);
    margin-bottom: 40px;
    margin-top: 20px;
}

.testimonial-section-three .user-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-section-three .user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-section-three .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-section-three .user-details h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-section-three .user-details p {
    color: #aaa;
    font-size: 14px;
}

.testimonial-section-three .planet-icon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    opacity: 0.7;
}

.testimonial-section-three .swiper {
    width: 100%;
    height: 100%;
}

.testimonial-section-three .swiper-slide {
    height: auto;
}

@media (max-width: 768px) {
    .testimonial-section-three .section-heading {
        font-size: 28px;
    }

    .testimonial-section-three .testimonial-card {
        padding: 20px;
    }
}