/* ===============================
   STAFF PROFILE WRAPPER
================================ */
.staff-profile {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* ===============================
   PROFILE HEADER
================================ */
.staff-header {
    display: flex;
    gap: 30px;
    background: #e8edfa;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(10, 42, 112, 0.15);
    align-items: center;
    flex-wrap: wrap;
}

/* Photo */
.staff-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #0a2a70;
}

/* Info */
.staff-info {
    flex: 1;
    min-width: 250px;
}

.staff-name {
    font-size: 32px;
    font-weight: 700;
    color: #0a2a70;
    margin-bottom: 8px;
}

.staff-designation {
    font-size: 18px;
    font-weight: 500;
    color: #005caa;
    margin-bottom: 8px;
}

.staff-email a {
    color: #0a2a70;
    text-decoration: none;
    font-weight: 500;
}

.staff-email a:hover {
    text-decoration: underline;
}

/* External links */
.staff-links {
    margin-top: 10px;
}

.staff-links a {
    display: inline-block;
    margin-right: 12px;
    padding: 6px 12px;
    background: #0a2a70;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.staff-links a:hover {
    background: #005caa;
}

/* ===============================
   TABS SECTION
================================ */
.staff-content {
    margin-top: 40px;
}

/* Tab navigation */
.tab-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 3px solid #e0e5f5;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.tab-nav li {
    padding: 10px 18px;
    background: #e8edfa;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    color: #0a2a70;
    transition: all 0.3s ease;
}

.tab-nav li:hover {
    background: #dbe2f7;
}

.tab-nav li.active {
    background: #0a2a70;
    color: #fff;
}

/* ===============================
   TAB CONTENT
================================ */
.tab-content {
    display: none;
    background: #f8faff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(10, 42, 112, 0.12);
}

.tab-content.active {
    display: block;
}

/* Bullet list styling */
.tab-content ul {
    padding-left: 20px;
}

.tab-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
}

/* ===============================
   RESPONSIVE
================================ */
/* ===============================
   MOBILE TAB SUPPORT
================================ */
@media (max-width: 768px) {

    /* Make tabs scroll horizontally */
    .tab-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 8px;
        scrollbar-width: none; /* Firefox */
    }

    /* Hide scrollbar (Chrome, Safari) */
    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    /* Bigger tap targets */
    .tab-nav li {
        flex: 0 0 auto;
        padding: 12px 18px;
        font-size: 14px;
        white-space: nowrap;
        border-radius: 24px;
    }

    /* Active tab more visible */
    .tab-nav li.active {
        background: #0a2a70;
        color: #fff;
        box-shadow: 0 4px 10px rgba(10, 42, 112, 0.3);
    }

    /* Content spacing */
    .tab-content {
        padding: 20px;
        font-size: 14px;
    }
}
