/* ========================================================
   1. RESET & BASE LAYOUT (Prevents Ionic & Browser Conflicts)
   ======================================================== */
html, body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  background-color: #f8fafc;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

.asimoz-h2-wrapper {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.6;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.asimoz-h2-wrapper * {
  box-sizing: border-box;
}

/* Enforce Font Awesome Rendering */
.fa {
  font-family: 'FontAwesome' !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* ========================================================
   2. FIXED TOP NAVIGATION BAR & MOBILE MENU
   ======================================================== */
.asimoz-h2-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 9999;
  background: #0f172a;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #0284c7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.asimoz-h2-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.asimoz-h2-brand img {
  height: 32px;
  width: auto;
}

/* Desktop Links */
.asimoz-h2-nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.asimoz-h2-nav-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #cbd5e1 !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.asimoz-h2-nav-btn:hover {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1);
}

.asimoz-h2-nav-btn.active {
  background: #0284c7;
  color: #ffffff !important;
  border-color: #38bdf8;
}

/* Hamburger Toggle Button (Desktop: Hidden) */
.asimoz-h2-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.asimoz-h2-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   3. HERO & INNER PAGE BANNERS
   ======================================================== */
.asimoz-h2-hero,
.asimoz-h2-page-banner {
  margin-top: 64px !important; /* Uniform clearance below fixed navbar */
}

.asimoz-h2-hero {
  background: radial-gradient(circle at 75% 50%, #ffffff 0%, #dbeafe 45%, #bae6fd 100%);
  padding: 56px 5% 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border-bottom: 1px solid #e2e8f0;
}

.asimoz-h2-hero-left {
  flex: 1 1 480px;
}

.asimoz-h2-hero-right {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.asimoz-h2-pill {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 14px;
}

.asimoz-h2-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.asimoz-h2-title span {
  color: #0284c7;
  display: block;
}

.asimoz-h2-lead {
  font-size: clamp(15px, 2.5vw, 17px);
  color: #334155;
  margin-bottom: 24px;
  max-width: 620px;
}

.asimoz-h2-QuickStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 580px;
  margin-bottom: 26px;
}

.asimoz-h2-statBox {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #bae6fd;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.05);
}

.asimoz-h2-statBox strong {
  display: block;
  font-size: clamp(18px, 3.5vw, 24px);
  color: #0284c7;
  font-weight: 900;
}

.asimoz-h2-statBox span {
  font-size: 11.5px;
  color: #334155;
  font-weight: 600;
}

.asimoz-h2-cta {
  background: #0284c7;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 14.5px;
  display: inline-block;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin-right: 10px;
  margin-bottom: 8px;
  text-align: center;
}

.asimoz-h2-cta:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.asimoz-h2-cta-outline {
  background: #ffffff;
  color: #0f172a !important;
  border: 1.5px solid #94a3b8;
}

.asimoz-h2-cta-outline:hover {
  background: #f1f5f9;
  border-color: #64748b;
}

/* Machine Background Cutout */
.asimoz-h2-machine-wrap {
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.3));
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.asimoz-h2-machine-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  clip-path: polygon(
    17.6% 20.3%,
    44.8% 16.8%,
    51.8% 15.6%,
    58.5% 14.8%,
    93.3% 17.2%,
    87.6% 64.8%,
    83.5% 69.6%,
    79.2% 67.8%,
    60.5% 84.8%,
    61.8% 84.8%,
    58.0% 89.8%,
    51.0% 89.0%,
    50.5% 85.2%,
    25.8% 79.0%,
    24.8% 80.8%,
    21.4% 79.8%,
    21.0% 77.5%,
    14.6% 74.6%,
    11.8% 43.5%
  );
}

/* Inner Page Header */
.asimoz-h2-page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #034b75 60%, #0284c7 100%);
  color: #ffffff;
  padding: 48px 5% 42px;
  text-align: center;
  border-bottom: 1px solid #bae6fd;
}

.asimoz-h2-page-banner h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 900;
  margin: 10px 0 12px;
  color: #ffffff;
  line-height: 1.25;
}

.asimoz-h2-page-banner p {
  max-width: 760px;
  margin: 0 auto;
  color: #e0f2fe;
  font-size: clamp(14px, 2.5vw, 16px);
}

/* ========================================================
   4. CONTENT SECTIONS & GRIDS
   ======================================================== */
.asimoz-h2-section {
  padding: 56px 5%;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.asimoz-h2-section-alt {
  background: #f1f5f9;
}

.asimoz-h2-sec-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.asimoz-h2-sec-head h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.asimoz-h2-sec-head p {
  color: #475569;
  font-size: 15px;
  margin: 0;
}

/* About Us Wrapper */
.asimoz-h2-about-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 5%;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.asimoz-h2-core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.asimoz-h2-core-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0284c7;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease;
}

.asimoz-h2-core-card:hover {
  transform: translateY(-2px);
}

.asimoz-h2-core-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.asimoz-h2-core-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.asimoz-h2-core-card p {
  color: #475569;
  font-size: 14px;
  margin: 0;
}

.asimoz-h2-vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.asimoz-h2-vm-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 24px;
}

.asimoz-h2-vm-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: #0369a1;
  margin: 0 0 12px 0;
}

.asimoz-h2-mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.asimoz-h2-mission-list li {
  position: relative;
  padding-left: 22px;
  color: #1e293b;
  font-size: 14.5px;
  font-weight: 600;
}

.asimoz-h2-mission-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0284c7;
  font-weight: 900;
}

.asimoz-h2-commitment-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.asimoz-h2-commitment-banner h4 {
  color: #38bdf8;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.asimoz-h2-commitment-banner p {
  color: #e2e8f0;
  font-size: 14px;
  margin: 0;
}

/* Detoxification Reaction Formula */
.asimoz-h2-formula {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.asimoz-h2-formula-text {
  flex: 1 1 360px;
}

.asimoz-h2-formula-title {
  color: #38bdf8;
  margin-top: 0;
  font-size: clamp(20px, 3.5vw, 24px);
  font-weight: 800;
}

.asimoz-h2-formula-eq {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.asimoz-h2-chem {
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.75);
  min-width: 90px;
}

.asimoz-h2-chem strong {
  display: block;
  font-size: 20px;
  color: #38bdf8;
}

/* Benefit Blocks */
.asimoz-h2-pillar-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.asimoz-h2-pillar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.asimoz-h2-pillar-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.asimoz-h2-tab-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.asimoz-h2-item {
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid #0284c7;
  font-weight: 600;
  color: #0f172a;
  font-size: 14px;
}

/* Testimonies & Cards */
.asimoz-h2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.asimoz-h2-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.asimoz-h2-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: #dcfce7;
  color: #15803d;
  margin-bottom: 10px;
}

.asimoz-h2-card-title {
  margin: 0 0 8px 0;
  font-weight: 800;
  font-size: 17px;
}

.asimoz-h2-card-desc {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.asimoz-h2-ref-link {
  color: #0284c7;
  font-size: 13px;
  word-break: break-all;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
}

.asimoz-h2-ref-link:hover {
  text-decoration: underline;
}

/* ========================================================
   5. CONTACT US SECTION
   ======================================================== */
.asimoz-h2-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.12), 0 4px 15px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(2, 132, 199, 0.18);
}

.asimoz-h2-contact-info {
  background: linear-gradient(145deg, #0f172a 0%, #034b75 60%, #0284c7 100%);
  color: #ffffff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.asimoz-h2-contact-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.asimoz-h2-contact-info h3 {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.asimoz-h2-contact-info p {
  color: #bae6fd;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 24px 0;
}

.asimoz-h2-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: grid;
  gap: 16px;
}

.asimoz-h2-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.asimoz-h2-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 16px;
  flex-shrink: 0;
}

.asimoz-h2-contact-text strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #7dd3fc;
  letter-spacing: 0.5px;
}

.asimoz-h2-contact-text span,
.asimoz-h2-contact-text a {
  font-size: 14px;
  color: #f8fafc !important;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.asimoz-h2-whatsapp-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
  transition: all 0.2s ease;
  width: 100%;
}

.asimoz-h2-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.asimoz-h2-contact-form {
  padding: 36px 28px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.asimoz-h2-form-header h4 {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.asimoz-h2-form-header p {
  color: #64748b;
  font-size: 13.5px;
  margin: 0;
}

.asimoz-h2-form-group {
  display: grid;
  gap: 4px;
}

.asimoz-h2-form-group label {
  font-weight: 700;
  font-size: 12.5px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.asimoz-h2-form-group label i {
  color: #0284c7;
}

.asimoz-h2-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.asimoz-h2-form-control:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.asimoz-h2-submit-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
  width: 100%;
}

.asimoz-h2-submit-btn:hover {
  transform: translateY(-2px);
}

.asimoz-h2-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Status Messages for Email Form */
.asimoz-h2-status-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.asimoz-h2-status-msg.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.asimoz-h2-status-msg.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ========================================================
   6. FOOTER
   ======================================================== */
.asimoz-h2-footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 32px 5%;
  margin-top: auto;
  border-top: 2px solid #0284c7;
  font-size: 13px;
}

.asimoz-h2-footer-company {
  color: #ffffff;
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.asimoz-h2-footer-tagline {
  color: #38bdf8;
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

/* ========================================================
   7. CLEAN CONSOLIDATED MOBILE STYLES (≤ 860px)
   ======================================================== */
@media (max-width: 860px) {
  /* Show hamburger button */
  .asimoz-h2-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Force navbar to allow dropdown to spill out */
  .asimoz-h2-nav {
    overflow: visible !important;
  }

  /* Hidden state */
  .asimoz-h2-nav .asimoz-h2-nav-links {
    display: none !important;
  }

  /* OPEN state - with higher specificity to beat display: none */
  .asimoz-h2-nav .asimoz-h2-nav-links.open {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100vw !important;
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto !important;
    background: #0f172a !important;
    flex-direction: column !important;
    padding: 16px 20px 28px !important;
    gap: 10px !important;
    border-bottom: 3px solid #0284c7 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
    z-index: 2147483647 !important; /* Maximum possible z-index */
  }

  .asimoz-h2-nav-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: block !important;
  }

  .asimoz-h2-nav-btn.active {
    background: #0284c7 !important;
    border-color: #38bdf8 !important;
    color: #ffffff !important;
  }

  /* Spacing & Typography for Phones */
  .asimoz-h2-page-banner {
    padding: 32px 5% 36px;
  }

  .asimoz-h2-page-banner h1 {
    font-size: 26px !important;
    line-height: 1.25;
  }

  .asimoz-h2-page-banner p {
    font-size: 14.5px;
  }

  .asimoz-h2-hero {
    padding: 32px 5% 40px;
  }

  .asimoz-h2-hero-left,
  .asimoz-h2-hero-right {
    flex: 1 1 100%;
    width: 100%;
  }

  .asimoz-h2-QuickStats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .asimoz-h2-statBox {
    padding: 10px;
  }

  .asimoz-h2-cta {
    width: 100%;
    margin-right: 0;
  }

  .asimoz-h2-cta-outline {
    margin-top: 6px;
  }

  .asimoz-h2-contact-grid {
    grid-template-columns: 1fr;
  }

  .asimoz-h2-contact-info,
  .asimoz-h2-contact-form {
    padding: 28px 18px;
  }

  .asimoz-h2-formula {
    padding: 24px 16px;
  }

  .asimoz-h2-formula-eq {
    padding: 14px 8px;
  }

  .asimoz-h2-chem {
    min-width: 75px;
    padding: 8px 10px;
  }

  .asimoz-h2-about-wrap {
    padding: 24px 16px;
  }
}