/* ============================================
   VISION SECTIONS 
   ============================================ */

.vision-section {
    min-height: 350vh;
    position: relative;
    padding-top: 200px;
    overflow: visible; 
}

#vision2, #vision3 {
    min-height: 320vh;
}

.vision-content {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    padding: 20px;
}

.vision-content-right {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    padding: 200px;
    flex-direction: row-reverse;
}

.vision-text-wrapper {
    width: 35%;
    padding-top: 15vh;
    align-self: flex-start;
    z-index: 10;
}

.vision-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', serif;
}

.vision-text p {
    font-size: 1.35rem;
    line-height: 1.9;
    color: #000000;
    margin-right: 30px;
    font-family: 'Montserrat', serif;
}

.vision-images {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 150px;
}

.vision-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 70vh; 
}

.vision-img video {
    display: block;
    width: 60%;  
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.vision-img img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
}

.vision-img.portrait-group {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 90vh;
    gap: 20px;
}

.vision-img.landscape-group {
    height: 60vh;
}

.vision-img.landscape-group img {
    height: 100%;
    width: 100%;
    margin-bottom: 0;
}

.vision-img.portrait-group img {
    width: calc(50% - 10px);
    height: 100%;
    margin-bottom: 0;
}

/* Vision Section List Styles */
.vision-text ul,
.vision-text ul li,
#vision3 .vision-text ul,
#vision3 .vision-text ul li {
    direction: rtl;
    text-align: right;
    padding-right: 20px;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    list-style-position: inside;
}

.vision-text ul li {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 8px;
}

.vision-text ul li strong {
    margin-left: 0;
    margin-right: 0;
    font-weight: 700;
}

/* Pool Section Specific */
#vision3 ul {
    direction: rtl;
    padding-right: 20px;
    padding-left: 0;
}

#vision3 ul li {
    direction: rtl;
    text-align: right;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 6px;
}

#vision3 ul li strong {
    font-weight: 700;
}

/* RTL Overrides for Vision Sections */
.vision-content {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    padding: 20px;
    flex-direction: row-reverse;
}

.vision-content-right {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    padding: 200px;
    flex-direction: row;
}

.vision-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: rgb(0, 0, 0);
    text-align: right;
}

.vision-text p {
    font-size: 1.35rem;
    line-height: 1.9;
    color: #000000;
    margin-right: 0;
    margin-left: 30px;
    text-align: right;
}

/* Mobile Responsive - Hide Vision Sections on Mobile */


/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 992px) {
    .vision-content,
    .vision-content-right {
        flex-direction: column !important;
        padding: 50px 20px !important;
    }
    
    .vision-text-wrapper,
    .vision-images {
        width: 100% !important;
    }
    
    .vision-text-wrapper {
        padding-top: 0 !important;
        margin-bottom: 50px;
    }
    
    .vision-images {
        gap: 50px !important;
    }
    
    .vision-img.portrait-group img {
        width: 100% !important;
        height: 50vh !important;
    }
    
    .vision-img.landscape-group img {
        height: 40vh !important;
    }
    
    .vision-text {
        text-align: center !important;
    }
    
    .vision-text p {
        margin-left: 0 !important;
    }
}

/* Disable animations on mobile */
@media (max-width: 767px) {
    .vision-section {
        animation: none !important;
        transition: none !important;
    }
    
    .vision-text-wrapper {
        position: relative !important;
        transform: none !important;
        top: auto !important;
    }
    
    .vision-content,
    .vision-content-right {
        display: block !important;
    }
    
    .vision-images {
        display: block !important;
    }
    
    .vision-img {
        margin-bottom: 20px;
        display: block !important;
    }
}

/* Performance Optimizations */
.vision-img {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}