@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.rtl .container,
[dir="rtl"] .container {
    font-family: 'Cairo', sans-serif;
}

.container {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    min-height: 100vh;
    padding: 0 20px 20px 20px;
    overflow-x: hidden;
    background-image:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 1) 70%),
        url("../images/sky_image.webp");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.tape1_image img,
.tape2_image img {
    position: absolute;
    width: 25%;
    top: 0;
    inset-inline-start: 0;
}

.tape1_image img {
    transform: rotate(35deg);
    top: -360px;
    z-index: 10;
}

.tape2_image img {
    transform: rotate(-35deg);
    top: -360px;
    inset-inline-start: -100px;
    z-index: 20;
}

.rtl .tape1_image img {
    inset-inline-start: 0;
    transform: rotate(-30deg);
}

.rtl .tape2_image img {
    inset-inline-start: -100px;
    transform: rotate(-8deg);
}

@keyframes dropRTL {
    0% {
        transform: translate(-100%, -100%) rotate(-30deg) scaleX(-1);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) rotate(-30deg) scaleX(-1);
        opacity: 1;
    }
}

@keyframes slideRTL {
    0% {
        transform: translate(100%, 100%) rotate(-8deg) scaleX(-1);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) rotate(8deg) scaleX(-1);
        opacity: 1;
    }
}

.ltr .tape1_image img {
    inset-inline-start: 0;
    transform: translate(0, 0) rotate(30deg);
    animation-play-state: paused;
    opacity: 1;
}

.ltr .tape2_image img {
    inset-inline-start: -100px;
    transform: translate(0, 0) rotate(-8deg);
    animation-play-state: paused;
    opacity: 1;
}

.drop {
    animation: dropRTL 1.2s ease-out forwards;
}

.slide {
    animation: slideRTL 1.5s ease-out forwards;
}

.container .section1 {
    position: relative;
    padding-inline-start: 170px;
    padding-top: 120px;
    z-index: 5;
}

.container .section1 .main_logo img {
    width: 95px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.container .section1 h1 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 55px;
    color: #0d3b36;
    margin-bottom: 10px;
}

.container .section1 p {
    color: #547d84;
    font-size: 25px;
    line-height: 1.6;
}

.container .section1 a {
    text-decoration: none;
    color: #ffffff;
    background-color: #15a363;
    width: 270px;
    height: 57px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    transition: 0.3s;
    gap: 10px;
}

.container .section1 a img {
    width: 25px;
}

.container .section1 a:hover {
    transform: translateY(-3px);
}

.container .swing-container {
    position: absolute;
    top: 0;
    inset-inline-end: 15%;
    width: 450px;
    transform-origin: top center;
    animation:
        dropBounce 1.2s ease-out forwards,
        swing 3.5s ease-in-out infinite 1.2s;
    z-index: 10;
}

@keyframes dropBounce {
    0% {
        transform: translateY(-120%) rotate(0deg);
    }

    60% {
        transform: translateY(15px) rotate(2deg);
    }

    75% {
        transform: translateY(-7px) rotate(-2deg);
    }

    90% {
        transform: translateY(4px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(3deg);
    }
}

@keyframes swing {
    0% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(3deg);
    }
}

.container .swing-container .Banner_image {
    position: relative;
    width: 100%;
}

.container .swing-container .logo_image {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .video-container {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
    mix-blend-mode: multiply;
}

.container .video-container video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease-in-out;
}

.rtl .video-container video {
    transform: scaleX(1);
    transition: none !important;
}

.ltr .video-container video {
    transform: scaleX(-1);
    transition: none !important;
}

@media (max-width: 1880px) and (min-width: 1521px) {
    .container .tape-container .tape1_image img {
        position: absolute;
        top: -290px;
    }

    .container .tape-container .tape2_image img {
        position: absolute;
        inset-inline-start: -200px;
        top: 8px;
    }

    .container .section1 {
        padding-inline-start: 170px;
        padding-top: 150px;
    }

    .container .section1 h1 {
        font-size: 50px;
    }

    .container .section1 a {
        width: 18%;
        height: 53px;
    }
}

@media (max-width:1520px) and (min-width: 1025px) {
    .container .tape-container .tape1_image img {
        position: absolute;
        top: -180px;
    }

    .container .tape-container .tape2_image img {
        position: absolute;
        top: -60px;
        inset-inline-start: -80px;
    }

    .container .section1 {
        padding-inline-start: 140px;
        padding-top: 215px;
    }

    .container .section1 .main_logo img {
        width: 75px;
    }

    .container .section1 h1 {
        font-size: 40px;
    }

    .container .swing-container {
        width: 340px;
        inset-inline-end: 5%;
    }
}

@media (max-width: 1024px) {
    .container .tape-container .tape1_image img {
        position: absolute;
        top: -125px;
    }

    .container .tape-container .tape2_image img {
        position: absolute;
        top: -40px;
        inset-inline-start: -50px;
    }

    .container .section1 {
        padding-inline-start: 75px;
        padding-top: 200px;
    }

    .container .section1 .main_logo img {
        width: 75px;
    }

    .container .section1 h1 {
        font-size: 40px;
    }

    .container .swing-container {
        width: 300px;
        inset-inline-end: 5%;
    }
}

@media (max-width: 768px) {
    .container .tape-container .tape1_image img {
        position: absolute;
        top: -75px;
    }

    .container .tape-container .tape2_image img {
        position: absolute;
        inset-inline-start: -40px;
        top: -10px;
    }

    .container .section1 {
        padding-inline-start: 75px;
        padding-top: 300px;
    }

    .container .video-container {
        position: relative;
        margin-top: 20px;
        width: 150%;
        inset-inline-start: -5%;
    }
}

@media (max-width: 480px) {
    * {
        overflow: visible;
    }

    .container {
        display: block;
        padding: 0;
    }

    .container .tape-container .tape1_image img {
        width: 150px;
        top: -70px;
    }

    .container .tape-container .tape2_image img {
        top: -10px;
        width: 160px;
    }

    .container .section1 .main_logo img {
        width: 70px;
    }

    .container .swing-container {
        position: absolute;
        inset-inline-end: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
        z-index: 15;
        transform-origin: top center;
        animation:
            dropBounceMobile 1.2s ease-out forwards,
            swingMobile 3.5s ease-in-out infinite 1.2s;
    }

    @keyframes dropBounceMobile {
        0% {
            transform: translateX(-50%) translateY(-120%) rotate(0deg);
        }

        60% {
            transform: translateX(-50%) translateY(15px) rotate(2deg);
        }

        75% {
            transform: translateX(-50%) translateY(-7px) rotate(-2deg);
        }

        100% {
            transform: translateX(-50%) translateY(0) rotate(3deg);
        }
    }

    @keyframes swingMobile {
        0% {
            transform: translateX(-50%) rotate(3deg);
        }

        50% {
            transform: translateX(-50%) rotate(-3deg);
        }

        100% {
            transform: translateX(-50%) rotate(3deg);
        }
    }


    .container .section1 {
        padding: 330px 20px 40px 20px !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .container .section1 h1 {
        font-size: 28px;
    }

    .container .section1 p {
        font-size: 16px;
    }

    .container .section1 a {
        width: 190px;
        height: 40px;
        margin: 20px auto;
        font-size: 14px;
        gap: 3px;
        font-weight: 600;
    }

    .container .section1 a img {
        width: 19px;
    }

    .container .video-container {
        position: absolute;
        bottom: 0px;
        margin-top: 0;
        width: 163%;
        inset-inline-start: -7%;
    }
}

.container {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.container.switching {
    opacity: 0;
}

.ltr .tape1_image img {
    top: -360px;
    inset-inline-start: 0;
    transform: rotate(30deg) !important;
}

.ltr .tape2_image img {
    top: -360px;
    inset-inline-start: -100px;
    transform: rotate(-8deg) !important;
}

#mainBanner {
    transition: opacity 0.4s ease;
}