/* =========================================================
   BSOA FACULTY PAGE
   Bachelor of Science in Office Administration

   NOTE:
   Header styling belongs to the shared header.css.
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --bsoa-blue: #002D4F;
    --bsoa-blue-dark: #00243F;
    --bsoa-cyan: #7EC8E3;
    --bsoa-light-blue: #A9D6F5;
    --bsoa-pale-blue: #D6EAF7;
    --bsoa-white: #FFFFFF;
    --bsoa-off-white: #F7FAFC;
    --bsoa-text: #38546A;
    --bsoa-border: rgba(0, 45, 79, 0.12);
}


/* =========================================================
   GLOBAL
========================================================= */

.faculty-page {
    margin: 0;
    overflow: hidden;
    background: var(--bsoa-off-white);
    color: var(--bsoa-blue);
    font-family:
        "Graphik",
        Arial,
        sans-serif;
}

.faculty-page *,
.faculty-page *::before,
.faculty-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.faculty-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            125deg,
            #002D4F 0%,
            #063E61 55%,
            #075579 100%
        );
    color: var(--bsoa-white);
}


/* Decorative circle */

.faculty-hero::before {
    content: "";
    position: absolute;

    width: 700px;
    height: 700px;

    right: -310px;
    top: -350px;

    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);
}


/* Bottom decoration */

.faculty-hero::after {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    left: -330px;
    bottom: -410px;

    border:
        1px solid
        rgba(126, 200, 227, 0.16);

    border-radius: 50%;
}


.faculty-hero-container {
    position: relative;
    z-index: 2;

    width: min(1400px, 90%);
    min-height: 560px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


.faculty-hero-content {
    max-width: 850px;
    padding-top: 20px;
}


.faculty-eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    color: var(--bsoa-light-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;
}


.faculty-hero-line {
    width: 55px;
    height: 3px;

    margin-bottom: 30px;

    background: var(--bsoa-cyan);
}


.faculty-hero h1 {
    margin: 0;

    color: var(--bsoa-white);

    font-size:
        clamp(52px, 6vw, 88px);

    line-height: 0.96;

    font-weight: 700;

    letter-spacing: -4px;
}


.faculty-hero h1 span {
    display: block;
    color: var(--bsoa-cyan);
}


.faculty-hero-content p {
    max-width: 650px;

    margin: 35px 0 0;

    color:
        rgba(255, 255, 255, 0.75);

    font-size: 16px;
    line-height: 1.8;
}


/* Huge BSOA */

.faculty-hero-number {
    position: absolute;

    right: -15px;
    bottom: 35px;

    color:
        rgba(214, 234, 247, 0.07);

    font-size: clamp(120px, 16vw, 250px);

    line-height: 0.8;

    font-weight: 700;

    letter-spacing: -12px;
}


/* =========================================================
   INTRO
========================================================= */

.faculty-intro {
    padding: 115px 0 105px;
    background: var(--bsoa-off-white);
}


.faculty-intro-container {
    width: min(1250px, 88%);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.65fr 1.35fr;

    gap: 100px;
}


.faculty-intro-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    color: var(--bsoa-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}


.faculty-intro-label span {
    color: var(--bsoa-cyan);
    font-size: 12px;
}


.faculty-intro-content {
    max-width: 780px;
}


.faculty-intro-content h2 {
    margin: 0;

    color: var(--bsoa-blue);

    font-size:
        clamp(48px, 6vw, 78px);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -4px;
}


.faculty-intro-content h2 span {
    display: block;
    color: var(--bsoa-cyan);
}


.faculty-intro-content p {
    max-width: 700px;

    margin: 35px 0 0;

    color: var(--bsoa-text);

    font-size: 17px;
    line-height: 1.9;
}


/* =========================================================
   DIRECTORY
========================================================= */

.faculty-directory {
    padding: 100px 0 130px;
    background: var(--bsoa-white);
}


.faculty-directory-container {
    width: min(1400px, 90%);
    margin: 0 auto;
}


/* =========================================================
   TOOLBAR
========================================================= */

.faculty-toolbar {
    margin-bottom: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--bsoa-border);
}


.faculty-count {
    color: var(--bsoa-blue);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}


.faculty-count span {
    margin-right: 12px;
    color: var(--bsoa-cyan);
}


/* =========================================================
   SEARCH
========================================================= */

.faculty-search {
    width: 310px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding:
        11px 15px;

    border:
        1px solid
        rgba(0, 45, 79, 0.15);

    border-radius: 5px;

    background: var(--bsoa-off-white);

    color: var(--bsoa-blue);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.faculty-search:focus-within {
    border-color: var(--bsoa-cyan);

    box-shadow:
        0 0 0 3px
        rgba(126, 200, 227, 0.15);
}


.faculty-search input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--bsoa-blue);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 12px;
}


.faculty-search input::placeholder {
    color: rgba(0, 45, 79, 0.45);
}


/* =========================================================
   FACULTY GRID
========================================================= */

.faculty-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   FACULTY CARD
========================================================= */

.faculty-card {
    position: relative;

    padding: 35px;

    overflow: hidden;

    border:
        1px solid
        var(--bsoa-border);

    background: var(--bsoa-white);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.faculty-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 0;

    background: var(--bsoa-cyan);

    transition:
        height 0.3s ease;
}


.faculty-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(126, 200, 227, 0.45);

    box-shadow:
        0 18px 45px
        rgba(0, 45, 79, 0.10);
}


.faculty-card:hover::before {
    height: 100%;
}


/* =========================================================
   CARD NUMBER
========================================================= */

.faculty-card-number {
    position: absolute;

    top: 20px;
    right: 25px;

    color:
        rgba(0, 45, 79, 0.07);

    font-size: 52px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -3px;
}


/* =========================================================
   CARD HEADER
========================================================= */

.faculty-card-header {
    position: relative;
    z-index: 2;

    padding-right: 45px;

    padding-bottom: 24px;

    border-bottom:
        1px solid
        var(--bsoa-border);
}


.faculty-card-header h3 {
    margin: 0;

    color: var(--bsoa-blue);

    font-size: 23px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: -0.6px;
}


.faculty-card-header span {
    display: block;

    margin-top: 10px;

    color:
        var(--bsoa-cyan);

    font-size: 10px;

    line-height: 1.5;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   CARD BODY
========================================================= */

.faculty-card-body {
    position: relative;
    z-index: 2;

    padding-top: 25px;
}


.faculty-info {
    margin-bottom: 22px;
}


.faculty-info:last-child {
    margin-bottom: 0;
}


.faculty-info small {
    display: block;

    margin-bottom: 7px;

    color:
        rgba(0, 45, 79, 0.48);

    font-size: 8px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.faculty-info p {
    margin: 0;

    color: var(--bsoa-text);

    font-size: 13px;

    line-height: 1.7;
}


.faculty-info.subjects {
    padding-top: 20px;

    border-top:
        1px solid
        rgba(0, 45, 79, 0.08);
}


.faculty-info.subjects small {
    color: var(--bsoa-blue);
}


.faculty-info.subjects p {
    color: var(--bsoa-blue);
    font-weight: 500;
}


.no-entry {
    color:
        rgba(0, 45, 79, 0.25) !important;
}


/* =========================================================
   NO RESULTS
========================================================= */

.faculty-no-results {
    display: none;

    padding: 70px 20px;

    text-align: center;

    color:
        rgba(0, 45, 79, 0.5);

    font-size: 14px;
}


.faculty-no-results.show {
    display: block;
}


/* =========================================================
   CLOSING
========================================================= */

.faculty-closing {
    position: relative;

    padding: 125px 0;

    overflow: hidden;

    background: var(--bsoa-pale-blue);

    text-align: center;
}




.faculty-closing-container {
    position: relative;
    z-index: 2;

    width: min(900px, 88%);
    margin: 0 auto;
}


.faculty-closing-container > span {
    display: block;

    margin-bottom: 25px;

    color: var(--bsoa-blue);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 4px;
}


.faculty-closing h2 {
    margin: 0;

    color: var(--bsoa-blue);

    font-size:
        clamp(38px, 5vw, 65px);

    line-height: 1;

    font-weight: 400;

    letter-spacing: -3px;
}


.faculty-closing h2 strong {
    display: block;
    color: var(--bsoa-cyan);
    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .faculty-intro-container {
        grid-template-columns:
            1fr;

        gap: 35px;
    }

    .faculty-grid {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .faculty-hero {
        min-height: 520px;
    }

    .faculty-hero-container {
        min-height: 520px;
    }

    .faculty-hero h1 {
        font-size:
            clamp(46px, 12vw, 72px);

        letter-spacing: -3px;
    }

    .faculty-hero-content p {
        max-width: 90%;
        font-size: 14px;
    }

    .faculty-hero-number {
        right: -5px;
        bottom: 30px;
        font-size: 120px;
    }

    .faculty-intro {
        padding: 85px 0;
    }

    .faculty-directory {
        padding: 80px 0 100px;
    }

    .faculty-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .faculty-search {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .faculty-hero-container,
    .faculty-intro-container,
    .faculty-directory-container {
        width: 88%;
    }

    .faculty-hero h1 {
        font-size: 48px;
    }

    .faculty-hero-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .faculty-intro-content h2 {
        font-size: 47px;
    }

    .faculty-card {
        padding: 27px 23px;
    }

    .faculty-card-header h3 {
        font-size: 20px;
    }

    .faculty-card-header span {
        font-size: 9px;
    }

    .faculty-info p {
        font-size: 12px;
    }

    .faculty-closing {
        padding: 90px 0;
    }

    .faculty-closing h2 {
        font-size: 40px;
    }

}