/* =========================================
   STUDENT INFO STYLES
   ========================================= */

/* --- 1. Hero Section --- */
.hero-centered {
    background-color: var(--deep-blue);
    color: var(--white);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    padding-top: 100px;
    padding-bottom: 60px;   
    text-align: center;
}

.hero-centered h1 {
    color: var(--white);
    font-family: var(--font-serif);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(62, 92, 154, 0.15) 0%, rgba(42, 64, 104, 0) 70%);
    z-index: 1;
    pointer-events: none;
}
.hero-content-wrapper-center { z-index: 2; position: relative; }

/* --- 2. Layout --- */
.info-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: -50px auto 80px;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

/* --- 3. Sidebar Navigation --- */
.info-sidebar {
    flex: 0 0 260px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.nav-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-left: 4px solid transparent;
    padding: 12px 20px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-grey);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.nav-btn:hover {
    background-color: #f8f9fa;
    color: var(--primary-blue);
}

.nav-btn.active {
    background-color: rgba(62, 92, 154, 0.08);
    color: var(--deep-blue);
    border-left-color: var(--deep-blue);
}

/* --- 4. Content Area --- */
.info-content-wrapper {
    flex: 1;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 30px 20px;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h2.section-title {
    font-family: var(--font-serif);
    color: var(--deep-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

h3.sub-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #555;
}

li { margin-bottom: 8px; }

/* --- 5. Data Tables (For Grades/Leave) --- */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.info-table th, .info-table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    text-align: left;
}

.info-table th {
    background-color: var(--deep-blue);
    color: white;
    font-weight: 600;
}

.info-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-centered { padding-top: 100px; min-height: 220px; }
    .hero-centered h1 { font-size: 2rem; }

    .info-container {
        flex-direction: column;
        margin-top: 20px;
        gap: 20px;
    }
    
    /* Horizontal Chips for Mobile */
    .info-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        display: flex;
        overflow-x: auto;
        padding: 10px 5px;
        white-space: nowrap;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .info-sidebar::-webkit-scrollbar { display: none; }

    .nav-btn {
        flex: 0 0 auto;
        width: auto;
        border: 1px solid #e0e0e0;
        border-radius: 50px;
        padding: 8px 18px;
        background: #fff;
        margin: 0;
        font-size: 0.85rem;
    }
    
    .nav-btn.active {
        background-color: var(--deep-blue);
        color: #fff;
        border-color: var(--deep-blue);
    }
    
    .info-content-wrapper { padding: 20px; }
    
    .info-table { font-size: 0.85rem; }
    .info-table th, .info-table td { padding: 8px; }
}
.team-sub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 24px; 
}

.sub-tab-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.sub-tab-btn.active, .sub-tab-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(62, 92, 154, 0.2);
}

.sub-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.sub-tab-content.active { 
    display: block; 
}
@media (max-width: 992px) {
    .team-sub-tabs {
        justify-content: flex-start;
        gap: 10px;
    }
    .sub-tab-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}