/* =========================================
   ABOUT PAGE
========================================= */


/* =========================================
   ABOUT HERO
========================================= */

.about-us {
    position: relative;

    width: 100%;

    text-align: center;
    color: white;

    overflow: hidden;
}


.about-us-img {
    display: block;

    width: 100%;
    height: 550px;

    object-fit: cover;
    object-position: center;
}


/* Centered hero text */

.about-us-text {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 900px;

    text-align: center;
}


/* Hero title */

.title-about {
    font-size: 5rem;
    line-height: 1.1;

    text-shadow: 2px 2px 4px #000000;
}


/* Hero subtitle */

.under-title-about {
    margin-top: 10px;

    font-size: 2rem;
    line-height: 1.4;

    text-shadow: 2px 2px 4px #000000;
}


/* =========================================
   OUR STORY
========================================= */

.our-story {
    width: 90%;
    max-width: 1000px;

    min-height: 600px;

    margin-left: auto;
    margin-right: auto;

    padding-top: 50px;
    padding-bottom: 50px;
}


/* Section title */

.our-story-title {
    margin: 0 0 25px;

    font-size: 3rem;
    line-height: 1.2;
}


/* Story text */

.our-story-text {
    width: 100%;
    max-width: 980px;

    margin-left: auto;
    margin-right: auto;

    font-size: 1.2rem;
    line-height: 1.7;
}


/* =========================================
   OUR VALUES
========================================= */

.our-values {
    width: 90%;
    max-width: 1000px;

    min-height: 700px;

    margin-left: auto;
    margin-right: auto;

    display: flex;
    flex-direction: column;

    padding-bottom: 60px;
}


/* Section title */

.our-values-title {
    margin: 0 0 30px;

    font-size: 3rem;
    line-height: 1.2;
}


/* Rows of value cards */

.our-values-inside {
    display: flex;
    flex-direction: row;

    width: 100%;

    margin-left: auto;
    margin-right: auto;

    gap: 40px;
}


/* Value cards */

.our-values-inside-first,
.our-values-inside-second {
    min-height: 230px;

    width: 50%;

    background-color: #ffffff;

    padding: 25px;

    margin-top: 30px;

    border-radius: 10px;

    color: rgba(0, 0, 0, 0.8);

    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/* Value icon container */

.div-image-values {
    height: 55px;
    width: 55px;

    border-radius: 10px;

    background-color: #0A5A8F;

    padding: 5px;
}


/* Value icon */

.image-values {
    height: 40px;
    width: 40px;

    display: block;

    margin: 5px auto;
}


/* Value card title */

.title-values-card {
    margin-top: 15px;
    margin-bottom: 10px;

    font-size: 1.5rem;
    line-height: 1.3;
}


/* Value card text */

.our-values-inside-first p,
.our-values-inside-second p {
    font-size: 1rem;
    line-height: 1.6;
}


/* =========================================
   OUR COMMITMENT
========================================= */

.our-commitment {
    width: 90%;
    max-width: 980px;

    min-height: 200px;

    background-color: #043454;

    color: #ffffff;

    font-size: 1.2rem;
    line-height: 1.7;

    padding: 45px;

    text-shadow: 2px 2px 4px #000000;

    margin: 20px auto 150px;

    border-radius: 30px;
}


/* Commitment title */

.our-commitment-title {
    text-align: center;

    font-size: 2rem;
    line-height: 1.3;

    margin-bottom: 15px;
}


/* =========================================
   TABLET / MOBILE ≤900px
========================================= */

@media (max-width: 900px) {


    /* =========================================
       GLOBAL SAFETY
    ========================================= */

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }


    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }


    .container,
    .container-fluid {
        width: 100%;
        max-width: 100%;

        padding-left: 0;
        padding-right: 0;

        margin: 0;
    }


    /* =========================================
       ABOUT HERO
    ========================================= */

    .about-us {
        position: relative;

        width: 100%;
        max-width: 100%;

        height: 400px;

        margin: 0;

        padding: 0;

        overflow: hidden;
    }


    .about-us-img {
        position: absolute;

        top: 0;
        left: 0;

        display: block;

        width: 100% !important;
        max-width: 100% !important;

        height: 400px !important;

        margin: 0 !important;

        padding: 0;

        object-fit: cover;
        object-position: center;
    }


    .about-us-text {
        position: absolute;

        z-index: 2;

        top: 50%;
        left: 50%;

        transform: translate(-50%, -50%);

        width: calc(100% - 40px);
        max-width: 700px;

        text-align: center;

        color: white;
    }


    .title-about {
        font-size: 3rem;
        line-height: 1.2;

        margin: 0;
    }


    .under-title-about {
        font-size: 1.4rem;
        line-height: 1.4;

        margin-top: 12px;
    }


    /* =========================================
       OUR STORY
    ========================================= */

    .our-story {
        width: 100%;
        max-width: 100%;

        min-height: 0;
        height: auto;

        padding: 45px 25px;

        margin: 0;
    }


    .our-story-title {
        margin: 0 0 25px;

        text-align: center;

        font-size: 2rem;
    }


    .our-story-text {
        width: 100%;
        max-width: 700px;

        margin: 0 auto 25px;

        font-size: 1rem;
        line-height: 1.7;

        overflow-wrap: break-word;
    }


    /* =========================================
       OUR VALUES
    ========================================= */

    .our-values {
        width: 100%;
        max-width: 100%;

        height: auto !important;
        min-height: 0;

        display: block;

        padding: 45px 20px 60px;

        margin: 0;

        overflow: visible;
    }


    .our-values-title {
        margin: 0 0 35px;

        text-align: center;

        font-size: 2rem;
    }


    /* Each row of cards */

    .our-values-inside {
        width: 100%;
        max-width: 600px;

        height: auto;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 24px;

        padding: 0;

        margin: 0 auto 24px;
    }


    .our-values-inside:last-child {
        margin-bottom: 0;
    }


    /* =========================================
       VALUE CARDS
    ========================================= */

    .our-values-inside-first,
    .our-values-inside-second {
        width: 100%;
        max-width: 100%;

        height: auto;
        min-height: 210px;

        margin: 0;

        padding: 25px;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        text-align: left;

        border-radius: 14px;

        flex: none;

        overflow-wrap: break-word;

        word-break: normal;
    }


    .div-image-values {
        width: 50px;
        height: 50px;

        min-width: 50px;

        flex-shrink: 0;

        margin: 0 0 15px;
    }


    .image-values {
        width: 40px;
        height: 40px;

        margin: 5px auto;
    }


    .title-values-card {
        width: 100%;

        font-size: 1.4rem;

        margin: 10px 0 12px;
    }


    .our-values-inside-first p,
    .our-values-inside-second p {
        width: 100%;

        margin: 0;

        font-size: 1rem;
        line-height: 1.6;

        overflow-wrap: break-word;
    }


    /* =========================================
       OUR COMMITMENT
    ========================================= */

    .our-commitment {
        width: calc(100% - 40px);
        max-width: 600px;

        height: auto;
        min-height: 0;

        margin: 40px auto 80px;

        padding: 35px 25px;

        border-radius: 20px;

        font-size: 1rem;
        line-height: 1.7;

        text-align: center;

        overflow-wrap: break-word;
    }


    .our-commitment-title {
        font-size: 2rem;

        margin: 0 0 20px;
    }
}


/* =========================================
   SMALL PHONES ≤500px
========================================= */

@media (max-width: 500px) {


    /* =========================================
       GLOBAL
    ========================================= */

    html,
    body {
        width: 100%;
        max-width: 100%;

        overflow-x: hidden;
    }


    /* =========================================
       ABOUT HERO
    ========================================= */

    .about-us {
        width: 100%;
        max-width: 100%;

        height: 280px;

        overflow: hidden;
    }


    .about-us-img {
        width: 100% !important;
        max-width: 100% !important;

        height: 280px !important;

        object-fit: cover;
        object-position: center;
    }


    .about-us-text {
        width: calc(100% - 30px);
    }


    .title-about {
        /* Same mobile hero scale as Home */
        font-size: 2.2rem;
    }


    .under-title-about {
        font-size: 1.1rem;

        margin-top: 10px;
    }


    /* =========================================
       OUR STORY
    ========================================= */

    .our-story {
        width: 100%;

        height: auto;

        padding: 35px 18px;
    }


    .our-story-title {
        margin: 0 0 22px;

        font-size: 1.8rem;
    }


    .our-story-text {
        width: 100%;
        max-width: 100%;

        font-size: 0.95rem;
        line-height: 1.65;

        margin: 0 auto 20px;
    }


    /* =========================================
       OUR VALUES
    ========================================= */

    .our-values {
        width: 100%;
        max-width: 100%;

        height: auto !important;

        padding: 35px 16px 60px;

        margin: 0;

        display: block;

        overflow: visible;
    }


    .our-values-title {
        margin: 0 0 30px;

        font-size: 1.8rem;

        text-align: center;
    }


    .our-values-inside {
        width: 100%;
        max-width: 100%;

        height: auto;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding: 0;

        margin: 0 auto 20px;
    }


    .our-values-inside:last-child {
        margin-bottom: 0;
    }


    /* =========================================
       MOBILE VALUE CARDS
    ========================================= */

    .our-values-inside-first,
    .our-values-inside-second {
        width: 100%;
        max-width: 100%;

        height: auto;
        min-height: 0;

        margin: 0;

        padding: 22px 18px;

        display: flex;
        flex-direction: column;

        align-items: flex-start;

        text-align: left;

        border-radius: 14px;

        flex: none;

        overflow: hidden;
    }


    .div-image-values {
        width: 50px;
        height: 50px;

        min-width: 50px;

        margin: 0 0 12px;

        flex-shrink: 0;
    }


    .image-values {
        width: 40px;
        height: 40px;

        margin: 5px auto;
    }


    .title-values-card {
        width: 100%;

        font-size: 1.3rem;

        margin: 8px 0 10px;
    }


    .our-values-inside-first p,
    .our-values-inside-second p {
        width: 100%;

        margin: 0;

        font-size: 0.95rem;
        line-height: 1.6;

        overflow-wrap: break-word;
    }


    /* =========================================
       OUR COMMITMENT
    ========================================= */

    .our-commitment {
        width: calc(100% - 32px);
        max-width: 100%;

        height: auto;

        margin: 30px auto 60px;

        padding: 28px 20px;

        font-size: 0.95rem;
        line-height: 1.6;

        border-radius: 18px;

        text-align: center;
    }


    .our-commitment-title {
        font-size: 1.7rem;

        margin: 0 0 15px;
    }
}