﻿/* HERO SECTION */
.page-hero {
    background: #2f3f5f; /* exact dark blue */
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

    /* TITLE */
    .page-hero h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    /* BREADCRUMB */
    .page-hero .breadcrumb {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 16px;
    }

        /* HOME LINK */
        .page-hero .breadcrumb a {
            color: #d0d6e2;
            text-decoration: none;
        }

        /* ACTIVE TEXT */
        .page-hero .breadcrumb .active {
            color: #ff6a2f; /* orange highlight */
            font-weight: 500;
        }

        /* ARROW */
        .page-hero .breadcrumb span {
            color: #d0d6e2;
        }

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 15px 40px;
    }

        .page-hero h1 {
            font-size: 32px;
        }

        .page-hero .breadcrumb {
            font-size: 14px;
        }
}


/* =========================
   STATS SECTION
========================= */
.stats-section {
    background: #f5f3ef;
    padding: 60px 20px;
}

/* GRID */
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARD */
.stat-box {
    background: #eae6e1;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: 0.3s;
}

    /* ICON */
    .stat-box i {
        font-size: 32px;
        color: #ff6a3c;
        margin-bottom: 15px;
    }

    /* NUMBER */
    .stat-box h2 {
        font-size: 36px;
        font-weight: 800;
        color: #1f3556;
        margin-bottom: 8px;
    }

    /* TEXT */
    .stat-box p {
        font-size: 16px;
        color: #555;
        margin: 0;
    }

    /* HOVER */
    .stat-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}



/* SECTION */
.staff-section {
    padding: 80px 20px;
    background: #f5f3ef;
}

/* TABS */
.staff-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.staff-tab {
    background: #eee;
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
    color: #374560;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

    .staff-tab:focus-visible {
        outline: 3px solid #ff6a3c;
        outline-offset: 2px;
    }

    /* COUNT BADGE */
    .staff-tab span {
        background: #dcdcdc;
        padding: 3px 10px;
        border-radius: 20px;
        margin-left: 6px;
        font-size: 12px;
    }

    /* ACTIVE TAB */
    .staff-tab.active {
        background: #1f3556;
        color: #fff;
    }

        .staff-tab.active span {
            background: rgba(255,255,255,0.2);
        }

/* GRID */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
}

/* CARD */
.staff-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

/* IMAGE */
.staff-img {
    position: relative;
    overflow: hidden;
}

    /* "contain" shows each photograph whole - no head or chin is ever cut off.
       The 4:5 box matches the average portrait shape of the supplied photos, so
       the letterboxing stays small while every card keeps the same height. */
    .staff-img img {
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: contain;
        background: #eef1f6;
        display: block;
        transition: 0.4s;
    }

/* Fallback for anyone without a photograph */
.staff-img-fallback {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #e9ecf2;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .staff-img-fallback i {
        font-size: 64px;
        color: #9aa6bd;
    }

/* HOVER ZOOM */
.staff-card:hover img {
    transform: scale(1.1);
}

/* EXPERIENCE BADGE */
.exp-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #ff6a3c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    line-height: 1.2;
}

/* CONTENT
   Sized for the six-across desktop grid, where a card is roughly 200px wide. */
.staff-content {
    padding: 16px;
    flex: 1 1 auto;
}

    .staff-content h3 {
        color: #1f3556;
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 4px;
        overflow-wrap: anywhere;
    }

    .staff-content .role {
        color: #ff6a3c;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 2px;
    }

    .staff-content .dept {
        color: #52607a;
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 6px;
    }

    .staff-content .edu {
        color: #666;
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 0;
        overflow-wrap: anywhere; /* long qualification strings must not overflow */
    }

/* RESPONSIVE */
/* Six across on desktop, stepping down so a card never gets too narrow to read. */
@media (max-width: 1400px) {
    .staff-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .staff-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   CAMPUS SECTION
========================= */
.campus-section {
    background: #1f3556; /* dark blue */
    padding: 100px 20px;
    text-align: center;
}

/* CONTENT */
.campus-content {
    max-width: 800px;
    margin: 0 auto;
}

    /* TITLE */
    .campus-content h2 {
        color: #ffffff;
        font-size: 48px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    /* TEXT */
    .campus-content p {
        color: #d5dbe5;
        font-size: 20px;
        line-height: 1.7;
        margin-bottom: 40px;
    }

/* BUTTON */
.campus-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff6a3c;
    color: #fff;
    padding: 16px 36px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

    /* ICON */
    .campus-btn i {
        font-size: 20px;
    }

    /* HOVER */
    .campus-btn:hover {
        background: #e85c2f;
        transform: translateY(-2px);
    }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .campus-content h2 {
        font-size: 32px;
    }

    .campus-content p {
        font-size: 16px;
    }

    .campus-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
}
