/* ======= MOBILE STYLES - OPTIMIZED FOR PAGESPEED ======= */

/* Mobile Large - Tablets in Portrait & Large Phones (768px and below) */
@media screen and (max-width:768px) {

    /* App solution section */
    .app_solution_section_group {
        padding: 0;
    }

    /* Chatbot section */
    .chatbot_wows .container::before {
        background: none !important;
    }

    /* Banner section */
    .banner_section:not(.banner_small)::after {
        height: 0;
    }

    /* Navigation submenus */
    #integrations_sub_manue,
    #recources_sub_menu {
        min-width: 250px !important;
        border: 0 !important;
        margin-inline-start: 0 !important;
        height: 500px;
        overflow: auto;
    }

    #integrations_sub_manue a,
    #recources_sub_menu a {
        border: 1px solid var(--sub-menu-border);
    }

    #integrations_sub_manue a:hover,
    #recources_sub_menu a:hover {
        border: 3px solid var(--sub-menu-border);
    }

    /* Navbar collapsed layout - copied from responsive.css @media (max-width:992px) */
    /* .navbar-toggler-icon {
        display: flex;
        align-items: center;
        color: var(--body-text-purple);
        justify-content: flex-end;
    } */
    .white_header .toggle-bar {
        color: var(--text-white);
    }
    header.fix_style {
        padding: 5px 0;
    }
    .white_header .navbar-collapse {
        position: absolute;
        top: 110%;
        width: 100%;
    }
    .white_header .navbar-expand-lg .navbar-nav .nav-link,
    .white_header .navbar-expand-lg .navbar-nav .has_dropdown .drp_btn {
        color: var(--body-text-purple);
    }
    .white_header .navbar-expand-lg .navbar-nav .nav-link.dark_btn {
        background-color: var(--bg-purple);
        color: var(--text-white);
    }
    .navbar-expand-lg .navbar-nav {
        align-items: flex-start;
        padding: 20px 15px !important;
        background-color: var(--bg-white);
        border-radius: 15px;
        box-shadow: 0 4px 10px #EDE9FE;
    }
    .navbar-toggler {
        /* padding-inline-end: 0; */
        /* line-height: 1.7; */
    }
    .navbar-expand-lg .navbar-nav .nav-link.dark_btn {
        margin-inline-start: 0;
        margin-top: 15px;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        box-shadow: none;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown:hover {
        box-shadow: none;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown .drp_btn {
        position: absolute;
        inset-inline-end: 0;
        padding: 0 10px;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown .sub_menu {
        position: relative;
        opacity: 1;
        pointer-events: all;
        top: auto;
        background-color: transparent;
        width: 100%;
        border-radius: 0;
        min-width: 100%;
        max-width: 100%;
        margin-inline-start: 10px;
        display: none;
        box-shadow: none;
        margin-top: 0;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown .sub_menu ul {
        padding: 0;
        margin-top: 0;
    }
    .navbar-collapse {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown .sub_menu ul li a {
        padding: 5px 10px;
        display: block;
        padding-inline-start: 0;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown:hover .sub_menu {
        margin-top: 0;
    }

    /* Phone screen toggles */
    .phone_screen_on {
        display: inline !important;
    }

    .phone_screen_off {
        display: none !important;
    }

    /* Tablet video view */
    video.tablet-view {
        border: 10px solid #333;
        border-radius: 24px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Mobile Main - Phones (767px and below) */
@media screen and (max-width:767px) {
    .row_am { padding: 30px 0; }
    /* .section_title p br { display: none; } */
    .section_title h2:not('.text-center') { text-align: start; }
    .why_we_section .section_title h2,
    .trusted_section .section_title h2 { text-align: center; }
    /* .section_title h2 { font-size: 24px; } */

    /* Navbar section */
    /* .navbar { padding-top: 15px; } */
    .navbar-expand-lg .navbar-nav .has_dropdown .sub_menu ul li a {
        text-align: start;
        padding: 4px 10px;
        font-size: 16px;
        font-weight: 500;
    }
    .navbar-expand-lg .navbar-nav .has_dropdown { font-size: 17px; }

    /* Banner section */
    .banner_section.landing::after { content: none; }
    /* .banner_section {
        margin: 0 0 50px 0;
    } */
    /* .banner_section.landing { margin-top: 110px; } */
    /* .banner_section .banner_text h1 {
        font-size: 30px!important;
        letter-spacing: -1.2px;
    } */
    /* .banner_text h5{
        line-height: 1.3!important;
    } */
    /* .section_title h2,
    .section_title h3 {
        font-size: 1.5rem!important;
        line-height: 1.3!important;
    } */
    .banner_section .app_btn,
    .banner_section .used_app { justify-content: center; }
    .banner_section .app_btn li:last-child { margin-inline-start: 0; }
    .banner_section .app_btn li {
        margin: 0 15px;
    }
    .banner_section .app_btn li a {
        padding: 10px 20px;
    }
    .banner_section .app_btn li a img { height: 25px; }
    .banner_section .banner_slider .left_icon { inset-inline-start: -40px; }
    .banner_section .banner_slider .right_icon { inset-inline-end: -40px; z-index: 1000; }
    .banner_section .banner_slider::before { width: 350px; height: 350px; }
    .trusted_section .company_logos { padding-top: 0; }

    /* Features section */
    .features_section .feature_detail {
        flex-direction: column-reverse;
        padding-top: 30px;
        margin-top: 0;
    }
    .features_section .feature_detail .feature_img {
        position: relative;
        top: auto;
        inset-inline-start: auto;
        transform: none;
        width: 75%;
        margin: 0 auto;
    }
    .features_section .feature_detail .feature_box {
        width: 100%;
        padding: 0 15px;
        text-align: center;
    }
    .features_section .feature_detail .left_data .data_block .icon,
    .features_section .feature_detail .right_data .data_block .icon {
        margin-inline-end: 0;
        margin-inline-start: 0;
    }
    .features_section .feature_detail .feature_box .data_block {
        margin: 30px 0 0 0;
    }

    /* About app section */
    .about_app_section .about_text .app_statstic {
        margin-top: 0;
        justify-content: space-between;
    }
    .about_app_section .about_text .app_statstic li {
        width: 48%;
        margin-inline-end: 0;
    }
    .about_app_section .about_text .app_statstic li p:first-child { font-size: 18px; }
    .about_app_section .about_img {
        margin: 50px 0 0 0;
        justify-content: center;
    }
    .about_app_section .about_img::before { width: 350px; height: 350px; }

    /* Modern UI section */
    .modern_ui_section .ui_images { margin-top: 10px; }
    .modern_ui_section .section_title { text-align: center; }
    .modern_ui_section .design_block li {
        padding-inline-start: 0;
        margin-bottom: 30px;
    }
    .modern_ui_section .design_block li::before {
        position: relative;
        inset-inline-start: auto;
        top: auto;
        display: inline-block;
    }
    .modern_ui_section .ui_images img { max-width: 100%; }
    .modern_ui_section .ui_images::before { width: 350px; height: 350px; }
    .modern_ui_section .ui_images .left_img { width: 70%; }
    .modern_ui_section .ui_images .right_img { justify-content: center; }
    .modern_ui_section .ui_images .right_img img:nth-child(1) {
        top: 0;
        width: 100px;
    }
    .modern_ui_section .ui_images .right_img img:nth-child(3) { margin-top: 0; }

    /* How it works section */
    .how_it_works .how_it_inner { padding: 50px 15px; }
    .how_it_works .step_block ul { padding-top: 30px; }
    .how_it_works .step_block ul li,
    .how_it_works .step_block ul li:nth-child(2) {
        flex-direction: column;
        padding-inline-start: 30px;
    }
    /* .how_it_works .step_block ul li .step_text h4 { font-size: 18px; } */
    .how_it_works .step_block ul li::before {
        inset-inline-start: 0;
        transform: none;
        height: calc(100% + 10px);
        top: 40px;
    }
    .how_it_works .step_block ul li:first-child::before { height: calc(100% + 50px); }
    .how_it_works .step_block ul li:first-child::after {
        inset-inline-start: -5px;
        transform: none;
        display: none;
    }
    .how_it_works .step_block ul li .step_text,
    .how_it_works .step_block ul li .step_img,
    .how_it_works .step_block ul li:nth-child(2) .step_text,
    .how_it_works .step_block ul li:nth-child(2) .step_img {
        text-align: center;
        width: 100%;
    }
    .how_it_works .step_block ul li .step_number {
        position: absolute;
        top: -5px;
        inset-inline-start: -23px;
        width: 50px;
        height: 50px;
    }
    .how_it_works .step_block ul li:last-child::before { opacity: 0; }
    /* .how_it_works .step_block ul li .step_number h3 {
        font-size: 15px;
        margin: -2px 0 0 0;
    } */
    .how_it_works .yt_video { margin-top: -50px; }
    .how_it_works .yt_video .thumbnil {
        height: 300px;
        border-radius: 15px;
    }
    .how_it_works .yt_video .thumbnil img {
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 15px;
    }
    .how_it_works .yt_video .thumbnil a { width: 100%; }
    .how_it_works .yt_video .thumbnil a .play_btn::after { width: 140px; height: 140px; }
    .how_it_works .yt_video .thumbnil a .play_btn::before { width: 120px; height: 120px; }
    .how_it_works .yt_video .thumbnil a .play_btn img { height: auto; }

    /* Testimonial section */
    .testimonial_section .testimonial_block { margin: 0; }
    .testimonial_section .testimonial_block .avtar_faces { display: none; }
    .testimonial_section .testimonial_block .testimonial_slide_box { width: 100%; }

    /* Pricing section */
    .pricing_section .pricing_pannel .pricing_block {
        min-height: auto;
        padding: 30px 15px;
    }
    .pricing_section .pricing_pannel .pricing_block .icon { margin-bottom: 15px; }
    .pricing_section .contact_text { margin-top: -20px; }

    /* FAQ section */
    .faq_section .faq_panel .card-header h2 { text-align: start; }
    .faq_section .faq_panel .card-header .btn {
        font-size: 16px;
        padding-inline-end: 30px;
        text-align: start;
    }
    .faq_section .faq_panel .card-body p { text-align: start; }

    /* Interface section */
    .interface_section .owl-item .screen_frame_img img { transform: scale(1); }

    /* Download section */
    .free_app_section .container .free_app_inner {
        padding: 50px 15px 0 15px;
        z-index: 99;
    }
    .free_app_section .container .free_app_inner .free_img {
        margin-top: 0;
        justify-content: center;
    }
    .free_app_section .container .free_app_inner .free_img img { max-width: 100%; }

    /* Latest story section */
    .latest_story .story_box { margin-bottom: 30px; }

    /* Newsletter section */
    .newsletter_box form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter_box form .form-group { width: 100%; }
    .newsletter_box form .form-group .form-control {
        width: 100%;
        margin-bottom: 15px;
    }
    .newsletter_box .section_title p { font-size: 13px; }

    /* Footer section */
    .footer .links,
    .footer .abt_side { margin-bottom: 30px; }
    .footer .top_footer .social_media { justify-content: center; }
    .footer .top_footer .social_media li a { margin: 0 5px; }
    .footer .top_footer .try_out { margin-inline-start: 0; }
    .footer .app_btn li a { margin: 0 auto; }
    .footer .bottom_footer .developer_text {
        text-align: center;
        margin-top: 10px;
    }
    .footer .top_footer .col-md-6 { margin-bottom: 0; }

    /* Animation line section */
    .anim_line,
    .anim_line.dark_bg { width: 140%; }

    /* Latest story section */
    .latest_story .story_box .story_img img { width: 100%; }

    /* Bread crumb */
    .bred_crumb {
        min-height: 330px;
    }
    .bred_crumb .bred_text {
        padding: 0 15px;
        margin-top: 15px;
    }
    /* .bred_crumb .bred_text h1 { font-size: 24px; } */
    .bred_crumb .bred_text .search_bar form .form-group { height: 50px; }
    .bred_crumb .bred_text .search_bar form .form-group .btn {
        width: 46px;
        height: 46px;
        line-height: 46px;
    }
    .bred_crumb::after {
        background-size: cover;
        height: 100px;
    }

    /* Blog sections */
    .blog_list_main .blog_text .section_title,
    .blog_list_story .story_box { text-align: center; }

    .why_we_section .why_inner { padding-bottom: 10px; }

    .experts_team_section .experts_box {
        padding: 20px;
        margin-bottom: 15px;
    }
    .pagination_block ul li:not(:first-child, :last-child) a {
        width: 24px;
        height: 24px;
        line-height: 24px;
        margin: 0 3px;
        font-size: 12px;
    }

    .blog_detail_bredcrumb.bred_crumb .bred_text { margin-top: -10px; }
    .blog_detail_section .blog_inner_pannel {
        margin-top: -70px;
        padding: 25px 20px;
    }
    .blog_detail_section .blog_inner_pannel .section_title { margin-bottom: 20px; }
    /* .blog_detail_section .blog_inner_pannel .section_title h2 { font-size: 22px; } */
    /* .blog_detail_section .blog_inner_pannel .info h3 { font-size: 18px; } */
    .blog_detail_section .blog_inner_pannel .info ul {
        text-align: start;
        padding-inline-start: 0;
    }
    .blog_detail_section .blog_inner_pannel .two_img { margin-bottom: 0; }
    .blog_detail_section .blog_inner_pannel .two_img img { margin: 10px 0; }
    .blog_detail_section .blog_inner_pannel .quote_block .q_icon {
        inset-inline-start: 50%;
        transform: translateX(-50%);
    }
    .blog_detail_section .blog_inner_pannel .quote_block { padding: 55px 20px 35px 20px; }
    /* .blog_detail_section .blog_inner_pannel .quote_block h2 {
        font-size: 18px;
        line-height: 1.4;
    } */
    .blog_detail_section .blog_inner_pannel .blog_authore { flex-direction: column; }
    .blog_detail_section .blog_inner_pannel .blog_authore .authore_info { margin-bottom: 30px; }
    /* .blog_detail_section .blog_inner_pannel .blog_authore .authore_info .text h3 { font-size: 18px; } */

    /* Comment section */
    .comment_section ul li {
        flex-direction: column;
        padding: 20px 0;
        text-align: start;
    }
    .comment_section ul li .comment {
        width: 100%;
        margin-inline-start: 0;
    }
    .comment_section ul li .authore_info {
        width: 100%;
        margin-bottom: 15px;
    }
    .comment_section ul li.replay_comment { margin-inline-start: 30px; }
    .comment_section ul li .authore_info .text { width: auto; }

    .comment_form_section form .form-group .form-control {
        height: 45px;
        font-size: 14px;
        margin-bottom: 15px;
    }

    /* Signup forms */
    .signup_form {
        width: calc(100% - 30px);
        margin: 0 15px;
    }
    .signup_form form { padding: 0 20px; }
    .signup_form form .form-group .form-control {
        font-size: 14px;
        height: 50px;
    }
    .signup_form .or_option .google_btn {
        min-width: 275px;
        padding: 12px 10px;
    }
    .signup_section .back_btn { top: 15px; }
    .signup_section .top_part { padding: 35px 0; }

    /* Reviews */
    .review_freeapp { margin: 0 0 40px 0; }
    .review_list_section .review_box .rating ul,
    .review_list_section .review_box .reviewer {
        justify-content: flex-start;
        text-align: center;
    }
    .review_list_section .review_box .reviewer .text {
        width: auto;
        text-align: start;
    }
    .review_list_section .review_box { text-align: start; }

    /* Contact page */
    .contact_page_section .contact_inner { margin-top: 40px; }
    .contact_page_section .contact_inner .contact_form { padding: 30px 20px; }
    /* .contact_page_section .contact_inner .section_title h2 { font-size: 24px; } */
    .contact_page_section .contact_inner .contact_form form .form-group .form-control {
        height: 50px;
        font-size: 14px;
    }
    .contact_page_section .contact_inner .contact_form form .term_check label {
        text-align: start;
        line-height: 1.3;
    }
    .contact_page_section .contact_inner .contact_form form .term_check { align-items: flex-start; }
    .contact_page_section .contact_inner .contact_info .section_title { text-align: center; }
    .contact_page_section .contact_inner .contact_info .btn { margin-bottom: 30px; }
    .contact_page_section .contact_inner .contact_info .contact_info_list li { flex-direction: column; }
    .contact_page_section .contact_inner .contact_info .contact_info_list li .img {
        width: 100%;
        margin: 0;
    }
    .contact_page_section .contact_inner .contact_info .contact_info_list li .text {
        width: 100%;
        margin-top: 10px;
    }

    .map_section { margin: 15px 0; }
}

/* Mobile Small - Small Phones (640px and below) */
@media screen and (max-width:640px) {
    .features_section .feature_detail .feature_box {
        justify-content: center;
        margin: 0 auto;
    }
    .bred_crumb .banner_shape1,
    .banner_shape2,
    .banner_shape3 { display: none; }
    .query_section .banner_shape1,
    .query_section .banner_shape2,
    .query_section .banner_shape3 { display: none; }
}

/* Mobile Extra Small - Very Small Phones (479px and below) */
@media screen and (max-width:479px) {
    /* About app section */
    .about_app_section .about_img::before { inset-inline-start: 49%; }
}

/* ======= END MOBILE STYLES ======= */

/* Moved from style.css and page/main-new.css */
@media (max-width:767.98px) {
    .comment_section.forum-dashboard .container>ul>li.forum-thread-card {
        padding: 14px!important;
        margin-bottom: 22px;
    }
    .comment_section.forum-dashboard ul.forum-thread-posts li.replay_comment {
        margin-inline-start: 0!important;
    }
    .app_text p {
        font-size: .9rem!important;
        line-height: 1.6!important;
    }
    /* .quote_block_custom h2 {
        font-size: 1rem!important;
        line-height: 1.5!important;
    } */
    /* .container {
        padding-left: 15px;
        padding-right: 15px;
    } */
    /* .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    } */
    .nav-link {
        padding: 12px 16px!important;
    }
    .form-control,
    .form-select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

@media screen and (max-width:767.98px) {
    input[type=email],
    input[type=number],
    input[type=tel],
    input[type=text],
    select,
    textarea {
        font-size: 16px!important;
    }
}

@media (max-width:576px) {
    #newsLetterModal .modal-dialog {
        margin: 15px;
        max-width: calc(100% - 30px);
    }
    .newsletter-modal-header {
        padding: 25px 20px;
    }
    .newsletter-modal-body {
        padding: 25px 20px 15px;
    }
    .newsletter-modal-header .modal-title {
        font-size: 20px;
    }
    .newsletter-modal-subtitle {
        font-size: 13px;
    }
    .newsletter-modal-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .newsletter-input {
        height: 44px;
        font-size: 14px;
    }
    .newsletter-subscribe-btn {
        padding: 12px 25px;
        font-size: 15px;
    }
}
