/* ===== Volunteer Experience Section ===== */
.community-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

/* Volunteer Timeline */
.volunteer-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

.volunteer-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 20px;
    opacity: 0.3;
}

.volunteer-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 60px;
}

.volunteer-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    left: 13px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.volunteer-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.volunteer-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.3);
}

.volunteer-header {
    margin-bottom: 1rem;
}

.volunteer-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.volunteer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.volunteer-org {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.volunteer-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.volunteer-category {
    font-size: 0.85rem;
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
}

.volunteer-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.volunteer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-item:hover {
    transform: translateY(-2px);
    text-decoration: underline;
}

.link-item i {
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .community-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .volunteer-item {
        padding-left: 40px;
    }
    
    .volunteer-timeline::before {
        left: 15px;
    }
    
    .volunteer-dot {
        width: 12px;
        height: 12px;
        left: 10px;
    }
    
    .volunteer-content {
        padding: 1.25rem;
    }
    
    .volunteer-header h3 {
        font-size: 1.1rem;
    }
    
    .volunteer-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}