/* =========================================================
   BSBA-MM FACULTY PAGE
   Header styles are intentionally NOT included.
========================================================= */

:root {
    --bsba-blue: #002D4F;
    --bsba-blue-dark: #001F36;
    --bsba-cyan: #7EC8E3;
    --bsba-light-blue: #A9D6F5;
    --bsba-pale-blue: #D6EAF7;
    --bsba-white: #FFFFFF;
    --bsba-off-white: #F6F9FB;
    --bsba-text: #263B49;
    --bsba-muted: #667985;
    --bsba-border: rgba(0, 45, 79, 0.10);
}


/* =========================================================
   GLOBAL
========================================================= */

.faculty-page {
    margin: 0;
    overflow: hidden;
    background: var(--bsba-off-white);
    color: var(--bsba-text);
}

.faculty-page * {
    box-sizing: border-box;
}

.faculty-page,
.faculty-page h1,
.faculty-page h2,
.faculty-page h3,
.faculty-page p,
.faculty-page span,
.faculty-page input {
    font-family:
        "Graphik",
        Arial,
        sans-serif;
}


/* =========================================================
   HERO
========================================================= */

.faculty-hero {
    position: relative;
    min-height: 570px;
    overflow: hidden;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            125deg,
            #002D4F 0%,
            #063E61 55%,
            #075579 100%
        );

    color: var(--bsba-white);
}


/* Decorative background */

.faculty-hero::before {
    content: "";
    position: absolute;

    width: 850px;
    height: 850px;

    right: -400px;
    top: -440px;

    border:
        1px solid
        rgba(214, 234, 247, 0.16);

    border-radius: 50%;

    box-shadow:
        0 0 0 80px
        rgba(214, 234, 247, 0.025),

        0 0 0 160px
        rgba(214, 234, 247, 0.018);
}


/* Second circle */

.faculty-hero::after {
    content: "";
    position: absolute;

    width: 620px;
    height: 620px;

    left: -380px;
    bottom: -450px;

    border:
        1px solid
        rgba(126, 200, 227, 0.18);

    border-radius: 50%;
}


/* Hero container */

.faculty-hero-container {
    position: relative;
    z-index: 2;

    width: min(1400px, 90%);
    min-height: 570px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* Hero content */

.faculty-hero-content {
    max-width: 850px;
    padding-top: 20px;
}


/* Eyebrow */

.faculty-eyebrow {
    color: var(--bsba-light-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;
    text-transform: uppercase;
}


/* Accent line */

.faculty-hero-line {
    width: 65px;
    height: 3px;

    margin-top: 18px;

    background: var(--bsba-cyan);
}


/* Main title */

.faculty-hero h1 {
    margin: 30px 0 0;

    color: var(--bsba-white);

    font-size:
        clamp(70px, 9vw, 130px);

    line-height: 0.82;

    font-weight: 700;

    letter-spacing: -7px;
}


/* Course title */

.faculty-hero h2 {
    max-width: 800px;

    margin: 30px 0 0;

    color:
        rgba(255, 255, 255, 0.95);

    font-size:
        clamp(22px, 3vw, 34px);

    line-height: 1.2;

    font-weight: 500;

    letter-spacing: -1px;
}

.faculty-hero h2 span {
    display: block;
    color: var(--bsba-cyan);
}


/* Hero description */

.faculty-hero-content p {
    max-width: 700px;

    margin: 30px 0 0;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}


/* Hero number */

.faculty-hero-number {
    position: absolute;

    right: 3%;
    bottom: 35px;

    color:
        rgba(214, 234, 247, 0.08);

    font-size: 190px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: -12px;
}


/* =========================================================
   INTRO
========================================================= */

.faculty-intro {
    padding: 120px 0;

    background:
        var(--bsba-white);
}


.faculty-intro-container {
    width: min(1250px, 88%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.55fr 1.45fr;

    gap: 90px;

    align-items: start;
}


.faculty-intro-label {
    padding-top: 8px;

    color: var(--bsba-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}


.faculty-intro-content {
    max-width: 850px;
}


.faculty-intro-content h2 {
    margin: 0;

    color: var(--bsba-blue);

    font-size:
        clamp(55px, 6vw, 85px);

    line-height: 0.9;

    font-weight: 700;

    letter-spacing: -5px;
}


.faculty-intro-content h2 span {
    display: block;

    color: var(--bsba-cyan);
}


.faculty-intro-content p {
    max-width: 760px;

    margin: 35px 0 0;

    color: var(--bsba-muted);

    font-size: 18px;

    line-height: 1.9;
}


/* =========================================================
   DIRECTORY
========================================================= */

.faculty-directory {
    padding: 110px 0 140px;

    background:
        var(--bsba-off-white);
}


.faculty-directory-container {
    width: min(1400px, 90%);

    margin: 0 auto;
}


/* =========================================================
   TOOLS
========================================================= */

.faculty-tools {
    margin-bottom: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.faculty-count {
    color: var(--bsba-blue);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.faculty-count span {
    display: inline-flex;

    min-width: 34px;
    height: 34px;

    margin-right: 10px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--bsba-blue);

    color:
        var(--bsba-white);

    font-size: 12px;
}


/* Search */

.faculty-search {
    position: relative;

    width: min(360px, 100%);
}


.faculty-search input {
    width: 100%;

    height: 52px;

    padding:
        0 20px 0 50px;

    border:
        1px solid
        var(--bsba-border);

    border-radius: 6px;

    outline: none;

    background:
        var(--bsba-white);

    color:
        var(--bsba-blue);

    font-size: 13px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.faculty-search input::placeholder {
    color: #8A9AA3;
}


.faculty-search input:focus {
    border-color:
        var(--bsba-cyan);

    box-shadow:
        0 0 0 4px
        rgba(126, 200, 227, 0.12);
}


.search-icon {
    position: absolute;

    left: 19px;
    top: 50%;

    transform:
        translateY(-50%);

    color:
        var(--bsba-blue);

    font-size: 22px;

    pointer-events: none;
}


/* =========================================================
   FACULTY GRID
========================================================= */

.faculty-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   FACULTY CARD
========================================================= */

.faculty-card {
    position: relative;

    overflow: hidden;

    padding: 38px;

    border:
        1px solid
        var(--bsba-border);

    border-radius: 8px;

    background:
        var(--bsba-white);

    box-shadow:
        0 8px 30px
        rgba(0, 45, 79, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.faculty-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(126, 200, 227, 0.45);

    box-shadow:
        0 20px 45px
        rgba(0, 45, 79, 0.10);
}


/* Number */

.faculty-card-number {
    position: absolute;

    right: 25px;
    top: 22px;

    color:
        rgba(0, 45, 79, 0.06);

    font-size: 55px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: -3px;
}


/* Card header */

.faculty-card-header {
    position: relative;

    padding-right: 65px;

    padding-bottom: 25px;

    border-bottom:
        1px solid
        var(--bsba-border);
}


.faculty-name {
    color:
        var(--bsba-blue);

    font-size: 22px;

    font-weight: 700;

    line-height: 1.25;

    letter-spacing: -0.5px;
}


.faculty-designation {
    margin-top: 9px;

    color:
        var(--bsba-cyan);

    font-size: 10px;

    font-weight: 700;

    line-height: 1.5;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   CARD BODY
========================================================= */

.faculty-card-body {
    padding-top: 25px;
}


.faculty-info {
    margin-bottom: 22px;
}


.faculty-info:last-child {
    margin-bottom: 0;
}


.faculty-info-label {
    margin-bottom: 7px;

    color:
        var(--bsba-blue);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.faculty-info p {
    margin: 0;

    color:
        var(--bsba-muted);

    font-size: 13px;

    line-height: 1.7;
}


/* Subjects */

.faculty-subjects {
    margin-top: 25px;

    padding-top: 22px;

    border-top:
        1px solid
        var(--bsba-border);
}


.faculty-subjects .faculty-info-label {
    color:
        var(--bsba-cyan);
}


.faculty-subjects p {
    color:
        var(--bsba-blue);

    font-weight: 500;
}


/* Missing information */

.faculty-no-data p {
    color:
        #A7B2B8;
}


/* =========================================================
   PROGRAM HEAD FEATURE
========================================================= */

.faculty-card-featured {
    border-color:
        rgba(126, 200, 227, 0.4);
}


/* Actual class used */

.faculty-featured {
    border-top:
        4px solid
        var(--bsba-cyan);

    background:
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F4FAFD 100%
        );
}


.faculty-featured .faculty-name {
    font-size: 25px;
}


/* =========================================================
   NO RESULTS
========================================================= */

.faculty-no-results {
    display: none;

    padding: 90px 20px;

    text-align: center;
}


.faculty-no-results.show {
    display: block;
}


.no-results-icon {
    width: 55px;
    height: 55px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--bsba-border);

    border-radius: 50%;

    color:
        var(--bsba-blue);

    font-size: 28px;
}


.faculty-no-results h3 {
    margin: 0;

    color:
        var(--bsba-blue);

    font-size: 22px;
}


.faculty-no-results p {
    margin: 10px 0 0;

    color:
        var(--bsba-muted);

    font-size: 14px;
}


/* =========================================================
   CLOSING
========================================================= */

.faculty-closing {
    position: relative;

    overflow: hidden;

    padding: 120px 0;

    background:
        var(--bsba-blue);

    color:
        var(--bsba-white);
}


.faculty-closing::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -300px;
    top: -300px;

    border:
        1px solid
        rgba(169, 214, 245, 0.15);

    border-radius: 50%;
}


.faculty-closing-container {
    position: relative;
    z-index: 2;

    width: min(1100px, 88%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        180px 1fr;

    gap: 80px;

    align-items: center;
}


.closing-number {
    color:
        rgba(255, 255, 255, 0.08);

    font-size: 150px;

    font-weight: 700;

    line-height: 0.8;

    letter-spacing: -10px;
}


.closing-label {
    margin-bottom: 20px;

    color:
        var(--bsba-light-blue);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.faculty-closing h2 {
    margin: 0;

    color:
        var(--bsba-white);

    font-size:
        clamp(45px, 6vw, 75px);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -4px;
}


.faculty-closing h2 span {
    display: block;

    color:
        var(--bsba-cyan);
}


.faculty-closing p {
    max-width: 650px;

    margin: 30px 0 0;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .faculty-intro-container {
        grid-template-columns:
            0.7fr 1.3fr;

        gap: 60px;
    }


    .faculty-grid {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .faculty-hero {
        min-height: 500px;
    }


    .faculty-hero-container {
        min-height: 500px;
    }


    .faculty-hero h1 {
        font-size:
            clamp(65px, 18vw, 95px);

        letter-spacing: -5px;
    }


    .faculty-hero h2 {
        font-size: 22px;
    }


    .faculty-hero-content p {
        max-width: 90%;

        font-size: 14px;
    }


    .faculty-hero-number {
        font-size: 120px;

        right: 0;
        bottom: 30px;
    }


    /* Intro */

    .faculty-intro {
        padding: 90px 0;
    }


    .faculty-intro-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .faculty-intro-content h2 {
        font-size: 60px;
    }


    .faculty-intro-content p {
        font-size: 16px;
    }


    /* Directory */

    .faculty-directory {
        padding: 80px 0 100px;
    }


    .faculty-tools {
        flex-direction: column;

        align-items: stretch;
    }


    .faculty-search {
        width: 100%;
    }


    /* Cards */

    .faculty-card {
        padding: 30px;
    }


    /* Closing */

    .faculty-closing {
        padding: 90px 0;
    }


    .faculty-closing-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .closing-number {
        font-size: 100px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .faculty-hero-container,
    .faculty-intro-container,
    .faculty-directory-container,
    .faculty-closing-container {
        width: 88%;
    }


    .faculty-hero h1 {
        font-size: 65px;

        letter-spacing: -4px;
    }


    .faculty-hero h2 {
        font-size: 19px;
    }


    .faculty-hero-content p {
        font-size: 13px;

        line-height: 1.7;
    }


    .faculty-card {
        padding: 25px;
    }


    .faculty-card-number {
        font-size: 42px;
    }


    .faculty-name {
        font-size: 20px;
    }


    .faculty-info p {
        font-size: 12px;
    }


    .faculty-closing h2 {
        font-size: 48px;
    }

}