/* ================== PYQ PAGE COMPLETE STYLES ================== */

/* ================== SECTION HEADER STYLES ================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ================== FEATURES SECTION ================== */
#features {
    padding: 4rem 0;
    background: var(--bg-white);
}

#features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

#features .feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 22px rgba(2,6,23,.06);
    border: 1px solid var(--border-color);
    transition: transform .22s ease, box-shadow .22s ease;
}

#features .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(2,6,23,.08);
}

#features .feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

#features .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

#features .feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ================== HERO SECTION IMPROVEMENTS ================== */
.hero {
    background: linear-gradient(135deg, rgba(79,70,229,0.1) 0%, rgba(67,56,202,0.05) 100%);
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.hero .hero-actions .btn {
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79,70,229,0.15);
    transition: all 0.22s ease;
}

.hero .hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.25);
}

.hero .stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero .stat-item {
    text-align: center;
    padding: 0 1rem;
    min-width: 140px;
}

.hero .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.hero .stat-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* ================== TESTIMONIALS/FEATURED CARDS ================== */
.testimonial-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 28px rgba(2,6,23,.04);
    border: 1px solid var(--border-color);
    transition: transform .22s ease, box-shadow .22s ease;
    text-align: center;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(2,6,23,.08);
}

.testimonial-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.testimonial-card .featured-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.testimonial-card .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    justify-content: center;
}

.testimonial-card .btn {
    margin-top: 1rem;
}

/* ================== CTA SECTION ================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.22s ease;
    border: none;
}

.cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ================== FORM TEXT STYLES ================== */
.form-text {
    font-size: 0.8rem;
    display: block;
    margin-top: 0.35rem;
    color: var(--text-light);
}

/* ================== RESPONSIVE IMPROVEMENTS ================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .stats-bar {
        gap: 1rem;
        flex-direction: column;
    }

    .hero .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pyq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pyq-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .pyq-year {
        align-self: flex-start;
    }

    .pyq-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pyq-actions {
        flex-direction: column;
        width: 100%;
    }

    .pyq-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    #features .features-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero .stat-item {
        min-width: auto;
        padding: 0;
    }

    .hero .stat-item h3 {
        font-size: 1.8rem;
    }

    .hero .stat-item p {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .featured-grid,
    .testimonials-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .pyq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-section {
        padding: 2.5rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }
}

/* ================== UTILITY PADDING ================== */
section {
    padding: 3rem 0;
}

section.hero {
    padding: 5rem 0;
}

section.cta-section {
    padding: 4rem 1rem;
}

/* ================== CONTAINER ADJUSTMENTS ================== */
.container {
    width: 100%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
}
