/* =========================================================
   CONTACT US
   CITY COLLEGE OF ORMOC
   ========================================================= */

:root {

    --contact-blue: #002D4F;
    --contact-cyan: #7EC8E3;
    --contact-light-blue: #A9D6F5;
    --contact-pale-blue: #D6EAF7;

    --contact-background: #F7F9FB;
    --contact-white: #FFFFFF;

    --contact-text: #31465A;

    --contact-border:
        rgba(0, 45, 79, 0.12);

}


/* =========================================================
   PAGE
   ========================================================= */

.contact-page {

    width: 100%;

    overflow: hidden;

    background:
        var(--contact-background);

    color:
        var(--contact-text);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

}


.contact-page *,
.contact-page *::before,
.contact-page *::after {

    box-sizing: border-box;

}


/* =========================================================
   SHARED WIDTH
   ========================================================= */

.contact-hero-inner,
.contact-section-inner,
.contact-closing-inner {

    width:
        calc(100% - 2in);

    max-width: none;

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    background:
        var(--contact-blue);

    color:
        var(--contact-white);

    overflow: hidden;

}


.contact-hero-inner {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

}


.contact-hero-content {

    position: relative;

    z-index: 2;

    max-width: 760px;

    padding:
        80px 0;

}


.contact-eyebrow {

    display: block;

    margin-bottom: 24px;

    color:
        var(--contact-cyan);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;

    text-transform: uppercase;

}


.contact-hero h1 {

    margin: 0;

    color:
        #FFFFFF;

    font-size:
        clamp(52px, 5.5vw, 84px);

    line-height: .95;

    letter-spacing: -3px;

    font-weight: 800;

}


.contact-hero h1 span {

    display: block;

    color:
        var(--contact-light-blue);

}


.contact-hero p {

    max-width: 650px;

    margin:
        30px 0 0;

    color:
        rgba(255, 255, 255, .88);

    font-size: 16px;

    line-height: 1.75;

}


/* =========================================================
   HERO DECORATION
   ========================================================= */

.contact-hero-decoration {

    position: absolute;

    top: 0;

    right: -80px;

    width: 520px;

    height: 100%;

    pointer-events: none;

}


.contact-circle {

    position: absolute;

    display: block;

    border:
        1px solid
        rgba(126, 200, 227, .28);

    border-radius: 50%;

}


.contact-circle-one {

    width: 330px;

    height: 330px;

    top: 20px;

    right: 0;

}


.contact-circle-two {

    width: 150px;

    height: 150px;

    top: 105px;

    right: 170px;

    background:
        rgba(126, 200, 227, .06);

}


.contact-circle-three {

    width: 210px;

    height: 210px;

    bottom: -110px;

    right: 150px;

}


/* =========================================================
   SECTIONS
   ========================================================= */

.contact-information,
.contact-location {

    position: relative;

    padding:
        100px 0;

}


.contact-information {

    background:
        var(--contact-white);

}


.contact-location {

    background:
        var(--contact-background);

}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.contact-section-heading {

    display: grid;

    grid-template-columns:
        70px
        minmax(0, 680px);

    gap: 0;

    margin-bottom: 50px;

}


.contact-section-number {

    color:
        var(--contact-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.contact-kicker {

    display: block;

    margin-bottom: 14px;

    color:
        var(--contact-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.contact-section-heading h2 {

    margin: 0;

    color:
        var(--contact-blue);

    font-size:
        clamp(38px, 4vw, 58px);

    line-height: 1;

    letter-spacing: -2px;

    font-weight: 750;

}


.contact-section-heading p {

    max-width: 650px;

    margin:
        20px 0 0;

    font-size: 15px;

    line-height: 1.75;

}


/* =========================================================
   CONTACT GRID
   ========================================================= */

.contact-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-left: 70px;

}


/* =========================================================
   CONTACT CARD
   ========================================================= */

.contact-card {

    position: relative;

    min-height: 205px;

    display: flex;

    align-items: flex-start;

    gap: 25px;

    padding:
        30px;

    background:
        var(--contact-background);

    border:
        1px solid
        var(--contact-border);

    border-radius: 9px;

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background-color .3s ease,
        border-color .3s ease;

}


.contact-card:hover {

    transform:
        translateY(-5px);

    background:
        var(--contact-white);

    border-color:
        rgba(126, 200, 227, .5);

    box-shadow:
        0 18px 45px
        rgba(0, 45, 79, .10);

}


/* =========================================================
   CONTACT ICON
   ========================================================= */

.contact-card-icon {

    flex-shrink: 0;

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--contact-light-blue);

    border-radius: 7px;

    color:
        var(--contact-blue);

    font-size: 22px;

    font-weight: 700;

}


.contact-facebook-card .contact-card-icon {

    background:
        var(--contact-blue);

    color:
        var(--contact-white);

    font-family:
        Arial,
        sans-serif;

}


/* =========================================================
   CONTACT CARD CONTENT
   ========================================================= */

.contact-card-content {

    min-width: 0;

    display: flex;

    flex-direction: column;

    height: 100%;

}


.contact-card-label {

    display: block;

    margin-bottom: 13px;

    color:
        var(--contact-cyan);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.7px;

    line-height: 1.4;

    text-transform: uppercase;

}


.contact-card h3 {

    margin: 0;

    color:
        var(--contact-blue);

    font-size: 20px;

    line-height: 1.35;

    letter-spacing: -.4px;

    font-weight: 700;

    overflow-wrap: anywhere;

}


/* =========================================================
   CARD LINK
   ========================================================= */

.contact-card-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    margin-top: auto;

    padding-top: 24px;

    color:
        var(--contact-blue);

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;

    transition:
        gap .25s ease,
        color .25s ease;

}


.contact-card-link:hover {

    gap: 16px;

    color:
        #1D6387;

}


.contact-card-link span {

    font-size: 17px;

    line-height: 1;

}


/* =========================================================
   MAP
   ========================================================= */

.contact-map-wrapper {

    margin-left: 70px;

    width:
        calc(100% - 70px);

    height: 520px;

    background:
        var(--contact-light-blue);

    border:
        1px solid
        var(--contact-border);

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 15px 45px
        rgba(0, 45, 79, .07);

}


.contact-map-wrapper iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;

}


/* =========================================================
   LOCATION FOOTER
   ========================================================= */

.contact-location-footer {

    margin-left: 70px;

    width:
        calc(100% - 70px);

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        30px 5px 0;

}


.contact-location-label {

    display: block;

    margin-bottom: 8px;

    color:
        var(--contact-cyan);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;

}


.contact-location-footer h3 {

    margin: 0;

    color:
        var(--contact-blue);

    font-size: 24px;

    font-weight: 700;

}


.contact-location-mark {

    color:
        rgba(0, 45, 79, .08);

    font-size: 60px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -3px;

}


/* =========================================================
   CLOSING
   ========================================================= */

.contact-closing {

    position: relative;

    padding:
        115px 0;

    background:
        var(--contact-blue);

    overflow: hidden;

}


.contact-closing-inner {

    position: relative;

    z-index: 2;

}


.contact-closing-kicker {

    display: block;

    margin-bottom: 22px;

    color:
        var(--contact-cyan);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.contact-closing h2 {

    max-width: 900px;

    margin: 0;

    color:
        #FFFFFF;

    font-size:
        clamp(40px, 5vw, 72px);

    line-height: 1;

    letter-spacing: -2.5px;

    font-weight: 750;

}


.contact-closing h2 span {

    display: block;

    color:
        var(--contact-light-blue);

}


/* =========================================================
   LARGE TABLET — 1200px
   ========================================================= */

@media (max-width: 1200px) {

    .contact-hero-inner,
    .contact-section-inner,
    .contact-closing-inner {

        width:
            calc(100% - 80px);

    }


    .contact-card h3 {

        font-size: 18px;

    }

}


/* =========================================================
   TABLET — 900px
   ========================================================= */

@media (max-width: 900px) {

    .contact-hero-inner,
    .contact-section-inner,
    .contact-closing-inner {

        width:
            calc(100% - 40px);

    }


    .contact-hero {

        min-height: 400px;

    }


    .contact-hero-inner {

        min-height: 400px;

    }


    .contact-hero-content {

        padding:
            65px 0;

    }


    .contact-section-heading {

        grid-template-columns:
            1fr;

        gap: 15px;

    }


    .contact-grid {

        margin-left: 0;

    }


    .contact-map-wrapper {

        margin-left: 0;

        width: 100%;

    }


    .contact-location-footer {

        margin-left: 0;

        width: 100%;

    }

}


/* =========================================================
   MOBILE — 650px
   ========================================================= */

@media (max-width: 650px) {

    .contact-hero-inner,
    .contact-section-inner,
    .contact-closing-inner {

        width:
            calc(100% - 30px);

    }


    .contact-hero {

        min-height: 440px;

    }


    .contact-hero-inner {

        min-height: 440px;

    }


    .contact-hero-content {

        padding:
            55px 0;

    }


    .contact-eyebrow {

        font-size: 9px;

        letter-spacing: 1.8px;

    }


    .contact-hero h1 {

        font-size: 52px;

        letter-spacing: -2px;

    }


    .contact-hero p {

        font-size: 13px;

        line-height: 1.7;

    }


    .contact-information,
    .contact-location {

        padding:
            70px 0;

    }


    .contact-section-heading {

        margin-bottom: 35px;

    }


    .contact-section-heading h2 {

        font-size: 38px;

        letter-spacing: -1.5px;

    }


    .contact-section-heading p {

        font-size: 14px;

    }


    /* =====================================================
       CONTACT CARDS
       ===================================================== */

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .contact-card {

        min-height: 190px;

        padding:
            25px;

    }


    .contact-card-icon {

        width: 48px;

        height: 48px;

        font-size: 19px;

    }


    .contact-card h3 {

        font-size: 17px;

    }


    /* =====================================================
       MAP
       ===================================================== */

    .contact-map-wrapper {

        height: 400px;

        border-radius: 8px;

    }


    .contact-location-footer {

        align-items: flex-start;

        gap: 20px;

    }


    .contact-location-footer h3 {

        font-size: 20px;

    }


    .contact-location-mark {

        font-size: 42px;

    }


    /* =====================================================
       CLOSING
       ===================================================== */

    .contact-closing {

        padding:
            80px 0;

    }


    .contact-closing h2 {

        font-size: 42px;

        letter-spacing: -1.5px;

    }

}