/* Learning Levels Revamped - CrowdLite Theme */

.learning-levels {
    padding: 100px 0;
    background: var(--bg-color);
}

.level-row {
    margin-bottom: 60px;
    align-items: center;
}

.level-row:last-child {
    margin-bottom: 0;
}

/* Level Content Card */
.level-content {
    background: var(--white-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(14, 14, 14, 0.1);
    border: 1px solid var(--divider-color);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.level-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color) 0%, var(--accent-secondary-color) 100%);
}

.level-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 14, 14, 0.15);
}

.level-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
}

.level-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.level-content p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

.level-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.level-content ul li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--divider-color);
    transition: all 0.3s ease-in-out;
}

.level-content ul li:last-child {
    border-bottom: none;
}

.level-content ul li:hover {
    padding-left: 10px;
    background: rgba(var(--accent-color), 0.05);
    border-radius: 8px;
    margin: 0 -10px;
    padding-right: 10px;
}

.level-content ul li i.fa-arrow-right {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    width: 20px;
    text-align: center;
}

.level-content ul li:hover i.fa-arrow-right {
    transform: translateX(5px);
}

/* Level Images */
.level-images {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(10%-10px);

}

.level-images img {

    width: calc(85%);
    max-height: 650px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(14, 14, 14, 0.1);
    transition: all 0.3s ease-in-out;
}

.level-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(14, 14, 14, 0.2);
}

/* Level Badges */
.level-content h3::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .level-content {
        padding: 30px;
    }
    
    .level-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .learning-levels {
        padding: 50px 0;
    }
    
    .level-row {
        margin-bottom: 40px;
    }
    
    .level-content {
        margin-bottom: 30px;
    }
    
    .level-images {
        display: none;
    }
}

@media (max-width: 767px) {
    .level-content {
        padding: 25px;
    }
    
    .level-content h3 {
        font-size: 22px;
    }
    
    .level-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .level-content ul li {
        padding: 10px 0;
    }
    
    .level-content ul li i.fa-arrow-right {
        margin-right: 12px;
        font-size: 12px;
    }
    
    .level-images {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .level-content {
        padding: 20px;
    }
    
    .level-content h3 {
        font-size: 20px;
    }
    
    .level-content ul li {
        padding: 8px 0;
        font-size: 14px;
    }
}