/* Learn Pages Styles */

/* Hero Section for Learn Page */
.learn-page .hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.learn-page .hero__title {
    text-align: center;
    margin: 0 auto;
}

/* Learning Categories Section */
.learning-categories {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category__card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category__card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.learn-page .category__icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.learn-page .category__icon i {
    font-size: 24px;
}

/* Colorful icons for each category */
.learn-page .category__card:nth-child(1) .category__icon {
    background: #e8f5e8;
}

.learn-page .category__card:nth-child(1) .category__icon i {
    color: #4caf50;
}

.learn-page .category__card:nth-child(2) .category__icon {
    background: #fff3e0;
}

.learn-page .category__card:nth-child(2) .category__icon i {
    color: #ff9800;
}

.learn-page .category__card:nth-child(3) .category__icon {
    background: #e3f2fd;
}

.learn-page .category__card:nth-child(3) .category__icon i {
    color: #2196f3;
}

.learn-page .category__card:nth-child(4) .category__icon {
    background: #fce4ec;
}

.learn-page .category__card:nth-child(4) .category__icon i {
    color: #e91e63;
}

.learn-page .category__card:nth-child(5) .category__icon {
    background: #f3e5f5;
}

.learn-page .category__card:nth-child(5) .category__icon i {
    color: #9c27b0;
}

.learn-page .category__card:nth-child(6) .category__icon {
    background: #e0f2f1;
}

.learn-page .category__card:nth-child(6) .category__icon i {
    color: #009688;
}

.category__card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.category__card p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.category__topics {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.category__topics li {
    padding: 8px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.category__topics li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.category__count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Guides Section */
.featured-guides {
    padding: 80px 0;
    background: white;
}

.guides__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.guide__card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.guide__card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.guide__card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 195, 0, 0.02), rgba(37, 99, 235, 0.02));
}

.guide__badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.guide__card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.guide__card p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.guide__meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.guide__level,
.guide__time {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.guide__level {
    background: var(--success-color);
    color: white;
}

.guide__time {
    background: var(--gray-100);
    color: var(--text-dark);
}

.guide__link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.guide__link:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.guide__link.disabled {
    background: var(--border-color);
    color: var(--text-dark);
    cursor: not-allowed;
}

.guide__card.coming-soon {
    opacity: 0.7;
}

/* Learning Path Section */
.learning-path {
    padding: 80px 0;
    background: var(--gray-100);
}

.path__timeline {
    margin-top: 50px;
    position: relative;
}

.path__timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    z-index: 1;
}

.path__step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.path__step:last-child {
    margin-bottom: 0;
}

.step__number {
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    margin-right: 30px;
    flex-shrink: 0;
}

.path__step.completed .step__number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step__content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.step__content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step__content p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step__guides {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step__guides a,
.step__guides .coming-soon {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.step__guides a {
    background: var(--primary-color);
    color: white;
}

.step__guides a:hover {
    background: var(--primary-dark);
}

.step__guides .coming-soon {
    background: var(--gray-100);
    color: var(--text-dark);
    cursor: not-allowed;
}

/* Learning Benefits Section */
.learning-benefits {
    padding: 80px 0;
    background: white;
}

.learning-benefits .benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.learning-benefits .benefit__card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    background: white;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.learning-benefits .benefit__card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.learn-page .learning-benefits .benefit__icon {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.learn-page .learning-benefits .benefit__icon i {
    font-size: 28px;
}

/* Colorful icons for benefit cards */
.learn-page .learning-benefits .benefit__card:nth-child(1) .benefit__icon {
    background: #e8f5e8;
}

.learn-page .learning-benefits .benefit__card:nth-child(1) .benefit__icon i {
    color: #4caf50;
}

.learn-page .learning-benefits .benefit__card:nth-child(2) .benefit__icon {
    background: #fff3e0;
}

.learn-page .learning-benefits .benefit__card:nth-child(2) .benefit__icon i {
    color: #ff9800;
}

.learn-page .learning-benefits .benefit__card:nth-child(3) .benefit__icon {
    background: #e3f2fd;
}

.learn-page .learning-benefits .benefit__card:nth-child(3) .benefit__icon i {
    color: #2196f3;
}

.learn-page .learning-benefits .benefit__card:nth-child(4) .benefit__icon {
    background: #fce4ec;
}

.learn-page .learning-benefits .benefit__card:nth-child(4) .benefit__icon i {
    color: #e91e63;
}

.learning-benefits .benefit__card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.learning-benefits .benefit__card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories__grid,
    .guides__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category__card,
    .guide__card {
        padding: 25px 20px;
    }
    
    .path__timeline::before {
        left: 20px;
    }
    
    .step__number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 20px;
    }
    
    .step__content {
        padding: 20px;
    }
    
    .learning-benefits .benefits__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .learning-benefits .benefit__card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .learning-categories,
    .featured-guides,
    .learning-path,
    .learning-benefits {
        padding: 60px 0;
    }
    
    .path__step {
        margin-bottom: 30px;
    }
    
    .step__guides {
        flex-direction: column;
    }
    
    .step__guides a,
    .step__guides .coming-soon {
        text-align: center;
    }
} 