@media screen and (min-width: 1700px) {

  .container,
  .container-lg,
  .container-md,
  .container-xl,
  .container-xxl {
    max-width: 1720px;
  }

  .container-sm {
    max-width: 1480px;
  }
}

@media screen and (min-width: 1600px) {

  .container,
  .container-lg,
  .container-md,
  .container-xl,
  .container-xxl {
    max-width: 1580px;
  }

  .container-sm {
    max-width: 1360px;
  }
}

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

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1480px;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1599px) {

  .container,
  .container-lg,
  .container-md,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }

  .container-sm {
    max-width: 1200px;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 34px;
  }

  .mac-pl-80 {
    padding-left: 80px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 16px;
  }

  .core_values_points_area_left_single_area {
    padding: 40px 0;
    gap: 40px;
  }
}

@media (max-width: 1399px) {
  .apci_main_timeline_area {
    margin-top: 140px;
  }

  .timeline_year_big {
    font-size: 120px;
    height: 120px;
  }

  .timeline_small_year {
    height: 120px;
  }

  .apci_timeline_swiper::before {
    top: 125px;
  }

  .timeline_slide {
    width: 300px;
  }

  .timeline_desc {
    max-width: 400px;
    font-size: 16px;
    margin-top: 40px;
  }

  .timeline_slide.swiper-slide-active .timeline_year_big {
    transform: translate(0, -50px);
  }
}

@media screen and (max-width: 1200px) {
  .code_col {
    flex: 0 0 250px;
  }

  .logo_col {
    flex: 0 0 180px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1160px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 32px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 18px;
  }

  .pl-120 {
    padding-left: 80px;
  }

  .apci_custom_btn .btn_text,
  .apci_custom_btn2 .btn_text,
  .main_home_single_blog_content_area a {
    font-size: 12px;
  }

  .footer_top_area {
    padding-top: 80px;
  }

  .tab_btn {
    font-size: 14px;
  }

  .collection_card_label span {
    font-size: 22px;
  }

  .logo-img {
    width: 120px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 16px;
  }

  .header_side_icon {
    height: 80px;
  }

  p {
    font-size: 16px;
  }

  .recent_projects_showcase_header_area h2 {
    margin-bottom: 50px;
  }

  .footer_top_area {
    padding-top: 50px;
  }

  .footer_quick_links_link ul li a {
    font-size: 16px;
  }

  .footer_copyright_links a {
    font-size: 14px;
  }

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

  .about_hero_content_btn_area a {
    font-size: 16px;
    padding: 15px 0;
  }

  .about_hero_content_btn_area a img {
    width: 20px;
  }

  .about_hero_content_area p {
    margin-bottom: 20px;
  }

  .apci_main_timeline_area {
    margin-top: 100px;
  }

  .core_values_points_area_left_single_area {
    gap: 40px;
    padding: 40px 0;
  }

  .apci_mission_vision_content_desc_area p+p {
    margin-top: 40px;
  }

  .certification_table_header .cert_col {
    font-size: 20px;
  }

  .apci_subpage_breadcumb_list_area ul li,
  .apci_subpage_breadcumb_list_area ul li a {
    font-size: 16px;
  }

  .apci_subpage_header_info_area {
    padding-top: 90px;
  }

  .apci_blogpage_header_info_area {
    padding-top: 90px;
  }

  .sub_pages_header_area {
    padding-bottom: 50px;
  }

  .contact_form_content_btn button {
    font-size: 12px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1080px;
  }

  .logo-img {
    width: 120px;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 16px;
  }

  .nav-scroll {
    top: -80px;
    height: 80px;
  }

  .header_side_icon {
    height: 80px;
  }

  .pl-120 {
    padding-left: 60px;
  }

  .apci_custom_btn .btn_text,
  .apci_custom_btn2 .btn_text,
  .main_home_single_blog_content_area a {
    font-size: 12px;
  }

  .section-padding {
    padding: 80px 0;
  }

  .section-padding-sm {
    padding: 60px 0;
  }

  .tab_btn {
    font-size: 14px;
  }

  .collection_card_label span {
    font-size: 22px;
  }

  .recent_projects_showcase_header_area h2 {
    margin-bottom: 50px;
  }

  .footer_top_area {
    padding-top: 60px;
  }

  p {
    font-size: 16px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 16px;
  }

  .footer_quick_links_link ul li a {
    font-size: 16px;
  }

  .footer_links_area {
    padding-top: 90px;
  }

  .footer_copyright_links a {
    font-size: 14px;
  }

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

  .about_hero_content_area p {
    margin: 40px 0;
  }

  .about_hero_content_btn_area a {
    font-size: 14px;
    padding: 14px 0;
  }

  .about_hero_content_btn_area a img {
    width: 20px;
  }

  .apci_main_timeline_area {
    margin-top: 100px;
  }

  .core_values_points_wrapper::before {
    top: -80px;
  }

  .core_values_points_area_left_single_area {
    gap: 30px;
    padding: 40px 0;
  }

  .certification_table_header .cert_col {
    font-size: 20px;
  }

  .contact_form_content_btn button {
    font-size: 12px;
  }
}

@media screen and (max-width: 991px) {
  .apci_gallery_main_area {
    padding: 15px;
    padding-bottom: 0;
    border-radius: 16px 16px 0 0;
  }

  .similar_product_showcase_header_area h2 {
    margin-bottom: 40px;
  }

  .tmt-60 {
    margin-top: 60px;
  }

  .tpl-15 {
    padding-left: 15px;
  }

  .apci_gallery_thumbs_wrapper {
    margin-top: 0;
    gap: 16px;
    padding: 25px 20px;
    border-radius: 0 0 14px 14px;
  }

  .product_details_type_area {
    margin-bottom: 20px;
  }

  .apci_gallery_thumb_arrow {
    width: 34px;
    height: 34px;
  }

  .product_details_more_info_area span {
    font-size: 16px;
  }

  .product_details_name_area h1 {
    font-size: 38px;
  }

  .accordion-box .block .acc-btn {
    padding: 16px;
    font-size: 16px;
  }

  .accordion-box .block .acc-btn:before {
    top: 12px;
  }

  .product_details_ctn_top_area {
    flex-flow: column-reverse;
    align-items: flex-start;
    justify-content: space-between;
  }

  .product_details_ctn_top_area {
    padding-bottom: 30px;
  }

  .product_details_ctn_top_area_span {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .product_details_ctn_btn_header_area {
    padding: 20px;
  }

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

  .product_details_more_info_area span:not(:last-child)::after {
    content: "·";
    margin-left: 8px;
    margin-right: 8px;
    font-size: 30px;
    color: #cccccc;
    font-weight: 400;
  }

  .product_details_view_catalog_btn a {
    font-size: 15px;
  }

  .product_details_description_text_area ul li {
    font-size: 16px;
  }

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

  /* .apci_gallery_thumbs_swiper {
    height: 100px;
  } */

  .apci_gallery_thumbs_swiper .swiper-slide {
    width: calc((100% - 30px) / 4);
  }

  .apci_gallery_thumb {
    padding: 2px;
    border-radius: 4px;
  }

  .apci_gallery_thumb img {
    border-radius: 2px;
  }

  .machinery_company_logo_area {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 50px 0 60px 0;
  }

  .single_machinery_logo_image_area img {
    max-height: 60px;
    max-width: 140px;
  }

  .apci_main_timeline_area {
    margin-top: 100px;
  }

  .timeline_year_big {
    font-size: 80px;
    height: 100px;
  }

  .timeline_small_year {
    height: 100px;
  }

  .apci_timeline_swiper::before {
    top: 105px;
  }

  .timeline_slide {
    width: 260px;
  }

  .timeline_desc {
    max-width: 320px;
    font-size: 15px;
    margin-top: 30px;
  }

  .timeline_slide.swiper-slide-active .timeline_year_big {
    transform: translate(0, -40px);
  }

  .timeline-nav-buttons .timeline-prev,
  .timeline-nav-buttons .timeline-next {
    width: 40px;
    height: 40px;
  }

  .timeline-nav-buttons svg {
    width: 14px;
    height: 14px;
  }

  .timeline_nav_wrapper {
    margin-bottom: 30px;
  }

  .footer_copyright_left {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer_copyright_divider {
    display: none;
  }

  .footer_copyright_right {
    text-align: center;
    margin-top: 30px;
  }

  .application_based_collection_area::before {
    top: 215px;
    /* Half of 350px img + 40px padding */
  }

  .app_slide.swiper-slide {
    flex-direction: column;
  }

  .app_card_content {
    flex-direction: column;
  }

  .app_card_left,
  .app_card_right {
    width: 100%;
  }

  .app_card_right {
    margin-top: 20px;
  }

  .app_card_img img {
    height: 350px;
  }

  .certification_table_header {
    display: none;
  }

  .certification_row {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 25px;
  }

  .cert_col {
    padding: 0;
    margin-bottom: 20px;
    flex: 0 0 auto !important;
    width: 100%;
  }

  .logo_col {
    justify-content: flex-start;
  }

  .logo_col img {
    max-width: 120px;
  }

  .code_col {
    font-size: 18px;
    font-weight: 500;
    color: #000;
  }

  .desc_col {
    margin-bottom: 0;
  }

  .header_left_content h1 br {
    display: none;
  }

  .collection_slider_area h2 br {
    display: none;
  }

  .tab_btn {
    font-size: 16px;
    padding: 12px 28px;
  }

  .collection_tab_btns_area {
    margin-top: 40px;
  }

  /* --- Projects Showcase Responsive (Tablet) --- */
  .projects_showcase_area .row {
    flex-direction: column;
  }

  .projects_showcase_area .col-lg-2 {
    margin-bottom: 30px;
  }

  #projects_images_anchor {
    min-height: auto !important;
  }

  .projects_images_absolute_wrapper {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    padding-right: 0 !important;
  }

  .projects_static_list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .projects_static_list::-webkit-scrollbar {
    height: 4px;
  }

  .projects_static_list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
  }

  .projects_static_list::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 4px;
  }

  .static_card {
    flex: 0 0 45%;
    min-width: 45%;
    scroll-snap-align: start;
  }

  .project_card img {
    height: 320px;
  }

  .recent_projects_showcase_header_area h2 br {
    display: none;
  }

  .home_application_based_header_area h2 br {
    display: none;
  }

  .home_application_based_content_area {
    margin-top: 24px;
    margin-bottom: 0;
  }

  /* --- Collection Filter Responsive (Tablet) --- */
  .apci_collection_filter_area {
    flex-wrap: wrap;
  }

  .apci_filter_dropdown {
    flex: 0 0 50%;
    max-width: 50%;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
  }

  .apci_filter_dropdown:nth-child(odd) {
    border-left: 1px solid #e0e0e0;
  }

  .apci_filter_dropdown:nth-child(even) {
    border-right: 1px solid #e0e0e0;
  }

  /* Top-left on first, top-right on second, bottom-left on third, bottom-right on fourth */
  .apci_filter_dropdown:nth-child(1) {
    border-radius: 12px 0 0 0;
  }

  .apci_filter_dropdown:nth-child(2) {
    border-radius: 0 12px 0 0;
  }

  .apci_filter_dropdown:nth-child(3) {
    border-radius: 0 0 0 12px;
    border-top: none;
  }

  .apci_filter_dropdown:nth-child(4) {
    border-radius: 0 0 12px 0;
    border-top: none;
  }

  .apci_collection_filter_area {
    border-bottom: none;
  }

  /* ── Mobile header bar ──────────────────────────── */
  .smart_new_navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px 0 15px;
    border-radius: 12px;
    height: 60px;
    /* slightly slimmer for floating island */
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto !important;
    margin: 0 !important;
    z-index: 999;
    transition:
      background 0.35s ease,
      box-shadow 0.35s ease;
  }

  /* Scrolled / sticky state */
  .nav-scroll .smart_new_navbar {
    background: #ffffff !important;
    box-shadow:
      0 15px 40px rgba(0, 0, 0, 0.1),
      0 4px 15px rgba(0, 0, 0, 0.05);
    /* Slightly darker/elevated on scroll */
    height: 60px;
  }

  /* White-background pages */
  .header-white.smart_new_navbar {
    background: #ffffff;
    box-shadow:
      0 10px 35px rgba(0, 0, 0, 0.08),
      0 2px 10px rgba(0, 0, 0, 0.04);
    /* Floating island perfect shadow */
  }

  /* Transparent-background pages are forced to white on mobile */
  .header-transparent.smart_new_navbar {
    background: #ffffff;
    box-shadow:
      0 10px 35px rgba(0, 0, 0, 0.08),
      0 2px 10px rgba(0, 0, 0, 0.04);
    /* Floating island perfect shadow */
  }

  .smart_new_navbar .logo-img {
    content: url("../upload/assets/black-logo.svg") !important;
    filter: none !important;
  }

  .header-transparent .header_side_icon.search_bar_icon img,
  .header-transparent .header_side_icon.bookmark_icon img,
  .header-transparent .header_side_icon.lang_switcher img {
    filter: invert(1);
  }

  .header-transparent .icon_separator {
    background-color: rgba(0, 0, 0, 0.3);
  }

  .header-transparent .lang_code {
    color: #1c1c1c;
  }

  /* ── Logo ──────────────────────────────────────── */
  .logo-wrapper {
    float: none;
    padding: 0;
    z-index: 1;
    flex-shrink: 0;
  }

  .logo-img {
    width: 120px;
    display: block;
    margin: 0;
    padding: 0;
  }

  /* ── Hamburger button ──────────────────────────── */
  .navbar-toggler {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1001;
    /* Above the menu so it can close it */
  }

  /* ── Minimalist Hamburger Icon ─────────────────── */
  .menu-icon {
    width: 26px;
    height: 10px;
    /* Slim and minimal profile */
    position: relative;
    cursor: pointer;
    z-index: 1001;
  }

  .menu-icon span {
    display: block;
    position: absolute;
    width: 100%;
    height: 1.5px;
    /* Extremely sharp and clean */
    border-radius: 0;
    /* Minimalist sharp edges */
    left: 0;
    transition:
      transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
      opacity 0.3s ease,
      background-color 0.3s ease;
    transform-origin: center;
  }

  /* Position the 3 spans (hide the 2nd for a pure 2-line minimal look) */
  .navbar-toggler .menu-icon span:nth-child(1) {
    top: 0;
  }

  .navbar-toggler .menu-icon span:nth-child(2) {
    display: none;
    /* Hide middle line for minimalism */
  }

  .navbar-toggler .menu-icon span:nth-child(3) {
    bottom: 0px;
  }

  /* Default: white pages or mobile transparent header forced to dark lines */
  .header-transparent .menu-icon span {
    background-color: #1a1a1a;
  }

  /* Dark lines for white-bg pages */
  .header-white .menu-icon span {
    background-color: #1a1a1a;
  }

  /* Sticky header always gets dark lines */
  .nav-scroll .menu-icon span {
    background-color: #1a1a1a;
  }

  /* ── Hamburger → X animation for 2 lines ───────── */
  .navbar-toggler:not(.collapsed) .menu-icon span:nth-child(1) {
    transform: translateY(4.25px) rotate(45deg);
    background-color: #1a1a1a !important;
  }

  /* We skip child(2) because it's hidden */
  .navbar-toggler:not(.collapsed) .menu-icon span:nth-child(3) {
    transform: translateY(-4.25px) rotate(-45deg);
    background-color: #1a1a1a !important;
  }

  /* ── Side icons strip (search / bookmark / lang) ── */
  .more_icon_iteams {
    position: absolute;
    right: 70px;
    top: 0;
    bottom: 0;
    height: 100%;
    z-index: 2;
    gap: 0;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
  }

  /* Hide right icons when menu is open to keep it clean */
  .navbar-collapse.show~.more_icon_iteams {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .header_side_icon {
    padding: 0 10px;
    height: 100%;
  }

  /* Search overlay — premium dropdown */
  .search_overlay {
    height: auto;
    padding: 15px 20px;
    position: fixed;
    top: 90px;
    /* Below the floating header (20+60+10) */
    left: 20px;
    right: 20px;
    width: auto !important;
    z-index: 1100;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transform: translateY(-20px) scale(0.98);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  .search_overlay.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    width: auto !important;
  }

  /* Language dropdown opens downward */
  .lang_dropdown {
    top: 70px;
    right: -10px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* ── Mobile backdrop overlay ────────────────────── */
  .mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.4s ease,
      visibility 0.4s ease;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* ── Mobile drawer (navbar-collapse) ───────────── */
  .navbar .navbar-collapse {
    position: fixed;
    top: 80px;
    /* Start below the pill */
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto !important;
    height: calc(100dvh - 110px) !important;
    border-radius: 8px;
    background: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    padding: 0 0 40px 0;
    display: block !important;
    /* Override Bootstrap */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    /* Scale and fade for floating card feeling */
    transform: translateY(-10px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.77, 0, 0.175, 1),
      opacity 0.4s ease,
      visibility 0.4s ease;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .navbar .navbar-collapse::-webkit-scrollbar {
    display: none;
  }

  .navbar .navbar-collapse.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }

  /* When closing or opening, disable Bootstrap's JavaScript-based height animation
       and force it to finish instantly so our custom CSS transition on .collapse can take over */
  .navbar .navbar-collapse.collapsing {
    height: calc(100dvh - 110px) !important;
    transition: none !important;
    display: block !important;
  }

  /* ── Nav list ───────────────────────────────────── */
  .navbar .navbar-nav {
    padding: 0;
  }

  /* ── Nav items — staggered entrance animation ───── */
  .navbar .nav-item {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.4s ease,
      transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .navbar-collapse.show .nav-item:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: 0.15s;
  }

  .navbar-collapse.show .nav-item:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: 0.2s;
  }

  .navbar-collapse.show .nav-item:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: 0.25s;
  }

  .navbar-collapse.show .nav-item:nth-child(4) {
    opacity: 1;
    transform: none;
    transition-delay: 0.3s;
  }

  .navbar-collapse.show .nav-item:nth-child(5) {
    opacity: 1;
    transform: none;
    transition-delay: 0.35s;
  }

  .navbar-collapse.show .nav-item:nth-child(6) {
    opacity: 1;
    transform: none;
    transition-delay: 0.4s;
  }

  .navbar-collapse.show .nav-item:nth-child(7) {
    opacity: 1;
    transform: none;
    transition-delay: 0.45s;
  }

  /* ── Nav links ──────────────────────────────────── */
  .navbar .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #1a1a1a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: visible;
    position: relative;
  }

  /* Disable desktop hover pseudo-element on mobile */
  .navbar .navbar-nav .nav-link::after {
    display: none !important;
  }

  .navbar .navbar-nav .nav-link:hover,
  .navbar .navbar-nav .nav-link:focus {
    color: #d24c0a !important;
    background: #faf9f8;
    padding-left: 36px;
  }

  .navbar .navbar-nav .nav-link.active {
    color: #d24c0a !important;
    font-weight: 500;
    background: #faf9f8;
    padding-left: 36px;
    box-shadow: inset 4px 0 0 #d24c0a;
    border-bottom-color: rgba(210, 76, 10, 0.08);
  }

  .mob-pad-top {
    padding-top: 8px;
  }

  /* ── Dropdown chevron (ti-angle-down) ───────────── */
  .dropdown .nav-link i.ti-angle-down {
    color: #888 !important;
    font-size: 11px !important;
    transition:
      transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      color 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
    padding: 4px;
    /* easier to tap */
  }

  .navbar .navbar-nav .dropdown.show>.nav-link i.ti-angle-down {
    transform: rotate(180deg);
    color: #d24c0a !important;
  }

  /* ── Mobile dropdown menus ──────────────────────── */
  .navbar .dropdown-menu {
    border: none;
    padding: 0;
    border-radius: 0;
    margin: 0;
    background: #faf9f8;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .navbar .dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }

  .navbar .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 16px 28px 16px 45px;
    font-size: 15px;
    line-height: 1.4;
    color: #555;
    font-weight: 400;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
  }

  .navbar .dropdown-menu .dropdown-item::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #d24c0a;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .navbar .dropdown-menu .dropdown-item span {
    font-size: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus {
    color: #1a1a1a;
    background-color: #f1efec;
  }

  .navbar .dropdown-menu .dropdown-item:hover::before,
  .navbar .dropdown-menu .dropdown-item:focus::before {
    transform: translateY(-50%) scale(1);
  }

  .navbar .dropdown-menu .dropdown-item:hover span,
  .navbar .dropdown-menu .dropdown-item:focus span {
    transform: translateX(4px);
  }

  .navbar .dropdown-submenu .dropdown-menu {
    margin: 0;
    padding: 0 0 0 12px;
    background: #f4f2f0;
  }

  .navbar .dropdown-submenu .dropdown-menu .dropdown-item {
    padding-left: 45px;
    font-size: 14px;
    color: #555;
  }

  /* ── Page-body scroll lock ──────────────────────── */
  body.noscroll {
    overflow: hidden;
  }

  /* ── Mobile Mega Dropdown ──────────────────────── */
  .mega-dropdown-wrapper {
    position: relative !important;
  }

  .mega-dropdown-arrow {
    margin-left: auto;
    width: 12px;
    height: 8px;
  }

  .mega-dropdown-wrapper>.nav-link {
    display: flex !important;
    justify-content: space-between;
    width: 100%;
  }

  .mega-dropdown-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    box-shadow: none !important;
    border-top: none !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease, visibility 0.4s ease !important;
    background: #faf9f8;
  }

  .mega-dropdown-wrapper.mega-open .mega-dropdown-panel {
    max-height: 2000px;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mega-dropdown-inner {
    display: block !important;
    padding: 20px 30px 24px 45px;
  }

  .mega-col {
    padding-right: 0;
    margin-bottom: 24px;
  }

  .mega-col-right {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 24px;
  }

  .mega-col-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
  }

  .mega-link-list li a {
    padding: 8px 0 8px 10px;
    font-size: 15px;
    color: #444444;
    display: block;
    transition: color 0.2s ease;
  }

  .mega-link-list li a:hover,
  .mega-link-list li a:focus {
    color: #d24c0a;
  }

  .mega-size-tags {
    gap: 8px;
    padding-left: 10px;
  }

  .mega-size-tag {
    padding: 8px 14px;
    font-size: 13px;
  }

  .mega-app-icons {
    gap: 12px;
    padding-left: 10px;
  }

  .mega-app-icon-wrap {
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 8px;
  }

  .mega-app-label {
    font-size: 11px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 24px;
  }

  h6 {
    font-size: 14px;
  }

  p {
    font-size: 16px;
  }

  .blog_insider_details_area ul li {
    font-size: 16px;
  }

  .mpl-15 {
    padding-left: 15px;
  }

  .blog_leftside_info_panel {
    display: none;
  }

  .tpl-15 {
    padding-left: 15px;
  }

  .apci_contact_link_details_area a img {
    width: 54px;
    margin-right: 24px;
  }

  .apci_contact_form_body {
    padding: 0 10px 10px 10px;
  }

  .apci_subpage_header_info_area {
    padding-top: 80px;
  }

  .apci_blogpage_header_info_area {
    padding-top: 80px;
  }

  .sub_pages_header_area {
    padding-bottom: 50px;
  }

  .apci_subpage_breadcumb_list_area ul li,
  .apci_subpage_breadcumb_list_area ul li a {
    font-size: 14px;
  }

  .apci_subpage_breadcumb_list_area ul {
    gap: 8px;
  }

  .apci_subpage_breadcumb_list_area ul li img {
    width: 10px;
  }

  .apci_contact_form_area {
    padding: 30px;
  }

  .apci_contact_form_header {
    padding: 30px;
  }

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

  .apci_mission_vision_content_desc_area p {
    width: 100%;
  }

  .certification_table_body {
    padding: 10px;
  }

  .apci_mission_vision_header_area {
    margin-bottom: 100px;
  }

  .core_values_points_wrapper {
    margin-top: 120px;
  }

  .tech_logo_section_header {
    padding-top: 60px;
  }

  .core_values_points_area_left_single_area {
    gap: 40px;
    padding: 40px 0;
  }

  .apci_mission_vision_image_area {
    margin-top: 50px;
  }

  .apci_mission_vision_content_desc_area p+p {
    margin-top: 40px;
  }

  .header_center_content h1 br {
    display: none;
  }

  .about_hero_content_area p {
    margin-top: 30px;
  }

  .footer_social_single_links_area {
    padding-left: 0;
    padding-right: 0;
  }

  .footer_social_area>.col-lg-4:nth-child(n + 4) .footer_social_single_links_area a {
    padding-bottom: 20px;
    border-bottom: 1px solid #dddddd;
  }

  .footer_links_area {
    padding-top: 0;
  }

  .app_card_content {
    margin: 20px 10px 0 10px;
  }

  .footer_copyright_links a,
  .footer_copyright_right p {
    font-size: 14px;
  }

  .footer_top_area {
    padding-top: 50px;
  }

  .footer_quick_links_area {
    padding-top: 50px;
  }

  .main_home_single_blog_content_area h4 {
    margin-bottom: 40px;
  }

  .main_home_single_blog_content_area a {
    font-size: 12px;
  }

  .main_home_single_blog_content_area a img {
    width: 18px;
  }

  .play_pause_btn {
    width: 42px;
    height: 42px;
  }

  .pause_lines {
    font-size: 8px;
  }

  .home_main_header_image_area img {
    height: 90vh;
  }

  .about_home_main_header_image_area img {
    height: 90vh;
  }

  .home_home_main_subtitle_area img {
    height: 34px;
  }

  .section-padding {
    padding: 80px 0;
  }

  .section-padding-sm {
    padding: 60px 0;
  }

  .tpl-15 {
    padding-left: 15px;
  }

  .mmt-30 {
    margin-top: 30px;
  }

  .apci_custom_btn {
    margin-top: 50px;
  }

  .apci_custom_btn .btn_text {
    font-size: 12px;
  }

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

  .tabs_container {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
  }

  .tab_btn {
    font-size: 14px;
    padding: 10px 20px;
  }

  .tpt-50 {
    padding-top: 50px;
  }

  .collection_scrollbar {
    margin-top: 50px;
  }

  .mmt-20 {
    margin-top: 20px;
  }

  .application_based_collection_area {
    padding-top: 0;
  }

  .blog_news_home_header_area {
    display: block;
  }

  .blog_news_btn {
    margin-top: 50px;
  }

  .apci_custom_btn2 .btn_text {
    font-size: 12px;
  }

  .mmt-30 {
    margin-top: 30px;
  }

  .static_card {
    flex: 0 0 60%;
    min-width: 60%;
  }

  .project_card img {
    height: 280px;
  }

  .projects_showcase_area {
    padding-top: 40px;
  }

  .app_number {
    margin-right: 20px;
  }

  .recent_projects_showcase_header_area h2 {
    margin-bottom: 60px;
  }

  .mmt-40 {
    margin-top: 40px;
  }
}

@media screen and (max-width: 576px) {
  .apci_gallery_main_area {
    padding: 10px;
    padding-bottom: 0;
    border-radius: 14px 14px 0 0;
  }

  .apci_gallery_bookmark {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .apci_gallery_thumb_arrow {
    width: 30px;
    height: 30px;
  }

  .apci_gallery_thumb_arrow svg {
    width: 5px;
    height: 10px;
  }

  /* .apci_gallery_thumbs_swiper {
    height: 80px;
  } */

  .apci_gallery_thumbs_swiper .swiper-slide {
    width: calc((100% - 16px) / 3);
  }

  .apci_gallery_thumb {
    padding: 4px;
    border-radius: 8px;
  }

  .machinery_company_logo_area {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
    padding: 60px 0;
  }

  .single_machinery_logo_image_area:last-child {
    grid-column: 1 / -1;
  }

  .single_machinery_logo_image_area img {
    max-height: 45px;
    max-width: 120px;
  }

  .application_based_collection_area::before {
    top: 190px;
    /* Half of 300px img + 40px padding */
  }

  .app_card_img img {
    height: 300px;
  }

  /* --- Collection Filter Responsive (Mobile) --- */
  .apci_filter_dropdown {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    border-left: 1px solid #e0e0e0 !important;
    border-right: 1px solid #e0e0e0 !important;
    border-radius: 0 !important;
    border-top: none !important;
  }

  .apci_filter_dropdown:first-child {
    border-top: 1px solid #e0e0e0 !important;
  }

  .apci_filter_dropdown:first-child {
    border-radius: 12px 12px 0 0 !important;
  }

  .apci_filter_dropdown:last-child {
    border-radius: 0 0 12px 12px !important;
  }

  .apci_filter_dropdown_trigger {
    padding: 12px 16px;
  }

  .apci_filter_label {
    font-size: 10px;
  }

  .apci_filter_value {
    font-size: 15px;
  }

  .collection_tab_btns_area {
    margin-top: 24px;
    padding: 0 10px;
  }

  .tabs_container {
    width: auto;
    display: inline-flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
  }

  .tab_btn {
    font-size: 13px;
    padding: 10px 18px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* --- Projects Showcase Responsive (Mobile) --- */
  .projects_static_list {
    flex-direction: column;
    gap: 24px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .static_card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .project_card img {
    height: 240px;
  }

  .projects_showcase_area {
    padding-top: 30px;
  }

  .projects_static_list {
    gap: 20px;
  }

  .project_info {
    margin-top: 10px !important;
  }

  .project_categories {
    margin-bottom: 5px;
  }

  .app_number {
    margin-right: 15px;
  }
}

@media (max-width: 767px) {
  .apci_main_timeline_area {
    margin-top: 60px;
  }

  .timeline_year_big {
    font-size: 56px;
    height: 70px;
  }

  .timeline_small_year {
    height: 70px;
    font-size: 14px;
    padding-bottom: 10px;
  }

  .apci_timeline_swiper::before {
    top: 75px;
  }

  .timeline_slide {
    width: 220px;
  }

  .timeline_desc {
    max-width: 260px;
    font-size: 14px;
    margin-top: 24px;
    line-height: 1.45;
  }

  .timeline_slide.swiper-slide-active .timeline_year_big {
    transform: translate(0, -30px);
  }

  .timeline-nav-buttons .timeline-prev,
  .timeline-nav-buttons .timeline-next {
    width: 36px;
    height: 36px;
  }

  .timeline-nav-buttons svg {
    width: 12px;
    height: 12px;
  }

  .timeline_nav_wrapper {
    margin-bottom: 20px;
  }

  .timeline_dot {
    width: 6px;
    height: 6px;
  }
}

@media screen and (min-width: 441px) and (max-width: 767px) {}

@media screen and (max-width: 440px) {
  .machinery_company_logo_area {
    gap: 30px 20px;
  }

  .single_machinery_logo_image_area img {
    max-height: 50px;
    max-width: 140px;
  }

  .apci_main_timeline_area {
    margin-top: 40px;
  }

  .timeline_year_big {
    font-size: 72px;
    height: 56px;
  }

  .timeline_small_year {
    height: 56px;
    font-size: 13px;
    padding-bottom: 8px;
  }

  .apci_timeline_swiper::before {
    top: 61px;
  }

  .timeline_slide {
    width: 250px;
  }

  .timeline_desc {
    max-width: 230px;
    font-size: 14px;
    margin-top: 20px;
  }

  .timeline_slide.swiper-slide-active .timeline_year_big {
    transform: translate(0, -22px);
  }

  .tab_btn {
    font-size: 14px;
    padding: 10px 14px;
  }

  .header_side_icon {
    padding: 0 8px;
  }

  .lang_code {
    font-size: 13px;
  }

  .header_side_icon img {
    width: 18px;
    height: 18px;
  }

  .smart_new_navbar {
    padding: 0 16px;
  }

  .more_icon_iteams {
    right: 60px;
  }
}