@media (max-width: 1100px) {
  .xpc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .xpc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .catalogue-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1000px) {
  .ep-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .mobile_menu_logo {
    display: block;
  }
  .banner-text-overlay {
    left: 50%;
  }
  .epx6-top {
    grid-template-columns: 1fr;
  }
}

/* Responsive Mobile Menu */
@media (max-width: 992px) {
  .xpc-layout {
    grid-template-columns: 1fr;
  }
  .bdp-layout {
    grid-template-columns: 1fr;
  }
  .xpc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .uxp-split,
  .uxp-grid {
    grid-template-columns: 1fr;
  }

  .uxp-hero h1 {
    font-size: 42px;
  }
  .epcmx-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .epcmx-img-wrap {
    order: -1;
  }

  .epcmx-content {
    padding: 30px;
  }

  .mobile-toggle {
    display: flex;
  }

  .close-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--brand-color);
    flex-direction: column;
    padding: 80px 25px 30px;
    transition: left 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    gap: 15px;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 8px 0 35px rgba(0, 0, 0, 0.3);
    align-items: flex-start;
    text-align: left;

    background: rgba(45, 54, 145, 0.7);
    /* background: rgba(45, 53, 145, 0.147); */
    backdrop-filter: blur(12px);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .dropdown_icon_style {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    box-shadow: none;
    margin-top: 12px;
    transform: none;
    border-radius: 16px;
    text-align: left;
    width: 100%;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    color: white;
    text-align: left;
    padding: 10px 20px;
  }

  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 28px;
  }

  .product-categories {
    width: 100%;
    margin-bottom: 20px;
  }

  .section__title {
    font-size: 28px;
  }
}
@media (max-width: 900px) {
  .uxp-process {
    grid-template-columns: repeat(2, 1fr);
  }
  .ep-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ep-contact-bottom {
    grid-template-columns: 1fr;
  }

  .ep-input-group {
    flex-direction: column;
  }
  .bdp-layout {
    grid-template-columns: 1fr;
  }

  .bdp-left {
    grid-template-columns: 1fr;
  }

  .bdp-title {
    font-size: 30px;
  }

  .bdp-left .bdp-person {
    width: 100%;
  }

  .bdp-left .bdp-person:nth-child(1),
  .bdp-left .bdp-person:nth-child(2) {
    justify-self: center;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .page-thumb img {
    width: 100%;
    height: auto;
  }

  .sidebar {
    position: relative;
  }
}
@media (max-width: 768px) {
  .xpc-layout {
    grid-template-columns: 1fr;
  }

  .xpc-sidebar {
    position: relative;
    top: 0;
  }

  .xpc-grid {
    grid-template-columns: 1fr;
  }
  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .xpc-layout {
    grid-template-columns: 1fr;
  }

  .xpc-sidebar {
    position: relative;
    top: 0;
  }

  .xpc-grid {
    grid-template-columns: 1fr;
  }
  .uxp-process {
    grid-template-columns: repeat(1, 1fr);
  }
  .gap-hero {
    padding: 80px 0;
  }

  .gap-hero h1 {
    font-size: 30px;
  }

  .gap-bg-text {
    font-size: 40px;
  }
  .ep-hero {
    height: 60vh;
  }

  .ep-bg-text {
    font-size: 60px;
  }

  .ep-block {
    margin: 35px 0;
  }
  .banner-text-overlay {
    padding: 12px 24px;
    border-radius: 50px;
    white-space: nowrap;
  }

  .banner-text-overlay h2 {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }

  .banner-text-overlay p {
    font-size: 0.7rem;
  }

  .banner-img {
    height: 400px;
  }
  .global-stat h3 {
    font-size: 30px;
  }
  .faq-question {
    font-size: 15px;
  }
  .about-grid {
    flex-direction: column;
  }

  .stats {
    justify-content: center;
    text-align: center;
  }

  .footer-grid {
    gap: 35px;
  }
  .ep-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .epx6-spec {
    padding: 8px;
    border-radius: 8px;
  }

  .epx6-spec > div {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .epx6-spec table {
    min-width: 520px;
    /* scroll enable, break prevent */
  }

  .epx6-spec th,
  .epx6-spec td {
    font-size: 12px;
    padding: 6px;
  }
  .ep-contact-grid {
    grid-template-columns: 1fr;
  }

  .ep-contact-page {
    padding: 80px 0;
  }
  .xpc-grid {
    grid-template-columns: 1fr;
  }

  .xpc-hero h1 {
    font-size: 38px;
  }
  .bdp-left {
    grid-template-columns: 1fr;
  }

  .bdp-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bdp-top img {
    /* width: 100%; */
    height: auto;
  }
  .epx6-spec {
    padding: 8px;
    border-radius: 8px;
  }

  /* horizontal scroll safe */
  .epx6-spec > div {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .epx6-spec table {
    min-width: 520px;
    /* scroll enable, break prevent */
  }

  .epx6-spec th,
  .epx6-spec td {
    font-size: 12px;
    padding: 6px;
  }
}

@media (max-width: 576px) {
  .epcmx-section {
    padding: 60px 0;
  }
  .uxp-section {
    padding: 70px 0;
  }
  .epcmx-title {
    font-size: 26px;
  }

  .epcmx-quote {
    font-size: 50px;
  }
}

@media (max-width: 500px) {
  .catalogue-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-header h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .ep-hero {
    height: 35vh;
  }

  .ep-bg-text {
    font-size: 45px;
  }

  .ep-overlay h2 {
    font-size: 32px;
  }
  .banner-text-overlay {
    padding: 8px 16px;
    border-radius: 40px;
  }

  .banner-text-overlay h2 {
    font-size: 13px;
  }

  .banner-text-overlay p {
    font-size: 0.6rem;
  }

  .banner-img {
    /* height: 320px; */
    height: 100%;
  }
  .section__title {
    font-size: 20px;
  }
  .faq-answer {
    font-size: 14px;
  }
  .ep-contact-extra {
    grid-template-columns: repeat(1, 1fr);
  }
  .ep-gallery {
    grid-template-columns: repeat(1, 1fr);
  }
  .ep-bg-text {
    font-size: 37px;
  }
  .faq-answer {
    font-size: 13px;
  }
  .chairman_title {
    font-size: 21px;
  }
  .chairman_profile_author {
    font-size: 21px;
  }
  .epx6-slide img {
    height: auto;
  }
  .epx6-title {
    font-size: 28px;
  }
}
