:root{
  --brand-ink:#0b5673;
  --brand-ink-dark:#0a3e56;
  --brand-accent:#1c7aa3;
  --brand-light:#eaf6fb;
  --text:#0e1a22;
}

*{box-sizing:border-box}

/* Make the page a column flex layout so footer can stick to bottom */
html{height:100%}
body{
  margin:0;padding:0;
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);background:#fff;
  min-height:100vh;            /* fallback */
  min-height:100dvh;           /* mobile-safe viewport */
  display:flex;flex-direction:column;
  overflow-x:hidden;           /* NEW: prevent 100vw full-bleed from causing horiz scroll */
}

a{color:var(--brand-ink);text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:1200px;margin:0 auto;padding:0 1rem}
.grid{display:grid;gap:1.25rem}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}

.topbar{
  position:sticky;top:0;z-index:50;
  background:linear-gradient(90deg,var(--brand-ink),var(--brand-accent));
  color:#fff;border-bottom:1px solid rgba(255,255,255,.2);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0}
.nav .brand{display:flex;align-items:center;gap:.75rem;font-weight:700;font-size:1.25rem;letter-spacing:.5px}
.nav img{height:50px;width:auto}
.nav-links{display:flex;gap:1rem;flex-wrap:wrap}
.nav-links a{color:#fff;padding:.35rem .6rem;border-radius:.5rem}
.nav-links a.active, .nav-links a:hover{background:rgba(255,255,255,.18)}

.hero{
  background:
    radial-gradient(80% 140% at 100% -20%, var(--brand-light) 0%, transparent 60%),
    radial-gradient(80% 140% at -20% 100%, var(--brand-light) 0%, transparent 60%);
  border-bottom:1px solid #eef3f6;
  padding:3rem 0 2rem;
}
.hero .title{font-size:clamp(1.6rem, 2.8vw, 2.8rem);margin:0 0 .5rem;color:var(--brand-ink)}
.hero .subtitle{margin:.25rem 0 1rem;color:#28536a}
.badge{display:inline-flex;align-items:center;gap:.5rem;background:#fff;color:var(--brand-ink);border:1px solid #d6e8f1;padding:.35rem .6rem;border-radius:999px;font-size:.85rem}

.section{padding:2.25rem 0}
.section.alt{background:linear-gradient(0deg,#fff, #f7fbfd)}

.card{background:#fff;border:1px solid #e6eef3;border-radius:14px;padding:1rem;box-shadow:0 4px 12px rgba(0,0,0,.04)}
.card h3{margin:.2rem 0 .5rem;color:var(--brand-ink)}
.card p{margin:0.25rem 0 .5rem;line-height:1.55}

.list{display:grid;gap:.5rem}
.list li{list-style:none;padding:.5rem .75rem;border:1px dashed #dbe9f0;border-radius:10px;background:#fff}

/* Sticky, FULL-WIDTH footer (full-bleed background) */
.footer{
  background:#0c2c3c;color:#e9f6fb;padding:1.5rem 0;
  margin-top:auto;
  /* NEW: break out of centered .container to span the whole viewport width */
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
.footer a{color:#e9f6fb}
.footer small{opacity:.85}
/* keep footer CONTENT constrained like the rest of the page */
.footer .container{max-width:1200px;margin:0 auto;padding:0 1rem}

.cta{display:inline-flex;align-items:center;gap:.6rem;background:var(--brand-ink);color:#fff;border:none;padding:.65rem 1rem;border-radius:10px;font-weight:600;cursor:pointer}
.cta:hover{background:var(--brand-ink-dark)}
.btn-link{border:none;background:transparent;color:var(--brand-ink);font-weight:600;cursor:pointer}

.form{display:grid;gap:1rem;max-width:720px}
.input{display:flex;flex-direction:column;gap:.4rem}
.input input,.input textarea{
  padding:.75rem .9rem;border-radius:10px;border:1px solid #cfe3ee;outline:none;
}
.input input:focus,.input textarea:focus{border-color:var(--brand-accent)}
input[type="submit"]{justify-self:start}
.small{font-size:.9rem;color:#5a7687}
.kv{display:grid;grid-template-columns:160px 1fr;gap:.5rem 1rem}
@media (max-width:600px){.kv{grid-template-columns:1fr}}

.table{width:100%;border-collapse:collapse;border:1px solid #e6eef3;border-radius:12px;overflow:hidden}
.table th,.table td{padding:.75rem;border-bottom:1px solid #e6eef3;text-align:left}
.table tr:last-child td{border-bottom:none}

.carousel{
  position:relative;
  overflow:hidden;
  width:100%;
  margin:1.25rem 0;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  background:#0b1020; /* subtle dark bg behind images */
}
.carousel-viewport{width:100%;height:clamp(220px, 32vw, 440px)}
.carousel-track{display:flex;height:100%;transition:transform .55s ease;will-change:transform}
.carousel-slide{flex:0 0 100%;width:100%;height:100%;object-fit:cover;user-select:none;pointer-events:none}

/* arrows */
.carousel-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  border:0;width:44px;height:44px;border-radius:999px;
  background:rgba(255,255,255,.9);
  box-shadow:0 4px 12px rgba(0,0,0,.15);
  cursor:pointer;font-size:22px;line-height:44px;text-align:center
}
.carousel-btn:hover{background:#fff}
.carousel-btn.prev{left:12px}
.carousel-btn.next{right:12px}

/* dots */
.carousel-dots{
  position:absolute;left:0;right:0;bottom:10px;
  display:flex;justify-content:center;gap:8px;padding:4px 0
}
.carousel-dots .dot{width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.55);border:0;cursor:pointer}
.carousel-dots .dot.is-active{background:#fff}

/* Make arrows/dots legible on very light images */
.carousel::after{
  content:"";position:absolute;inset:0 0 0 0;
  background:linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,0) 40%);
  pointer-events:none;mix-blend-mode:multiply
}

.cta[disabled]{opacity:.5;cursor:not-allowed}
.req{color:#e11d48;font-weight:600} /* red asterisk */

/* product image styling */
.card .product-image{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  object-fit:cover;
  margin-bottom:.75rem;
}
