/* =========================================================
   CITY COLLEGE OF ORMOC
   CORE VALUES PAGE
   PAGE-SPECIFIC STYLES ONLY
========================================================= */


/* =========================================================
   PAGE VARIABLES
========================================================= */

:root {
    --core-295: #002D4F;
    --core-2122: #A9D6F5;
    --core-2120: #7EC8E3;
    --core-657: #D6EAF7;

    --core-white: #FFFFFF;
    --core-off-white: #F7F9FB;
    --core-text: #31465A;
}


/* =========================================================
   PAGE BASE
========================================================= */

.core-values-page {
    margin: 0;
    background: var(--core-off-white);
    color: var(--core-295);
    font-family:
        "Graphik",
        Arial,
        sans-serif;

    overflow: hidden;
}

.core-values-page *,
.core-values-page *::before,
.core-values-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.core-values-hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            #002D4F 0%,
            #063E61 55%,
            #075579 100%
        );

    color: var(--core-white);
}


/* Decorative circle */

.core-values-hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -300px;
    top: -350px;

    border:
        1px solid
        rgba(214, 234, 247, 0.18);

    border-radius: 50%;

    box-shadow:
        0 0 0 80px
        rgba(214, 234, 247, 0.025),

        0 0 0 160px
        rgba(214, 234, 247, 0.02);
}


/* Lower decorative circle */

.core-values-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -280px;
    bottom: -350px;

    border:
        1px solid
        rgba(126, 200, 227, 0.2);

    border-radius: 50%;
}


.core-values-hero-container {
    position: relative;

    z-index: 2;

    width: min(1400px, 90%);

    min-height: 520px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.core-values-hero-content {
    max-width: 700px;
}


/* Label */

.core-values-label {
    color: var(--core-2122);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.core-values-line {
    width: 50px;
    height: 3px;

    margin-top: 15px;

    background: var(--core-2120);
}


/* Main heading */

.core-values-hero h1 {
    margin: 30px 0 0;

    color: var(--core-white);

    font-size:
        clamp(65px, 8vw, 110px);

    line-height: 0.88;

    font-weight: 700;

    letter-spacing: -5px;
}


.core-values-hero h1 span {
    display: block;

    color: var(--core-2120);
}


.core-values-hero-content p {
    max-width: 620px;

    margin: 35px 0 0;

    color:
        rgba(255, 255, 255, 0.76);

    font-size: 16px;

    line-height: 1.8;
}


/* Number */

.core-values-hero-number {
    position: absolute;

    right: 2%;
    bottom: 20px;

    color:
        rgba(214, 234, 247, 0.08);

    font-size: 190px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -12px;

    pointer-events: none;
}


/* =========================================================
   ASPIRE SECTION
========================================================= */

.aspire-section {
    position: relative;

    padding: 140px 0 150px;

    background: var(--core-off-white);
}


.aspire-container {
    width: min(1250px, 88%);

    margin: 0 auto;
}


/* =========================================================
   INTRO
========================================================= */

.aspire-intro {
    display: grid;

    grid-template-columns: 0.7fr 1.3fr;

    column-gap: 90px;

    align-items: end;

    margin-bottom: 90px;
}


.section-label {
    color: var(--core-295);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.section-line {
    width: 48px;
    height: 3px;

    margin-top: 14px;

    background: var(--core-2120);
}


.aspire-intro h2 {
    margin: 0;

    color: var(--core-295);

    font-size:
        clamp(70px, 10vw, 135px);

    line-height: 0.8;

    font-weight: 700;

    letter-spacing: -7px;
}


.aspire-intro p {
    max-width: 500px;

    margin: 0;

    color: var(--core-text);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   ASPIRE VALUES
========================================================= */

.aspire-values {
    position: relative;

    display: flex;

    flex-direction: column;
}


/* Connecting line */

.aspire-values::before {
    content: "";

    position: absolute;

    left: 43px;

    top: 40px;
    bottom: 40px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 45, 79, 0.18) 10%,
            rgba(0, 45, 79, 0.18) 90%,
            transparent
        );
}


/* =========================================================
   VALUE ITEM
========================================================= */

.aspire-item {
    position: relative;

    display: grid;

    grid-template-columns: 86px 1fr;

    gap: 45px;

    align-items: center;

    min-height: 145px;

    padding: 18px 0;
}


/* =========================================================
   LETTER
========================================================= */

.aspire-letter {
    position: relative;

    z-index: 2;

    width: 86px;
    height: 86px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        2px solid
        var(--core-295);

    border-radius: 22px;

    background: var(--core-white);

    color: var(--core-295);

    font-size: 48px;

    font-weight: 700;

    line-height: 1;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* =========================================================
   VALUE CONTENT
========================================================= */

.aspire-value {
    position: relative;

    min-height: 100px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 28px 35px;

    border-radius: 0 70px 70px 0;

    background: var(--core-295);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Light accent */

.aspire-value::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -100px;

    border:
        1px solid
        rgba(169, 214, 245, 0.2);

    border-radius: 50%;
}


.aspire-index {
    position: absolute;

    right: 35px;
    top: 15px;

    color:
        rgba(214, 234, 247, 0.4);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;
}


.aspire-value h3 {
    position: relative;

    z-index: 2;

    margin: 0;

    color: var(--core-white);

    font-size: 28px;

    line-height: 1.15;

    font-weight: 600;

    letter-spacing: -0.5px;
}


.aspire-value p {
    position: relative;

    z-index: 2;

    max-width: 700px;

    margin: 9px 0 0;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   HOVER
========================================================= */

.aspire-item:hover .aspire-letter {
    background: var(--core-2120);

    color: var(--core-295);

    transform: scale(1.06);

    box-shadow:
        0 12px 30px
        rgba(0, 45, 79, 0.15);
}


.aspire-item:hover .aspire-value {
    transform: translateX(8px);

    box-shadow:
        0 18px 40px
        rgba(0, 45, 79, 0.15);
}


/* =========================================================
   CLOSING
========================================================= */

.core-values-closing {
    padding: 120px 0;

    background: var(--core-657);

    text-align: center;
}


.core-values-closing-container {
    width: min(900px, 88%);

    margin: 0 auto;
}


.core-values-closing span {
    display: block;

    margin-bottom: 25px;

    color: var(--core-295);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;
}


.core-values-closing h2 {
    margin: 0;

    color: var(--core-295);

    font-size:
        clamp(42px, 5vw, 70px);

    line-height: 1;

    font-weight: 400;

    letter-spacing: -3px;
}


.core-values-closing h2 strong {
    display: block;

    color: #075579;

    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .aspire-intro {
        grid-template-columns: 1fr;

        gap: 35px;

        align-items: start;
    }

    .aspire-intro h2 {
        font-size: 90px;
    }

    .aspire-intro p {
        max-width: 650px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .core-values-hero {
        min-height: 500px;
    }

    .core-values-hero-container {
        min-height: 500px;
    }

    .core-values-hero h1 {
        font-size:
            clamp(55px, 17vw, 80px);

        letter-spacing: -4px;
    }

    .core-values-hero-content p {
        font-size: 14px;
    }

    .core-values-hero-number {
        font-size: 110px;
    }


    /* Aspire */

    .aspire-section {
        padding: 90px 0 100px;
    }

    .aspire-container {
        width: 88%;
    }

    .aspire-intro {
        margin-bottom: 60px;
    }

    .aspire-intro h2 {
        font-size: 72px;

        letter-spacing: -4px;
    }


    /* Remove connecting line on small screens */

    .aspire-values::before {
        display: none;
    }


    .aspire-item {
        grid-template-columns: 65px 1fr;

        gap: 18px;

        min-height: auto;

        padding: 10px 0;
    }


    .aspire-letter {
        width: 65px;
        height: 65px;

        border-radius: 17px;

        font-size: 35px;
    }


    .aspire-value {
        padding: 24px 25px;

        border-radius: 0 40px 40px 0;
    }


    .aspire-value h3 {
        font-size: 20px;
    }


    .aspire-value p {
        font-size: 12px;
    }


    .aspire-index {
        right: 20px;
    }


    /* Closing */

    .core-values-closing {
        padding: 85px 0;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .core-values-hero-container {
        width: 88%;
    }

    .aspire-item {
        grid-template-columns: 55px 1fr;

        gap: 12px;
    }

    .aspire-letter {
        width: 55px;
        height: 55px;

        border-radius: 14px;

        font-size: 30px;
    }

    .aspire-value {
        padding: 20px;
    }

    .aspire-value h3 {
        font-size: 17px;
    }

    .aspire-value p {
        font-size: 11px;
    }

    .core-values-closing h2 {
        font-size: 40px;
    }

}