.testimonial-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-container {
    width: 100%;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.testimonial-underline {
    width: 150px;
    height: 3px;
    background-color: #0066ff;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 0 15px;
    flex: 0 0 calc(100% - 30px);
    max-width: calc(100% - 30px);
    display: flex;
    position: relative;
}

.testimonial-profile {
    flex: 0 0 120px;
    margin-right: 30px;
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-content {
    flex: 1;
}

.testimonial-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-rating {
    margin-bottom: 10px;
}

.star {
    color: #ffc107;
    font-size: 1.2rem;
    margin-right: 2px;
}

.testimonial-quote-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #0066ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-quote-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-nav-btn {
    background: none;
    border: none;
    color: #0066ff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.testimonial-nav-btn:hover {
    background-color: rgba(0, 102, 255, 0.1);
}

.testimonial-nav-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: #0066ff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        padding: 25px;
    }

    .testimonial-profile {
        margin-right: 0;
        margin-bottom: 20px;
        flex: 0 0 auto;
    }

    .testimonial-quote-icon {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .testimonial-section {
        padding: 60px 15px;
    }

    .testimonial-heading {
        font-size: 1.7rem;
    }

    .testimonial-title {
        font-size: 1.3rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}
