:root{--Primary-Brand:#1B4A8E;--Secondary-Brand:#4A8B5B;--CTA-Accent:#F7C555;--Background-Light:#F5F7FA;--Text-Body:#3A414A;--Text-Muted:#7A838E;--Highlight-White:#FFFFFF;--Background-Gradient-Top:#182E49;--Background-Gradient-Bottom:#2C4A6B;--Animation-Capsule-Primary:#1B4A8E;--Animation-Capsule-Secondary:#4A8B5B;--Animation-Pellet-Accent:#F7C555;--Animation-Pellet-Subtle:#9BB5D1;--Table-Background-ASMR:#F0F4F8;/* Back-compat + derived */--brand-blue:var(--Primary-Brand);--brand-blue-600:#1E5AA8;--brand-green:var(--Secondary-Brand);--brand-green-700:#3B6F49;--brand-gray:var(--Text-Muted);--surface:var(--Highlight-White);--surface-2:var(--Background-Light);--border:#e2e8f0;--shadow:0 2px 8px rgba(2,6,23,.06);}
*{box-sizing:border-box}
html,body{height:100%}
html{background:linear-gradient(180deg, var(--Background-Gradient-Top), var(--Background-Gradient-Bottom)) fixed no-repeat}
body{margin:0;font-family:'Inter', 'Roboto', 'Source Sans Pro', ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;color:var(--Highlight-White);background:transparent}
main, section, .container{background:transparent}
a{color:var(--brand-blue-600);text-decoration:none}
a:hover{color:var(--brand-blue)}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

/* Easing */
:root{--ease-standard:cubic-bezier(0.4, 0, 0.2, 1)}

/* Header */
header{position:sticky;top:0;background:linear-gradient(180deg, #ffffffee, #ffffffd9);backdrop-filter:saturate(180%) blur(6px);border-bottom:1px solid var(--border);z-index:10}
nav{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--brand-blue)}
.brand-name{font-weight:800;letter-spacing:.2px;color:var(--Primary-Brand);font-size:22px;line-height:1}
.brand img{height:79.68px;max-height:79.68px;width:auto;display:block;filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.12));transition:transform .2s var(--ease-standard), filter .2s var(--ease-standard)}
@media (max-width: 520px){ .brand img{height:59.76px;max-height:59.76px} }
.brand:hover img{transform:translateY(-2px);filter:drop-shadow(0 3px 10px rgba(27,74,142,.25))}
nav ul{list-style:none;display:flex;gap:18px;margin:0;padding:0}
nav a{position:relative;padding:6px 2px;color:#0f172a;transition:color .2s var(--ease-standard)}
nav a:hover{color:var(--Primary-Brand)}
nav a:after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:2px;background:linear-gradient(90deg,var(--brand-blue),var(--brand-green));transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease-standard)}
nav a:hover:after{transform:scaleX(1)}

/* Background ASMR canvas */
#bg-asmr{position:fixed;inset:0;z-index:0;pointer-events:none}
#bg-asmr canvas{width:100%;height:100%;display:block}
@media (prefers-reduced-motion: reduce){
  #bg-asmr{display:none}
}

/* Hero */
.hero{position:relative;background:radial-gradient(1200px 450px at 50% -100px, #e6f0ff, transparent 60%), radial-gradient(900px 380px at -150px 20%, rgba(27,74,142,.08), transparent 60%), radial-gradient(900px 380px at 110% 10%, rgba(74,139,91,.08), transparent 60%), linear-gradient(180deg, var(--surface), var(--surface-2));border-bottom:1px solid var(--border);box-shadow:0 8px 24px rgba(2,6,23,.08)}
.hero .container{position:relative;padding:56px 20px 40px}
.hero .ambient-glow{position:absolute;top:-20px;left:50%;transform:translateX(-50%);width:520px;height:240px;background:radial-gradient(ellipse at center, rgba(74,139,91,.18), rgba(74,139,91,0) 60%);filter:blur(10px);opacity:.98;pointer-events:none;z-index:0;animation:ambient-float 10s var(--ease-standard) infinite alternate}
.hero h1{margin:0 0 12px;font-size:40px;line-height:1.15;background:linear-gradient(90deg,var(--brand-blue),var(--brand-green));-webkit-background-clip:text;background-clip:text;color:transparent;position:relative;z-index:1}
.hero p{max-width:760px;color:var(--brand-gray);font-size:18px;position:relative;z-index:1}
@keyframes ambient-float{from{transform:translate(-50%,-2px);opacity:.95}to{transform:translate(-50%,1px);opacity:1}}

/* Sections */
main{padding:28px 0}
section h1{margin-top:0;font-size:clamp(32px, 4vw, 36px);font-weight:700;color:var(--Highlight-White)}
section p.muted{font-weight:300;font-size:clamp(15px, 2vw, 16px);color:rgba(255,255,255,0.8)}

/* Product Table Styling (ASMR Refinement) */
.table{width:100%;border-collapse:collapse;margin-top:20px;border-radius:8px;overflow:hidden}
.table thead{background:transparent}
.table th{padding:16px 24px;text-align:left;color:var(--Highlight-White);font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:0.5px;border:none;border-bottom:2px solid rgba(255,255,255,0.15)}
.table td{padding:12px 24px;text-align:left;color:var(--Text-Body);font-weight:400;background:var(--Table-Background-ASMR);border:none;border-bottom:1px solid #E0E0E0}
.table tbody tr{transition:background-color 250ms ease-in-out}
.table tbody tr:hover{background-color:var(--Background-Light)}
.table tbody tr:hover td{background-color:var(--Background-Light)}
.table tbody tr:last-child td{border-bottom:none}

/* ========== Mobile-Friendly Table Layout (ASMR About Page) ========== */

/* General table fixes */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  table-layout: auto; /* ensures flexible column widths */
  word-wrap: break-word;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
  white-space: normal; /* allow text wrapping properly */
  word-break: normal; /* prevent letter-by-letter breaks */
}

/* Prevent ugly word splitting */
.table th,
.table td {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Responsive stacking on small devices */
@media (max-width: 640px) {
  .table thead {
    display: none; /* hide header row for small screens */
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
  }

  .table td {
    padding: 0.75rem 1rem;
    text-align: left;
    position: relative;
  }

  /* Add labels before each data cell */
  .table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: var(--Primary-Brand);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-size: 0.85rem;
  }
}

/* Optional visual polish */
@media (max-width: 480px) {
  .table td {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}


/* About page typography */
.about{background:rgba(255,255,255,.94);color:var(--Text-Body);padding:20px;border-radius:12px;box-shadow:var(--shadow)}
.about h1{color:var(--Primary-Brand);font-size:32px}
.about h2{color:var(--Primary-Brand);font-size:22px;margin-top:24px}
.about .lead{color:var(--Text-Body);font-size:18px;max-width:820px}
.about p{color:var(--Text-Body)}
.about ul{color:var(--Text-Body);padding-left:20px}
.about section{margin-bottom:18px}

/* About page – table header color */
section.about .table th {
  color: var(--Primary-Brand);
  background-color: var(--Table-Background-ASMR);
  border-bottom: 2px solid var(--border);
}

/* Product category grid */
.grid{display:grid;gap:16px}
@media(min-width:720px){.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:960px){.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.card{border:1px solid var(--border);border-radius:12px;background:var(--Highlight-White);box-shadow:var(--shadow);padding:16px;display:block;color:var(--Text-Body)}
.card h3{margin:8px 0 4px;font-size:18px;color:var(--Primary-Brand)}
.card p{margin:0;color:var(--Text-Muted);font-size:14px}

/* Forms */
.form{display:grid;gap:12px;max-width:560px}
.field{display:grid;gap:6px}
input,textarea{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;background:#fff}
button{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--brand-blue-600),var(--brand-blue));border:none;color:#fff;padding:10px 16px;border-radius:999px;cursor:pointer;box-shadow:var(--shadow);transition:transform .08s var(--ease-standard), filter .2s var(--ease-standard), box-shadow .2s var(--ease-standard)}
button.cta{background:linear-gradient(180deg, var(--CTA-Accent), #e1b040); color:#1a1a1a}
button:hover{filter:brightness(1.02);box-shadow:inset 0 1px 3px rgba(27,74,142,.25), var(--shadow)}
button:active,button.press{transform:scale(.98)}
button::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;border-radius:50%;background:rgba(27,74,142,.15);transform:translate(-50%,-50%) scale(0);opacity:0;pointer-events:none}
button.press::after{animation:ripple 450ms var(--ease-standard)}
@keyframes ripple{0%{opacity:.25;transform:translate(-50%,-50%) scale(0)}100%{opacity:0;transform:translate(-50%,-50%) scale(12)}}

/* Alerts */
.alert{padding:10px 12px;border-radius:8px;margin-bottom:12px;border:1px solid}
.alert.success{background:#f0fdf4;color:#14532d;border-color:#86efac}
.alert.error{background:#fef2f2;color:#991b1b;border-color:#fecaca}

/* Utility */
.muted{color:var(--Text-Muted)}
.icon{display:inline-block;line-height:0;transition:color .2s var(--ease-standard), transform .2s var(--ease-standard)}
.icon:hover{color:var(--Primary-Brand);transform:translateY(-2px)}

/* Page transition */
#page{transition:opacity .35s var(--ease-standard)}
body.page-fade-out #page{opacity:0.02}

/* Footer */
footer{border-top:1px solid var(--border);padding:16px 0;margin-top:48px;color:var(--brand-gray)}

/* Reveal animations */
.reveal{opacity:0;transform:translateY(15px);transition:opacity .6s var(--ease-standard), transform .6s var(--ease-standard)}
.reveal.in-view{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important}
}

/* === Footer Email CTA (Fixed Layout & Visibility) === */
.footer-email-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto 12px;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, var(--Primary-Brand), var(--Secondary-Brand));
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(74, 139, 91, 0.45);
  width: fit-content;
  max-width: 90%;
  color: #fff;
  animation: subtle-pulse 5s var(--ease-standard) infinite;
}

.footer-email-cta .email-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.footer-email-cta .email-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.footer-email-cta .icon {
  font-size: 1.1rem;
}

/* Pulse effect (subtle glow) */
@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(247, 197, 85, 0.25); }
  50% { box-shadow: 0 0 24px rgba(247, 197, 85, 0.45); }
}


/* Responsive table layout */
.product-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Make table fit screen width */
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  word-wrap: break-word;
}

/* Ensure table text wraps and doesn't force horizontal scroll */
table th, table td {
  padding: 0.75rem;
  text-align: left;
  word-break: break-word;
}

/* Adjust layout for small screens */
@media (max-width: 768px) {
  .product-table-container {
    padding: 0 8px;
  }

  table th, table td {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  h1, h2, h3 {
    text-align: center;
  }
}

/* ---------- HEADER BASE ---------- */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- LOGO ---------- */
header .logo {
  max-width: 220px;
  height: auto;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .logo {
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  header .logo {
    max-width: 130px;
  }
}

/* ---------- NAVIGATION ---------- */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
}

.nav-links li a:hover {
  color: #007bff;
}

/* ---------- HAMBURGER BUTTON (Smooth ASMR Motion) ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s var(--ease-standard);
}

.menu-toggle:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 4px rgba(74, 139, 91, 0.3));
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--Primary-Brand), var(--Secondary-Brand));
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease-standard),
    opacity 0.25s var(--ease-standard),
    background-color 0.35s var(--ease-standard);
}

/* Animate the bars when active (X icon effect) */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- MOBILE MENU (Smooth slide-in + blur effect) ---------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    z-index: 11;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 220px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px) saturate(150%);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0 12px;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.4s var(--ease-standard),
      transform 0.4s var(--ease-standard);
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links li a {
    color: var(--Primary-Brand);
    font-weight: 600;
    width: 100%;
    display: block;
    padding: 0.4rem 0;
    transition: color 0.3s var(--ease-standard);
  }

  .nav-links li a:hover {
    color: var(--Secondary-Brand);
  }
}

/* ========== Footer Section (Transparent Background) ========== */

footer {
  text-align: center;
  padding: 2rem 1rem;
  background: none; /* no background color or gradient */
  color: #333; /* adjust if your site background is dark */
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* subtle divider, optional */
}

/* Inner footer content */
footer .container {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Footer links (if any) */
footer a {
  color: #005b4f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #008f7a;
}

/* ========== Email Section ========== */

.footer-email {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* allows text wrapping on small screens */
  gap: 0.4rem;
  color: #005b4f;
  font-weight: 600;
  padding: 1rem 0.8rem;
  font-size: 1.05rem; /* base size for desktop */
  text-align: center;
}

.footer-email strong {
  margin-right: 0.3rem;
}

.footer-email a {
  color: #005b4f;
  text-decoration: none;
  word-break: break-word;
}

.footer-email a:hover {
  text-decoration: underline;
}

/* ========== Responsive Adjustments ========== */

/* Tablets and small devices */
@media (max-width: 768px) {
  .footer-email {
    flex-direction: column;
    font-size: 1rem;
    padding: 0.8rem;
  }
}

/* Small mobile phones (under ~480px) */
@media (max-width: 480px) {
  .footer-email {
    font-size: 3.3vw; /* scales dynamically with screen size */
    line-height: 1.4;
  }

  .footer-email strong {
    display: block;
    margin-bottom: 0.3rem;
  }
}
.hidden-field {
  display: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
}
/* ---------------- Footer CTA - authoritative override ---------------- */
.footer-email-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 20px auto 12px !important;
  padding: 0.75rem 1.5rem !important;
  background: linear-gradient(90deg, var(--Primary-Brand), var(--Secondary-Brand)) !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(11,30,58,0.18) !important;
  width: fit-content !important;
  max-width: 94% !important;
  z-index: 9999 !important;       /* ensure it's above other layers */
  position: relative !important;
  pointer-events: auto !important;/* ensure clicks reach it */
  transform: none !important;     /* prevent hidden transform from reveal */
  opacity: 1 !important;          /* ensure visible even if .reveal left alone */
}

/* If the CTA also uses .reveal class (common), make sure it's visible */
.footer-email-cta.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* anchor inside CTA */
.footer-email-cta a.email-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  white-space: nowrap !important; /* keep on one line on larger screens */
}

/* ensure email text is visible and wraps correctly on small screens */
.footer-email-cta .email-text {
  display: inline-block !important;
  color: #fff !important;
  font-weight: 700 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

/* Responsive: allow wrapping on the smallest devices */
@media (max-width: 480px) {
  .footer-email-cta {
    padding: 10px 12px !important;
    max-width: 94% !important;
  }
  .footer-email-cta a.email-link {
    font-size: 13px !important;
    gap: 8px !important;
    white-space: normal !important; /* allow the email to wrap */
  }
  .footer-email-cta .email-text {
    word-break: break-word !important;
    white-space: normal !important;
  }
}


