/* English Lessons Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(30, 61, 111, 0.05) 100%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c5aa0;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Hero Image Section */
.hero-image-section {
    padding: 40px 0;
    background-color: #fff;
}

.hero-image-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Class Info Panel */
.class-info-panel {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #28a745;
    margin-bottom: 4rem;
    transition: box-shadow 0.3s ease;
}

.class-info-panel:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
}

.panel-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-icon i {
    font-size: 2rem;
    color: white;
}

.panel-body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.panel-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.detail-item i {
    color: #28a745;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.detail-item span {
    color: #555;
    line-height: 1.6;
}

.panel-contact {
    border-left: 1px solid #e9ecef;
    padding-left: 2rem;
    min-width: 220px;
}

.panel-contact h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.contact-item i {
    color: #28a745;
    font-size: 1rem;
    min-width: 16px;
}

.contact-item span {
    color: #555;
    font-weight: 500;
}

/* Teaching Approach */
.teaching-approach {
    margin-bottom: 4rem;
}

.teaching-approach h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.approach-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.approach-item i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.approach-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.approach-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.cta-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .class-info-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .panel-icon {
        margin: 0 auto;
    }

    .panel-body {
        grid-template-columns: 1fr;
    }

    .panel-contact {
        border-left: none;
        border-top: 1px solid #e9ecef;
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .approach-item {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 2rem;
    }

    .intro-text h2,
    .teaching-approach h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .class-info-panel {
        padding: 1.5rem;
    }

    .panel-icon {
        width: 64px;
        height: 64px;
    }

    .panel-icon i {
        font-size: 1.6rem;
    }

    .approach-item i {
        font-size: 2.5rem;
    }

    .cta-section {
        padding: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }
}