/* assets/css/testimonials-redesign.css - Clean White Design */

/* ============================================
   VARIABLES - Standard Color Palette
   ============================================ */
:root {
    --primary: #1E64C8;
    --primary-dark: #1551a0;
    --primary-light: #4a82d3;
    --secondary: #D32F2F;
    --secondary-dark: #b71c1c;
    --accent: #f5a623;
    --dark: #1f2937;
    --gray-dark: #374151;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #e5e7eb;
    --light: #f3f4f6;
    --white: #ffffff;
    --success: #10b981;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--dark);
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: var(--white);
}

.hero-content .highlight {
    color: var(--primary-light);
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}

.section-header .highlight {
    color: var(--primary);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto;
    border-radius: 2px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.125rem;
}

/* ============================================
   TESTIMONIALS SECTION - UNIFIED CARD DESIGN
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials-section:nth-child(even) {
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-lighter);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card-inner {
    padding: 2rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    opacity: 0.1;
    font-size: 2.5rem;
    color: var(--primary);
}

.testimonial-text {
    color: var(--gray-dark);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    min-height: 100px;
}

.testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-lighter);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar i {
    font-size: 2rem;
    color: var(--white);
}

.author-details {
    flex: 1;
}

.author-details h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.author-details .program {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.author-details .graduation-year {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.author-details .position {
    font-size: 0.8125rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-lighter);
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: var(--accent);
    font-size: 0.875rem;
}

.rating i.fa-star-o {
    color: var(--gray-lighter);
}

/* Video Play Link - Same style as featured badge but different color */
.video-play-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.video-play-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.video-play-link i {
    font-size: 1rem;
}

.featured-badge {
    background: var(--secondary);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.featured-badge i {
    font-size: 0.75rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 4rem 0;
    background: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: var(--dark);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content h2 .highlight {
    color: var(--primary-light);
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    gap: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN - ULTRA RESPONSIVE
   ============================================ */
/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 1.5rem;
    }
    
    .stats-grid {
        gap: 1.5rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card-inner {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9375rem;
        min-height: auto;
        margin-bottom: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .video-play-link {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 3rem 0 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-divider {
        width: 60px;
        margin: 1rem auto;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.9375rem;
    }
    
    .testimonial-card-inner {
        padding: 1.25rem;
    }
    
    .quote-icon {
        font-size: 1.75rem;
        top: 1rem;
        right: 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-details {
        text-align: center;
    }
    
    .testimonial-footer {
        align-items: stretch;
    }
    
    .rating {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .testimonial-text {
        font-size: 0.875rem;
    }
    
    .author-details h4 {
        font-size: 1rem;
    }
    
    .author-details .program,
    .author-details .position {
        font-size: 0.75rem;
    }
    
    .video-play-link {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card,
.stat-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }