/*=======================
 * COURSE PAGE STYLES
 * 1. Course Hero Section
 * 2. Curriculum Containers
 * 3. Curriculum Headers
 * 4. Level Boxes & Features
 * 5. Responsive Design
 =======================*/

/*======================
 * 1. Course Hero Section
 =======================*/
.course__area {
    height: 360px;
    background-color: #f7eaa0; 
    padding: 50px 0; 
    text-align: center; 
}

.course-row {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    text-align: center;
}

.course__title--2 {
    margin-bottom: 20px; 
}

.title__line {
    font-size: 80px; 
    color: #f8f8f6; 
    margin-bottom: 20px; 
    margin-top: 100px;
}

/*======================
 * 2. Curriculum Containers
 =======================*/
.curriculum-section {
    padding: 70px 0;
    background-color: #fff;
}

.curriculum-container {
    margin-bottom: 80px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/*======================
 * 3. Curriculum Headers
 =======================*/
.curriculum-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.curriculum-logo {
    width: 120px;
    height: 120px;
    margin-right: 30px;
    object-fit: contain;
    border-radius: 10px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.curriculum-info {
    flex: 1;
}

.curriculum-info h2 {
    margin-top: 0;
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.curriculum-info p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/*======================
 * 4. Level Boxes & Features
 =======================*/
.level-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
    margin-top: 20px;
}

.level-box {
    flex: 1;
    min-width: 280px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    padding-bottom: 30px;
}

.level-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #4285f4;
}

.level-icon {
    text-align: center;
    margin-bottom: 20px;
}

.level-icon img {
    width: 300px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px auto;
}

.level-box h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.level-box p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.level-features {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 0;
    color: #555;
}

.level-features li {
    margin-bottom: 8px;
    font-size: 14px;
}

.level-btn {
    display: inline-block;
    background-color: #4285f4;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

.level-btn:hover {
    background-color: #3367d6;
    color: white;
}

/*======================
 * 5. Responsive Design
 =======================*/
@media (max-width: 1200px) {
    .level-box {
        min-width: 250px;
    }
}

@media (max-width: 992px) {
    .level-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .level-box {
        margin-bottom: 0;
        min-width: 100%;
    }
    
    .curriculum-header {
        flex-direction: column;
        text-align: center;
    }
    
    .curriculum-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .title__line {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .curriculum-container {
        padding: 20px;
    }
    
    .curriculum-section {
        padding: 50px 0;
    }
    
    .title__line {
        font-size: 48px;
        margin-top: 80px;
    }
    
    .curriculum-info h2 {
        font-size: 24px;
    }
    
    .level-box {
        padding: 20px;
    }
    
    .level-icon img {
        width: 250px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .curriculum-container {
        padding: 15px;
        margin-bottom: 60px;
    }
    
    .curriculum-header {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .curriculum-logo {
        width: 100px;
        height: 100px;
    }
    
    .title__line {
        font-size: 36px;
        margin-top: 60px;
    }
    
    .level-box h3 {
        font-size: 18px;
    }
    
    .level-box p {
        font-size: 14px;
    }
    
    .level-features li {
        font-size: 13px;
    }
    
    .language-content p {
        font-size: 16px;
    }
}