
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --primary:#1a3d7c;
  --accent:#e11b24;
  --muted:#6b7280;
  --bg:#f7f8fb;
}

* {
  box-sizing:border-box;
}

body {
  font-family:'Poppins',system-ui,Segoe UI,Roboto,Arial;
  margin:0;
  background:var(--bg);
  color:#17202a;
}

.container {
  max-width:1100px;
  margin:0 auto;
  padding:18px;
}

/* Header */
header {
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,0.06);
  position:sticky;
  top:0;
  z-index:40;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img {
  height:56px;
  width:auto;
  border-radius:6px;
}

nav a {
  margin-left:14px;
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  transition:color 0.3s;
}

nav a:hover { color:var(--primary); }
nav a.active { color:var(--primary); }

/* Hero section */
.hero {
  background:#fff;
  border-radius:10px;
  padding:28px;
  margin:18px 0;
  box-shadow:0 8px 30px rgba(8,15,30,0.04);
}

.grid {
  display:grid;
  grid-template-columns:1fr 360px;
  gap:20px;
}

.controls {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

button {
  background:var(--primary);
  color:#fff;
  border:none;
  padding:10px 12px;
  border-radius:8px;
  cursor:pointer;
}

button.ghost {
  background:transparent;
  color:var(--primary);
  border:1px solid rgba(26,61,124,0.12);
}

section { margin-bottom:20px; }

h1 { color:var(--primary); margin:6px 0; }
h2 { color:var(--primary); margin:6px 0; }
.note { color:var(--muted); font-size:14px; }

.product-grid {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.product {
  background:#fff;
  padding:12px;
  border-radius:8px;
  flex:1 1 220px;
  max-width:280px;
  border:1px solid #eef2f7;
  text-align:center;
  box-shadow:0 6px 18px rgba(16,24,40,0.04);
}

.product img {
  max-width:100%;
  height:140px;
  object-fit:contain;
  background:#fff;
  border-radius:6px;
  padding:6px;
  box-sizing:border-box;
}

.editable { outline:none; }

/* Footer */
footer {
  background:var(--primary);
  color:#fff;
  margin-top:30px;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:30px;
  padding:30px 18px;
}

.footer-grid h4 {
  margin-bottom:10px;
  font-size:16px;
  font-weight:600;
  color:#fff;
}

.footer-grid a {
  color:#e0e7ff;
  text-decoration:none;
  font-size:14px;
}

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

.footer-bottom {
  text-align:center;
  padding:12px;
  font-size:13px;
  border-top:1px solid rgba(255,255,255,0.2);
}

.small { font-size:13px; color:var(--muted); }

/* Slider styles */
.slider-wrap {
  position:relative;
  overflow:hidden; /* ✅ scrollbar problem fix */
  border-radius:10px;
  background:#fff;
  padding:12px;
  margin:18px 0;
  box-shadow:0 8px 30px rgba(8,15,30,0.04);
}

.slider {
  display:flex;
  transition:transform 0.5s ease;
  width:100%;
}

.slide {
  min-width:100%;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.slide img {
  width:100%;
  height:260px;
  object-fit:contain;
  background:#fff;
  border-radius:8px;
}

.slider-btn {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.45);
  color:#fff;
  border:none;
  padding:8px 12px;
  border-radius:6px;
  cursor:pointer;
}

.slider-btn.prev { left:12px; }
.slider-btn.next { right:12px; }

.slider-dots {
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:12px;
  display:flex;
  gap:8px;
}

.slider-dots button {
  width:1px;
  height:1px;
  padding: 3px 4px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,0.6);
  cursor:pointer;
}

.slider-dots button.active { background:var(--primary); }

/* Contact form styling */
form input,
form textarea {
  width:100%;
  padding:12px 14px;
  margin:8px 0;
  border:1px solid #d1d5db;
  border-radius:8px;
  font-size:15px;
  font-family:'Poppins',sans-serif;
  transition:border-color 0.3s, box-shadow 0.3s;
  box-sizing:border-box;
}

form input:focus,
form textarea:focus {
  border-color:var(--primary);
  box-shadow:0 0 6px rgba(26,61,124,0.2);
  outline:none;
}

form button {
  padding:12px 18px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:background 0.3s;
}

form button:hover { background:#153368; }

/* Responsive */
@media(max-width:920px){
  .grid { grid-template-columns:1fr; }
  .brand img { height:48px; }
  .product img {
    height:140px;
    object-fit:contain;
    padding:4px;
  }
}

@media(max-width:700px){
  .slide img { height:180px; }
}
