/* ===============================
   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: #fdf5f5; /* Very pale Maroon tint */
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.1);
    align-items: center;
    flex-wrap: wrap;
    border-left: 5px solid #800000; /* Maroon accent bar */
}

/* Photo */
.staff-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #800000; /* Maroon Border */
}

/* Info */
.staff-info {
    flex: 1;
    min-width: 250px;
}

.staff-name {
    font-size: 32px;
    font-weight: 700;
    color: #800000; /* Maroon */
    margin-bottom: 8px;
}

.staff-designation {
    font-size: 18px;
    font-weight: 600;
    color: #D4AF37; /* Soft Gold */
    margin-bottom: 8px;
}

.staff-email a {
    color: #800000;
    text-decoration: none;
    font-weight: 500;
}

.staff-email a:hover {
    color: #D4AF37;
    text-decoration: underline;
}

/* External links (Buttons) */
.staff-links {
    margin-top: 10px;
}

.staff-links a {
    display: inline-block;
    margin-right: 12px;
    padding: 6px 16px;
    background: #800000; /* Maroon */
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.staff-links a:hover {
    background: #ffffff;
    color: #800000;
    border: 1px solid #800000;
}

/* ===============================
   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 #f2e6e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.tab-nav li {
    padding: 10px 18px;
    background: #f2e6e6; /* Soft Maroon tint */
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #800000;
    transition: all 0.3s ease;
}

.tab-nav li:hover {
    background: #e6cccc;
}

.tab-nav li.active {
    background: #D4AF37; /* Soft Gold for Active Tab */
    color: #800000;      /* Maroon text on Gold */
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* ===============================
   TAB CONTENT
================================ */
.tab-content {
    display: none;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.08);
    border: 1px solid #f2e6e6;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: #800000;
    border-bottom: 2px solid #D4AF37;
    display: inline-block;
    margin-bottom: 15px;
}

/* Bullet list styling */
.tab-content ul li::marker {
    color: #D4AF37; /* Gold bullets */
}

.tab-content ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 15px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .tab-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 8px;
    }

    .tab-nav li.active {
        background: #D4AF37;
        color: #800000;
    }

    .staff-header {
        text-align: center;
        justify-content: center;
    }
}
