body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 300px;
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--primary-color);
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.client-name p {
    color: #777;
    font-size: 0.9rem;
}

.service-badge {
    display: inline-block;
    background-color: var(--primary-dark);
    color: white;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}

.rating {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    margin: 5rem 0;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    padding: 1rem 2rem;
    flex: 1 1 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.testimonial-form-section {
    background-color: white;
    padding: 3rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 3rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 62, 114, 0.2);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.rating-input {
    display: flex;
    gap: 0.5rem;
}

.rating-star {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.rating-star:hover, .rating-star.active {
    color: var(--secondary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 1 1 100%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-item {
        flex: 1 1 50%;
        margin-bottom: 2rem;
    }
}
@media (max-width: 768px) {
    .nav-links li {
        margin-bottom: -10px; 
    }
    }
