/* ===================== RESPONSIVE STYLES ===================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Doto:wght@100..900&family=Syne:wght@400..800&display=swap');

:root {
    --primary-color: #1D4FA0;
    --secondary-color: #E23728;
    --bg-light: #FAFDFF;
    --dark-text: #222222;
    --white: #ffffff;
    --texts-font: "DM Sans", sans-serif;
    --heading-font: "Syne", sans-serif;
    --digital-font: "Doto", sans-serif;
    --primary-gradient: linear-gradient(90deg, rgba(29, 79, 160, 1) 0%, rgba(13, 45, 98, 1) 100%);
    --transition-fast: 0.3s ease;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===================== LARGE DESKTOP (1450px and above) ===================== */
@media (min-width: 1450px) {

    /* Header */
    .main-header {
        padding: 0px 100px;
    }

    .nav-menu {
        gap: 32px;
    }

    /* Home Page */
    .masterpiece_texts {
        gap: 300px;
    }

    /* About Page */
    .banner_title {
        font-size: 56px;
    }

    .section_title {
        font-size: 44px;
    }
}

/* ===================== STANDARD DESKTOP (1200px - 1399px) ===================== */
@media (max-width: 1399px) {

    /* Header */
    .nav-menu {
        gap: 30px;
    }

    .company-name {
        font-size: 20px;
    }

    /* About Page */
    .advantage_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantage_card_wide {
        grid-column: span 3;
    }
}

/* ===================== LAPTOP (992px - 1199px) ===================== */
@media (max-width: 1199px) {

    /* Header */
    .nav-menu {
        gap: 25px;
    }

    .nav-link {
        font-size: 14px;
    }

    .btn-quote {
        padding: 10px 22px;
        font-size: 13px;
    }

    .company-name {
        font-size: 18px;
    }

    .company-tagline {
        font-size: 9px;
    }

    .logo-icon {
        width: 42px;
        height: 38px;
    }

    /* About Page */
    .inner_page_banner {
        height: 50vh;
        min-height: 400px;
    }

    .banner_title {
        font-size: 40px;
    }

    .section_title {
        font-size: 32px;
    }

    .about_overview_section,
    .mission_values_section,
    .our_team_section,
    .our_advantage_section {
        padding: 80px 0;
    }

    .team_wrapper {
        padding: 40px;
    }

    .advantage_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage_card_wide {
        grid-column: span 2;
    }

    /* Services Page */
    .service_content {
        padding-left: 30px;
    }

    .service_item_reverse .service_content {
        padding-right: 30px;
    }

    .service_title {
        font-size: 30px;
    }

    .service_image img {
        height: 350px;
    }

    .why_features_grid {
        gap: 15px;
    }

    /* Contact Page */
    .contact_cards_wrapper {
        gap: 20px;
    }

    .contact_card {
        padding: 30px 25px;
    }

    .contact_form_wrapper {
        padding-right: 20px;
    }

    .map_wrapper {
        padding-left: 10px;
    }

    /* Gallery Page */
    .gallery_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .gallery_image img {
        height: 260px;
    }
}

/* ===================== TABLET LANDSCAPE & SMALL LAPTOP (768px - 991px) ===================== */
@media (max-width: 991px) {

    /* Header - Hide desktop nav and show mobile toggle */
    .main-nav {
        display: none;
    }

    .main-header {
        padding: 0px 60px;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .header-wrapper {
        padding: 12px 0;
        height: 75px;
    }

    .logo-icon {
        width: 45px;
        height: 40px;
    }

    .company-name {
        font-size: 20px;
    }

    .company-tagline {
        font-size: 9px;
    }

    body {
        padding-top: 75px;
    }

    /* About Page */
    .inner_page_banner {
        height: 45vh;
        min-height: 350px;
    }

    .banner_title {
        font-size: 50px;
    }

    .banner_subtitle {
        font-size: 16px;
    }

    .experience_badge {
        right: 0px;
        bottom: 30px;
    }

    .overview_image_main {
        height: 400px;
        overflow: hidden;
        margin-bottom: 30px;
        border-radius: 24px;
    }

    .overview_image_main img {
        height: 100%;
        object-fit: cover;
    }

    .mission_card {
        margin-bottom: 30px;
        height: calc(100% - 20px);
    }

    .values_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team_content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .team_image_grid {
        grid-template-columns: repeat(3, 1fr);
        min-height: 275px;
        gap: 8px;
        grid-template-rows: none;
    }

    .team_image {
        height: 275px;
    }

    /* Services Page */
    .service_item {
        padding: 50px 0;
    }

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

    .service_item_reverse .service_content {
        padding-right: 0;
    }

    .service_image img {
        height: 300px;
    }

    .services_why_section {
        padding: 80px 0;
    }

    .services_why_section .section_title {
        margin-bottom: 20px;
    }

    .why_features_grid {
        margin-top: 40px;
    }

    .why_sticky {
        position: static;
    }

    .factors_grid {
        grid-template-columns: 1fr;
    }

    .emergency_box {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 30px;
        gap: 28px;
    }

    .project_image img {
        height: 320px;
    }

    .project_details {
        margin-top: 30px;
    }

    .coverage_strip {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Contact Page */
    .contact_info_section {
        margin-top: -40px;
    }

    .contact_cards_wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .contact_card {
        padding: 20px 15px;
    }

    .contact_card_icon {
        width: 60px;
        height: 60px;
    }

    .contact_card_icon i {
        font-size: 28px;
    }

    .contact_card_title {
        font-size: 18px;
    }

    .contact_card_text {
        font-size: 15px;
    }

    .contact_form_wrapper {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .contact_form_wrapper .subheading{
        white-space: normal;
    }

    .map_wrapper {
        padding-left: 0;
    }

    /* .map_info {
        flex-direction: column;
        gap: 15px;
    } */

    .social_connect_wrapper {
        flex-direction: column;
        text-align: center;
    }

    /* Gallery Page */
    .gallery_filter {
        gap: 10px;
        margin-bottom: 40px;
    }

    .filter_btn {
        padding: 10px 22px;
        font-size: 14px;
        white-space: nowrap;
        border-radius: 12px;
    }

    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery_image img {
        height: 280px;
    }

    .lightbox_prev,
    .lightbox_next {
        width: 50px;
        height: 50px;
    }

    .lightbox_prev i,
    .lightbox_next i {
        font-size: 26px;
    }

    .about_overview_section,
    .mission_values_section,
    .our_team_section,
    .our_advantage_section {
        padding: 60px 0;
    }

    .cta_section {
        padding: 0 0 60px 0;
    }

    .cta_box {
        border-radius: 24px;
        padding: 32px;
        flex-direction: column;
        align-items: start;
        gap: 24px;
    }

    .cta_box .hero_btn_flex {
        gap: 12px;
        width: 100%;
    }

    .cta_box .hero_btn_flex button {
        width: 100%;
        white-space: nowrap;
    }

    /* .cta_box .hero_btn_flex .secondary_button {
        width: 100%;
    }
    .cta_box .hero_btn_flex .primary_button_line {
        width: 100%;
    } */

    .cta_box .subheading {
        white-space: normal;
        font-size: 28px;
    }

    .cta_box .subheading img {
        width: 40px;
        margin-left: 20px;
    }

    .footer_heading {
        margin-top: 16px;
        font-size: 20px;
    }

    .hero_texts h3 {
        font-size: 50px;
        width: 80%;
    }

    .hero_counter {
        right: 10%;
    }

    .hero_custom_arrows {
        right: 3%;
    }

    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
        gap: 5px;
    }

    .hamburger-line {
        width: 25px;
        height: 2px;
    }

    .mobile-nav-menu {
        padding: 20px 30px !important;
    }

    .masterpiece_texts {
        align-items: start;
        margin-bottom: 28px;
        flex-direction: column;
        gap: 8px;
    }

    .subheading {
        font-size: 45px;
    }

    .masterpiece_custom_arrows {
        top: 68%;
    }

    .masterpiece_slider .slick-slide {
        opacity: 0.1;
        transition: opacity 0.5s ease-in-out;
    }

    .masterpiece_slider .slick-slide.slick-active {
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
    }

    .masterpiece_slider .slick-slide.slick-active .master_title {
        transform: translateY(-5px);
    }

    .masterpiece_slider .slick-slide.slick-active .master_desc {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
    }

    .about_section {
        padding: 120px 0;
        background-image: linear-gradient(90deg, #0f0f0f0f 0%, #1a1a1a5e 50%, #0000003b 100%), url(/images/about_lift.webp), url(/images/col-bg.png);
        /* background-repeat: no-repeat, no-repeat, no-repeat; */
        background-size: cover, contain, 800px;
        background-position: center, left center, top right;
        position: relative;
    }

    .about_texts .subheading {
        /* background: -webkit-linear-gradient(left,#ffffff,#fff, #222 ,#222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
        color: #fff;
        /* text-shadow: #4b4b4b 40px 0px 80px; */
    }

    .about_section p {
        /* background: -webkit-linear-gradient(left,#ffffff, #fff, #f3f3f3, #868686);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
        color: #fff;
        /* text-shadow: #000000 50px 0px 80px; */
    }

    .number_big {
        right: 6%;
    }

    .about_counter_box p {
        -webkit-text-fill-color: #222;

    }

    .number_big h3 {
        font-size: 64px;
        text-shadow: none;
    }

    .number_big p {
        text-shadow: none;
    }

    .about_arrow {
        top: 80px;
        right: 7%;
    }

    .installation_arrow {
        top: 80px;
        right: 7%;
    }

    .gallery_intro_section {
        padding: 60px 0 0px;
    }

    .gallery_filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 15px;
        margin-bottom: 30px;
        overflow-x: scroll;
        width: 100%;
    }

    .overview_content {
        padding: 20px;
        padding-bottom: 0;
    }
    .masterpiece_arrow_next {
       margin-right: 0;
    }
    .masterpiece_arrow_prev {
        margin-left: 0;
    }
}

/* ===================== TABLET PORTRAIT (576px - 767px) ===================== */
@media (max-width: 767px) {

    /* Header */
    .header-wrapper {
        padding: 10px 0;
    }

    .main-header {
        padding: 0px 40px;
    }

    .logo-icon {
        width: 40px;
        height: 36px;
    }

    .company-name {
        font-size: 18px;
    }

    .company-tagline {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .logo-link {
        gap: 10px;
    }

    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
        gap: 5px;
    }

    .hamburger-line {
        width: 25px;
        height: 2px;
    }

    .mobile-nav-menu {
        padding: 10px 15px !important;
    }

    .mobile-nav-menu li a {
        padding: 12px 10px;
        font-size: 14px;
    }

    body {
        padding-top: 75px;
    }

    .hero_section {
        padding: 0px 0px;
    }

    /* Home Page - Hero Section */
    .hero_slide {
        height: 80vh;
        width: 100%;
        border-radius: 0;
    }

    .hero_texts h3 {
        font-size: 36px;
        width: 100%;
    }

    .hero_texts p {
        width: 100%;
        font-size: 14px;
    }

    .hero_texts {
        bottom: 22%;
        gap: 0px;
        padding: 0px 10px 0px 0px;
    }

    .hero_arrow {
        width: 40px;
        height: 40px;
    }
    .hero_arrow img {
        width: 13px !important;
        height: 11px !important;
    }

    .hero_counter p {
        font-size: 17px;
    }

    .hero_counter h4 {
        font-size: 30px;
    }

    .hero_counter {
        bottom: 6%;
        left: 10%;
        gap: 0px;
    }

    .hero_texts img {
        width: 40px;
    }

    .hero_custom_arrows {
        top: 88%;
        right: 20px;
        gap: 10px;
    }

    .hero_btn_flex {
        display: flex;
        gap: 8px;
        width: 100%;
        /* flex-direction: column; */
    }

    .hero_btn_flex button {
        width: 100%;
        white-space: nowrap;
    }

    .subheading {
        font-size: 32px;
    }

    /* Home Page - Masterpiece Section */
    .masterpiece_texts {
        align-items: start;
        margin-bottom: 16px;
    }

    .masterpiece_custom_arrows {
        top: 68%;
        display: none;
    }

    .masterpiece_arrow_prev {
        margin-left: 3px;
    }

    .masterpiece_arrow_next {
        margin-right: 3px;
    }

    .masterpiece_arrow {
        width: 40px;
        height: 40px;
    }

    .masterpiece_slider .slick-slide {
        opacity: 0.1;
        transition: opacity 0.5s ease-in-out;
    }

    .masterpiece_slider .slick-slide.slick-active {
        opacity: 1;
        transition: opacity 0.5s ease-in-out;
    }

    .masterpiece_slider .slick-slide.slick-active .master_title {
        transform: translateY(-5px);
    }

    .masterpiece_slider .slick-slide.slick-active .master_desc {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
    }

    .masterpiece_slider .slick-slide.slick-active .master_overlay {
        background: linear-gradient(180deg, rgba(29, 79, 160, 0) 0%, rgba(29, 79, 160, 0.9) 100%);
        transition: all 0.4s ease;
        height: 100%;
    }

    /* Home Page - About Section */
    .about_section {
        padding: 120px 0;
        background-image: linear-gradient(90deg, #0f0f0f0f 0%, #1a1a1a5e 50%, #0000003b 100%), url(/images/about_lift.webp), url(/images/col-bg.png);
        /* background-repeat: no-repeat, no-repeat, no-repeat; */
        background-size: cover, cover, 800px;
        background-position: center, left center, top right;
        position: relative;
    }

    .about_arrow {
        top: 50px;
        right: 5%;
    }

    .about_arrow img {
        width: 40px;
    }

    .about_counter_box p {
        color: var(--dark-text);
    }

    .number_big {
        bottom: 7%;
        right: 7%;
    }

    .number_big h3 {
        font-size: 60px;
    }

    /* Home Page - Installations Section */
    .installations_section {
        padding: 60px 0;
    }

    .installation_arrow {
        top: 57px;
        right: 5%;
    }

    .installation_arrow img {
        width: 40px;
    }

    .install_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 4px;
    }

    .install_grid .sub_grid {
        grid-gap: 4px;
    }

    .installed_image {
        border-radius: 20px;
    }

    /* Home Page - CTA Section */
    .cta_section {
        padding: 0 0 60px 0;
    }

    .cta_box {
        border-radius: 24px;
        padding: 32px;
        flex-direction: column;
        align-items: start;
        gap: 24px;
    }

    .cta_box .hero_btn_flex {
        gap: 12px;
        flex-direction: column;
        width: 100%;
    }

    .cta_box .hero_btn_flex button {
        width: 100%;
    }

    .cta_box .subheading {
        white-space: normal;
        font-size: 28px;
    }

    .cta_box .subheading img {
        width: 40px;
        margin-left: 20px;
        display: none;
    }

    .subheading img {
        width: 40px;
    }

    /* Home Page - Why Section */


    /* Footer */
    footer {
        padding-top: 60px;
    }

    .footer_heading {
        margin-top: 16px;
        font-size: 20px;
    }

    .footer_bottom {
        margin-top: 32px;
        align-items: center;
        flex-direction: column;
        gap: 4px;
    }

    .footer_bottom p {
        font-weight: 300;
    }

    /* About Page */
    .inner_page_banner {
        height: 40vh;
        min-height: 300px;
    }

    .banner_title {
        font-size: 32px;
        padding: 0 10px;
    }

    .banner_subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .about_overview_section,
    .mission_values_section,
    .our_team_section,
    .our_advantage_section {
        padding: 60px 0;
    }

    .about_overview_section {
        padding-bottom: 30px;
    }

    .section_title {
        font-size: 28px;
    }



    .overview_image_wrapper {
        padding: 10px;
    }



    .experience_badge {
        border-radius: 16px;
        padding: 20px;
        right: -5px;
        bottom: 20px;
    }

    .badge_number {
        font-size: 32px;
    }

    .badge_text {
        font-size: 12px;
    }

    /* .overview_stats {
        padding: 20px 30px;
        flex-direction: column;
        align-items: start;
        width: fit-content;
        gap: 5px;
    }

    .stat_item {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .stat_number {
        font-size: 28px;
    }

    .stat_divider {
        display: none;
    } */
    .overview_stats {
        display: grid;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .stat_divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to left, transparent, rgba(29, 79, 160, 0.3), transparent);
    }

    .mission_card {
        padding: 30px;
    }

    .values_grid {
        grid-template-columns: 1fr;
    }

    .team_wrapper {
        padding: 30px;
    }

    .team_image_grid {
        grid-template-columns: repeat(3, 1fr);
        min-height: 200px;
        gap: 5px;
        grid-template-rows: none;
    }

    .team_image_1 {
        grid-row: span 1;
    }

    .team_image {
        height: 200px;
    }

    .advantage_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage_card_wide {
        grid-column: span 1;
    }

    .advantage_card {
        padding: 30px 25px;
        border-radius: 24px;
    }

    .advantage_number {
        font-size: 36px;
    }

    .banner_scroll_indicator {
        display: none;
    }

    /* Services Page */
    .services_intro_section {
        padding: 60px 0 30px;
    }

    .intro_text {
        font-size: 16px;
    }

    .services_listing_section {
        padding: 0px 0 30px;
    }

    .service_item {
        padding: 40px 0;
    }

    .service_title {
        font-size: 26px;
    }

    .service_number {
        font-size: 56px;
    }

    .service_image img {
        height: 280px;
    }

    .service_features li {
        font-size: 14px;
        padding: 8px 0;
    }

    .why_features_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why_feature_card {
        padding: 25px;
    }

    .type_of_elevator_section {
        padding: 60px 0px 40px 0px;
    }

    .properties_section {
        padding: 60px 0;
    }

    .properties_section .subheading {
        white-space: normal;
    }

    .property_card {
        padding: 25px;
    }

    .why_mercon {
        padding: 60px 0;
    }

    .certifications_section {
        padding: 60px 0;
    }

    .lift_types_section {
        padding: 60px 0;
    }

    .maint_services_section {
        padding: 60px 0;
    }

    .plans_section {
        padding: 60px 0px;
    }

    .project_section {
        padding: 60px 0px 40px 0px;
    }

    .maint_coverage_section {
        padding: 0px 0px 60px 0px;
    }

    .emergency_section {
        padding: 60px 0px 60px 0px;
    }

    .emergency_info h2 {
        font-size: 24px;
    }

    .emergency_call {
        width: 100%;
    }

    .plan_card {
        padding: 30px 25px;
    }

    .choose_elevator_section {
        padding: 0px 0px 60px 0px;
    }

    .factor_item {
        padding: 20px 10px;
        gap: 15px;
    }

    .factor_number {
        font-size: 30px;
        min-width: 46px;
    }

    .process_section {
        padding: 60px 0;
    }

    .process_timeline {
        padding-left: 70px;
    }

    .process_timeline::before {
        left: 24px;
    }

    .process_progress {
        left: 24px;
    }

    .process_node {
        left: -70px;
        width: 50px;
        height: 50px;
        font-size: 17px;
    }

    .process_content {
        padding: 22px 20px;
    }

    .lift_system_box {
        padding: 30px 25px;
    }

    .lift_system_box h3 {
        font-size: 22px;
    }

    .faq_section {
        padding: 60px 0;
        padding-top:0px;
    }

    .faq_toggle {
        padding: 18px 20px;
        font-size: 15px;
        gap: 12px;
    }

    .faq_answer {
        padding: 0px 20px 18px 20px;
    }

    .cert_card {
        padding: 30px 25px;
    }

    .cert_icon img {
        height: 120px;
    }

    .cert_title {
        font-size: 18px;
    }

    /* Contact Page */
    .contact_info_section {
        padding: 60px 0 30px;
        margin-top: 0;
    }

    .contact_cards_wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact_card {
        padding: 30px;
    }

    .contact_card_icon {
        width: 70px;
        height: 70px;
    }

    .contact_card_icon i {
        font-size: 32px;
    }

    .contact_card_title {
        font-size: 20px;
    }

    .contact_form_section {
        padding: 40px 0 60px;
    }

    .form_row {
        flex-direction: column;
    }

    .form_group input,
    .form_group select,
    .form_group textarea {
        padding: 14px 16px;
    }

    .map_container iframe {
        height: 350px;
    }

    .social_content h3 {
        font-size: 24px;
    }

    .social_links {
        gap: 10px;
    }

    .social_link {
        width: 48px;
        height: 48px;
    }

    .social_link i {
        font-size: 20px;
    }

    .social_connect_wrapper {
        gap: 20px;
    }

    .social_connect_section {
        padding: 40px 0;
    }

    /* Gallery Page */
    .gallery_intro_section {
        padding: 60px 0 0px;
    }

    .gallery_section {
        padding: 30px 0 60px;
    }

    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery_image img {
        height: 200px;
    }

    .gallery_overlay {
        padding: 15px;
    }

    .gallery_info h4 {
        font-size: 15px;
    }

    .gallery_info span {
        font-size: 11px;
    }

    .gallery_expand {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }

    .gallery_expand i {
        font-size: 20px;
    }

    .lightbox_prev,
    .lightbox_next {
        width: 45px;
        height: 45px;
        top: 90%;
    }

    .lightbox_prev {
        left: 15px;
    }

    .lightbox_next {
        right: 15px;
    }

    .lightbox_close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .lightbox_close i {
        font-size: 24px;
    }

    .lightbox_caption h4 {
        font-size: 20px;
    }

    .lightbox_caption span {
        font-size: 12px;
    }

    .lightbox_counter {
        bottom: 8%;
    }

}

/* ===================== MOBILE LARGE (480px - 575px) ===================== */
@media (max-width: 575px) {

    /* Header */
    .header-wrapper {
        padding: 8px 0;
    }

    .main-header {
        padding: 0px 20px;
    }


    .logo-icon {
        width: 38px;
        height: 34px;
    }

    .company-name {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .company-tagline {
        font-size: 7px;
        letter-spacing: 0.8px;
    }

    .logo-link {
        gap: 8px;
    }

    .mobile-cta a {
        padding: 15px 15px !important;
        font-size: 16px;
    }

    /* About Page */
    .inner_page_banner {
        height: 35vh;
        min-height: 280px;
    }

    .banner_title {
        font-size: 32px;
    }

    .breadcrumb_nav {
        font-size: 12px;
    }

    .section_tag {
        font-size: 12px;
        padding: 6px 15px;
    }

    .section_title {
        font-size: 24px;
    }

    .section_header {
        margin-bottom: 30px;
    }

    .floating_shape {
        display: none;
    }

    .team_features {
        gap: 20px;
    }

    .team_feature {
        gap: 15px;
    }

    .feature_icon {
        width: 45px;
        height: 45px;
    }

    .feature_icon i {
        font-size: 20px;
    }

    /* Services Page */
    .service_title {
        font-size: 24px;
    }

    .service_description {
        font-size: 15px;
    }

    .service_number {
        font-size: 48px;
    }

    .service_image img {
        height: 250px;
    }

    .service_image {
        border-radius: 24px;
    }

    /* Contact Page */
    .contact_card {
        padding: 25px 20px;
    }

    .contact_card_text {
        font-size: 14px;
    }

    .submit_btn {
        width: 100%;
        justify-content: center;
    }

    .map_container iframe {
        height: 300px;
    }

    .map_info {
        flex-direction: column;
        gap: 15px;
    }

    .map_info_item {
        padding: 15px;
    }

    .map_info_item i {
        font-size: 24px;
    }

    /* Gallery Page */
    .gallery_filter {
        gap: 8px;
    }

    .gallery_image img {
        height: 180px;
    }

    .gallery_image {
        border-radius: 20px;
    }

    .why_box {
        margin: 10px 25px;
    }

    .hero_counter {
        left: 20px;
    }

    .cta_box .subheading img {
        display: inline-block;
    }

    .about_counter_box {
        justify-content: space-between;
        gap: 20px;
        padding: 24px 20px;
        width: 100%;
    }
}

/* ===================== MOBILE SMALL (320px - 479px) ===================== */
@media (max-width: 479px) {

    /* Header */
    .header-wrapper {
        padding: 6px 0;
    }

    .logo-icon {
        width: 35px;
        height: 32px;
    }

    .company-name {
        font-size: 14px;
        letter-spacing: 0;
    }

    .company-tagline {
        font-size: 6px;
        letter-spacing: 0.5px;
    }

    .logo-link {
        gap: 6px;
    }

    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
        gap: 5px;
    }

    .hamburger-line {
        width: 25px;
        height: 2px;
    }

    .mobile-nav-menu li a {
        padding: 15px 8px;
        font-size: 16px;
    }

    .mobile-dropdown li a {
        padding: 10px 8px;
        font-size: 14px;
    }

    .mobile-cta a {
        padding: 13px 12px !important;
        font-size: 16px;
    }

    /* Home Page */
    .masterpiece_texts {
        flex-direction: column;
        gap: 0;
    }

    .masterpiece_section {
        padding: 60px 0px;
    }

    /* About Page */
    .banner_title {
        font-size: 32px;
    }

    .banner_subtitle {
        font-size: 12px;
    }

    .section_title {
        font-size: 22px;
    }

    .overview_text {
        font-size: 14px;
    }

    .mission_card {
        padding: 30px 30px;
    }

    .card_title {
        font-size: 22px;
    }

    .team_wrapper {
        padding: 25px 20px;
        border-radius: 24px;
    }

    .advantage_card {
        padding: 25px 20px;
    }

    .advantage_title {
        font-size: 18px;
    }

    .indicator_line {
        width: 40px;
    }

    /* Services Page */
    .service_title {
        font-size: 22px;
    }

    .service_features li {
        font-size: 13px;
    }

    .service_image img {
        height: 220px;
    }

    .why_feature_card {
        padding: 20px;
    }

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

    /* Contact Page */
    .contact_card_title {
        font-size: 18px;
    }

    .social_content h3 {
        font-size: 22px;
    }

    .social_content p {
        font-size: 14px;
    }

    .social_link {
        width: 44px;
        height: 44px;
    }

    .social_link i {
        font-size: 18px;
    }

    /* Gallery Page */
    .gallery_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery_image img {
        height: 220px;
    }

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

    .gallery_info span {
        font-size: 12px;
    }

    .lightbox_prev i,
    .lightbox_next i {
        font-size: 22px;
    }

    /* Sticky Contact Buttons Mobile */
    .sticky_contact_buttons {
        bottom: 85px;
        right: 15px;
        gap: 12px;
    }

    .sticky_btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .btn_tooltip {
        display: none;
    }
}

/* ===================== EXTRA SMALL DEVICES (below 320px) ===================== */
@media (max-width: 319px) {
    .logo-text {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 36px;
    }
}

/* ===================== LANDSCAPE ORIENTATION (Mobile) ===================== */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-nav {
        max-height: 60vh;
        overflow-y: auto;
    }

    .mobile-nav-menu li a {
        padding: 10px 8px;
    }

    .mobile-dropdown li a {
        padding: 8px 8px;
    }
}

/* ===================== HIGH DPI / RETINA DISPLAYS ===================== */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .header-top-border {
        height: 3px;
    }

    .hamburger-line {
        height: 2px;
    }
}

/* ===================== PRINT STYLES ===================== */
@media print {
    .main-header {
        position: static;
        box-shadow: none;
    }

    .mobile-menu-toggle,
    .mobile-nav,
    .header-cta {
        display: none !important;
    }
}

/* ===================== HOVER-CAPABLE DEVICES ===================== */
@media (hover: hover) and (pointer: fine) {
    .nav-link:hover {
        color: var(--primary-color);
    }

    .btn-quote:hover {
        transform: translateY(-2px);
    }

    /* .dropdown-menu-web li a:hover {
        padding-left: 25px;
    } */
}

/* ===================== TOUCH DEVICES ===================== */
@media (hover: none) and (pointer: coarse) {
    .nav-link::after {
        display: none;
    }

    .btn-quote {
        transition: background 0.2s ease;
    }

    .btn-quote:active {
        background: #0D2D62;
    }
}
/* ===================== ESCALATOR TYPES SECTION ===================== */
@media (max-width: 991px) {
    .escalator_layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .escalator_nav_list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .escalator_nav_item {
        flex: 0 0 220px;
        padding: 16px 18px;
    }

    .escalator_nav_item::before {
        width: 100%;
        height: 3px;
        top: auto;
        bottom: 0;
        transform: scaleX(0);
        transform-origin: left;
    }

    .escalator_nav_item.active::before {
        transform: scaleX(1);
    }

    .escalator_nav_tagline {
        display: none;
    }

    .esc_panel_hero {
        height: 580px;
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .escalator_types_section {
        padding: 70px 0;
    }

    .esc_panel_hero {
        height: 560px;
        padding: 20px 22px 22px;
    }

    .esc_panel_title {
        font-size: 28px;
    }

    .esc_panel_tiles {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .esc_tile {
        flex: 0 0 190px;
    }
}

@media (max-width: 480px) {
    .escalator_nav_item {
        flex-basis: 190px;
    }

    .esc_panel_hero {
        height: 540px;
    }

    .esc_panel_title {
        font-size: 24px;
    }

    .esc_tile {
        flex-basis: 160px;
    }
}

@media (max-width: 480px) {
    .cta_scope_tags span {
        font-size: 13px;
    }

    .cta_scope_tags span:not(:last-child)::after {
        margin: 0 8px;
    }
}
