/* =========================================================
   NSTP COORDINATORS OFFICE
   CITY COLLEGE OF ORMOC

   Office page design matching:
   - GAD Office
   - Legal Office
   - College Secretary
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --nstp-blue: #002D4F;

    --nstp-cyan: #7EC8E3;

    --nstp-light-blue: #A9D6F5;

    --nstp-pale-blue: #D6EAF7;

    --nstp-background: #F7F9FB;

    --nstp-white: #FFFFFF;

    --nstp-text: #31465A;

    --nstp-border: rgba(0, 45, 79, 0.12);

}


/* =========================================================
   PAGE
   ========================================================= */

.nstp-page {

    width: 100%;

    overflow: hidden;

    background:
        var(--nstp-background);

    color:
        var(--nstp-text);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

}


.nstp-page *,
.nstp-page *::before,
.nstp-page *::after {

    box-sizing: border-box;

}


/* =========================================================
   CONTAINER
   ========================================================= */

.nstp-container,
.nstp-hero-inner {

    width:
        calc(100% - 2in);

    margin-left:
        auto;

    margin-right:
        auto;

}


/* =========================================================
   HERO
   ========================================================= */

.nstp-hero {

    position:
        relative;

    min-height:
        430px;

    display:
        flex;

    align-items:
        center;

    background:
        var(--nstp-blue);

    color:
        var(--nstp-white);

    overflow:
        hidden;

}


.nstp-hero-inner {

    position:
        relative;

    min-height:
        430px;

    display:
        flex;

    align-items:
        center;

}


.nstp-hero-content {

    position:
        relative;

    z-index:
        2;

    max-width:
        850px;

    padding:
        55px 0 70px;

}


/* =========================================================
   BACK BUTTON
   ========================================================= */

.nstp-back-button {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        28px;

    padding:
        9px 15px;

    border:
        1px solid rgba(255, 255, 255, .28);

    border-radius:
        6px;

    background:
        rgba(255, 255, 255, .06);

    color:
        #FFFFFF;

    font-size:
        11px;

    font-weight:
        600;

    line-height:
        1;

    text-decoration:
        none;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;

}


.nstp-back-arrow {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    font-size:
        17px;

    line-height:
        1;

    transition:
        transform .25s ease;

}


.nstp-back-button:hover {

    background:
        var(--nstp-light-blue);

    border-color:
        var(--nstp-light-blue);

    color:
        var(--nstp-blue);

    transform:
        translateX(-2px);

}


.nstp-back-button:hover .nstp-back-arrow {

    transform:
        translateX(-3px);

}


/* =========================================================
   HERO EYEBROW
   ========================================================= */

.nstp-eyebrow {

    display:
        block;

    margin-bottom:
        20px;

    color:
        var(--nstp-cyan);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2.5px;

    text-transform:
        uppercase;

}


/* =========================================================
   HERO TITLE
   ========================================================= */

.nstp-hero h1 {

    max-width:
        1000px;

    margin:
        0;

    color:
        #FFFFFF;

    font-size:
        clamp(54px, 6vw, 88px);

    line-height:
        .92;

    letter-spacing:
        -4px;

    font-weight:
        750;

}


.nstp-hero h1 span {

    display:
        block;

    color:
        var(--nstp-light-blue);

}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.nstp-hero p {

    max-width:
        680px;

    margin:
        30px 0 0;

    color:
        rgba(255, 255, 255, .86);

    font-size:
        14px;

    line-height:
        1.7;

}


/* =========================================================
   HERO DECORATIONS
   ========================================================= */

.nstp-hero-decoration {

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;

}


.nstp-circle {

    position:
        absolute;

    display:
        block;

    border:
        1px solid rgba(126, 200, 227, .22);

    border-radius:
        50%;

}


.nstp-circle-one {

    width:
        360px;

    height:
        360px;

    top:
        -155px;

    right:
        60px;

}


.nstp-circle-two {

    width:
        150px;

    height:
        150px;

    top:
        -50px;

    right:
        165px;

    background:
        rgba(126, 200, 227, .035);

}


.nstp-circle-three {

    width:
        190px;

    height:
        190px;

    bottom:
        -135px;

    right:
        270px;

}


/* =========================================================
   HERO NUMBER
   ========================================================= */

.nstp-hero-number {

    position:
        absolute;

    right:
        6%;

    bottom:
        5px;

    z-index:
        1;

    color:
        rgba(126, 200, 227, .08);

    font-size:
        clamp(110px, 12vw, 190px);

    line-height:
        .8;

    font-weight:
        800;

    letter-spacing:
        -8px;

}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.nstp-overview,
.nstp-office-head,
.nstp-functions {

    padding:
        95px 0;

}


/* =========================================================
   OVERVIEW BACKGROUND
   ========================================================= */

.nstp-overview {

    background:
        var(--nstp-white);

}


/* =========================================================
   OFFICE HEAD BACKGROUND
   ========================================================= */

.nstp-office-head {

    background:
        var(--nstp-background);

}


/* =========================================================
   CORE FUNCTIONS BACKGROUND
   ========================================================= */

.nstp-functions {

    background:
        var(--nstp-background);

}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.nstp-section-heading {

    display:
        grid;

    grid-template-columns:
        70px
        760px;

    margin-bottom:
        45px;

}


.nstp-section-number {

    padding-top:
        3px;

    color:
        var(--nstp-cyan);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2px;

}


.nstp-kicker {

    display:
        block;

    margin-bottom:
        13px;

    color:
        var(--nstp-cyan);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        2px;

    text-transform:
        uppercase;

}


.nstp-section-heading h2 {

    margin:
        0;

    color:
        var(--nstp-blue);

    font-size:
        clamp(38px, 4vw, 57px);

    line-height:
        1;

    letter-spacing:
        -2px;

    font-weight:
        750;

}


.nstp-section-heading p {

    max-width:
        700px;

    margin:
        18px 0 0;

    color:
        var(--nstp-text);

    font-size:
        14px;

    line-height:
        1.75;

}


/* =========================================================
   OVERVIEW CONTENT
   ========================================================= */

.nstp-overview-content {

    display:
        grid;

    grid-template-columns:
        70px
        760px;

    margin-left:
        70px;

}


.nstp-overview-line {

    width:
        1px;

    min-height:
        165px;

    background:
        var(--nstp-light-blue);

}


.nstp-overview-text {

    padding-left:
        35px;

}


.nstp-overview-text p {

    max-width:
        760px;

    margin:
        0 0 20px;

    color:
        var(--nstp-text);

    font-size:
        14px;

    line-height:
        1.8;

}


.nstp-overview-text p:last-child {

    margin-bottom:
        0;

}


/* =========================================================
   OFFICE HEAD CARD
   ========================================================= */

.nstp-head-card {

    min-height:
        310px;

    display:
        grid;

    grid-template-columns:
        35%
        minmax(0, 1fr);

    margin-left:
        70px;

    background:
        var(--nstp-white);

    border:
        1px solid
        var(--nstp-border);

    border-radius:
        8px;

    overflow:
        hidden;

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;

}


.nstp-head-card:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(126, 200, 227, .5);

    box-shadow:
        0 18px 40px
        rgba(0, 45, 79, .10);

}


/* =========================================================
   HEAD IMAGE
   ========================================================= */

.nstp-head-image {

    min-height:
        310px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        var(--nstp-light-blue);

    overflow:
        hidden;

}


.nstp-head-image img {

    width:
        100%;

    height:
        100%;

    display:
        block;

    object-fit:
        contain;

    object-position:
        center center;

}


/* =========================================================
   IMAGE PLACEHOLDER
   ========================================================= */

.nstp-image-placeholder {

    width:
        100%;

    height:
        100%;

    min-height:
        310px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        linear-gradient(
            135deg,
            var(--nstp-light-blue),
            var(--nstp-pale-blue)
        );

}


.nstp-image-placeholder span {

    color:
        rgba(0, 45, 79, .55);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        2px;

}


/* =========================================================
   HEAD CONTENT
   ========================================================= */

.nstp-head-content {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        42px;

}


.nstp-head-role {

    display:
        block;

    max-width:
        600px;

    margin-bottom:
        13px;

    color:
        var(--nstp-cyan);

    font-size:
        8px;

    line-height:
        1.5;

    font-weight:
        700;

    letter-spacing:
        1.5px;

    text-transform:
        uppercase;

}


.nstp-head-content h3 {

    margin:
        0;

    color:
        var(--nstp-blue);

    font-size:
        clamp(25px, 3vw, 36px);

    line-height:
        1.1;

    letter-spacing:
        -.8px;

    font-weight:
        700;

}


.nstp-head-line {

    width:
        32px;

    height:
        2px;

    margin:
        18px 0;

    background:
        var(--nstp-cyan);

}


.nstp-head-content > p {

    margin:
        0;

    color:
        var(--nstp-text);

    font-size:
        12px;

    line-height:
        1.6;

}


/* =========================================================
   HEAD DESCRIPTION
   ========================================================= */

.nstp-head-description {

    margin-top:
        24px;

    padding-top:
        20px;

    border-top:
        1px solid
        var(--nstp-border);

}


.nstp-head-description > span {

    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--nstp-blue);

    font-size:
        8px;

    font-weight:
        700;

    letter-spacing:
        1.5px;

}


.nstp-head-description p {

    max-width:
        650px;

    margin:
        0;

    color:
        var(--nstp-text);

    font-size:
        12px;

    line-height:
        1.65;

}


/* =========================================================
   CORE FUNCTIONS
   ========================================================= */

.nstp-function-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        16px;

    margin-left:
        70px;

}


/* =========================================================
   FUNCTION CARD
   ========================================================= */

.nstp-function-card {

    min-height:
        190px;

    padding:
        30px;

    display:
        flex;

    flex-direction:
        column;

    background:
        var(--nstp-white);

    border:
        1px solid
        var(--nstp-border);

    border-radius:
        8px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;

}


.nstp-function-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(126, 200, 227, .55);

    background:
        var(--nstp-white);

    box-shadow:
        0 16px 35px
        rgba(0, 45, 79, .08);

}


/* =========================================================
   FUNCTION NUMBER
   ========================================================= */

.nstp-function-number {

    margin-bottom:
        25px;

    color:
        var(--nstp-cyan);

    font-size:
        9px;

    line-height:
        1;

    font-weight:
        700;

    letter-spacing:
        2px;

}


/* =========================================================
   FUNCTION CONTENT
   ========================================================= */

.nstp-function-content {

    display:
        flex;

    flex-direction:
        column;

}


/* =========================================================
   FUNCTION KICKER
   ========================================================= */

.nstp-function-kicker {

    display:
        block;

    margin-bottom:
        11px;

    color:
        var(--nstp-cyan);

    font-size:
        8px;

    line-height:
        1.3;

    font-weight:
        700;

    letter-spacing:
        1.8px;

    text-transform:
        uppercase;

}


/* =========================================================
   FUNCTION TITLE
   ========================================================= */

.nstp-function-content h3 {

    margin:
        0 0 12px;

    color:
        var(--nstp-blue);

    font-size:
        20px;

    line-height:
        1.2;

    letter-spacing:
        -.4px;

    font-weight:
        700;

}


/* =========================================================
   FUNCTION DESCRIPTION
   ========================================================= */

.nstp-function-content p {

    max-width:
        650px;

    margin:
        0;

    color:
        var(--nstp-text);

    font-size:
        12px;

    line-height:
        1.7;

}


/* =========================================================
   CLOSING
   ========================================================= */

.nstp-closing {

    position:
        relative;

    padding:
        110px 0;

    background:
        var(--nstp-blue);

    overflow:
        hidden;

}


.nstp-closing-kicker {

    display:
        block;

    margin-bottom:
        20px;

    color:
        var(--nstp-cyan);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        2px;

}


.nstp-closing h2 {

    position:
        relative;

    z-index:
        2;

    max-width:
        900px;

    margin:
        0;

    color:
        #FFFFFF;

    font-size:
        clamp(40px, 5vw, 70px);

    line-height:
        .98;

    letter-spacing:
        -3px;

    font-weight:
        750;

}


.nstp-closing h2 span {

    display:
        block;

    color:
        var(--nstp-light-blue);

}


.nstp-closing-mark {

    position:
        absolute;

    right:
        6%;

    bottom:
        15px;

    color:
        rgba(126, 200, 227, .07);

    font-size:
        clamp(90px, 12vw, 180px);

    line-height:
        .8;

    font-weight:
        800;

    letter-spacing:
        -8px;

}


/* =========================================================
   1200px
   ========================================================= */

@media (max-width: 1200px) {

    .nstp-container,
    .nstp-hero-inner {

        width:
            calc(100% - 80px);

    }

}


/* =========================================================
   900px
   ========================================================= */

@media (max-width: 900px) {

    .nstp-container,
    .nstp-hero-inner {

        width:
            calc(100% - 40px);

    }


    .nstp-hero,
    .nstp-hero-inner {

        min-height:
            400px;

    }


    .nstp-hero-content {

        padding:
            50px 0 60px;

    }


    .nstp-hero h1 {

        font-size:
            clamp(48px, 8vw, 72px);

    }


    .nstp-section-heading {

        grid-template-columns:
            1fr;

        gap:
            14px;

    }


    .nstp-overview-content {

        margin-left:
            0;

        grid-template-columns:
            1px
            minmax(0, 1fr);

    }


    .nstp-head-card {

        margin-left:
            0;

    }


    .nstp-function-grid {

        margin-left:
            0;

    }

}


/* =========================================================
   650px
   ========================================================= */

@media (max-width: 650px) {

    .nstp-container,
    .nstp-hero-inner {

        width:
            calc(100% - 30px);

    }


    .nstp-hero,
    .nstp-hero-inner {

        min-height:
            440px;

    }


    .nstp-hero-content {

        padding:
            40px 0 55px;

    }


    .nstp-back-button {

        margin-bottom:
            24px;

        padding:
            8px 12px;

        font-size:
            10px;

    }


    .nstp-back-arrow {

        font-size:
            15px;

    }


    .nstp-eyebrow {

        font-size:
            8px;

        letter-spacing:
            1.7px;

    }


    .nstp-hero h1 {

        font-size:
            50px;

        letter-spacing:
            -2.5px;

    }


    .nstp-hero p {

        font-size:
            12px;

    }


    .nstp-hero-number {

        font-size:
            100px;

    }


    .nstp-overview,
    .nstp-office-head,
    .nstp-functions {

        padding:
            70px 0;

    }


    .nstp-section-heading {

        margin-bottom:
            35px;

    }


    .nstp-section-heading h2 {

        font-size:
            38px;

        letter-spacing:
            -1.5px;

    }


    .nstp-section-heading p {

        font-size:
            13px;

    }


    /* =====================================================
       OVERVIEW
       ===================================================== */

    .nstp-overview-text {

        padding-left:
            22px;

    }


    .nstp-overview-text p {

        font-size:
            13px;

    }


    /* =====================================================
       OFFICE HEAD
       ===================================================== */

    .nstp-head-card {

        grid-template-columns:
            1fr;

        min-height:
            0;

    }


    .nstp-head-image,
    .nstp-image-placeholder {

        min-height:
            300px;

        height:
            300px;

    }


    .nstp-head-content {

        padding:
            28px;

    }


    .nstp-head-content h3 {

        font-size:
            25px;

    }


    /* =====================================================
       CORE FUNCTIONS
       ===================================================== */

    .nstp-function-grid {

        grid-template-columns:
            1fr;

        gap:
            12px;

        margin-left:
            0;

    }


    .nstp-function-card {

        min-height:
            175px;

        padding:
            24px;

    }


    .nstp-function-number {

        margin-bottom:
            22px;

    }


    .nstp-function-content h3 {

        font-size:
            18px;

    }


    .nstp-function-content p {

        font-size:
            12px;

    }


    /* =====================================================
       CLOSING
       ===================================================== */

    .nstp-closing {

        padding:
            80px 0;

    }


    .nstp-closing h2 {

        font-size:
            42px;

        letter-spacing:
            -1.5px;

    }

}