@media only screen and (max-width: 1366px) {
    .home_eternity_slider .owl-nav button {
        left: 0;
    }

    .home_eternity_slider .owl-nav button.owl-next {
        right: 0;
    }

    .hero_slider .swiper {
        height: unset;
    }
}

@media only screen and (max-width: 1200px) {
    .site-header .main-header-menu .menu-item .menu-link {
        padding: 0 10px;
    }

    .site-header .main-header-menu .menu-item:last-child .menu-link {
        padding-right: 0;
    }

    .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
        padding: 0 15px !important;
    }

    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle {
        padding: 0;
    }

    .ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle:focus {
        outline: none !important;
        border: unset !important;
    }

    .ast-header-break-point .main-navigation ul .menu-item .menu-link .icon-arrow:first-of-type svg {
        width: 14px;
        height: 14px;
    }

    .site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns {
        gap: 20px;
    }

    .blog-slider .slick-slide {
        padding-right: 20px;
    }

    .convenience_title h5 br {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    .site-header .main-header-menu .menu-item .menu-link {
        padding: 0 7px;
    }

    .site-header .ast-custom-button-link .ast-custom-button {
        padding: 15px 40px 15px 15px !important;
    }

    .site-header .ast-custom-button-link .ast-custom-button::before {
        right: 14px;
    }

    .site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns {
        flex-wrap: wrap;
        row-gap: 40px;
        padding: 50px 15px;
    }

    .site-footer .site-footer-primary-section-1,
    .site-footer .site-footer-primary-section-2,
    .site-footer .site-footer-primary-section-3,
    .site-footer .site-footer-primary-section-4 {
        max-width: calc(50% - 10px);
    }

    .site-footer .site-footer-primary-section-1 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slider_eh_item .see_project_btn .elementor-button {
        font-size: 12px !important;
        line-height: 14px !important;
        padding: 9px 30px 9px 17px;
        display: flex;
        align-items: center;
        letter-spacing: unset !important;
    }

    .slider_eh_item .see_project_btn .elementor-button::before {
        width: 18px;
        height: 18px;
        font-size: 8px;
        top: 7px;
        right: 11px;
    }

    .slider_eh_list .owl-nav button {
        max-width: 45px;
        min-width: 45px;
        height: 45px;
        border: 1px solid var(--white);
    }

    .slider_eh_list .owl-nav button::before {
        font-size: 24px;
        line-height: 5px;
    }

    .slider_eh_list .owl-nav {
        width: calc(100% - 32px);
        left: 16px;
    }

    .founder_message .founder_img {
        margin: 0;
    }

    .about_img_box {
        max-width: 592px;
        width: 100%;
        margin: 0 auto;
        position: relative;
    }

    .latest_insights_section {
        margin-bottom: 50px;
    }

    .floor_plams_btn .elementor-button-icon {
        width: fit-content;
    }

    .faq_section .e-n-accordion-item .e-n-accordion-item-title {
        padding: 55px 15px 30px 15px;
        border: 0 !important;
    }

    .faq_section .faq_item {
        border: 0 !important;
        padding: 15px 15px 30px 15px;
    }

    .faq_section .e-n-accordion-item-title::before {
        top: 30px;
        left: 15px;
        font-size: 20px;
        line-height: 24px;
    }

}

@media only screen and (max-width: 991px) {
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle {
        background: transparent !important;
        box-shadow: none !important;
    }

    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle:focus {
        outline: none !important;
        border: 0 !important;
    }

    .footer-widget-area[data-section="sidebar-widgets-footer-widget-2"].footer-widget-area-inner,
    .footer-widget-area[data-section="sidebar-widgets-footer-widget-3"].footer-widget-area-inner,
    .footer-widget-area[data-section="sidebar-widgets-footer-widget-4"].footer-widget-area-inner {
        text-align: unset !important;
    }

    .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack .site-footer-section {
        margin-bottom: 0 !important;
    }

    .footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .site-footer-primary-section-4 .wp-block-heading {
        text-align: left !important;
    }

    .site-footer .site-below-footer-wrap .ast-builder-footer-grid-columns {
        padding: 10px 15px;
    }

    .site-footer .site-below-footer-wrap .site-footer-below-section-1 {
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .footer_button {
        bottom: 120px;
    }

    .slider_eh_item .slider_eh_item_btn {
        width: calc(100% - 30px);
        left: 15px;
    }

    .slider_eh_list .owl-nav button {
        max-width: 25px;
        min-width: 25px;
        height: 25px;
        border: 1px solid var(--white);
    }

    .slider_eh_list .owl-nav button::before {
        font-size: 14px;
        line-height: 5px;
    }

    .latest_insights_section {
        flex-direction: column-reverse;
    }

    .latest_insights_section .insights_content,
    .latest_insights_section .insights_img {
        width: 100%;
        padding: 0;
    }

    .latest_insights_section .insights_img {
        margin-bottom: 20px;
    }

    .latest_insights_section .insights_img h2 {
        display: block;
        margin-bottom: 20px;
    }

    .latest_insights_section .insights_content h2 {
        display: none;
    }

    .blog_back_btn {
        position: relative;
        top: 0;
        width: fit-content;
        margin-bottom: 20px;
    }

    .custom-single-post-container {
        margin-top: 100px;
    }

    .send-your-inquiry-form .form_group:nth-child(1),
    .send-your-inquiry-form .form_group:nth-child(2) {
        width: 100%;
    }

    .content_info_item .content_img_box .elementor-icon-box-title br {
        display: none;
    }

    .ast-header-break-point .main-navigation ul .menu-item .menu-link {
        line-height: 38px;
    }

    .site-header .main-header-menu .sub-menu .menu-item .menu-link {
        padding: 12px 15px !important;
    }
}

/* Only Headre Menu CSS*/
@media only screen and (max-width: 921px) {
    .ast-mobile-header-wrap .menu-item-object-custom .ast-menu-toggle {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        height: 59px;
    }
}

@media only screen and (max-width: 767px) {
    .blog_card .blog_card_content h3 {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .blog_card .blog_card_content p {
        font-size: 14px;
        line-height: 21px;
        margin-bottom: 20px;
    }

    .slider_eh_item .slider_eh_item_btn {
        width: calc(100% - 20px);
        left: 10px;
        bottom: 10px;
    }

    .blog_view_all .view_all_btn {
        font-size: 14px;
        line-height: 18px;
        padding: 7px 20px;
    }

    .ast-theme-transparent-header #masthead,
    .site-header {
        position: relative !important;
    }

    .ast-theme-transparent-header .sticky#masthead,
    .site-header.sticky {
        position: fixed !important;
    }

    .latest_insights_section .insights_img h2 {
        font-size: 26px;
        line-height: 29px;
    }

    .latest_insights_section .title {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .blog-search-form input {
        height: 60px;
    }

    .blog-search-form button {
        height: 40px;
        padding: 0 20px;
    }

    .blog-search-form .icon {
        top: 18px;
    }

    .blog-search-form {
        margin-bottom: 20px;
    }

    .play-button.open-popup {
        width: 40px;
        height: 40px;
    }

    .play-button.open-popup i {
        font-size: 14px;
        line-height: 14px;
    }

    .custom-single-post-container {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .custom-single-post-container .post-title {
        font-size: 26px;
        line-height: 29px;
        margin-bottom: 40px;
    }

    .custom-single-post-container .wp-block-gallery {
        flex-direction: column !important;
    }

    .custom-single-post-container .wp-block-gallery .wp-block-image.size-large {
        width: 100% !important;
    }

    .partner_container_section {
        background: #CFDEFF !important;
    }

    .job_card {
        padding: 20px;
        flex-direction: column;
        gap: 0;
        justify-content: unset;
        align-items: flex-start;
        margin-bottom: 15px;
        gap: 10px;
    }

    .job_card_details h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .job_card_details .other_info p,
    .job_card_details .other_info p:last-child {
        margin-bottom: 10px;
    }

    .job_card_details .other_info p span {
        min-width: 96px;
        max-width: 96px;
    }

    .partner-with-us-form .button_btn input[type="submit"],
    .job-apply-form .button_btn input[type="submit"] {
        width: 100%;
        background-position: center right 40% !important;
        padding: 13px 20px !important;
    }

    .featuring_item_wapper .box_content ul {
        padding-left: 24px;
    }

    .home_eternity_slider .owl-nav button {
        min-width: 25px;
        max-width: 25px;
        height: 25px;
    }

    .home_eternity_slider .owl-nav button:before {
        font-size: 16px;
    }

    .page-id-26 .site-footer .site-below-footer-wrap .site-footer-below-section-1 {
        padding-bottom: 110px;
    }

    .floor_button_group {
        width: fit-content !important;
    }

    .floor_plams_btn_dark.floor_plams_btn .elementor-button-content-wrapper {
        flex-direction: column !important;
    }

    .eternity_page_images {
        transform: scale(0.9);
    }

    .eternity-card-social-icon .elementor-social-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .youtube-link-card img {
        max-width: unset !important;
    }
}

@media only screen and (max-width: 640px) {

    .site-footer .site-footer-primary-section-1,
    .site-footer .site-footer-primary-section-2,
    .site-footer .site-footer-primary-section-3,
    .site-footer .site-footer-primary-section-4 {
        max-width: 100%;
    }

    .site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns {
        row-gap: 20px;
    }

    .site-footer .site-footer-primary-section-3 {
        display: none !important;
    }

    .site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns::before {
        top: 10px;
        width: 130px;
        height: 190px;
        transform: unset;
    }

    .site-footer .site-primary-footer-wrap .ast-builder-footer-grid-columns::after {
        width: 130px;
        height: 190px;
        transform: unset;
        bottom: 10px;
        top: unset;
    }

    .ast-header-break-point .footer-widget-area[data-section="sidebar-widgets-footer-widget-4"] {
        padding-right: 50px;
    }

    .slider_eh_list .owl-nav {
        width: calc(100% - 20px);
        left: 10px;
    }

    .partner-with-us-form .button_btn input[type="submit"],
    .job-apply-form .button_btn input[type="submit"] {
        background-position: center right 32% !important;
    }

    .blog-search-filter {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
        align-items: unset;
    }

    .custom-dropdown .btn,
    .custom-dropdown .dropdown-menu {
        width: 100%;
    }

    .custom-dropdown .dropdown-menu::before {
        right: 50%;
    }
}

@media only screen and (max-width: 480px) {
    .site-footer-primary-section-2 .menu {
        grid-template-columns: repeat(1, 1fr);
    }

    .floor_plams_btn .elementor-button-icon {
        width: 24px;
    }

    .recaptca,
    .recaptcha {
        transform: scale(0.9);
        margin-left: -10px;
    }
}

@media only screen and (max-width: 380px) {
    .blog_card .blog_card_content {
        padding: 16px;
    }

    .job_card {
        padding: 20px 16px;
    }
}

@media only screen and (max-width: 350px) {

    .recaptca,
    .recaptcha {
        margin-left: -16px;
        margin-top: -5px;
    }
}