/* =====================================================
   AAideA — Responsive Stylesheet
   All rules are wrapped in media queries only.
   Desktop styles live in style.css and are not touched.
===================================================== */


/* =====================================================
   TABLET — max-width: 1024px
===================================================== */
@media (max-width: 1024px) {

    /* ---------- GLOBAL ---------- */
    body { overflow-x: hidden; }
    img, video { max-width: 100%; height: auto; }
    .container { padding-left: 24px; padding-right: 24px; }
  
    /* ---------- HEADER / NAV ---------- */
    .ux-header { padding: 14px 0; }
    .ux-navbar { padding: 12px 18px; }
    .ux-nav { gap: 22px; }
    .ux-nav a { font-size: 14px; }
    .ux-brand img { width: 100px; height: auto; }
  
    /* ---------- HERO ---------- */
    .ux-hero-section { padding: 160px 0 50px; background-size: cover; }
    .ux-hero-title { font-size: 40px; line-height: 1.2; }
    .ux-hero-subtitle { width: 80%; font-size: 16px; }
  
    .ux-bottom-wrapper { margin-top: 50px; }
    .ux-bottom-wrapper .col-lg-3,
    .ux-bottom-wrapper .col-lg-2 { flex: 0 0 auto; width: 50%; margin-bottom: 16px; }
    .ux-stat-box { padding: 28px 24px; }
    .ux-light { padding: 36px 0; }
    .ux-counter { font-size: 34px; }
    .ux-dark h2 { font-size: 32px; }
    .ux-dark p, .ux-dark h5 { font-size: 18px; line-height: 1.4; }
  
    /* ---------- ABOUT SECTION ---------- */
    .ux-about-section { padding: 60px 0; }
    .ux-section-label { width: 100%; }
    .ux-main-heading { font-size: 24px; }
    .ux-big-counter { font-size: 56px; }
    .ux-small-text { width: 80%; }
    .ux-about-img { height: 260px; }
  
    .partners-wrapper { flex-wrap: wrap; gap: 18px; justify-content: center; }
    .partner-item img { max-height: 36px; width: auto; }
  
    /* ---------- WORK / SWIPER ---------- */
    .ux-work-section { padding: 0 0 50px; }
    .ux-work-card img {/* height: 240px; */}
    .ux-work-card h4 { font-size: 18px; }
  
    /* ---------- WHY ---------- */
    .ux-why-section { padding: 70px 0; }
    .ux-why-img img { height: 260px; }
    .ux-why-card { padding: 20px 22px; }
  
    /* ---------- BUILD ---------- */
    .ux-build-section { padding: 60px 0; }
    .ux-build-card { padding: 28px; }
    .ux-build-card h5 { font-size: 18px; line-height: 26px; min-height: auto; margin-top: 16px; }
    .ux-build-card p { min-height: auto; }
  
    /* ---------- PROCESS ---------- */
    .ux-process-section { padding: 60px 0; }
    .ux-process-card { width: 100%; padding: 24px; }
    .ux-process-card img { margin-top: 16px; }
    .ux-step-arrow { display: none !important; }
  
    /* ---------- FOOTER HERO ---------- */
    .ux-footer-hero { padding: 70px 0; }
    .ux-footer-title { font-size: 26px; }
  
    /* ---------- MAIN FOOTER ---------- */
    .ux-footer-grid { grid-template-columns: 1fr; }
    .ux-footer-left { padding: 32px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.09); }
    .ux-footer-right { grid-template-columns: repeat(3, 1fr); }
    .ux-footer-links { padding: 28px 18px; }
    .ux-footer-links h6 { font-size: 16px; }
    .ux-footer-bottom { padding: 16px 24px; flex-wrap: wrap; }
  
    /* ---------- PROJECT HERO ---------- */
    .ux-project-hero { padding: 150px 0 70px; }
    .ux-project-title { font-size: 40px; }
    .ux-project-subtitle { font-size: 16px; }
    .ux-breadcrumb-wrap { margin-bottom: 50px; }
  
    /* ---------- SERVICES SYSTEMS LAYOUT ---------- */
    .systems-wrapper { display: block; }
    .systems-left { position: static; margin-bottom: 32px; }
    .system-card { padding: 28px; margin-bottom: 20px; }
  
    /* ---------- PROCESS STEP PAGE ---------- */
    .ux-process-step-section { padding: 60px 0; }
    .ux-process-grid { gap: 24px; }
    .ux-process-image img { width: 100%; height: auto; border-radius: 12px; }
  
    /* ---------- HVAC / CASE PAGES ---------- */
    .ux-deliver-right { padding-top: 24px; }
  
    /* ---------- BUTTONS ---------- */
    .ux-hero-actions { flex-wrap: wrap; gap: 12px; justify-content: center; }
    .ux-btn-primary { padding: 6px 6px 6px 22px; font-size: 14px; }
    .ux-btn-secondary { padding: 11px 22px; font-size: 14px; }
  
    /* ---------- CONTACT PANEL ---------- */
    .contact-panel { width: 360px; max-width: 80vw; }
  }
  
  
  /* =====================================================
     MOBILE — max-width: 768px
  ===================================================== */
  @media (max-width: 768px) {
  
    /* ---------- GLOBAL ---------- */
    body { overflow-x: hidden; }
    .container { padding-left: 16px; padding-right: 16px; }
  
    /* ---------- HEADER / NAV ---------- */
    .ux-header { padding: 10px 0; }
    .ux-navbar { padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; }
    .ux-brand img { width: 90px; height: auto; }
  
    /* slide-in mobile menu */
    .ux-nav {
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      width: 80%;
      max-width: 320px;
      background: #0c0f0e;
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      padding: 90px 28px 28px;
      transform: translateX(100%);
      transition: transform 0.35s ease;
      z-index: 50;
      overflow-y: auto;
      box-shadow: -10px 0 30px rgba(0,0,0,0.35);
    }
    .ux-nav.is-open { transform: translateX(0); }
    .ux-nav li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .ux-nav li a {
      display: block;
      color: #fff;
      padding: 16px 4px;
      font-size: 16px;
      text-decoration: none;
    }
    .ux-nav-cta a { color: var(--primary) !important; font-weight: 600; }
  
    .ux-hamburger {
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 38px;
      height: 38px;
      padding: 8px;
      background: transparent;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 8px;
      cursor: pointer;
      z-index: 60;
      position: relative;
    }
    .ux-hamburger span {
      display: block;
      width: 100%;
      height: 2px;
      background: #fff;
      transition: transform 0.3s ease, opacity 0.2s ease;
    }
    .ux-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .ux-hamburger.is-active span:nth-child(2) { opacity: 0; }
    .ux-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  
    .ux-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 40;
    }
    .ux-overlay.active { opacity: 1; pointer-events: auto; }
  
    /* ---------- HERO ---------- */
    .ux-hero-section { padding: 130px 0 40px; }
    .ux-hero-title { font-size: 30px; line-height: 1.25; }
    .ux-hero-title br { display: none; }
    .ux-hero-subtitle { width: 100%; font-size: 15px; margin: 14px auto 0; }
    .ux-hero-actions {flex-direction: column;gap: 10px;}
    .ux-hero-actions .btn {justify-content: center;width: fit-content;}
  
    /* ---------- BOTTOM CARDS (stat row) ---------- */
    .ux-bottom-wrapper { margin-top: 32px; }
    .ux-bottom-wrapper .col-lg-3,
    .ux-bottom-wrapper .col-lg-2 { width: 100%; flex: 0 0 100%; margin-bottom: 14px; }
    .ux-img-card img { width: 100%; }
    .ux-stat-box { padding: 24px 22px; text-align: center; }
    .ux-light { padding: 28px 0; }
    .ux-counter { font-size: 30px; }
    .ux-dark h2 { font-size: 28px; }
    .ux-dark p, .ux-dark h5 { font-size: 16px; line-height: 1.4; }
    .ux-dark .ux-icon { display: flex; justify-content: center; margin-top: 12px; }
  
    /* ---------- ABOUT ---------- */
    .ux-about-section { padding: 50px 0; }
    .ux-main-heading { font-size: 20px; line-height: 1.45; }
    .ux-sub-heading { font-size: 15px; }
    .ux-big-counter { font-size: 44px; }
    .ux-small-text { width: 100%; font-size: 14px; }
    .ux-about-img { height: 220px; margin: 18px 0; }
    .ux-card-title { font-size: 18px; }
    .ux-card-text { font-size: 14px; max-width: 100%; margin-bottom: 24px; }
  
    .partners-wrapper {gap: 14px;grid-template-columns: repeat(2, 1fr);}
    .partner-item img { max-height: 28px; }
  
    /* ---------- WORK ---------- */
    .ux-work-section { padding: 0 0 40px; }
    .ux-work-card img {/* height: 200px; */}
    .ux-work-card h4 { font-size: 17px; }
    .ux-work-card p { font-size: 13px; }
    .ux-swiper-nav { gap: 10px; }
    .ux-arrow img {/* width: 36px; */height: 31px;}
    .displayflexhead {width: 70%;margin-bottom: 16px;DISPLAY: BLOCK;}
  
    /* ---------- WHY ---------- */
    .ux-why-section { padding: 50px 0; }
    .ux-why-img img { height: 220px; margin-bottom: 20px; }
    .ux-why-card { padding: 18px 20px; }
    .ux-number { font-size: 26px; margin-bottom: 8px; }
    .ux-why-card h6 { font-size: 15px; }
    .main-headingexit { font-size: 20px !important; }
    .existpadd { gap: 0 !important; }
  
    /* ---------- BUILD ---------- */
    .ux-build-section { padding: 50px 0; }
    .ux-build-card { padding: 22px; }
    .ux-build-card h5 { font-size: 17px; line-height: 24px; min-height: auto; margin-top: 14px; }
    .ux-build-card p { font-size: 14px; min-height: auto; }
    .ux-build-swiper { padding-top: 24px; }
  
    /* ---------- PROCESS ---------- */
    .ux-process-section { padding: 50px 0; }
    .ux-process-card { padding: 22px; width: 100%; }
    .ux-process-card h4 { font-size: 18px; margin: 0 0 14px; }
    .ux-process-card p { font-size: 14px; }
    .ux-step { font-size: 24px; }
    .ux-step-arrow { display: none !important; }
  
    /* ---------- FOOTER HERO ---------- */
    .ux-footer-hero { padding: 50px 0; background-size: cover; }
    .ux-footer-title { font-size: 22px; line-height: 1.35; }
  
    /* ---------- MAIN FOOTER ---------- */
    .ux-footer-grid { grid-template-columns: 1fr; border-left: none; border-right: none; }
    .ux-footer-left { padding: 28px 18px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .ux-footer-desc { font-size: 14px; line-height: 1.7; }
  
    .ux-footer-right { grid-template-columns: 1fr; }
    .ux-footer-links { padding: 22px 18px; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .ux-footer-links:last-child { border-bottom: none; }
    .ux-footer-links h6 { font-size: 14px; margin-bottom: 14px; }
    .ux-footer-links a { font-size: 14px; margin-bottom: 10px; }
  
    .ux-footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      padding: 16px 18px;
      gap: 12px;
    }
    .ux-footer-bottom p { font-size: 12px; }
    .ux-footer-social { gap: 14px; }
    .ux-footer-social img { width: 18px; height: 18px; }
  
    /* ---------- PROJECT HERO ---------- */
    .ux-project-hero { padding: 130px 0 60px; }
    .ux-project-hero.ux-project-heropad { padding: 130px 0 40px; }
    .ux-project-title { font-size: 30px; line-height: 1.25; }
    .ux-project-title br { display: none; }
    .ux-project-subtitle { font-size: 15px; }
    .ux-project-subtitle br { display: none; }
    .ux-breadcrumb-wrap { margin-bottom: 30px; flex-wrap: wrap; }
  
    /* ---------- SERVICES SYSTEMS ---------- */
    .systems-section { padding: 50px 0; }
    .systems-wrapper { display: block; }
    .systems-left { position: static; margin-bottom: 24px; }
    .systems-left h2 { font-size: 22px; }
    .systems-left .desc { font-size: 14px; }
    .system-card { padding: 22px; margin-bottom: 18px; }
    .system-card h4 { font-size: 17px; }
    .system-card p, .system-card li { font-size: 14px; }
  
    /* ---------- PROCESS STEP PAGE ---------- */
    .ux-process-step-section { padding: 40px 0; }
    .ux-process-step-box { padding: 24px 18px; }
    .ux-process-number { font-size: 36px; }
    .ux-process-title { font-size: 26px; }
    .ux-process-subtitle { font-size: 15px; }
    .ux-process-grid { display: block; }
    .ux-process-image img { width: 100%; height: auto; margin: 16px 0; border-radius: 12px; }
    .ux-process-item h4 { font-size: 17px; }
    .ux-process-item p { font-size: 14px; }
  
    /* ---------- GROWTH SECTION (detail pages) ---------- */
    .ux-growth-section { padding: 24px 0; }
    .ux-growth-title { font-size: 22px; line-height: 1.35; }
    .ux-growth-subtitle { font-size: 15px; }
    .ux-growth-list { padding-left: 18px; }
    .ux-growth-list li { font-size: 14px; }
  
    /* ---------- HVAC / LYNKEDUP CASE PAGES ---------- */
    .ux-deliver-right { padding-top: 18px; }
    .ux-result-heading { font-size: 22px; }
    .ux-result-btn { display: inline-block; margin-top: 14px; }
  
    /* ---------- START PROJECT FORM ---------- */
    .ux-contact-left { padding: 24px 18px; }
    .ux-contact-link { font-size: 22px; }
    .ux-contact-email { font-size: 16px; }
    .ux-social-list a { font-size: 14px; }
  
    /* ---------- CONTACT PANEL (slide-out) ---------- */
    .contact-panel { width: 86%; max-width: 320px; padding: 22px 18px; }
    .contact-panel h4 { font-size: 18px; }
    .contact-panel .images { gap: 8px; }
    .contact-panel .images img { width: 60px; height: 60px; }
    .contact-panel p { font-size: 13px; }
  
    /* ---------- BUTTONS ---------- */
    .ux-btn-primary { padding: 6px 6px 6px 18px; font-size: 13px; gap: 8px; }
    .ux-btn-icon { padding: 6px 10px; }
    .ux-btn-secondary { padding: 10px 18px; font-size: 13px; }
  
    /* ---------- TYPOGRAPHY UTILS ---------- */
    h2 { font-size: 22px; }
    .ux-section-label { font-size: 14px; width: 100%; }
  }
  