.hero_aquastroke{
    min-height: 100vh;
    background: url('https://maymaan.b-cdn.net/assets/frontend/img/sequence_reverse_bg.webp');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.hero_aquastroke_video_banner{
    height: 55vh;
    width: 100%;
    border-radius: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('https://maymaan.b-cdn.net/assets/frontend/img/maymaan-engine.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero_aquastroke_video_banner img{
    width: 100%;
    height: 100%;
}

.hero_aquastroke_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.hero_aquastroke_top{
    width: 100%;
    text-align: center;
}

.hero_aquastroke_top img{
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero_aquastroke_bottom{
    z-index: 1;
    transition: width 1.5s ease-in-out;
    animation-timing-function: cubic-bezier(.4,0,.2,1);
    width: 0%;
}
.hero_aquastroke_bottom.expand {
    width: 60%;
}


.section_aquastroke{
    min-height: auto;
    background-color: #000;
    background-image: url('https://maymaan.b-cdn.net/assets/frontend/img/aquastroke-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: flex;
    flex-direction: row;
    padding: 15vh 50px;
    position: relative;
    z-index: 0;
}


.section_aquastroke_heading{
    
}

.section_aquastroke_heading img{
    height: 55px;
}

.section_aquastroke_heading p{
    font-size: 27px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.section_aquastroke_body {
    padding: 10vh 4% 0vh 4%;
}

.section_aquastroke_body_box {
    margin-bottom: 35px;
}

.section_aquastroke_body_box h3{
    font-family: "League Spartan", sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 35px;
}

.section_aquastroke_body_box code{
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    color: #fff;
}

.section_aquastroke_body_box p {
    font-weight: 400;
    color: #fff;
    font-size: 20px;
    margin-left: 28px;
}



.efpp_aquastroke {
    position: relative;
    min-height: 100vh;
    background: #1881E3;
    background: linear-gradient(0deg,rgba(24, 129, 227, 1) 0%, rgba(0, 0, 0, 1) 29%);
    display: flex;
    padding: 50px 0 50px 0;
    overflow: hidden;
    clip-path: ellipse(250% 100% at 50% 0%);
    z-index: 1;
    margin-top: -1px;
}

.efpp_aquastroke_row{
    margin: 50px;
}

.efpp_aquastroke h1{
    font-family: "Raleway", sans-serif;
    font-size: 6.5em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.efpp_aquastroke_p_container{
    margin-top: -10vh;
}
.efpp_aquastroke .efpp_aquastroke_p{
    font-size: 1.3em;
    color: #fff;
    padding: 0 2em 0 0em;
}

#horizontal-scroll-section {
    position: relative;
    height: calc(100vh - 100px);
    overflow: hidden;
    background: transparent;
    margin-bottom: 100px;
}



#horizontal-scroll-section-mobile{
    display: none;
}



.scroll-wrapper {
    display: flex;
    width: fit-content;
    height: 100%;
    flex-wrap: nowrap;
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.scroll-wrapper-mobile{
    display: none;
}

.scroll-item {
    flex: 0 0 40vw;
    height: 400px;
    width: 100%;
    margin-right: 13px;
    margin-top: 8rem;
    margin-left: 13px;
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 15px;
    user-select: none;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 25px;
    position: relative;
    transform: translateY(0);
    background-color: #000; /* Base background */
}

.scroll-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, #00000073, rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 1;
    width: 110%;
}

.scroll-item:hover {
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45); */
    cursor: pointer;
}

/* Image zoom effect */
.scroll-item-img {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
    object-fit: cover;
    will-change: transform;
}

.scroll-item:hover .scroll-item-img {
    transform: scale(1.05);
}

.scroll-item:hover .scroll-item-content{
    transform: translateY(165px);
}

/* Content reveal */
.scroll-item-content {
    z-index: 1;
    transform: translateY(245px);
    transition: transform 0.3s;
}

.scroll-item-content h3,
.scroll-item-content p {
    margin: 0;
    transition: transform 0.3s;
    margin-right: 12%;
}

.scroll-item-content p {
    transform: translateY(200px);
    font-size: 19px;
    margin-top: 10px;
}

.scroll-item-content h3{
    transform: translateY(66px);
    font-size: 35px;
    font-weight: 600;
}

.scroll-item:hover .scroll-item-content p{
    transform: translateY(0px)
}

.scroll-item:hover .scroll-item-content h3{
    transform: translateY(-10px)
}

.second_hero_aquastroke {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: -1 !important;
    margin-top: -100vh;

    
    background-color: #000;
    background-image: url('https://maymaan.b-cdn.net/assets/frontend/img/aquastroke-pg-09.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

.second_hero_aquastroke img {
    height: auto;
    width: 80%;
    opacity: 0;
}





/* --------------  Small Devices  -------------- */
/* Larger smartphones & small tablets in portrait */
@media (max-width: 767px) {
    /* styles for large phones & small tablets */
    
    .hero_aquastroke {
        min-height: auto !important;
    }

    .hero_aquastroke_content {
        height: 60vh;
    }
    .hero_aquastroke_bottom.expand {
        width: 90%;
    }

    .hero_aquastroke_video_banner {
        height: 30vh;
    }

    .hero_aquastroke_top img {
        top: 53%;
        width: 70%;
    }





    .section_aquastroke {
        padding: 80px 25px;
        min-height: auto;
    }

    .section_aquastroke_heading img {
        height: 25px;
    }

    .section_aquastroke_heading p {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 0;
        font-weight: 400;
    }

    .section_aquastroke_body {
        padding: 8vh 0% 0vh 0%;
    }

    .section_aquastroke_body_box h3 {
        font-size: 25px;
    }
    .section_aquastroke_body_box p {
        font-size: 16px;
        line-height: 24px;
        margin-left: 23px;
        text-shadow: 0px 0px 30px #000;
    }





    .efpp_aquastroke_row {
        margin: 50px 10px;
    }

    .efpp_aquastroke h1 {
        font-size: 37px;
    }

    .efpp_aquastroke_p_container {
        margin-top: 25px;
    }

    .efpp_aquastroke .efpp_aquastroke_p {
        font-size: 16px;
        line-height: 24px;
        padding: 0;
    }

    .efpp_aquastroke {
        clip-path: ellipse(325% 100% at 50% 0%);
    }

    .scroll-wrapper {
        margin-top: 5vh;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin-left: 20px;
    }



    .scroll-item {
        flex: 0 0 90vw;
        scroll-snap-align: start;
        height: 60vh;
        width: 100%;
        margin-right: 0;
        margin-left: 15px !important;
        margin-top: 0;
        color: #000000;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 15px;
        user-select: none;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        transform: translateY(0);
        background-color: #fff;
        overflow: hidden;
        padding: 18px 8px;
    }

    .scroll-item:last-of-type{
        margin-right: 50px;
    }

    .scroll-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -5%;
        right: 0;
        bottom: 0;
        background: transparent;
        pointer-events: none;
        z-index: 1;
        width: 110%;
    }

    .scroll-item:hover {
        /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45); */
        cursor: pointer;
    }

    .scroll-item-content {
        transform: translateY(0px);
        padding: 10px;
    }

    /* Image zoom effect */
    .scroll-item .scroll-item-img {
        height: 230px;
        width: 100%;
        position: unset;
        transition: transform 0.3s ease;
        object-fit: cover;
        will-change: transform;
        border-radius: 15px;
    }
    .scroll-item .scroll-item-content h3 {
        transform: translateY(0px);
        font-size: 24px;
        margin-right: 0;
    }

    .scroll-item .scroll-item-content p {
        transform: translateY(0px);
        margin-right: 0;
        font-size: 18px;
    }

    .scroll-item:hover .scroll-item-content {
        transform: translateY(0px);
    }

    .scroll-item:hover .scroll-item-img {
        transform: scale(1);
    }
    .scroll-item:hover .scroll-item-content h3 {
        transform: translateY(0px);
    }

    .scroll-item:hover .scroll-item-content p {
        transform: translateY(0px);
    }
}


/* --------------  Medium Devices  -------------- */
/* Tablets in landscape, small laptops */
@media (min-width: 768px) and (max-width: 1023px) {
    /* styles for tablets & small laptops */
    
    .hero_aquastroke {
        min-height: auto !important;
    }

    .hero_aquastroke_content {
        height: 100vh;
    }
    .hero_aquastroke_bottom.expand {
        width: 80%;
    }

    .hero_aquastroke_video_banner {
        height: 50vh;
    }

    .hero_aquastroke_top img {
        top: 84%;
        width: 67%;
    }





    .section_aquastroke {
        padding: 80px 25px;
        min-height: auto;
    }

    .section_aquastroke_heading img {
        height: 25px;
    }

    .section_aquastroke_heading p {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 0;
        font-weight: 400;
    }

    .section_aquastroke_body {
        padding: 8vh 0% 0vh 0%;
    }

    .section_aquastroke_body .col-md-3 {
        width: 40%;
    }

    .section_aquastroke_body .col-md-6{
        width: 20%;
    }

    .section_aquastroke_body_box h3 {
        font-size: 25px;
    }
    .section_aquastroke_body_box p {
        font-size: 16px;
        line-height: 24px;
        margin-left: 23px;
        text-shadow: 0px 0px 30px #000;
    }





    .efpp_aquastroke_row {
        margin: 25px;
    }

    .efpp_aquastroke h1 {
        font-size: 50px;
    }

    .efpp_aquastroke_p_container {
        margin-top: 25px;
        width: 100%;
    }

    .efpp_aquastroke .efpp_aquastroke_p {
        font-size: 16px;
        line-height: 24px;
        padding: 0;
    }

    .scroll-wrapper {
        margin-top: 0vh;
    }

    .scroll-item {
        flex: 0 0 85vw;
        margin-top: 6rem;
        padding: 10px;
    }

    .scroll-item-content {
        transform: translateY(280px);
    }

    .scroll-item-content h3 {
        font-size: 25px;
        margin-right: 0;
    }

    .scroll-item-content p {
        font-size: 16px;
        line-height: 24px;
        margin-right: 0;
    }

    .scroll-item:hover .scroll-item-content {
        /* transform: unset; */
    }

    .efpp_aquastroke {
        clip-path: ellipse(325% 100% at 50% 0%);
    }
    
}


/* --------------  Large Devices  -------------- */
/* Laptops and small desktops */
@media (min-width: 1024px) and (max-width: 1279px) {
    /* styles for laptops */
    
    .hero_aquastroke_bottom.expand {
        width: 70%;
    }

    .section_aquastroke {
        min-height: auto;
    }
    .section_aquastroke_body .col-md-3 {
        width: 40%;
    }

    .section_aquastroke_body .col-md-6 {
        width: 20%;
    }

    .section_aquastroke_body_box h3 {
        font-size: 30px;
    }

    .section_aquastroke_body_box p {
        font-size: 18px;
    }

    .efpp_aquastroke h1{
        font-size: 3.5em;
    }

    .efpp_aquastroke_p_container {
        margin-top: 3vh;
        width: 100%;
        font-size: 16px;
    }

    .scroll-item-content h3 {
        transform: translateY(84px);
        font-size: 27px;
    }

    .scroll-item-content p {
        font-size: 17px;
    }

    .scroll-item:hover .scroll-item-content {
        transform: translateY(160px);
    }

}


/* --------------  Extra Large Devices  -------------- */
/* Full HD screens & larger desktops */
@media (min-width: 1280px) and (max-width: 1535px) {
    /* styles for desktops */

    .section_aquastroke {
        min-height: auto;
    }
    .section_aquastroke_body .col-md-3 {
        width: 40%;
    }

    .section_aquastroke_body .col-md-6 {
        width: 20%;
    }

    .scroll-item:hover .scroll-item-content {
        transform: translateY(165px);
    }
}