.fac-hero {
    background: linear-gradient(135deg, #003366, #006bb6);
    color: white;
    padding: 90px 0;
}

.fac-hero h1 {
    font-size: 44px;
    max-width: 850px;
    margin: 15px 0;
    line-height: 1.2;
}

.fac-hero p {
    max-width: 760px;
    font-size: 19px;
    opacity: 0.95;
}

.fac-section {
    padding: 70px 0;
    background: #f5f7fb;
}

.fac-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    border: none;
    background: white;
    color: #003366;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
    transition: 0.25s;
}

.tab-btn:hover,
.tab-btn.active {
    background: #0077c8;
    color: white;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 34px;
}

.faculty-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.10);
    transition: 0.25s;
}

.faculty-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 60px rgba(16, 24, 40, 0.16);
}

.faculty-top {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-top.blue {
    background: linear-gradient(135deg, #003366, #0077c8);
}

.faculty-top.green {
    background: linear-gradient(135deg, #006b4f, #20b486);
}

.faculty-top img {
    width: 145px;
    height: 145px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.faculty-body {
    padding: 32px;
}

.faculty-body h2 {
    color: #003366;
    font-size: 25px;
    margin: 0 0 20px;
    min-height: 62px;
}

.dean-box {
    background: #eef4fb;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 28px;
}

.dean-box strong {
    display: block;
    color: #1d2939;
    font-size: 16px;
}

.dean-box span {
    display: inline-block;
    margin-top: 7px;
    color: #0077c8;
    font-weight: 700;
    font-size: 14px;
}

.faculty-body h3 {
    color: #003366;
    margin-bottom: 18px;
}

.program-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.program-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    min-height: 95px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}

.program-item:hover {
    background: #eef4fb;
    border-color: #0077c8;
}

.program-icon {
    font-size: 27px;
}

.program-item span {
    font-size: 14px;
    font-weight: 700;
    color: #344054;
}

.faculty-btn {
    display: inline-block;
    margin-top: 28px;
    background: #0077c8;
    color: white;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
}

.faculty-btn:hover {
    background: #005fa3;
}

@media (max-width: 900px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .fac-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 520px) {
    .program-list {
        grid-template-columns: 1fr;
    }

    .faculty-body {
        padding: 24px;
    }

    .faculty-top {
        height: 190px;
    }
}