/* =========================================================
   OFFICE OF STUDENT AFFAIRS AND SERVICES
   CITY COLLEGE OF ORMOC
   ========================================================= */

:root {

    --sas-blue: #002D4F;
    --sas-cyan: #7EC8E3;
    --sas-light-blue: #A9D6F5;
    --sas-pale-blue: #D6EAF7;

    --sas-background: #F7F9FB;
    --sas-white: #FFFFFF;

    --sas-text: #31465A;

    --sas-border: rgba(0, 45, 79, 0.12);

}


/* =========================================================
   PAGE
   ========================================================= */

.student-affairs-page {

    width: 100%;

    overflow: hidden;

    background:
        var(--sas-background);

    color:
        var(--sas-text);

    font-family:
        "Graphik",
        Arial,
        sans-serif;
}


.student-affairs-page *,
.student-affairs-page *::before,
.student-affairs-page *::after {

    box-sizing: border-box;
}


/* =========================================================
   PAGE WIDTH
   ========================================================= */

.sas-hero-inner,
.sas-section-inner,
.sas-closing-inner {

    width:
        calc(100% - 2in);

    max-width: none;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.sas-hero {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    background:
        var(--sas-blue);

    color:
        var(--sas-white);

    overflow: hidden;
}


.sas-hero-inner {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;
}


.sas-hero-content {

    position: relative;

    z-index: 2;

    max-width: 780px;

    padding:
        80px 0;
}


.sas-eyebrow {

    display: block;

    margin-bottom: 24px;

    color:
        var(--sas-cyan);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.4px;

    text-transform: uppercase;
}


.sas-hero h1 {

    margin: 0;

    color:
        #FFFFFF;

    font-size:
        clamp(48px, 5.4vw, 82px);

    line-height: .98;

    letter-spacing: -3px;

    font-weight: 800;
}


.sas-hero h1 span {

    display: block;

    color:
        var(--sas-light-blue);
}


.sas-hero p {

    max-width: 670px;

    margin:
        30px 0 0;

    color:
        rgba(255, 255, 255, .88);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   HERO DECORATION
   ========================================================= */

.sas-hero-decoration {

    position: absolute;

    top: 0;

    right: -80px;

    width: 520px;

    height: 100%;

    pointer-events: none;
}


.sas-circle {

    position: absolute;

    display: block;

    border:
        1px solid rgba(126, 200, 227, .28);

    border-radius: 50%;
}


.sas-circle-one {

    width: 330px;

    height: 330px;

    top: 20px;

    right: 0;
}


.sas-circle-two {

    width: 150px;

    height: 150px;

    top: 105px;

    right: 170px;

    background:
        rgba(126, 200, 227, .06);
}


.sas-circle-three {

    width: 210px;

    height: 210px;

    bottom: -110px;

    right: 150px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.sas-overview,
.sas-head-section,
.sas-offices-section {

    position: relative;

    padding:
        100px 0;
}


.sas-kicker {

    display: block;

    margin-bottom: 14px;

    color:
        var(--sas-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.sas-overview {

    background:
        var(--sas-white);
}


.sas-overview-number {

    margin-bottom: 25px;

    color:
        var(--sas-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.sas-overview-content {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 80px;

    padding-left: 70px;
}


.sas-section-intro h2 {

    max-width: 620px;

    margin: 0;

    color:
        var(--sas-blue);

    font-size:
        clamp(34px, 4vw, 58px);

    line-height: 1.03;

    letter-spacing: -2px;

    font-weight: 750;
}


.sas-overview-text {

    padding-top: 35px;
}


.sas-overview-text p {

    margin: 0;

    color:
        var(--sas-text);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.sas-section-heading {

    display: grid;

    grid-template-columns:
        70px minmax(0, 720px);

    gap: 0;

    margin-bottom: 50px;
}


.sas-section-number {

    color:
        var(--sas-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.sas-section-heading h2 {

    margin: 0;

    color:
        var(--sas-blue);

    font-size:
        clamp(38px, 4vw, 58px);

    line-height: 1;

    letter-spacing: -2px;

    font-weight: 750;
}


.sas-section-heading p {

    max-width: 680px;

    margin:
        20px 0 0;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   OFFICE HEAD
   ========================================================= */

.sas-head-section {

    background:
        var(--sas-background);
}


.sas-profile-card {

    display: grid;

    grid-template-columns:
        420px minmax(0, 1fr);

    min-height: 420px;

    margin-left: 70px;

    background:
        var(--sas-white);

    border:
        1px solid var(--sas-border);

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 15px 45px rgba(0, 45, 79, .06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.sas-profile-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 22px 55px rgba(0, 45, 79, .11);
}


/* =========================================================
   PROFILE IMAGE
   ========================================================= */

.sas-profile-image {

    width: 100%;

    height: 100%;

    min-height: 420px;

    background:
        var(--sas-light-blue);

    overflow: hidden;
}


.sas-profile-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        transform .45s ease;
}


.sas-profile-card:hover
.sas-profile-image img {

    transform:
        scale(1.025);
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.sas-image-placeholder,
.sas-office-placeholder {

    width: 100%;

    height: 100%;

    min-height: inherit;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--sas-light-blue),
            var(--sas-pale-blue)
        );

    color:
        rgba(0, 45, 79, .45);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}


/* =========================================================
   PROFILE CONTENT
   ========================================================= */

.sas-profile-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        55px;
}


.sas-profile-role {

    display: block;

    margin-bottom: 17px;

    color:
        var(--sas-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.sas-profile-content h3 {

    max-width: 650px;

    margin: 0;

    color:
        var(--sas-blue);

    font-size:
        clamp(30px, 3vw, 46px);

    line-height: 1.05;

    letter-spacing: -1.5px;

    font-weight: 750;
}


.sas-profile-content > p {

    margin:
        18px 0 0;

    color:
        var(--sas-text);

    font-size: 15px;

    line-height: 1.6;
}


.sas-profile-line {

    width: 70px;

    height: 3px;

    margin:
        28px 0 22px;

    background:
        var(--sas-cyan);
}


.sas-profile-description {

    max-width: 560px;

    margin: 0 !important;

    font-size: 14px !important;

    line-height: 1.75 !important;
}


/* =========================================================
   OFFICES
   ========================================================= */

.sas-offices-section {

    background:
        var(--sas-white);
}


.sas-offices-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-left: 70px;
}


/* =========================================================
   OFFICE CARD
   ========================================================= */

.sas-office-card {

    display: grid;

    grid-template-columns:
        45% 55%;

    min-height: 290px;

    background:
        var(--sas-white);

    border:
        1px solid var(--sas-border);

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 7px 25px rgba(0, 45, 79, .035);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.sas-office-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(126, 200, 227, .5);

    box-shadow:
        0 18px 50px rgba(0, 45, 79, .10);
}


/* =========================================================
   OFFICE IMAGE
   ========================================================= */

.sas-office-image {

    width: 100%;

    height: 100%;

    min-height: 290px;

    background:
        var(--sas-light-blue);

    overflow: hidden;
}


.sas-office-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform .45s ease;
}


.sas-office-card:hover
.sas-office-image img {

    transform:
        scale(1.045);
}


/* =========================================================
   OFFICE CONTENT
   ========================================================= */

.sas-office-content {

    display: flex;

    flex-direction: column;

    padding:
        27px 28px 24px;
}


.sas-office-top {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 27px;
}


.sas-office-number {

    color:
        var(--sas-cyan);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.sas-office-category {

    color:
        rgba(49, 70, 90, .55);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1px;

    line-height: 1.2;

    text-transform: uppercase;
}


.sas-office-content h3 {

    margin: 0;

    color:
        var(--sas-blue);

    font-size: 22px;

    line-height: 1.15;

    letter-spacing: -.5px;

    font-weight: 750;
}


.sas-office-content p {

    margin:
        15px 0 0;

    color:
        var(--sas-text);

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   READ MORE
   ========================================================= */

.sas-office-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    margin-top: auto;

    padding-top: 22px;

    color:
        var(--sas-blue);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        gap .25s ease,
        color .25s ease;
}


.sas-office-link:hover {

    gap: 16px;

    color:
        #1D6387;
}


.sas-office-link span:last-child {

    font-size: 17px;

    line-height: 1;
}


/* =========================================================
   CLOSING
   ========================================================= */

.sas-closing {

    padding:
        115px 0;

    background:
        var(--sas-blue);

    overflow: hidden;
}


.sas-closing-inner {

    position: relative;

    z-index: 2;
}


.sas-closing-kicker {

    display: block;

    margin-bottom: 22px;

    color:
        var(--sas-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.sas-closing h2 {

    max-width: 950px;

    margin: 0;

    color:
        #FFFFFF;

    font-size:
        clamp(40px, 5vw, 72px);

    line-height: 1;

    letter-spacing: -2.5px;

    font-weight: 750;
}


.sas-closing h2 span {

    display: block;

    color:
        var(--sas-light-blue);
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .sas-hero-inner,
    .sas-section-inner,
    .sas-closing-inner {

        width:
            calc(100% - 80px);
    }


    .sas-profile-card {

        grid-template-columns:
            350px minmax(0, 1fr);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .sas-hero-inner,
    .sas-section-inner,
    .sas-closing-inner {

        width:
            calc(100% - 40px);
    }


    .sas-hero {

        min-height: 400px;
    }


    .sas-hero-inner {

        min-height: 400px;
    }


    .sas-overview-content {

        grid-template-columns: 1fr;

        gap: 20px;

        padding-left: 0;
    }


    .sas-section-heading {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .sas-profile-card {

        margin-left: 0;

        grid-template-columns:
            300px minmax(0, 1fr);
    }


    .sas-offices-grid {

        margin-left: 0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .sas-hero-inner,
    .sas-section-inner,
    .sas-closing-inner {

        width:
            calc(100% - 30px);
    }


    .sas-hero {

        min-height: 440px;
    }


    .sas-hero-inner {

        min-height: 440px;
    }


    .sas-hero-content {

        padding:
            55px 0;
    }


    .sas-eyebrow {

        font-size: 9px;

        letter-spacing: 1.7px;
    }


    .sas-hero h1 {

        font-size: 47px;

        letter-spacing: -2px;
    }


    .sas-hero p {

        font-size: 13px;

        line-height: 1.7;
    }


    .sas-overview,
    .sas-head-section,
    .sas-offices-section {

        padding:
            70px 0;
    }


    .sas-section-intro h2 {

        font-size: 36px;

        letter-spacing: -1.5px;
    }


    .sas-overview-text {

        padding-top: 0;
    }


    .sas-overview-text p {

        font-size: 14px;
    }


    .sas-section-heading h2 {

        font-size: 38px;

        letter-spacing: -1.5px;
    }


    .sas-section-heading p {

        font-size: 14px;
    }


    /* OFFICE HEAD */

    .sas-profile-card {

        display: block;

        margin-left: 0;
    }


    .sas-profile-image {

        height: 390px;

        min-height: 390px;
    }


    .sas-profile-content {

        padding:
            30px;
    }


    .sas-profile-content h3 {

        font-size: 29px;
    }


    /* OFFICES */

    .sas-offices-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }


    .sas-office-card {

        display: block;

        min-height: 0;
    }


    .sas-office-image {

        height: 270px;

        min-height: 270px;
    }


    .sas-office-content {

        min-height: 260px;

        padding: 25px;
    }


    .sas-office-content h3 {

        font-size: 22px;
    }


    /* CLOSING */

    .sas-closing {

        padding:
            80px 0;
    }


    .sas-closing h2 {

        font-size: 42px;

        letter-spacing: -1.5px;
    }

}