/**
 * ExamBlaze Homepage Styles
 * Main landing page sections
 * 
 * @package ExamBlaze
 * @version 1.0
 */

/* ========================================
   GENERAL SECTION STYLES
   ======================================== */

section {
    padding: var(--space-5xl) 0;
}

section .container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    margin-bottom: var(--space-4xl);
}

.section-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--primary-blue);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

/* Light section backgrounds */
.cert-logos-section,
.reviews-section,
.faq-section {
    background: var(--bg-light);
}

/* ========================================
   CERTIFICATION LOGOS SLIDER
   ======================================== */

.cert-logos-section {
    padding: var(--space-3xl) 0;
}

.cert-logos-slider {
    overflow: hidden;
    position: relative;
    margin-top: var(--space-2xl);
}

.cert-logos-track {
    display: flex;
    gap: var(--space-4xl);
    animation: scrollLogos 30s linear infinite;
}

.cert-logo {
    flex-shrink: 0;
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-muted);
    padding: var(--space-lg) var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-all);
    filter: grayscale(100%);
}

.cert-logo:hover {
    filter: grayscale(0%);
    color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-logos-slider:hover .cert-logos-track {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
}

/* ========================================
   SUCCESS STORIES
   ======================================== */

.success-stories-section {
    background: var(--bg-white);
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
}

.success-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-all);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.success-image {
    height: 250px;
    background: var(--gradient-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
}

.success-image.aws {
    background: var(--gradient-orange);
}

.success-image.wgu {
    background: var(--gradient-blue);
}

.score-badge,
.cert-badge {
    background: var(--bg-white);
    color: var(--primary-blue);
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.pass-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--color-success);
    color: var(--text-white);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-content {
    padding: var(--space-xl);
}

.success-exam {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.success-date {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.success-quote {
    font-size: var(--text-base);
    color: var(--text-dark);
    font-style: italic;
    line-height: var(--leading-relaxed);
}

/* ========================================
   LIMITED OFFER SECTION
   ======================================== */

.limited-offer-section {
    background: rgba(245, 158, 11, 0.1);
    border-top: 3px solid var(--accent-orange);
    border-bottom: 3px solid var(--accent-orange);
}

.offer-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.offer-flame {
    font-size: 60px;
    margin-bottom: var(--space-lg);
    animation: flameFlicker 1.5s infinite;
}

@keyframes flameFlicker {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.offer-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--accent-orange);
    margin-bottom: var(--space-md);
}

.offer-subtitle {
    font-size: var(--text-xl);
    color: var(--text-dark);
    margin-bottom: var(--space-2xl);
}

.offer-code {
    margin-top: var(--space-xl);
    font-size: var(--text-lg);
    color: var(--text-muted);
}

.offer-code strong {
    color: var(--accent-orange);
    font-weight: var(--font-bold);
    font-size: var(--text-2xl);
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */



.final-cta-section {
    background: var(--gradient-blue);
    color: var(--text-white);
}

.cta-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: var(--text-2xl);
    color: var(--text-white);
    margin-bottom: var(--space-3xl);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 40px;
    color: var(--light-orange);
    margin-bottom: var(--space-md);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--text-white);
    display: block;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: var(--text-base);
    color: var(--text-white);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.cta-trust-line {
    font-size: var(--text-lg);
    color: var(--text-white);
    margin: 0;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
    section {
        padding: var(--space-4xl) 0;
    }

    .section-title {
        font-size: var(--text-4xl);
    }

    .section-subtitle {
        font-size: var(--text-lg);
    }

    .services-grid,
    .success-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    section {
        padding: var(--space-3xl) 0;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .section-subtitle {
        font-size: var(--text-base);
    }

    .services-grid,
    .success-grid {
        grid-template-columns: 1fr;
    }

    .cert-logos-track {
        gap: var(--space-2xl);
    }

    .cert-logo {
        font-size: var(--text-lg);
        padding: var(--space-md) var(--space-lg);
    }

    .offer-title {
        font-size: var(--text-2xl);
    }

    .offer-subtitle {
        font-size: var(--text-base);
    }

    .cta-title {
        font-size: var(--text-3xl);
    }

    .cta-subtitle {
        font-size: var(--text-lg);
    }

    .cta-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}