/*═══════════════════════════════════════════════════════════════════════
  EXAM PAGES DESIGN SYSTEM
  IELTS | GRE | TOEFL | PTE | SAT Preparation Pages
═══════════════════════════════════════════════════════════════════════*/

/* ─── HERO SECTION ──────────────────────────────────── */
.exam-hero {
    position: relative;
    padding: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbff 0%, #eef3ff 100%);
}

.exam-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: currentColor;
    opacity: 0.08;
    border-radius: 50%;
    z-index: 1;
}

.exam-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.exam-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exam-hero-logo-box {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.exam-hero-logo-box.ielts {
    background: linear-gradient(135deg, #00A651 0%, #003DA5 50%, #E63946 75%, #FFD60A 100%);
}

.exam-hero-logo-box.gre {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.exam-hero-logo-box.toefl {
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
}

.exam-hero-logo-box.pte {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.exam-hero-logo-box.sat {
    background: linear-gradient(135deg, #1E3A8A 0%, #D97706 50%, #1E3A8A 100%);
}

.exam-hero-logo-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.exam-hero-left h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.exam-hero-left > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.exam-hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.exam-hero-ctas .cta-button {
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

.exam-hero-ctas .secondary-btn {
    background: transparent;
    color: var(--dark-navy);
    border: 2px solid var(--dark-navy);
}

.exam-hero-ctas .secondary-btn:hover {
    background: var(--dark-navy);
    color: var(--white);
}

.exam-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-hero-right::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #FFD60A 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.exam-hero-image {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.exam-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .exam-hero-container {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .exam-hero-left h1 {
        font-size: 2rem;
    }

    .exam-hero-right::before {
        width: 300px;
        height: 300px;
    }

    .exam-hero-ctas {
        flex-direction: column;
    }
}

/* ─── ABOUT SECTION ─────────────────────────────────── */
.exam-about {
    padding: 4rem 2rem;
    background: var(--light-gray);
}

.exam-about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.exam-about-title {
    text-align: center;
    margin-bottom: 3rem;
}

.exam-about-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.exam-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.exam-about-media {
    position: relative;
}

.exam-about-media img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.exam-about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exam-about-text h3 {
    font-size: 1.5rem;
    color: var(--dark-navy);
    font-weight: 700;
}

.exam-about-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.exam-about-text ul {
    list-style: none;
    padding: 0;
}

.exam-about-text li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.exam-about-text li::before {
    content: '✓';
    color: var(--primary-blue);
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .exam-about-content {
        grid-template-columns: 1fr;
    }

    .exam-about-title h2 {
        font-size: 1.8rem;
    }
}

/* ─── FEATURES/BENEFITS SECTION ─────────────────────── */
.exam-benefits {
    padding: 4rem 2rem;
    background: var(--dark-navy);
    color: var(--white);
}

.exam-benefits-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.exam-benefits-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.exam-benefits-title span {
    background: linear-gradient(90deg, #FFD60A, #FF9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exam-benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.exam-benefit-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.exam-benefit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

.exam-benefit-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.exam-benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .exam-benefits-title h2 {
        font-size: 1.8rem;
    }

    .exam-benefit-item {
        padding: 1.2rem;
    }
}

/* ─── COURSE INFO SECTION ───────────────────────────── */
.exam-course-info {
    padding: 4rem 2rem;
    background: var(--white);
}

.exam-course-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.exam-course-info-title {
    text-align: center;
    margin-bottom: 3rem;
}

.exam-course-info-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-navy);
}

.exam-course-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.course-info-card {
    background: var(--light-gray);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(91, 127, 219, 0.15);
    text-align: center;
}

.course-info-card h4 {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-info-card p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.exam-course-apply {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .exam-course-info {
        padding: 3rem 1.5rem;
    }

    .exam-course-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .exam-course-info-title h2 {
        font-size: 1.8rem;
    }

    .course-info-card {
        padding: 1.5rem;
    }

    .course-info-card h4 {
        font-size: 0.9rem;
    }

    .course-info-card p {
        font-size: 1.2rem;
    }
}

@media (max-width: 640px) {
    .exam-course-info {
        padding: 2rem 1rem;
    }

    .exam-course-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .exam-course-info-title h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .course-info-card {
        padding: 1.2rem;
        border-radius: 8px;
    }

    .course-info-card h4 {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

    .course-info-card p {
        font-size: 1rem;
    }

    .exam-course-apply {
        padding: 0 0.5rem;
    }

    .exam-course-apply .cta-button {
        width: 100%;
        padding: 0.9rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .exam-course-info {
        padding: 1.5rem 0.75rem;
    }

    .exam-course-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .exam-course-info-title {
        margin-bottom: 1.5rem;
    }

    .exam-course-info-title h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .course-info-card {
        padding: 1rem;
        border-radius: 6px;
    }

    .course-info-card h4 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .course-info-card p {
        font-size: 0.95rem;
    }

    .exam-course-apply {
        padding: 0;
    }

    .exam-course-apply .cta-button {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* ─── CTA SECTION ───────────────────────────────────── */
.exam-cta-section {
    padding: 3rem 2rem;
    background: var(--dark-navy);
    color: var(--white);
    text-align: center;
    border-radius: 16px;
    margin: 3rem 2rem;
}

.exam-cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.exam-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.exam-cta-section .cta-button {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 700;
}

@media (max-width: 768px) {
    .exam-cta-section {
        margin: 2rem 1rem;
    }

    .exam-cta-section h2 {
        font-size: 1.5rem;
    }
}

/* ─── RESPONSIVE UTILITIES ──────────────────────────── */
.hidden-mobile {
    display: block;
}

@media (max-width: 640px) {
    .hidden-mobile {
        display: none;
    }
}
