/* =========================================================
   CITY COLLEGE OF ORMOC
   ORGANIZATIONAL STRUCTURE PAGE

   PAGE-SPECIFIC STYLES ONLY
========================================================= */


/* =========================================================
   PAGE VARIABLES
========================================================= */

:root {
    --org-295: #002D4F;
    --org-2122: #A9D6F5;
    --org-2120: #7EC8E3;
    --org-657: #D6EAF7;

    --org-white: #FFFFFF;
    --org-off-white: #F7F9FB;
    --org-text: #31465A;
}


/* =========================================================
   FONT FACES
========================================================= */

@font-face {
    font-family: "Graphik";

    src:
        url("../fonts/Graphik-Regular.woff2")
        format("woff2");

    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "Graphik";

    src:
        url("../fonts/Graphik-Medium.woff2")
        format("woff2");

    font-weight: 500;
    font-style: normal;
}


@font-face {
    font-family: "Graphik";

    src:
        url("../fonts/Graphik-Semibold.woff2")
        format("woff2");

    font-weight: 600;
    font-style: normal;
}


@font-face {
    font-family: "Graphik";

    src:
        url("../fonts/Graphik-Bold.woff2")
        format("woff2");

    font-weight: 700;
    font-style: normal;
}


/* =========================================================
   PAGE RESET
========================================================= */

.org-page {
    margin: 0;

    font-family:
        "Graphik",
        Arial,
        sans-serif;

    background:
        var(--org-off-white);

    color:
        var(--org-295);

    overflow-x: hidden;
}


.org-page *,
.org-page *::before,
.org-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.org-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(--org-white);
}


/* =========================================================
   HERO DECORATION
========================================================= */

.org-hero::before {
    content: "";

    position: absolute;

    width: 720px;
    height: 720px;

    right: -330px;
    top: -360px;

    border:
        1px solid
        rgba(214, 234, 247, 0.16);

    border-radius: 50%;

    box-shadow:
        0 0 0 90px
        rgba(214, 234, 247, 0.025),

        0 0 0 180px
        rgba(214, 234, 247, 0.02);
}


.org-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: -300px;
    bottom: -350px;

    border:
        1px solid
        rgba(126, 200, 227, 0.18);

    border-radius: 50%;
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.org-hero-container {
    position: relative;

    z-index: 2;

    width:
        min(1400px, 90%);

    min-height: 520px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.org-hero-content {
    max-width: 780px;
}


.org-label {
    color:
        var(--org-light-blue, #A9D6F5);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.org-line {
    width: 50px;
    height: 3px;

    margin-top: 15px;

    background:
        var(--org-2120);
}


.org-hero h1 {
    margin: 30px 0 0;

    color:
        var(--org-white);

    font-size:
        clamp(58px, 7vw, 100px);

    line-height: 0.92;

    font-weight: 700;

    letter-spacing: -5px;
}


.org-hero h1 span {
    display: block;

    color:
        var(--org-2120);
}


.org-hero-content p {
    max-width: 690px;

    margin: 35px 0 0;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   HERO NUMBER
========================================================= */

.org-number {
    position: absolute;

    right: 3%;

    bottom: 35px;

    color:
        rgba(214, 234, 247, 0.08);

    font-size: 190px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -12px;

    pointer-events: none;
}


/* =========================================================
   ORGANIZATION SECTION
========================================================= */

.organization-section {
    position: relative;

    padding:
        120px 0
        130px;

    background:
        var(--org-off-white);
}


/* =========================================================
   ORGANIZATION CONTAINER
========================================================= */

.organization-container {
    width:
        min(1450px, 92%);

    margin: 0 auto;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.organization-heading {
    max-width: 750px;

    margin:
        0 auto
        65px;

    text-align: center;
}


.organization-label {
    color:
        var(--org-295);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.organization-heading h2 {
    margin: 18px 0 0;

    color:
        var(--org-295);

    font-size:
        clamp(42px, 5vw, 68px);

    line-height: 1;

    font-weight: 700;

    letter-spacing: -3px;
}


.organization-heading p {
    max-width: 650px;

    margin:
        25px auto
        0;

    color:
        var(--org-text);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   ORGANIZATIONAL CHART WRAPPER
========================================================= */

.organization-chart-wrapper {
    position: relative;

    width: 100%;

    padding: 35px;

    background:
        var(--org-white);

    border:
        1px solid
        rgba(0, 45, 79, 0.08);

    border-radius: 16px;

    box-shadow:
        0 25px 70px
        rgba(0, 45, 79, 0.10);

    overflow: auto;
}


/* =========================================================
   CHART
========================================================= */

.organization-chart {
    width: 100%;

    min-width: 900px;

    display: flex;

    justify-content: center;
}


.organization-chart-image {
    display: block;

    width: 100%;

    max-width: 1400px;

    height: auto;

    user-select: none;

    -webkit-user-drag: none;

    transition:
        transform 0.35s ease;
}


/* =========================================================
   IMAGE HOVER
========================================================= */

.organization-chart-wrapper:hover
.organization-chart-image {
    transform:
        scale(1.005);
}


/* =========================================================
   CHART NOTE
========================================================= */

.chart-note {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-top: 28px;

    color:
        rgba(0, 45, 79, 0.55);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

    text-align: center;
}


.chart-note-line {
    width: 45px;
    height: 1px;

    background:
        var(--org-2120);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .org-hero {
        min-height: 500px;
    }


    .org-hero-container {
        min-height: 500px;
    }


    .organization-section {
        padding:
            100px 0
            110px;
    }


    .organization-chart-wrapper {
        padding: 25px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .org-hero {
        min-height: 500px;
    }


    .org-hero-container {
        min-height: 500px;

        width: 88%;
    }


    .org-hero h1 {
        font-size:
            clamp(50px, 13vw, 75px);

        letter-spacing: -3px;
    }


    .org-hero-content p {
        max-width: 90%;

        font-size: 14px;
    }


    .org-number {
        right: 0;

        bottom: 25px;

        font-size: 110px;

        letter-spacing: -7px;
    }


    /* -----------------------------------------
       ORGANIZATION
    ----------------------------------------- */

    .organization-section {
        padding:
            80px 0
            90px;
    }


    .organization-container {
        width: 92%;
    }


    .organization-heading {
        margin-bottom: 45px;
    }


    .organization-heading h2 {
        font-size: 50px;
    }


    .organization-heading p {
        font-size: 14px;
    }


    /* -----------------------------------------
       CHART
    ----------------------------------------- */

    .organization-chart-wrapper {
        padding: 15px;

        border-radius: 10px;
    }


    .organization-chart {
        min-width: 850px;
    }


    .chart-note {
        flex-direction: column;

        gap: 8px;

        line-height: 1.5;
    }


    .chart-note-line {
        width: 35px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .org-hero-container {
        width: 88%;
    }


    .org-hero-content p {
        font-size: 13px;

        line-height: 1.7;
    }


    .organization-container {
        width: 90%;
    }


    .organization-heading h2 {
        font-size: 43px;

        letter-spacing: -2px;
    }


    .organization-heading p {
        font-size: 13px;
    }


    .organization-chart-wrapper {
        padding: 10px;

        border-radius: 8px;
    }


    .organization-chart {
        min-width: 800px;
    }


    .chart-note {
        font-size: 8px;

        letter-spacing: 1.5px;
    }

}