/* About Page Tabs & List Layout */

/* 1. Tabs Container (Horizontal Tabs) */
.about-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Increased gap */
    margin-bottom: 40px;
    flex-wrap: wrap;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    /* Subtle base line */
    padding-bottom: 0;
    /* Attach to bottom line if we want folder look, or keep spacing */
}

.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 4px solid transparent;
    /* Even Thicker border */
    padding: 20px 60px;
    /* Much Larger padding */
    border-radius: 12px 12px 0 0;
    /* Round top corners for folder tab look */
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    position: relative;
    top: 2px;
    /* Overlap the bottom border */
}

.tab-btn i {
    font-size: 1.8rem;
    /* Even Larger icon */
    transition: var(--transition);
}

.tab-btn span {
    font-size: 1.5rem;
    /* Even Larger text */
    font-weight: 600;
}

/* Active & Hover States */
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.tab-btn.active {
    background: rgba(56, 189, 248, 0.05);
    /* Slight fill */
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active i,
.tab-btn.active span {
    color: var(--primary);
    font-weight: 700;
}

/* Alternative: Pill Shape (Optional - if user prefers pill instead of underline, uncomment below and comment above) */
/* 
.tab-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 30px;
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.tab-btn.active span, .tab-btn.active i {
    color: #fff; 
}
*/

/* 2. Content List Area (Clean List) */
.tab-content {
    display: none;
    transform-origin: top center;
}

.tab-content.active {
    display: block;
    animation: folderOpen 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* "File Open" Simulation Animation */
@keyframes folderOpen {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(-15deg) translateY(-20px) scale(0.98);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0) translateY(0) scale(1);
        filter: blur(0);
    }
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 25px 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.list-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.02);
}

/* List Item Columns */
.item-date {
    flex: 0 0 120px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    border-right: 1px solid var(--glass-border);
    margin-right: 25px;
    padding-right: 25px;
    text-align: right;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.item-details h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 8px;
}

.item-details p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.item-icon {
    flex: 0 0 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-left: 20px;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .about-tabs {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tab-btn {
        flex-direction: row;
        padding: 15px;
    }

    .tab-btn i {
        font-size: 1.2rem;
    }

    .list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .item-date {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        width: 100%;
        text-align: left;
        padding-bottom: 10px;
        margin-bottom: 5px;
        margin-right: 0;
        padding-right: 0;
    }

    .item-icon {
        display: none;
        /* Hide icon on mobile for space */
    }
}