/* ==================== TESTIMONIALS.CSS ==================== */

.testimonials {
    padding: 30px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    position: relative;
    margin-top: 0;
    scroll-margin-top: 70px;
}

.testimonials::before {
    content: 'TESTIMONIALS';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    letter-spacing: 3px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.testimonials .container {
    padding-top: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.testimonial-card {
    padding: 30px 30px;
    background-color: white;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(31, 182, 232, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    font-size: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    top: -20px;
    left: -10px;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(31, 182, 232, 0.2);
}

.testimonial-stars {
    margin-bottom: 20px;
    font-size: 1.3rem;
    letter-spacing: 3px;
}

.testimonial-text {
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.8;
    font-size: 0.75rem;
}

.testimonial-author {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(31, 182, 232, 0.1);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(31, 182, 232, 0.3);
}

.testimonial-author h4 {
    font-size: 1rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 600;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: #999;
    margin: 3px 0 0 0;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
        margin-top: 0;
    }

    .testimonials::before {
        font-size: 0.75rem;
        top: 25px;
    }

    .testimonials .container {
        padding-top: 50px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

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

@media (max-width: 480px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials::before {
        top: 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 0.8rem;
    }

    .testimonial-author h4 {
        font-size: 0.95rem;
    }
}

/* ==================== FEEDBACK SECTION ==================== */
.feedback {
    padding: 30px 0;
    background-color: #f5f5f5;
    position: relative;
    margin-top: 0;
    scroll-margin-top: 70px;
}

.feedback::before {
    content: 'SUCCESS STORIES';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    letter-spacing: 3px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.feedback .container {
    padding-top: 60px;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.feedback-item {
    padding: 40px 35px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(31, 182, 232, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border-left: 5px solid var(--primary-blue);
}

.feedback-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 182, 232, 0.18);
}

.feedback-number {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 30px;
}

.feedback-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feedback-item p {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .feedback {
        padding: 30px 0;
        margin-top: 0;
    }

    .feedback::before {
        font-size: 0.75rem;
        top: 25px;
    }

    .feedback .container {
        padding-top: 50px;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feedback-item {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .feedback {
        padding: 60px 0;
    }

    .feedback::before {
        top: 20px;
    }

    .feedback-item {
        padding: 25px 20px;
    }

    .feedback-number {
        font-size: 2.5rem;
    }

    .feedback-item h3 {
        font-size: 1.2rem;
    }

    .feedback-item p {
        font-size: 0.85rem;
    }
}