/* ===== WHAT OUR STUDENTS SAY SECTION ===== */

.testimonials-section {
    position: relative;
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 50%, #ffffff 100%);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.08), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 76, 107, 0.06), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* === SECTION HEADER === */
.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.1), rgba(27, 156, 252, 0.08));
    border: 1px solid rgba(245, 130, 32, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #F58220;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.testimonials-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #0F4C6B;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #F58220, #1b9cfc, #F58220);
    border-radius: 2px;
    animation: underline-expand 3s ease-in-out infinite;
}

@keyframes underline-expand {
    0%, 100% { width: 80px; }
    50% { width: 120px; }
}

.testimonials-subtitle {
    font-size: 16px;
    color: #555;
    margin-top: 20px;
    line-height: 1.6;
}

/* === TESTIMONIALS GRID === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

/* === TESTIMONIAL CARD === */
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #F58220, #1b9cfc, #F58220);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 76, 107, 0.15);
    border-color: rgba(245, 130, 32, 0.2);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

/* === QUOTE ICON === */
.testimonial-quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: #F58220;
    opacity: 0.2;
}

/* === STAR RATING === */
.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-star {
    color: #F58220;
    font-size: 16px;
}

/* === TESTIMONIAL TEXT === */
.testimonial-text {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text .short {
    display: inline;
}

.testimonial-text .more {
    display: none;
}

.testimonial-toggle {
    color: #F58220;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: color 0.3s ease;
    user-select: none;
}

.testimonial-toggle:hover {
    color: #0F4C6B;
}

/* === AUTHOR SECTION === */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F58220, #1b9cfc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #0F4C6B;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author-name {
    color: #F58220;
}

.testimonial-author-role {
    font-size: 11px;
    color: #777;
    line-height: 1.4;
}

/* === CTA BUTTON === */
.testimonials-cta {
    text-align: center;
}

.testimonials-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #F58220, #e67e22);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(245, 130, 32, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonials-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.testimonials-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 130, 32, 0.4);
}

.testimonials-cta-button:hover::before {
    left: 100%;
}

.testimonials-cta-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.testimonials-cta-button:hover svg {
    transform: translateX(5px);
}

/* === RESPONSIVE DESIGN === */

/* Large Tablet */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .testimonials-title {
        font-size: 38px;
    }
    
    .testimonials-subtitle {
        font-size: 15px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-section {
        padding: 70px 20px;
    }
    
    .testimonials-title {
        font-size: 36px;
    }
    
    .testimonials-badge {
        display: none;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 16px;
    }
    
    .testimonials-container {
        padding: 0;
    }
    
    .testimonials-header {
        margin-bottom: 40px;
    }
    
    .testimonials-title {
        font-size: 32px;
    }
    
    .testimonials-subtitle {
        font-size: 14px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 20px 16px;
    }
    
    .testimonial-quote-icon {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-text {
        font-size: 12px;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-author-name {
        font-size: 13px;
    }
    
    .testimonial-author-role {
        font-size: 10px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .testimonials-section {
        padding: 50px 12px;
    }
    
    .testimonials-title {
        font-size: 28px;
    }
    
    .testimonials-subtitle {
        font-size: 13px;
    }
    
    .testimonials-grid {
        gap: 14px;
    }
    
    .testimonial-card {
        padding: 18px 14px;
    }
    
    .testimonial-rating {
        margin-bottom: 12px;
    }
    
    .testimonial-star {
        font-size: 14px;
    }
    
    .testimonial-text {
        font-size: 11px;
        line-height: 1.6;
    }
    
    .testimonial-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .testimonial-author {
        gap: 10px;
    }
    
    .testimonial-author-name {
        font-size: 12px;
    }
    
    .testimonials-cta-button {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* Ultra Small Mobile */
@media (max-width: 400px) {
    .testimonials-section {
        padding: 40px 10px;
    }
    
    .testimonials-title {
        font-size: 26px;
    }
    
    .testimonials-subtitle {
        font-size: 12px;
    }
    
    .testimonial-card {
        padding: 16px 12px;
    }
    
    .testimonial-quote-icon {
        width: 30px;
        height: 30px;
    }
    
    .testimonial-star {
        font-size: 13px;
    }
    
    .testimonial-text {
        font-size: 10px;
    }
    
    .testimonial-avatar {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .testimonial-author-name {
        font-size: 11px;
    }
    
    .testimonial-author-role {
        font-size: 9px;
    }
}
