/* ==========================================================================
   Gupta & Bros - Premium B2B Institutional Furniture Redesign Stylesheet
   ========================================================================== */

/* 1. Design System & CSS Variables */
:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Color Palette */
  --color-white: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-text-primary: #111111;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-border: #e5e5e5;
  --color-border-dark: #222222;
  
  /* Brand/Interactive Accents */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20ba59;
  --color-accent-dark: #075E54;
  
  /* Spacing */
  --section-padding: 100px 24px;
  --section-padding-mobile: 60px 16px;
  
  /* Shadow & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* 2. Modern Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-text-primary);
  line-height: 1.6;
}

section,
footer,
.container {
  max-width: 100%;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* 3. Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Section Header styling */
.section-header {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-header.flex-header {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* 4. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
  gap: 12px;
}

.btn:hover {
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--color-text-primary);
  color: var(--color-white);
  border-color: var(--color-text-primary);
}

.btn-primary:hover {
  background-color: #333333;
  border-color: #333333;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}

.btn-secondary:hover {
  background-color: var(--color-text-primary);
  color: var(--color-white);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--color-text-primary);
  padding: 14px 0;
  border-radius: 0;
  border-bottom: 2px solid var(--color-text-primary);
  gap: 10px;
}

.btn-tertiary:hover {
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text-primary);
  background-color: var(--color-bg-light);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.footer-badge-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.whatsapp-pill-icon {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.arrow-icon {
  transition: var(--transition-fast);
}

.btn-tertiary:hover .arrow-icon {
  transform: translateX(4px);
}

/* 5. Announcement Bar */
.announcement-bar {
  background-color: var(--color-text-primary);
  color: var(--color-white);
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.03em;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1001;
}

.announcement-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  animation: pulse-animation 1.5s infinite;
}

.announcement-text {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
}

.announcement-text.fade-out {
  opacity: 0;
}

@keyframes pulse-animation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 6. Header / Navigation */
.main-header {
  position: sticky;
  top: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px;
  z-index: 1000;
  transition: var(--transition-smooth);
}

/* Header dynamic scroll effect */
.main-header.scrolled {
  padding: 14px 24px;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  color: var(--color-text-primary);
}

.logo-bold {
  font-weight: 800;
}

.logo-light {
  font-weight: 300;
  color: var(--color-text-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

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

.btn-header-quote {
  padding: 8px 18px;
  font-size: 13.5px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
  padding: 4px;
}

.hamburger line {
  transition: var(--transition-smooth);
  transform-origin: center;
}

.mobile-nav-active .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-active .line-2 {
  opacity: 0;
}

.mobile-nav-active .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* 7. Hero Section */
.hero-section {
  padding: 100px 0;
  overflow: hidden;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-text-column {
  max-width: 580px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-image-column {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--color-bg-light);
  aspect-ratio: 4 / 3;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

/* 8. Category Showcase */
.categories-section {
  padding: var(--section-padding);
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-text-primary);
}

.card-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--color-bg-light);
  overflow: hidden;
  position: relative;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card:hover .card-image-box img {
  transform: scale(1.08);
}

.card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}

.category-count {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.explore-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.explore-link svg {
  transition: var(--transition-fast);
}

.category-card:hover .explore-link svg {
  transform: translateX(4px);
}

/* Dynamic Category explore note */
.category-explore-note {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  letter-spacing: 0.02em;
}

.category-explore-note::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  animation: pulse-animation 1.5s infinite;
}

/* Category Selected State */
.category-card.is-active {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-text-primary);
  background-color: var(--color-bg-light);
}

/* Category Products Drawer Container */
.category-products-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  margin-top: 0;
  background-color: var(--color-white);
  border: 1px solid transparent;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
}

.category-products-drawer.is-open {
  grid-template-rows: 1fr;
  margin-top: 40px;
  border-color: var(--color-border);
}

.drawer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.drawer-inner {
  min-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 40px 0;
  box-sizing: border-box;
}

.category-products-drawer.is-open .drawer-inner {
  opacity: 1;
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.drawer-close-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-text-secondary);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-close-btn:hover {
  background-color: var(--color-text-primary);
  border-color: var(--color-text-primary);
  color: var(--color-white);
}

/* Carousel Dots (Dynamic) */
.carousel-dots,
.mobile-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  width: 100%;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.is-active {
  background-color: var(--color-text-primary);
  transform: scale(1.2);
}

@media (min-width: 769px) {
  .carousel-dots,
  .mobile-carousel-dots {
    display: none !important;
  }
}

/* Products Layout (Carousel for Mobile, Grid for Desktop) */
.drawer-products-container {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Drawer Product Cards */
.drawer-products-container .product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-smooth);
}

.drawer-products-container .product-card:hover {
  border-color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.drawer-products-container .product-card .product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--color-text-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.drawer-products-container .product-card .product-image-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-light);
  overflow: hidden;
  position: relative;
}

.drawer-products-container .product-card .product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.drawer-products-container .product-card:hover .product-image-box img {
  transform: scale(1.05);
}

.drawer-products-container .product-card .product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.drawer-products-container .product-card .product-category {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.drawer-products-container .product-card .product-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.drawer-products-container .product-card .product-use-case {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.drawer-products-container .product-card .product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: auto;
}

.drawer-products-container .product-card .product-specs span {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 4px;
}



.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-text-primary);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-white);
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  z-index: 1;
}

.product-image-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-box img {
  transform: scale(1.04);
}

.product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.product-description {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.product-specs span {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 4px 8px;
  border-radius: 4px;
}

.enquiry-btn {
  font-size: 14px;
  padding: 12px;
}

/* 10. Why Gupta & Bros */
.why-us-section {
  padding: var(--section-padding);
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.why-us-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.why-us-header {
  max-width: 460px;
}

.badge-row {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
}

.trust-badge strong {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.trust-badge span {
  font-size: 13.5px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 30px;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.why-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.why-text {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* 11. Industries Served */
.industries-section {
  padding: var(--section-padding);
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  border-radius: 10px;
  transition: var(--transition-smooth);
  background-color: var(--color-white);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-text-primary);
  box-shadow: var(--shadow-sm);
}

.industry-icon {
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.industry-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* 12. Interactive Bulk Order Form Section */
.bulk-order-section {
  padding: var(--section-padding);
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.bulk-card-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.bulk-content {
  padding: 60px;
  background-color: var(--color-text-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bulk-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-whatsapp);
  margin-bottom: 16px;
}

.bulk-content h2 {
  font-size: 38px;
  margin-bottom: 18px;
  color: var(--color-white);
}

.bulk-content p {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 36px;
  line-height: 1.6;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--color-white);
}

.feat-item svg {
  color: var(--color-whatsapp);
  flex-shrink: 0;
}

.bulk-form-wrapper {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bulk-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-text-primary);
}

/* 13. Footer */
.main-footer {
  padding: 80px 24px 40px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 80px;
}

.footer-brand-col {
  max-width: 380px;
}

.footer-logo {
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14.5px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.contact-item svg {
  color: var(--color-text-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-nav-col h4 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col li {
  margin-bottom: 12px;
}

.footer-nav-col a {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.footer-nav-col a:hover {
  color: var(--color-text-primary);
  padding-left: 2px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-whatsapp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
}
.footer-whatsapp-badge:hover {
  background-color: var(--color-text-primary);
  color: var(--color-white);
  border-color: var(--color-text-primary);
}

.footer-whatsapp-badge:hover .footer-badge-icon {
  filter: invert(1);
}

/* 14. Floating WhatsApp Widget (SuperErgo-style Pill) */
.whatsapp-floating-widget {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  opacity: 0;
  transform: translateY(40px);
  transform-origin: right center;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 300ms;
}

.whatsapp-floating-widget.show-widget {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.whatsapp-floating-widget.hide-widget {
  opacity: 0;
  transform: translateY(40px);
  visibility: hidden;
}

.whatsapp-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 6px;
  text-decoration: none;
  overflow: hidden;
  max-width: 60px; /* Collapsed: padding 6px + icon 48px + padding 6px = 60px */
  transform-origin: right center;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding-right 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              transform 0.35s ease;
  cursor: pointer;
}

.whatsapp-pill.message-visible {
  max-width: 320px; /* Expands to hold text */
  padding-right: 20px;
}

.whatsapp-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.whatsapp-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.whatsapp-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 0;
  min-width: 0; /* Flex shrink fix */
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-pill.message-visible .whatsapp-message {
  max-width: 240px;
  opacity: 1;
  margin-left: 12px;
}

.whatsapp-message strong {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.25;
}

.whatsapp-message small {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-top: 1px;
}

/* 15. Mobile & Tablet Responsiveness (Mobile-First Styles) */

/* Large Tablets & Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 20px;
  }
  
  .hero-container {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 44px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .drawer-products-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .why-us-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .why-us-header {
    max-width: 100%;
  }
  
  .bulk-card-container {
    grid-template-columns: 1fr;
  }
  
  .bulk-content, .bulk-form-wrapper {
    padding: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand-col {
    grid-column: span 2;
    max-width: 100%;
  }
}

/* Tablets & Mobile Navigation Trigger (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 16px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero-text-column {
    max-width: 100%;
    order: 2;
  }
  
  .hero-image-column {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    margin-bottom: 28px;
    font-size: 16px;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Mobile specific drawer layout overrides */
  .category-products-drawer {
    width: 100vw;
    max-width: none;
    border-radius: 0;
    margin-left: -16px;
    margin-right: -16px;
    box-sizing: border-box;
  }

  .drawer-container {
    width: 100%;
    max-width: none;
    padding: 0;
    box-sizing: border-box;
  }

  .drawer-inner {
    padding: 24px 0;
  }
  
  .drawer-header {
    margin-bottom: 20px;
    padding: 0 16px 12px 16px;
    border-bottom: 1px solid var(--color-border);
  }
  
  .drawer-title {
    font-size: 20px;
  }
  
  .drawer-close-btn {
    padding: 5px 12px;
    font-size: 12px;
  }
  
  .mobile-carousel {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
  }

  .mobile-carousel-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 0 calc((100vw - 270px) / 2) 12px;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-carousel-track::-webkit-scrollbar {
    display: none;
  }
  
  .mobile-carousel-track .product-card {
    flex: 0 0 270px;
    width: 270px;
    max-width: 270px;
    scroll-snap-align: center;
    box-sizing: border-box;
  }

  .mobile-carousel-dots {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    box-sizing: border-box;
  }

  .mobile-carousel-track .product-card .product-image-box {
    aspect-ratio: auto;
    height: 175px;
  }

  .mobile-carousel-track .product-card .product-details {
    padding: 16px;
  }

  .mobile-carousel-track .product-card .product-category {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .mobile-carousel-track .product-card .product-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .mobile-carousel-track .product-card .product-use-case {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .mobile-carousel-track .product-card .product-specs {
    gap: 6px;
    margin-bottom: 16px;
  }

  .mobile-carousel-track .product-card .product-specs span {
    font-size: 10px;
    padding: 3px 6px;
  }

  .mobile-carousel-track .product-card .product-specs span:nth-child(n+3) {
    display: none;
  }

  .mobile-carousel-track .product-card .enquiry-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  /* Mobile Menu logic */
  .mobile-nav-toggle {
    display: block;
    z-index: 1002;
  }
  
  .nav-menu {
    display: none; /* Completely hide when closed to prevent horizontal overflow */
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    max-width: 100vw;
    overflow-x: hidden;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    z-index: 1001;
  }
  
  .nav-menu.active {
    display: flex;
    animation: drawerSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  .nav-menu.closing {
    display: flex;
    animation: drawerSlideOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  
  @keyframes drawerSlideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
  
  @keyframes drawerSlideOut {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
  }
  
  .nav-link {
    font-size: 20px;
    font-weight: 600;
  }
  
  .btn-header-quote {
    display: none; /* Put CTA inside drawer or hide for clean header */
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .section-header.flex-header {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .bulk-content, .bulk-form-wrapper {
    padding: 30px 20px;
  }
  
  .bulk-content h2 {
    font-size: 28px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand-col {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .whatsapp-floating-widget {
    position: fixed;
    bottom: 20px;
    right: 16px;
    max-width: calc(100vw - 32px);
    transform: translateY(40px);
    transform-origin: right center;
  }

  .whatsapp-floating-widget.show-widget {
    transform: translateY(0);
  }

  .whatsapp-floating-widget.hide-widget {
    transform: translateY(40px);
  }
  
  .whatsapp-pill {
    max-width: 52px; /* Collapsed: padding 5px + icon 42px + padding 5px = 52px */
    padding: 5px;
    transform-origin: right center;
  }
  
  .whatsapp-pill.message-visible {
    max-width: calc(100vw - 32px);
    padding-right: 16px;
  }
  
  .whatsapp-icon-wrap {
    width: 42px;
    height: 42px;
  }
  
  .whatsapp-pill.message-visible .whatsapp-message {
    max-width: 180px;
    margin-left: 10px;
  }
  
  .whatsapp-message strong {
    font-size: 12px;
  }
  
  .whatsapp-message small {
    font-size: 10px;
  }
}

/* 16. Scroll Reveal Animations */
.scroll-reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-item.scroll-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Full Product Card Clickable link overlays */
.product-title-link {
  color: inherit;
  text-decoration: none;
}

.product-title-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.product-card {
  position: relative;
}

/* Ensure child interactive components sit above the link overlay card */
.enquiry-btn,
.product-card-link,
.btn {
  position: relative;
  z-index: 2;
}


