:root {
  --green: #1a7c3e;
  --green-dark: #155f30;
  --green-light: #e8f5ee;
  --purple: #5b2d8e;
  --purple-dark: #451f6e;
  --purple-light: #f0eaf8;
  --gray-bg: #f5f6f8;
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --bottom-nav-h: 65px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--gray-bg);
  color: var(--text-main);
  padding-bottom: var(--bottom-nav-h);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* TOP HEADER */
.top-header {
  background: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.hamburger { font-size: 20px; color: var(--text-main); background: none; border: none; padding: 4px; cursor: pointer; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-link { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; color: var(--green); letter-spacing: -0.5px; }
.logo-sub { font-size: 9px; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
.header-icons { display: flex; gap: 14px; align-items: center; }
.header-icons button { background: none; border: none; font-size: 18px; color: var(--text-main); position: relative; padding: 4px; cursor: pointer; }
.cart-badge {
  position: absolute; top: -2px; right: -4px;
  background: var(--purple); color: #fff;
  font-size: 9px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* HERO SLIDER */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f0fe 100%);
  padding: 20px 16px 16px;
  display: flex; gap: 12px; align-items: center;
}
.hero-text { flex: 1; }
.hero-text h1 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--text-main); }
.hero-text h1 span { color: var(--green); }
.hero-sub { font-size: 12px; color: var(--text-muted); margin: 6px 0 10px; line-height: 1.5; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hero-badge { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--text-muted); }
.hero-badge i { font-size: 11px; color: var(--green); }
.hero-btns { display: flex; gap: 8px; }
.btn-green {
  background: var(--green); color: #fff; border: none;
  padding: 9px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; transition: background .2s;
}
.btn-green:hover { background: var(--green-dark); }
.btn-purple {
  background: var(--purple); color: #fff; border: none;
  padding: 9px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; transition: background .2s;
}
.btn-purple:hover { background: var(--purple-dark); }
.hero-imgs { display: flex; gap: 6px; flex-shrink: 0; }
.hero-bucket {
  width: 72px; height: 90px;
  border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.bucket-green { background: linear-gradient(145deg, #1a7c3e, #25a158); }
.bucket-purple { background: linear-gradient(145deg, #5b2d8e, #7c3fbf); margin-top: 12px; }
.bucket-inner { text-align: center; padding: 8px 4px; }
.bucket-name { font-size: 7px; font-weight: 700; color: #fff; letter-spacing: .3px; }
.bucket-brand { font-size: 9px; font-weight: 800; color: rgba(255,255,255,.9); margin-top: 2px; }
.bucket-vol { font-size: 7px; color: rgba(255,255,255,.7); margin-top: 4px; }
.bucket-icon { font-size: 22px; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.slider-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background .2s; }
.dot.active { background: var(--green); width: 20px; border-radius: 4px; }

/* SECTION HEADER */
.sec-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; }
.sec-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; }
.view-all { font-size: 12px; color: var(--green); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 3px; }

/* ROLE SELECTOR */
.role-section { background: #fff; padding-bottom: 16px; margin-bottom: 8px; }
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 16px; }
.role-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 12px; padding: 12px 6px;
  text-align: center; cursor: pointer;
  transition: all .2s;
}
.role-card:hover, .role-card.active {
  border-color: var(--green); background: var(--green-light);
}
.role-icon { font-size: 26px; margin-bottom: 4px; }
.role-icon.officer { color: var(--green); }
.role-icon.engineer { color: #2563eb; }
.role-icon.mason { color: #f59e0b; }
.role-icon.dealer { color: var(--purple); }
.role-name-en { font-size: 11px; font-weight: 700; display: block; }
.role-name-bn { font-size: 10px; color: var(--text-muted); display: block; }

/* PROBLEM SECTION */
.problem-section { background: #fff; padding-bottom: 16px; margin-bottom: 8px; }
.problems-scroll { display: flex; gap: 10px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.problems-scroll::-webkit-scrollbar { display: none; }
.problem-card {
  flex-shrink: 0; width: 90px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px 8px; cursor: pointer; transition: all .2s; background: #fff;
}
.problem-card:hover { border-color: var(--green); background: var(--green-light); }
.problem-icon { font-size: 28px; margin-bottom: 6px; }
.problem-en { font-size: 10px; font-weight: 700; display: block; line-height: 1.3; }
.problem-bn { font-size: 9px; color: var(--text-muted); display: block; margin-top: 2px; }

/* PRODUCTS SECTION */
.products-section { background: #fff; padding-bottom: 16px; margin-bottom: 8px; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.product-card {
  border-radius: 14px; padding: 12px; position: relative; overflow: hidden;
  cursor: pointer; transition: transform .2s;
}
.product-card:hover { transform: translateY(-2px); }
.product-card.green-card { background: linear-gradient(135deg, #e8f5ee, #d1ede0); border: 1.5px solid #b7e0c8; }
.product-card.purple-card {border: 1.5px solid #cbb8e8; }
.product-bucket-img {
  width: 100%; height: 100px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.product-icon-mini img {width:33px;}
.product-bucket-img.g { background: linear-gradient(145deg, #1a7c3e, #25a158); }
.product-bucket-img.p { background: linear-gradient(145deg, #5b2d8e, #7c3fbf); }
.product-bucket-img i { font-size: 20px; color: rgba(255,255,255,.9); }
.product-name { font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700; margin-bottom: 2px; text-align:center; }
.product-desc { font-size: 10px; color: var(--text-muted); line-height: 1.4; margin-bottom: 8px; }
.product-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.product-tag { font-size: 8px; background: rgba(0,0,0,.07); padding: 2px 6px; border-radius: 20px; font-weight: 600; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-vol { font-size: 10px; color: var(--text-muted); font-weight: 600; }
.btn-order-green, .btn-order-purple {
  background: var(--green); color: #fff; border: none;
  padding: 6px 10px; border-radius: 8px; font-size: 10px;
  font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.btn-order-purple { background: var(--purple); }

/* QUICK ORDER */
.quick-order-section { background: #fff; padding: 0 16px 16px; margin-bottom: 8px; }
.qo-header { padding: 16px 0 12px; }
.qo-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; display: inline; }
.qo-subtitle { font-size: 12px; color: var(--green); font-weight: 600; margin-left: 6px; }
.qo-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.qo-select {
  flex: 1; min-width: 100px; padding: 10px 12px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Hind Siliguri', sans-serif; font-size: 13px;
  background: #fff; color: var(--text-main);
}
.qty-control { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; }
.qty-btn { background: var(--gray-bg); border: none; width: 34px; height: 40px; font-size: 18px; cursor: pointer; color: var(--text-main); font-weight: 600; }
.qty-input { width: 60px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 40px; font-size: 13px; font-family: 'Hind Siliguri', sans-serif; outline: none; }
.qo-btns { display: flex; gap: 8px; }
.btn-whatsapp {
  flex: 1; background: #25d366; color: #fff; border: none;
  padding: 11px 10px; border-radius: 10px; font-size: 12px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-call {
  flex: 1; background: #2563eb; color: #fff; border: none;
  padding: 11px 10px; border-radius: 10px; font-size: 12px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.feature-item { text-align: center; padding: 8px 4px; }
.feature-icon { font-size: 20px; margin-bottom: 4px; }
.feature-icon.g { color: var(--green); }
.feature-icon.p { color: var(--purple); }
.feature-icon.o { color: #f59e0b; }
.feature-icon.b { color: #2563eb; }
.feature-en { font-size: 9px; font-weight: 700; display: block; }
.feature-bn { font-size: 8px; color: var(--text-muted); display: block; margin-top: 1px; line-height: 1.3; }

/* HOW TO USE */
.howto-section { background: #fff; padding: 0 16px 16px; margin-bottom: 8px; }
.howto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.howto-card { border-radius: 14px; padding: 14px; }
.howto-card.green { background: linear-gradient(135deg, #e8f5ee, #d1ede0); border: 1.5px solid #b7e0c8; }
.howto-card.purple { background: linear-gradient(135deg, #f0eaf8, #e2d4f5); border: 1.5px solid #cbb8e8; }
.howto-title { font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.howto-steps { display: flex; justify-content: space-around; }
.howto-step { text-align: center; }
.step-icon { font-size: 20px; display: block; margin-bottom: 4px; }
.step-num { font-size: 8px; color: var(--text-muted); display: block; }
.step-label { font-size: 8px; font-weight: 600; display: block; line-height: 1.2; }

/* BOTTOM FLOATING CTA */
.bottom-cta {
  background: #fff; padding: 10px 12px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; border-top: 1px solid var(--border);
  position: sticky; bottom: var(--bottom-nav-h);
  z-index: 90;
}
.cta-whatsapp { background: #25d366; color: #fff; border: none; border-radius: 10px; padding: 12px 8px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cta-call { background: var(--purple); color: #fff; border: none; border-radius: 10px; padding: 12px 8px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cta-order { background: var(--text-main); color: #fff; border: none; border-radius: 10px; padding: 12px 8px; font-size: 12px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* BOTTOM NAV */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: #fff; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: var(--bottom-nav-h); z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; cursor: pointer;
  transition: color .2s; color: var(--text-muted);
  text-decoration: none; padding: 6px 0;
}
.nav-item.active { color: var(--green); }
.nav-item i { font-size: 18px; }
.nav-label { font-size: 10px; font-weight: 600; }
.nav-item.active .nav-label { color: var(--green); }

/* UTILITIES */
.section-divider { height: 8px; background: var(--gray-bg); }
.tag-green { color: var(--green); }
.tag-purple { color: var(--purple); }

/* animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slide, .role-card, .problem-card, .product-card { animation: fadeUp .4s ease both; }


