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

    .hero_content {
        color: #fff;
        width: 80%;
    }

    .hero_content h2{
        line-height: 40px;
    }


    .hero_container {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .hero_content h2 span{
        font-size: 24px;
        line-height: 24px;
    }

    .object-cover {
        height: 100%;
        object-fit: cover;
        object-position: bottom center;
        display: block;
    }

    .video_button {
        z-index: 10;
        transform: translate(0px, -20vh);
    }

    /* Optional: Add some style to the button */
    .video_button i {
        font-size: 40px;
        color: #fff;
        cursor: pointer;
        border: 2px solid #fff;
        border-radius: 100px;
        padding: 20px 20px 11px 20px;
    }


    .video_modal_body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .video_modal video {
        width: 100%;
        height: auto;
        object-fit: cover;
        cursor: pointer;
    }

    .video_modal_close {
        z-index: 9999;
        top: 10px;
        right: 10px;
    }

    .engine {
        height: auto;
        min-height: auto;
        margin-top: 0;
        padding: 7vh 20px;
    }

    .engine-img {
        margin-bottom: 8vh;
    }

    #engine-container {
        width: 100%;
        height: 400px !important;
        background: transparent !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #engine-container canvas {
        touch-action: pan-y !important;
    }

    .engine .right_sider {
        align-items: center;
        text-align: center;
    }
    .engine-text-content {
        margin-right: 0;
        margin: 0 5px;
    }

    .aquastoke-img {
        margin-right: 10px;
        width: 64%;
    }

    .engine-text {
        font-size: 1.6em;
        justify-content: center;
    }

    .engine-text-content p {
        font-size: 15px;
        line-height: 24px;
        margin-top: 10px;
    }

    .engine .right_sider .btn {
        border-radius: 50px;
        margin-top: 25px;
        margin-bottom: 3px;
        font-size: 16px;
        font-weight: 600;
        padding: 8px 25px !important;
        min-width: 60%;
        margin-left: 0 !important;
    }


    .engine .custom_bg_text_1, .engine .custom_bg_text_2{
        display: none;
    }



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

    .a35 {
        height: auto;
        min-height: auto;
    }

    .a35-text{
        align-items: flex-end;
        margin-top: 5vh;
    }

    .a35-image-big {
        
    }

    .a35-image-big img {
        height: 130px;
        top: 26px;
    }

    .a35-text-small {
        font-size: 110px;
        top: 50px;
    }

    #sequence-image {
        max-width: 110%;
    }

    .a35-image {
        width: 100%;
        margin-top: -55px;
        transform: scale(2);
    }

    #generater-viewer {
        margin-top: -10vh !important;
        height: auto !important;
    }

    .a35-description {
        margin-top: 0px;
    }

    .a35-description p{
        font-size: 20px;
        line-height: 30px;
    }





    .how_works {
        min-height: auto;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10vh;
        padding-bottom: 10vh;
    }
    
    .how_works .a35hw {
        height: auto;
        width: 100%;
    }

    .how_works .ha35 {
        font-size: 25px;
        margin-top: 17px;
    }

    .how_works #myTab {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
        padding: 10px;
    }

    .how_works .nav.nav-tabs .nav-link {
        font-size: 11px;
        padding: 5px 10px;
    }

    #myTabContent {
        padding: 0 !important;
    }

    .custom_tab_container {
        width: 100%;
    }

    .custom_tab{
        display: none;
    }

    .custom_tab .nav-link{
        min-width: auto;
    }

    .custom_gap {
        --bs-gutter-x: 1rem;
    }

    .custom_tab_content .tab-pane .row > .col-md-6:nth-of-type(1) .box .img{
        border-radius: 15px;
    }


    .how_works .box {
        margin: 0 0 50px 0;
    }
    
    .how_works .box h5 {
        font-size: 20px;
    }

    .how_works .box p {
        margin: 15px 5px;
        font-size: 15px;
        line-height: 24px;
    }

    .how_works .box img{
        border-radius: 7px;
    }

    .how_works .box .btn-light {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .how_works .box .btn-light .font-mokoto {
        margin-left: 7px;
    }

    .how_works .box .btn-light .font-mokoto>.font-mokoto {
        font-size: 10px;
        transform: scaleX(1);
        margin-left: -2px;
    }

    /* First .box inside .row's columns */
    #myTabContent .tab-pane .row > .col-md-6:nth-of-type(1) .box img {
        border-radius: 7px;
    }

    /* Second .box inside .row's columns */
    #myTabContent .tab-pane .row > .col-md-6:nth-of-type(2) .box img {
        border-radius: 7px;
    }

    .award_winning {
        min-height: auto;
        margin-top: -2px;
    }

    .award_winning .awh2 {
        font-size: 34px;
        margin-top: 0px;
    }
    
    .award_winning .awp {
        font-size: 15px;
        margin: 0px 6%;
        line-height: 24px;
    }

    .award_winning .awimg {
        width: 100%;
        margin-top: 3vh;
    }

    .blur-box {
        height: 22vh;
        width: 150%;
        background-color: #000;
        filter: blur(35px);
        display: inline-block;
        position: absolute;
        bottom: -14vh;
        left: -18%;
    }




    .iti_left_top {
        align-items: center;
    }

    .iti_left_top .a35hw {
        height: auto;
        width: 50%;
    }

    .iti_left_top .ha35{
        font-size: 34px;
        font-weight: 700;
        position: relative;
        top: 5px;
    }

    .iti_left_bottom .ha35{
        margin-top: 0;
        margin-bottom: 20px;
        line-height: 30px;
        font-size: 34px;
        font-weight: 700;
    }

    .iti_col {
        margin-top: 40px;
    }   

    .iti_col_wrapper {
        display: block;
        margin-bottom: 20px;
    }

    .iti_col_text_container{
        position: absolute;
        width: 90%;
    }

    .ha35 {
        font-size: 25px;
        line-height: 33px;
    }

    .hp35{
        font-size: 15px;
        line-height: 24px;
    }



    .innovation_to_intregation {
        min-height: auto;
        padding: 20px;
        padding-top: 20vh;
    }

    .iti_col h4{
        font-size: 22px;
    }
    .iti_col p{
        font-size: 14px;
    }

    .iti_col img{
        border-radius: 7px;
    }




    .press_release {
        margin: 7vh 0 7vh 0;
    }
    .press_release h2 {
        font-size: 30px;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .press_release .pr_box {
        display: block;
    }

    .pr_date {
        font-size: 11px;
    }

    .pr_title {
        font-size: 19px;
        margin: 10px 0;
        line-height: 27px;
    }

    .pr_read_more {
        font-size: 12px;
        margin-top: 12px;
    }

    .press_release .col-md-12,.press_release .col-md-4{
        padding: 0;
    }

    .stories {
        min-height: auto;
        padding: 30px 20px;
    }

    .stories .section_story_middle_box_image{
        height: 30vh;
    }

    .stories_h2 {
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .carousel .custom-arrow{
        display: none !important;
    }

    .stories_col_box h4 {
        font-size: 19px;
        margin-right: 0;
        font-weight: 600;
        line-height: 26px;
        margin: 12px 7px;
    }

    .stories_col_box p {
        font-size: 15px;
        line-height: 24px;
        margin-top: 7px;
        margin: 12px 7px;
    }
    
    .stories_col_box img {
        border-radius: 7px;
    }

    .scb_date {
        color: #fff;
        font-size: 11px;
        margin: 12px 7px;
    }

    .carousel .slick-list {
        margin: 0 -20px;
        padding: 0;
    }

    .more_stories {
        border-radius: 50px;
        padding: 11px 35px 10px 35px;
        font-size: 11px;
        font-weight: 600;
        margin-top: 25px;
        margin-bottom: 25px;
    }






    .keep_the_world {
        background-image: url('https://maymaan.b-cdn.net/assets/frontend/img/bg.webp');
        min-height: auto;
        padding: 10vh 20px;
    }

    .keep-the-world-img {
        height: 100vh;
        left: 0;
        opacity: 0.5;
    }

    .ktw_content {
        padding: 0;
        padding-left: 0;
        margin-left: 0;
        margin-bottom: 50px;
    }

    .ktw_content h2 {
        font-size: 25px;
        line-height: 24px;
    }

    .ktw_content p {
        font-size: 13px;
        margin: 0;
        line-height: 44px;
        margin-top: -20px;
    }

    .partner {
        padding: 0;
        margin-top: 30px;
    }

    .partner h4 {
        font-size: 25px;
    }

    .partner p {
        font-size: 13px;
        margin-top: 15px;
    }

    .partner p:first-child{
        margin-top: -10px;
    }

    .button_section{
        margin-top: 5px !important;
        margin-bottom: 15px !important;
        margin-left: -15px;
        flex-direction: column;
    }

    .button_section .col-md-12{
        padding: 0;
    }

    .button_section .btn-light {
        margin-top: 15px;
        padding: 10px 20px 10px 20px;
        border-radius: 100px;
    }







    footer {
        background-color: #000;
        padding: 50px 20px 50px 20px;
    }

    footer .container-fluid{
        margin: 0;
        padding: 0;
    }

    .footer_logo {
        height: 40px;
        margin-left: 0;
        margin-bottom: 15px;
    }


    .footer_custom_ul {
        margin: 25px 0px;
    }

    .footer_custom_ul li a {
        padding: 10px 10px 10px 0px;
        font-size: 12px;
    }

    .footer_custom_second_ul{
        margin: 0px 0px 25px 0px;
        border-top: 1px solid #313131;
    }

    .custom_label {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .footer_bottom {
        margin: 10px 0 0px 0;
    }

    .footer_bottom .col-md-12{
        margin: 0;
        padding: 0;
    }

    .second_nav {
        margin-top: 30px !important;
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    
    .second_nav_item {
        color: #fff;
        padding: 5px 0px;
        font-size: 12px;
        border-right: 0;
    }

    .second_nav_item:first-child {
        padding-left: 0;
    }

    .footer_custom_second_ul li a {
        font-size: 15px;
    }

    .copyright {
        font-size: 10px;
        border-right: 0;
        margin-top: 15px !important;
    }



    
    .contact_modal .content_left {
        display: none;
    }
    .contact_modal .content_right {
        width: 100%;
        margin: 4vh 0px;
        padding: 5%;
    }

    .contact_modal .custom-btn-close {
        transform: translate(-7px, 0px);
    }


    #distributorForm .col-md-6{
        width: 100%;
    }


}

/* --------------  Medium Devices  -------------- */
/* Tablets in landscape, small laptops */
@media (min-width: 768px) and (max-width: 1023px) {
    /* styles for tablets & small laptops */
    
    #header .logo {
        height: 30px;
        margin: 20px 15px;
    }

    .header_left, .header_right {
        padding: 0;
    }

    .megamenu_left, .megamenu_right{
        width: 25%;
    }

    .megamenu_middle {
        width: 50%;
    }

    .megamenu, .megamenu_for_p1, .megamenu_for_p2{
        top: 128px;
    }

    .menu_content_item.mission h3{
        font-size: 35px;
    }

    .menu_content_item.press h3, .menu_content_item.story h3 {
        font-size: 25px;
    }

    .engine {
        padding: 10vh 0px 10vh 0px;
    }
    .engine-text {
        font-size: 28px;
    }

    .engine-text-content {
        margin-right: 5%;
    }

    .engine-text-content p {
        font-size: 18px;
    }

    .how_works .a35hw {
        width: auto;
        height: 45px;
    }

    .how_works .ha35 {
        margin-top: 30px;
        font-size: 40px;
    }

    .custom_gap {
        --bs-gutter-x: 2rem;
    }


    .how_works .box .img {
        height: 35vh;
    }

    .custom_tab {
        margin-top: 22px;
    }


    .innovation_to_intregation {
        min-height: 100vh;
        padding: 25px;
        padding-top: 25vh;
    }

    .innovation_to_intregation .a35hw { 
        height: 23px;
    }

    .ha35 {
        font-size: 32px;
        line-height: 30px;
        font-weight: 700;
    }

    .award_winning {
        min-height: auto;
    }

    .award_winning .awh2 {
        font-size: 45px;
    }

    .iti_left_bottom .ha35{
        font-size: 32px;
        line-height: 42px;
        font-weight: 700;
    }

    .iti_col_img_container {
        height: 70%;
    }

    .iti_col_text_container {
        transform: translate(0px, -80px);
        padding: 12px;
    }

    .iti_col h4 {
        font-size: 16px;
    }

    .stories {
        min-height: auto;
    }

    .stories_col_box h4 {
        font-size: 20px;
        margin-right: 0;
    }

    .stories .section_story_middle_box_image {
        height: 240px;
    }

    .stories_col_box p {
        margin-right: 0;
    }

    .ktw_content {
        width: 100%;
        margin-left: 0%;
        padding: 15vh 0 7vh 0;
    }

    .ktw_content h2 {
        font-size: 40px;
        line-height: 40px;
    }

    .keep-the-world-img {
        height: 130vh;
        right: -50%;
    }

    .partner .col-md-6 {
        padding: 0;
    }

    footer {
        padding: 50px 25px 20px 25px;
    }

    .footer_custom_second_ul li a {
        font-size: 12px;
    }

    .copyright {
        padding-right: 3%;
    }

    .second_nav_item {
        padding: 0px 3% 0px 3%;
    }



    .contact_modal .content_left {
        width: 40%;
    }
    .contact_modal .content_right {
        width: 60%;
        margin: 4vh 0px;
        padding: 3%;
    }

    .contact_modal .custom-btn-close {
        transform: translate(-7px, 0px);
    }
}

/* --------------  Large Devices  -------------- */
/* Laptops and small desktops */
@media (min-width: 1024px) and (max-width: 1279px) {
    /* styles for laptops */
    #header .logo {
        height: 30px;
        margin: 20px 15px;
    }

    .header_left, .header_right {
        padding: 0;
    }

    .megamenu_left, .megamenu_right{
        width: 25%;
    }

    .megamenu_middle {
        width: 50%;
    }

    .megamenu, .megamenu_for_p1, .megamenu_for_p2{
        top: 128px;
    }

    .menu_content_item.mission h3{
        font-size: 35px;
    }

    .menu_content_item.press h3, .menu_content_item.story h3 {
        font-size: 25px;
    }

    .engine {
        padding: 10vh 0px 10vh 0px;
    }
    .engine-text {
        font-size: 28px;
    }

    .engine-text-content {
        margin-right: 5%;
    }

    .engine-text-content p {
        font-size: 18px;
    }

    .how_works .a35hw {
        width: auto;
        height: 45px;
    }

    .how_works .ha35 {
        margin-top: 30px;
        font-size: 40px;
    }

    .custom_tab {
        margin-top: 22px;
    }


    .innovation_to_intregation {
        min-height: 100vh;
        padding: 25px;
        padding-top: 25vh;
    }

    .innovation_to_intregation .a35hw { 
        height: 25px;
    }

    .ha35 {
        font-size: 37px;
        line-height: 30px;
        font-weight: 700;
    }

    .iti_left_bottom .ha35{
        font-size: 37px;
        line-height: 30px;
        font-weight: 700;
    }

    .iti_col_text_container {
        transform: translate(0px, -80px);
        padding: 12px;
    }

    .iti_col h4 {
        font-size: 17px;
    }


    .stories_col_box h4 {
        font-size: 20px;
        margin-right: 0;
    }

    .stories_col_box p {
        margin-right: 0;
    }

    .ktw_content {
        width: 100%;
        margin-left: 0%;
        padding: 15vh 0 7vh 0;
    }

    .ktw_content h2 {
        font-size: 40px;
        line-height: 40px;
    }

    .keep-the-world-img {
        height: 130vh;
        right: -50%;
    }

    .partner .col-md-6 {
        padding: 0;
    }

    footer {
        padding: 50px 25px 20px 25px;
    }

    .footer_custom_second_ul li a {
        font-size: 12px;
    }

    .copyright {
        padding-right: 3%;
    }

    .second_nav_item {
        padding: 0px 3% 0px 3%;
    }
}

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

    .engine {
        padding: 10vh 0px 0vh 0px;
    }

    .engine .right_sider{
        margin-bottom: 15vh;
    }

    .engine-text {
        font-size: 28px;
    }

    .engine-text-content {
        margin-right: 5%;
    }

    .engine-text-content p {
        font-size: 18px;
    }

    .how_works .a35hw {
        width: auto;
        height: 45px;
    }

    .how_works .ha35 {
        margin-top: 30px;
        font-size: 40px;
    }

    .custom_tab {
        margin-top: 22px;
    }


    .innovation_to_intregation {
        min-height: 100vh;
        padding: 25px;
        padding-top: 25vh;
    }

    .innovation_to_intregation .a35hw { 
        height: 30px;
    }

    .ha35 {
        font-size: 41px;
        line-height: 37px;
        font-weight: 700;
    }

    .iti_left_bottom .ha35{
        font-size: 41px;
        line-height: 37px;
        font-weight: 700;
    }

    .iti_col_text_container {
        transform: translate(0px, -88px);
        padding: 12px;
    }

    .iti_col h4 {
        font-size: 22px;
    }


    .stories_col_box h4 {
        font-size: 20px;
        margin-right: 0;
    }

    .stories_col_box p {
        margin-right: 0;
    }
}