/* ============================================
   VISION SECTIONS
============================================ */

.vision-section {
    position: relative;
    min-height: 350vh;
    padding-top: 200px;
    overflow: visible;
}

#vision2,
#vision3 {
    min-height: 320vh;
}

/* =====================
   Layout
===================== */

.vision-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
    padding: 20px;
    flex-direction: row-reverse;
}

.vision-content-right {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
    padding: 200px;
    flex-direction: row;
}

.vision-text-wrapper {
    width: 35%;
    padding-top: 15vh;
    z-index: 10;
}

.vision-images {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 150px;
}

/* =====================
   Typography
===================== */

.vision-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #000;
    font-family: 'Montserrat', serif;
}

.vision-text p {
    font-size: 1.35rem;
    line-height: 1.9;
    color: #000;
    margin: 0;
    font-family: 'Montserrat', serif;
}

/* =====================
   Images
===================== */

.vision-img {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.vision-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-img video {
    width: 60%;
    height: 100%;
    object-fit: cover;
}

/* Portrait */

.vision-img.portrait-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 90vh;
    overflow: hidden;
}

.vision-img.portrait-group img {
    width: calc(50% - 10px);
    height: 100%;
}

/* Landscape */

.vision-img.landscape-group {
    height: 60vh;
}

.vision-img.landscape-group img {
    width: 100%;
    height: 100%;
}

/* =====================
   Lists
===================== */

.vision-text ul,
#vision3 ul {
    direction: rtl;
    text-align: right;
    list-style-position: inside;
    padding-right: 20px;
    padding-left: 0;
}

.vision-text li,
#vision3 li {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 8px;
}

.vision-text li strong,
#vision3 li strong {
    font-weight: 700;
}

/* ============================================
   TABLET
============================================ */

@media (max-width: 992px) {

    .vision-section,
    #vision2,
    #vision3 {
        min-height: auto;
        padding-top: 100px;
    }

    .vision-content,
    .vision-content-right {
        flex-direction: column !important;
        gap: 40px;
        padding: 30px 20px !important;
    }

    .vision-text-wrapper,
    .vision-images {
        width: 100%;
        padding-top: 0;
    }

    .vision-text {
        text-align: center;
    }

    .vision-text h2 {
        font-size: 2.3rem;
    }

    .vision-text p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .vision-images {
        gap: 40px;
    }

    .vision-img {
        height: auto;
    }

    .vision-img img,
    .vision-img video {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .vision-img.landscape-group {
        height: auto;
    }

    .vision-img.portrait-group {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .vision-img.portrait-group img {
        width: 100%;
        height: auto;
    }
}

/* ============================================
   MOBILE
============================================ */

@media (max-width: 767px) {

    .vision-section {
        animation: none !important;
        transition: none !important;
    }

    .vision-text-wrapper {
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }

    .vision-text h2 {
        font-size: 2rem;
    }

    .vision-text p {
        font-size: 1rem;
    }

    .vision-images {
        gap: 25px;
    }

    .vision-img {
        margin-bottom: 15px;
    }
}