
/*
 NextWave Solutions Sdn Bhd
 Mobile-Only CSS - Revised Version 8

 Purpose:
 - Preserve desktop layout
 - Preserve existing HTML and SEO
 - Fix mobile hero banner height
 - Display both consultation buttons
 - Improve mobile responsiveness
*/

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

  /* =========================
     1. GENERAL MOBILE LAYOUT
  ========================= */

  html,
  body {
    max-width: 100%;
  }

  .container,
  .container-fluid,
  .row,
  .row > *,
  [class*="col-"] {
    min-width: 0;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }

  img {
    height: auto;
  }

  .section-title,
  .hero-content,
  .service-content,
  .about-content,
  .contact-info,
  .footer-widget,
  .nextwave-expertise-card,
  .nw-project-card {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .hero-content h1,
  .hero-content h2,
  .section-title h2,
  .section-title .title {
    overflow-wrap: break-word;
  }

  /* =========================
     2. HOMEPAGE HERO BANNER
  ========================= */

  .techwix-hero-section-03 {
    display: block !important;
    position: relative !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    overflow: visible !important;

    padding-top: 50px !important;
    padding-bottom: 100px !important;
  }

  .techwix-hero-section-03 > .container {
    position: relative !important;
    z-index: 2;
  }

  .techwix-hero-section-03 .row,
  .techwix-hero-section-03 .col-lg-6,
  .techwix-hero-section-03 .hero-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .techwix-hero-section-03 .hero-content {
    position: relative !important;
    z-index: 2;
    padding-bottom: 0 !important;
  }

  /* =========================
     3. HERO BUTTON CONTAINER
  ========================= */

  .techwix-hero-section-03
  .hero-content .hero-btn {

    display: flex !important;
    position: relative !important;

    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;

    gap: 16px !important;

    margin: 30px 0 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    z-index: 3;
  }

  /* =========================
     4. BOTH HERO BUTTONS
  ========================= */

  .techwix-hero-section-03
  .hero-content .hero-btn > a.btn {

    display: flex !important;
    position: relative !important;

    flex: 0 0 auto !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 56px !important;

    margin: 0 !important;
    padding: 14px 16px !important;

    box-sizing: border-box !important;

    white-space: normal !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }

  /* =========================
     5. REQUEST IT CONSULTATION
  ========================= */

  .techwix-hero-section-03
  .hero-content .hero-btn > a.nw-hero-quote {

    display: flex !important;

    visibility: visible !important;
    opacity: 1 !important;

    background: #ffffff !important;
    color: #102844 !important;

    border: 1px solid #ffffff !important;

    z-index: 4;
  }

  /* =========================
     6. SERVICE SECTION
  ========================= */

  .techwix-service-section-03 {
    position: relative !important;
    margin-top: 0 !important;
    z-index: 1;
  }

  /* =========================
     7. OTHER CTA BUTTONS
  ========================= */

  .techwix-cta-section-02
  .cta-btn .btn {
    max-width: 100%;
    white-space: normal;
  }

  /* =========================
     8. FORMS
  ========================= */

  input,
  textarea,
  select {
    max-width: 100%;
  }

  /* =========================
     9. TECHNOLOGY SECTIONS
  ========================= */

  .brand-active,
  .nw-technology-portfolio {
    max-width: 100%;
  }

}

/* =========================
   10. EXTRA SMALL PHONES
========================= */

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

  .techwix-hero-section-03
  .hero-content .hero-btn > a.btn {

    padding-left: 12px !important;
    padding-right: 12px !important;
  }

}
