﻿.wow {
    opacity: 0;
}

.owl-carousel {
    height: 100%;
}

    .owl-carousel .item {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f2f2f2;
        font-size: 20px;
        color: #333;
        position: relative;
    }

    .owl-carousel img,
    .owl-carousel video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.demo-content {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    font-size: 16px;
}

@media screen and (prefers-reduced-motion: reduce), (update: slow) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

.skip {
    position: absolute;
    top: -1000px;
    left: -1000px;
    height: 1px;
    width: 1px;
    text-align: left;
    overflow: hidden;
    z-index: 999999;
    color: #fff;
    background: #e91722;
    padding: 5px 10px;
    font-size: 0.875rem;
}

html[dir="rtl"] .skip:focus {
    font-size: 0.775rem;
    right: 0;
    left: auto;
}

a.skip:active,
a.skip:focus,
a.skip:hover {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
    color: #fff;
    font-size: 0.875rem;
}

.hero-content .btn:-webkit-any-link:focus {
    outline-offset: 1px;
}

.hero-content .btn:focus {
    outline: -webkit-focus-ring-color auto 1px;
}

.theme-default .page-sidebar .page-sidebar-content .info-block p,
.theme-default .page-sidebar .page-sidebar-content .info-block a,
.theme-default .page-sidebar .page-sidebar-content .info-block a:hover {
    color: #a5a5a5;
}

video::cue {
    font-family: latoregular, sans-serif;
}

video::-webkit-media-text-track-display {
    overflow: visible !important;
    -webkit-box-sizing: border-box;
    height: 100%;
}

video::-webkit-media-text-track-display-backdrop {
    padding: 0 !important;
    border-radius: 0 !important;
}

html[dir="rtl"] video::cue {
    font-family: notokufiarabicregular, latoregular !important;
    direction: rtl !important;
}

@media (min-width: 1280px) {
    video::-webkit-media-text-track-display {
        margin-top: -47px;
    }

    video::cue {
        font-size: 22px;
    }
}

@media (max-width: 1279px) {
    video::-webkit-media-text-track-display {
        margin-top: -42px;
    }

    video::cue {
        font-size: 20px;
    }
}

@media (max-width: 1023px) {
    video::cue {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    video::cue {
        font-size: 16px;
    }

    video::-webkit-media-text-track-display {
        margin-top: -28px;
    }
}

@media (max-width: 1024px) {
    html[lang=ar] .iso-container .left-col {
        margin-left: 0px !important;
    }

    .iso-container .left-col {
        margin-right: 0px !important;
        margin-bottom: 40px !important;
    }
}

.iso-container .left-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 60px;
}

html[lang=ar] .iso-container .left-col {
    margin-right: 0;
    margin-left: 60px;
}

#project-map svg {
    height: 100%;
}

    #project-map svg .notactive .st2,
    #project-map svg .notactive .st1 {
        fill: none !important;
    }

.owl-carousel .item {
    position: relative;
    height: 100%;
    /* Ensure the carousel items take full height */
}

    .owl-carousel .item img,
    .owl-carousel .item video {
        width: 100%;
        object-fit: cover;
        /* Ensure images and videos are cropped correctly */
        height: 100%;
    }

.owl-carousel .demo-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 10;
    font-size: 1.5rem;
}

.owl-carousel .item video {
    position: relative;
    z-index: 1;
    height: 100%;
}

.owl-carousel {
    position: relative;
    height: 100%;
    /* This should match the .hero section height */
}

/* Custom adjustments for small screens */
@media (max-width: 767px) {
    .owl-carousel {
        height: 100%;
        /* Adjust for mobile */
    }
}

.hero {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.owl-carousel .item {
    text-align: center;
    height: calc(100vh - 180px);
}

    .owl-carousel .item img {
        width: 100%;
        height: auto;
    }

.owl-carousel .video-slide video {
    width: 100%;
    height: auto;
}

.is-home .hero {
    /* height: 100vh! important; */
    max-height: 100% !important;
}

    .is-home .hero video {
        left: 0;
        top: 0;
        -webkit-transform: none;
        transform: none;
        min-height: auto;
    }

.owl-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    z-index: 10000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.owl-carousel button.owl-dot:focus,
.owl-carousel button.owl-dot {
    background-color: #fff;
    width: 14px;
    height: 14px;
    border-radius: 10px;
    border: 1px solid #000;
    padding: 4px;
    outline: 0;
    box-shadow: none;
}

.move-down {
    bottom: 50px;
}

.owl-carousel button.owl-dot.active {
    background-color: #e91722;
}

/* .hero-content {
 padding-bottom: 0! important;
} */
.hero-content {
    display: block;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0,100%,0)
    }

    to {
        opacity: 1;
        transform: translateZ(0)
    }
}

.fadeInUp {
    animation-name: fadeInUp
}

.delay-1 {
    animation-delay: .2s;
}

.delay-2 {
    animation-delay: .4s;
}

.delay-3 {
    animation-delay: 1s;
}

.delay-4 {
    animation-delay: 2s;
}

