/* Experience Section */
.experience {
    background: var(--primary-bg);
    position: relative;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 102, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 102, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Tabs Container */
.tabs-container {
    position: relative;
    z-index: 2;
}

/* Tab Buttons */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.tab-button {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 102, 0, 0.1);
    opacity: 0;
    transition: opacity var(--transition-normal);
    clip-path: inherit;
}

.tab-button:hover {
    color: var(--accent-orange);
    border-color: rgba(255, 102, 0, 0.3);
}

.tab-button:hover::before {
    opacity: 1;
}

.tab-button.active {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
    background: rgba(255, 102, 0, 0.1);
}

/* Tab Indicator */
.tab-indicator {
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: all var(--transition-normal);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
    opacity: 0;
}

.tab-indicator.active {
    opacity: 1;
}

/* Tab Content */
.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    background: rgba(34, 34, 34, 0.3);
    border: 1px solid rgba(255, 102, 0, 0.1);
    border-radius: 0;
    padding: var(--spacing-2xl);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.tab-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Tab Icons */
.tab-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-icon::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 24px;
    border: 2px solid var(--accent-orange);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.education-icon::after {
    content: '';
    position: absolute;
    bottom: 8px;
    width: 24px;
    height: 2px;
    background: var(--accent-orange);
    box-shadow: 0 4px 0 var(--accent-orange), 0 8px 0 var(--accent-orange);
}

.campus-icon::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
}

.campus-icon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-orange);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.work-icon::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 24px;
    border: 2px solid var(--accent-orange);
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%);
}

.work-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 16px;
    height: 2px;
    background: var(--accent-orange);
    box-shadow: 0 4px 0 var(--accent-orange), 0 8px 0 var(--accent-orange);
}

/* Tab Content Typography */
.tab-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.tab-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    font-weight: 500;
}

.tab-section {
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--accent-orange);
    transform: translateY(-50%);
}

/* Content Lists */
.content-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.content-list li {
    position: relative;
    padding-left: var(--spacing-lg);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    line-height: 1.6;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: translateY(-50%);
}

.content-list li:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
    transition: all var(--transition-normal);
}

/* Highlight Text in Lists */
.content-list .highlight {
    color: var(--accent-orange);
    font-weight: 700;
    background: rgba(255, 102, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .tab-button {
        width: 200px;
        text-align: center;
    }
    
    .tab-panel {
        padding: var(--spacing-xl);
        clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    }
    
    .tab-title {
        font-size: var(--font-size-xl);
    }
    
    .tab-subtitle {
        font-size: var(--font-size-base);
    }
    
    .section-subtitle {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .tab-button {
        width: 180px;
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
    
    .tab-panel {
        padding: var(--spacing-lg);
    }
    
    .content-list li {
        padding-left: var(--spacing-md);
        font-size: var(--font-size-sm);
    }
}

/* Animation Enhancements */
@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tab-panel.active .tab-icon {
    animation: slideInFromLeft 0.5s ease 0.1s both;
}

.tab-panel.active .tab-title {
    animation: slideInFromRight 0.5s ease 0.2s both;
}

.tab-panel.active .tab-subtitle {
    animation: slideInFromLeft 0.5s ease 0.3s both;
}

.tab-panel.active .tab-section:nth-child(4) {
    animation: slideInFromRight 0.5s ease 0.4s both;
}

.tab-panel.active .tab-section:nth-child(5) {
    animation: slideInFromLeft 0.5s ease 0.5s both;
}

/* Enhanced Hover Effects */
.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.2);
}

.tab-icon:hover {
    transform: scale(1.1) rotate(5deg);
    transition: transform var(--transition-normal);
}

/* Loading States */
.tab-panel:not(.active) {
    pointer-events: none;
}

.tab-content.loading .tab-panel {
    opacity: 0.5;
}

/* Geometric Decorations */
.tabs-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 50px;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 102, 0, 0.1);
    clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 30% 100%, 0 70%);
    transform: rotate(45deg);
    z-index: -1;
}

.tabs-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 102, 0, 0.1);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(-30deg);
    z-index: -1;
} 