.hero_a35{
    min-height: 100vh;
    background: url('https://maymaan.b-cdn.net/assets/frontend/img/sequence_reverse_bg.webp');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 50px;
    z-index: 1;
}
.hero_a35_video_banner{
    height: 55vh;
    width: 100%;
    border-radius: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 50px;
    background: url('https://maymaan.b-cdn.net/assets/frontend/img/banner.webp');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
.hero_a35_video_banner img{
    width: 100%;
    height: 100%;
}
.hero_a35_text_big{
    /* font-family: 'Mokoto Regular';
    font-size: 250px;
    font-weight: 500;
    display: inline-block;
    transform: scaleX(1.3);
    margin-left: 12%; */
}

.hero_a35_text_big img {
    height: 250px;
}

.hero_a35_text_small{
    font-family: 'Mokoto Regular';
    font-size: 150px;
    font-weight: 700;
}

.hero_a35_text_big,
.hero_a35_text_small {
    transition: margin-left 1.0s ease-in-out, margin-right 1.0s ease-in-out;
    color: #000;
    /* Other existing styles */
}

.hero_a35_text_big.text_expand {
    margin-left: -30%;
}

.hero_a35_text_small.text_expand {
    margin-right: -30%;
}

.hero_a35_content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.hero_a35_left{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.hero_a35_middle{
    display: flex;
    align-items: center;
    width: 5%;
    transition: width 1s ease-in-out;
    animation-timing-function: cubic-bezier(.4,0,.2,1);
}
.hero_a35_middle.expand {
    width: 100%;
}
.hero_a35_right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


.threedmodel_a35{
    min-height: 100vh;
    background: url('https://maymaan.b-cdn.net/assets/frontend/img/sequence_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 50px;
    position: relative;
    z-index: 0;
}

.efpp_a35 {
    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;
}

.efpp_a35_row{
    margin: 50px;
}

.efpp_a35 h1{
    font-family: "Raleway", sans-serif;
    font-size: 8em;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.efpp_a35_p_container{
    margin-top: -10vh;
}
.efpp_a35 .efpp_a35_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;
}

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

.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(210px);
}

/* 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: 1.8rem;
    font-weight: 700;
}

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

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

.second_hero_a35 {
    position: relative;
    height: 100vh;
    overflow: hidden;
    z-index: 0 !important;
    margin-top: -100vh;
}

#product-viewer-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.second_hero_a35_video_banner{
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 50px;
}
.second_hero_a35_video_banner img{
    width: 50%;
}
.second_hero_a35_text {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers both parts in the middle */
    gap: 20px; /* Space between A and 35 */
}

.second_hero_a35_text_big {
    font-family: 'Mokoto Regular';
    font-size: 250px;
    font-weight: 500;
    display: inline-block;
    /* transform: scaleX(1.3); */
    line-height: 1;

    /* opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform; */
}

.second_hero_a35_text_big img {
    height: 250px;
}

.second_hero_a35_text_small {
    font-family: 'Mokoto Regular';
    font-size: 150px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}
.second_hero_a35_left{
    position: fixed;
    bottom: 10vh;
    left: 0;
    transition: left 0.1s ease-out; /* optional smoothing */
}
.second_hero_a35_middle{
    display: flex;
    align-items: center;
}
.second_hero_a35_right{
    position: fixed;
    top: 10vh;
    right: 0;
    transition: right 0.1s ease-out; /* optional smoothing */
}

.second_hero_a35_left,
.second_hero_a35_right {
    opacity: 1;
    transform: translateY(20px);
    will-change: transform, opacity;
}

#product-viewer-3d canvas {
    margin-top: 0;
}

#product-viewer-3d-with-features{
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 90vh !important;
}

#product-viewer-3d-with-features canvas{
    margin-top: -15vh;
}

.threedmodel_a35_content{
    width: 100%;
    margin-bottom: 80px;
}

.threedmodel_a35_content .item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.threedmodel_a35_content .item p{
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 10px;
    font-family: "League Spartan", sans-serif;
    color: #000;
}

.threedmodel_a35_content .item a p{
    color: #1881e3 !important;
}

.threedmodel_a35_content .item h2{
    font-weight: 600;
    font-size: 38px;
    color: #000;
}

.threedmodel_a35_content .item h2 img {
    height: 30px;
    position: relative;
    top: -9px;
}

.feature-popup {
    position: fixed;
    top: 0;
    left: 0;
    background: #0000007d;
    padding: 20px;
    border-radius: 0;
    z-index: 1000000;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    transform: translateX(0%);
    transition: trnaslate 0.2s;
}
.feature-popup.hidden {
    transform: translateX(100%);
}

.feature-popup-box {
    position: fixed;
    top: 10px;
    right: 10px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    z-index: 1000000;
    box-shadow: 0 0 10px rgb(0 0 0 / 9%);
    width: 30%;
    height: calc(100vh - 20px);

    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.feature-popup-box.show {
    transform: translateX(0);
    opacity: 1;
}
.feature-popup img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
#feature-title{
    font-size: 2rem;
    font-weight: 700;
    margin-top: 20px;
}
#feature-sub-title{
    font-size: 1rem;
    font-weight: 600;
    margin-top: 20px;
}

#feature-desc{
    font-size: 1rem;
    margin-right: 20px;
    line-height: 1.5;
    color: #333;
}

.feature-popup .nav-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

#prev-btn{
    position: absolute;
    bottom: 100px;
    left: -95px;
    border: 0;
    font-size: 20px !important;
    cursor: pointer;
    height: 80px;
    width: 80px;
    border-radius: 100px;
    font-size: 40px;
    font-weight: 100;
    background: #ffffff33;
    color: #fff;
    border: none;
    padding: 28px;
}

#prev-btn:hover{
    background: #ffffff52;
}

#next-btn{
    position: absolute;
    bottom: 5px;
    left: -95px;
    border: 0;
    font-size: 20px !important;
    cursor: pointer;
    height: 80px;
    width: 80px;
    border-radius: 100px;
    font-size: 40px;
    font-weight: 100;
    background: #ffffff33;
    color: #fff;
    border: none;
    padding: 28px;
}

#next-btn:hover{
    background: #ffffff52;
}

#close-btn {
    position: absolute;
    top: 5px;
    left: -95px;
    background: #ffffff33;
    color: #fff;
    border: none;
    font-size: 20px !important;
    cursor: pointer;
    height: 80px;
    width: 80px;
    border-radius: 100px;
    font-size: 40px;
    font-weight: 100;
    padding: 28px;
}

#close-btn:hover{
    background: #ffffff52;
}

.pointer-btn.hide{
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pointer-btn.show{
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.pointer-btn {
    position: relative;
    background: url('https://maymaan.b-cdn.net/assets/frontend/3d/icons/pointer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 0;
    font-size: 1rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 100px;
    border: 0;
    height: 60px;
    width: 60px;
    transform: scale(0.5);
    z-index: 1;
    /* transition: transform 0.2s ease, opacity 0.2s ease !important; */

    transition-property: all !important;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .1s;
}

.pointer-btn:nth-child(1) {
    position: absolute;
    left: 29%;
    top: -66vh;
}

.pointer-btn:nth-child(2) {
    position: absolute;
    left: 62%;
    top: -75vh;
}

.pointer-btn:nth-child(3) {
    position: absolute;
    left: 32%;
    top: -29vh;
}

.pointer-btn:nth-child(4) {
    position: absolute;
    left: 55%;
    top: -50vh;
}

.pointer-btn:hover {
    border: none;
    outline: none;
    background-color: transparent;
    transform: scale(1);
    padding: 5px;
}

.pointer-btn img{
    opacity: 0;
}

.pointer-btn:hover img{
    opacity: 1;
}

.pointer-btn * {
    position: relative;
    z-index: 2;
    width: 100%;
}

#pointer-buttons {
    position: relative;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}









/* --------------  Small Devices  -------------- */
/* Larger smartphones & small tablets in portrait */
@media (max-width: 767px) {
    /* styles for large phones & small tablets */

    .hero_a35_left {
        width: 100%;
        margin: 0;
        margin-left: 0%;
    }

    .hero_a35_content {
        flex-direction: column;
        margin-top: 9vh;
    }

    .hero_a35_text_big img {
        height: 100px;
        margin-right: 0%;
        margin-left: 35%;
    }

    .hero_a35_text_small.text_expand{
        margin-right: -18%;
        font-size: 100px;
    }

    .hero_a35_video_banner {
        margin: 0 0px;
        height: 45vh;
    }

    .hero_a35_right {
        width: 100%;
    }



    .threedmodel_a35 {
        padding: 10px !important;
    }


    .threedmodel_a35_content {
        width: 100%;
        margin-bottom: 80px;
        margin-top: 0vh;
    }

    .threedmodel_a35_content .item .font-mokoto{
        font-size: 18px;
    }

    .threedmodel_a35_content .item .font-mokoto .font-mokoto-md {
        font-family: 'Mokoto Regular';
        font-size: 14px;
    }

    .threedmodel_a35_content .item h2 img {
        height: 20px;
    }

    .threedmodel_a35_content .item {
        border-bottom: 1px solid #cacaca;
        padding: 15px 0;
    }

    .threedmodel_a35_content .item:first-child {
        border-top: 1px solid #cacaca;
    }

    .threedmodel_a35_content .item p {
        margin-bottom: 0px;
    }

    #product-viewer-3d-with-features canvas {
        margin-top: 0vh;
    }

    #product-viewer-3d-with-features {
        min-height: 85vh !important;
        margin-top: -5vh;
    }

    #generater-viewer {
        margin-top: 5vh !important;
    }

    .feature-popup-box {
        width: 70%;
        height: calc(100vh - 20px);
    }

    .pointer-btn:nth-child(1) {
        left: 0%;
        top: -33vh;
    }

    .pointer-btn:nth-child(2) {
        left: 57%;
        top: -26vh;
    }

    .pointer-btn:nth-child(3) {
        left: 24%;
        top: -14vh;
    }

    .pointer-btn:nth-child(4) {
        left: 75%;
        top: -40vh;
    }

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

    .efpp_a35_row {
        margin: 50px 10px;
    }

    .efpp_a35 h1 {
        font-size: 2em;
    }

    .efpp_a35_p_container{
        margin-top: 5vh;
        width: 100%;
    }





    .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);
    }






    .threedmodel_a35_content .item h2 {
        font-size: 22px;
        margin-bottom: 0;
    }

    .second_hero_a35_text_big img {
        height: 120px;
    }

    .second_hero_a35_middle {
        padding: 0;
    }

    .second_hero_a35_video_banner {
        margin: 0;
    }

    .second_hero_a35_video_banner img {
        width: 100%;
    }

    .second_hero_a35_left {
        left: -2%;
    }

    .second_hero_a35_right {
        right: 11%;
    }

    .second_hero_a35_text_small {
        font-size: 95px;
    }
    
}
    

/* --------------  Medium Devices  -------------- */
/* Tablets in landscape, small laptops */
@media (min-width: 768px) and (max-width: 1023px) {
    /* styles for tablets & small laptops */
    .hero_a35_left {
        width: 20%;
        margin: 0;
        margin-left: -2%;
    }

    .hero_a35_text_big img {
        height: 140px;
        margin-right: 0%;
        margin-left: -30%;
    }

    .hero_a35_video_banner {
        margin: 0 40px;
    }

    .hero_a35_right {
        width: 20%;
    }

    .hero_a35_text_small.text_expand{
        margin-right: -100%;
    }



    .threedmodel_a35 {
        padding: 10px !important;
    }


    .threedmodel_a35_content {
        width: 100%;
        margin-bottom: 80px;
    }

    #product-viewer-3d-with-features {
        min-height: 85vh !important;
        margin-top: -5vh;
    }

    .feature-popup-box {
        width: 50%;
    }

    .efpp_a35 h1 {
        font-size: 3em;
    }

    .efpp_a35_p_container{
        margin-top: 5vh;
        width: 100%;
    }

    .scroll-item {
        flex: 0 0 60vw;
    }

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

    .threedmodel_a35_content .item h2 {
        font-size: 22px;
    }

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

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

    .second_hero_a35_text_big img {
        height: 120px;
    }

    .second_hero_a35_left {
        left: -5%;
    }

    .second_hero_a35_right {
        right: -10%;
    }
}


/* --------------  Large Devices  -------------- */
/* Laptops and small desktops */
@media (min-width: 1024px) and (max-width: 1279px) {
    /* styles for laptops */
    .hero_a35_left {
        width: 20%;
        margin: 0;
        margin-left: -2%;
    }

    .hero_a35_text_big img {
        height: 140px;
        margin-right: 0%;
        margin-left: -10%;
    }

    .hero_a35_video_banner {
        margin: 0 40px;
    }

    .hero_a35_right {
        width: 20%;
    }


    .threedmodel_a35_content {
        width: 90%;
        margin-bottom: 80px;
    }

    #product-viewer-3d-with-features {
        min-height: 85vh !important;
        margin-top: -5vh;
    }

    .feature-popup-box {
        width: 35%;
    }

    .efpp_a35 h1 {
        font-size: 4em;
    }

    .efpp_a35_p_container{
        margin-top: 5vh;
        width: 100%;
    }

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

    .threedmodel_a35_content .item h2 {
        font-size: 28px;
    }

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

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

    .second_hero_a35_text_big img {
        height: 140px;
    }
}


/* --------------  Extra Large Devices  -------------- */
/* Full HD screens & larger desktops */
@media (min-width: 1280px) and (max-width: 1535px) {
    .hero_a35_left {
        width: 20%;
        margin: 0;
        margin-left: -2%;
    }

    .hero_a35_text_big img {
        height: 160px;
        margin-right: 0%;
    }

    .hero_a35_video_banner {
        margin: 0 40px;
    }

    .hero_a35_right {
        width: 20%;
    }


    .threedmodel_a35_content {
        width: 90%;
        margin-bottom: 80px;
    }

    #product-viewer-3d-with-features {
        min-height: 85vh !important;
        margin-top: -5vh;
    }

    .feature-popup-box {
        width: 35%;
    }

    .efpp_a35 h1 {
        font-size: 5em;
    }

    .efpp_a35_p_container{
        margin-top: -5vh;
    }

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

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

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