
/* Custom CSS */

.testimonial-section { 
    
    position: relative;
    overflow: hidden;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-card {   
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: auto !important;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: var(--star);
    font-size: 18px;
    margin-bottom: 20px;
}

.testimonial-text {
    margin-bottom: 20px;    
    transition: all 0.3s ease;
}

.text-short {
    display: block;
}

.text-full {
    display: none;
}

.read-toggle-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: var(--font-semibold);
    cursor: pointer;
    padding: 0;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.read-toggle-btn:hover {
    color: var(--secondary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-300);
}

.author-info h6 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.author-info p {
    font-size: var(--text-sm);
    margin: 0;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: var(--gray-500);
}

/* Swiper customization */
.testimonial-swiper {
    padding: 20px 0 60px 0;
    position: relative;
}

.swiper-slide {
    height: auto;
}

.swiper-wrapper {
    align-items: stretch;
}



/* Custom Arrow Styles */
.desktop-nav-buttons {
    position: absolute;
    right : -80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-500);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide default swiper buttons */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .custom-nav-buttons {
        left: -60px;
    }
    
    .custom-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .custom-nav-buttons {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
        display: flex;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    

    .testimonial-card {
        padding: 25px;
        margin: 0 10px;
    }

    .custom-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 20px;
    }
}