/* =========================================================
   CITY COLLEGE OF ORMOC
   HISTORY PAGE
========================================================= */


/* =========================================================
   COLOR PALETTE
========================================================= */




/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Graphik",
        "Neue Haas Grotesk Text Pro",
        Arial,
        sans-serif;

    color: var(--dark);

    background: var(--white);

    line-height: 1.6;

}


a {
    text-decoration: none;

    color: inherit;
}


button {
    font-family: inherit;
}

/* =========================================================
   HISTORY HERO
========================================================= */

.history-hero {

    position: relative;

    min-height: 520px;

    overflow: hidden;

    background: var(--pantone-295);

}


.history-hero-background {

    position: absolute;

    inset: 0;

    background-image:
        url("/cco/app/public/assets/images/background.png");

    background-size: cover;

    background-position: center;

    opacity: 0.42;

}


.history-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 59, 92, 0.97) 0%,
            rgba(0, 59, 92, 0.88) 42%,
            rgba(0, 59, 92, 0.58) 100%
        );

}


.history-hero-container {

    position: relative;

    z-index: 2;

    width: min(1400px, 90%);

    min-height: 520px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.history-hero-content {

    max-width: 760px;

}


.history-eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--pantone-2122);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;

}


.history-hero h1 {

    font-family:
        "Neue Haas Grotesk Display Pro",
        "Graphik",
        Arial,
        sans-serif;

    color: var(--white);

    font-size: clamp(58px, 7vw, 105px);

    line-height: 0.95;

    font-weight: 700;

    letter-spacing: -4px;

    margin-bottom: 30px;

}


.history-hero p {

    max-width: 650px;

    color: var(--pantone-657);

    font-size: 17px;

    line-height: 1.8;

}


.history-hero-number {

    align-self: flex-end;

    padding-bottom: 55px;

    color: rgba(217, 234, 247, 0.28);

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    font-size: 150px;

    line-height: 1;

    font-weight: 700;

}



/* =========================================================
   HISTORY CONTENT
========================================================= */

.history-section {

    background: var(--white);

    padding: 120px 0 130px;

}


.history-container {

    width: min(1300px, 88%);

    margin: auto;

}


.history-section-label {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 70px;

}


.history-section-label::after {

    content: "";

    display: block;

    width: 100px;

    height: 1px;

    background: var(--pantone-2120);

}


.history-section-label span {

    color: var(--pantone-295);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}



/* =========================================================
   CONTENT GRID
========================================================= */

.history-content {

    display: grid;

    grid-template-columns:
        0.8fr
        1.5fr;

    gap: 100px;

}


.history-heading {

    position: relative;

}


.history-small-title {

    display: block;

    margin-bottom: 22px;

    color: var(--pantone-2120);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.history-heading h2 {

    font-family:
        "Neue Haas Grotesk Display Pro",
        "Graphik",
        Arial,
        sans-serif;

    color: var(--pantone-295);

    font-size: clamp(52px, 6vw, 86px);

    line-height: 0.95;

    letter-spacing: -3px;

    font-weight: 700;

}


.history-heading h2 em {

    color: var(--pantone-2120);

    font-style: normal;

}



/* =========================================================
   HISTORY TEXT
========================================================= */

.history-text {

    padding-top: 8px;

}


.history-text p {

    margin-bottom: 27px;

    color: var(--text);

    font-family:
        "Neue Haas Grotesk Text Pro",
        "Graphik",
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.9;

}


.history-text p:first-child {

    color: var(--dark);

    font-size: 18px;

}



/* =========================================================
   HIGHLIGHT
========================================================= */

.history-highlight {

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 30px;

    margin-top: 90px;

    padding: 55px 60px;

    background: var(--pantone-657);

    border-left: 5px solid var(--pantone-2120);

}


.highlight-mark {

    color: var(--pantone-295);

    font-family: Georgia, serif;

    font-size: 100px;

    line-height: 0.7;

}


.highlight-content p {

    max-width: 850px;

    margin-bottom: 20px;

    color: var(--pantone-295);

    font-family:
        "Neue Haas Grotesk Display Pro",
        "Graphik",
        Arial,
        sans-serif;

    font-size: 25px;

    line-height: 1.45;

}


.highlight-content span {

    color: var(--pantone-2120);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

}



/* =========================================================
   CTA
========================================================= */

.history-cta {

    position: relative;

    overflow: hidden;

    background: var(--pantone-295);

    padding: 110px 0;

}


.history-cta::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -220px;

    top: -280px;

    border: 1px solid rgba(168, 199, 227, 0.2);

    border-radius: 50%;

}


.history-cta::after {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    right: -100px;

    top: -200px;

    border: 1px solid rgba(168, 199, 227, 0.15);

    border-radius: 50%;

}


.history-cta-container {

    position: relative;

    z-index: 2;

    width: min(1300px, 88%);

    margin: auto;

}


.history-cta-container > span {

    color: var(--pantone-2122);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

}


.history-cta h2 {

    margin: 25px 0 40px;

    color: var(--white);

    font-family:
        "Neue Haas Grotesk Display Pro",
        "Graphik",
        Arial,
        sans-serif;

    font-size: clamp(50px, 6vw, 90px);

    line-height: 0.95;

    letter-spacing: -3px;

}


.history-cta h2 em {

    color: var(--pantone-2120);

    font-style: normal;

}


.cta-button {

    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 15px 22px;

    border: 1px solid var(--pantone-2122);

    border-radius: 5px;

    color: var(--white);

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.cta-button span {

    font-size: 18px;

}


.cta-button:hover {

    background: var(--pantone-2122);

    color: var(--pantone-295);

    transform: translateY(-2px);

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {


    .history-content {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .history-heading h2 {

        font-size: 65px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .history-hero {

        min-height: 500px;

    }


    .history-hero-container {

        min-height: 500px;

    }


    .history-hero-number {

        display: none;

    }


    .history-hero h1 {

        font-size: 65px;

        letter-spacing: -3px;

    }


    .history-section {

        padding: 80px 0;

    }


    .history-content {

        gap: 40px;

    }


    .history-heading h2 {

        font-size: 58px;

    }


    .history-highlight {

        grid-template-columns: 1fr;

        gap: 15px;

        padding: 40px;

    }


    .highlight-mark {

        font-size: 70px;

    }


    .highlight-content p {

        font-size: 21px;

    }


    .history-cta {

        padding: 80px 0;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 900px) {


    .brand-name {

        font-size: 11px;

    }


    .history-hero-container {

        width: 88%;

    }


    .history-hero h1 {

        font-size: 52px;

    }


    .history-hero p {

        font-size: 15px;

    }


    .history-section {

        padding: 65px 0;

    }


    .history-heading h2 {

        font-size: 48px;

    }


    .history-text p {

        font-size: 15px;

    }


    .history-text p:first-child {

        font-size: 16px;

    }


    .history-highlight {

        padding: 30px;

    }


    .highlight-content p {

        font-size: 18px;

    }


    .history-cta h2 {

        font-size: 48px;

    }

    .mobile-menu-button {

        width: 42px;

        height: 42px;

        border: 0;

        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        gap: 5px;

        background: transparent;

        cursor: pointer;

    }

    .mobile-menu-button span {

        width: 24px;

        height: 2px;

        background: var(--white);

    }

}