.learn-container {
   max-width: 1200px;  /* Set maximum width */
    width: 100%;  /* Take full width */
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;  /* Include padding in width calculation */
}

/* Tab Navigation */
.learn-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eaeaea;
}

.learn-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.learn-tab:hover {
    color: #ff8c00;
}

.learn-tab.active {
    color: #ff8c00;
    border-bottom-color: #ff8c00;
}

/* Section Visibility */
.learn-section {
    display: none;
}

.learn-section.active {
    display: block;
}

/* Articles styles */
.articles-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.article-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.article-item:hover {
    border-color: #ff8c00;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.1);
    transform: translateY(-2px);
}

.article-icon {
    font-size: 3rem;
    color: #ff8c00;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.article-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.article-text {
    flex: 1;
}

.article-text h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.article-text p {
    margin: 0 0 0.75rem 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.article-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.topic-tag {
    background: #f0f0f0;
    color: #555;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .learn-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .learn-tab {
        border-bottom: 1px solid #eaeaea;
        border-left: 3px solid transparent;
    }
    
    .learn-tab.active {
        border-left-color: #00bf63;
        border-bottom-color: #eaeaea;
    }
    
    .article-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .article-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
    
    .article-text h2 {
        font-size: 1.25rem;
    }
    
    .article-text p {
        font-size: 0.9rem;
    }
    
    .article-topics {
        justify-content: center;
    }
}