/* Feedback Carousel Styles */

.feedback-carousel-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.feedback-carousel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feedback-carousel-title {
    font-size: 2.52rem;
    font-weight: 600;
    color: var(--text-color1);
    margin-bottom: 0.5rem;
    font-family: var(--main-font-family2);
}

.feedback-carousel-subtitle {
    color: var(--text-color2);
    font-size: 1.26rem;
    margin: 0;
}

.feedback-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.feedback-carousel-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.feedback-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 1.5rem;
}

.feedback-carousel-card {
    min-width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.feedback-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--background-color2);
}

.feedback-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feedback-carousel-card:hover .feedback-card-image img {
    transform: scale(1.05);
}

.feedback-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feedback-card-header {
    margin-bottom: 1rem;
}

.feedback-card-name {
    font-size: 1.575rem;
    font-weight: 600;
    color: var(--text-color1);
    margin: 0 0 0.25rem 0;
}

.feedback-card-company {
    font-size: 1.134rem;
    color: var(--text-color2);
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.feedback-card-rating {
    margin: 0.5rem 0;
}

.feedback-card-rating .star {
    color: #ffc107;
    font-size: 1.512rem;
    margin-right: 0.1rem;
}

.feedback-card-rating .star.filled {
    color: #ffc107;
}

.feedback-card-text {
    flex: 1;
    margin-bottom: 1rem;
}

.feedback-card-text p {
    color: var(--text-color2);
    line-height: 1.6;
    margin: 0;
    font-size: 1.197rem;
}

.feedback-card-link {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-link-btn {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.134rem;
    transition: color 0.3s ease;
}

.product-link-btn:hover {
    color: var(--primary-color-dark, #0056b3);
    text-decoration: underline;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.52rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 0.5rem;
}

.carousel-btn-next {
    right: 0.5rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feedback-carousel-container {
        padding: 0 2.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.89rem;
    }
    
    .carousel-btn-prev {
        left: 0.25rem;
    }
    
    .carousel-btn-next {
        right: 0.25rem;
    }
    
    .feedback-card-image {
        height: 200px;
    }
    
    .feedback-carousel-title {
        font-size: 1.89rem;
    }
    
    .feedback-carousel-subtitle {
        font-size: 1.134rem;
    }
}

