/* ============================================================
   DialerWala.com — Premium Design System
   Version: 1.0 | Author: DialerWala Dev Team
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Colors */
  --primary:        #1a56db;
  --primary-dark:   #0e3fa0;
  --primary-light:  #dbeafe;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;
  --success:        #10b981;
  --danger:         #ef4444;
  --warning:        #f59e0b;
  --info:           #3b82f6;

  /* Neutrals */
  --white:          #ffffff;
  --bg-light:       #f8fafc;
  --bg-section:     #f1f5f9;
  --border:         #e2e8f0;
  --border-light:   #f1f5f9;
  --text-dark:      #0f172a;
  --text-body:      #334155;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;

  /* Shadows */
  --shadow-xs:      0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:      0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl:      0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-blue:    0 8px 32px rgba(26,86,219,0.18);
  --shadow-card:    0 2px 20px rgba(15,23,42,0.08);

  /* Typography */
  --font-heading:   'Poppins', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-display:   'Manrope', sans-serif;

  /* Sizing */
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      14px;
  --radius-xl:      20px;
  --radius-pill:    50px;

  /* Transitions */
  --transition:     all 0.25s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);

  /* Layout */
  --header-height:  72px;
  --sidebar-width:  260px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

.display-font { font-family: var(--font-display); }
.text-primary-brand { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

/* Top Bar */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 8px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
}
.top-bar a { color: rgba(255,255,255,0.9); }
.top-bar a:hover { color: #fff; }
.top-bar .badge-offer {
  background: var(--accent);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%,100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* Logo */
.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem;
  box-shadow: var(--shadow-blue);
}
.logo-text { line-height: 1.1; }
.logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo-text .brand-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Nav */
.main-nav .nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}
.main-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  left: 14px; right: 14px;
}

/* Mega Menu */
.mega-menu-wrapper {
  position: static;
}
.mega-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: white;
  box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 28px;
  z-index: 1000;
  display: none;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity:0; transform: translateY(-8px); }
  to   { opacity:1; transform: translateY(0); }
}
.mega-menu-wrapper:hover .mega-menu { display: block; }
.mega-menu-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 500;
  transition: var(--transition);
}
.mega-menu-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateX(3px);
}
.mega-menu-link i { color: var(--primary); width: 16px; }

/* Brand chips in mega menu */
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  margin: 4px;
  cursor: pointer;
}
.brand-chip:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* Search Bar */
.header-search {
  position: relative;
}
.header-search input {
  width: 280px;
  padding: 10px 16px 10px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: var(--bg-light);
  transition: var(--transition);
}
.header-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
  width: 340px;
}
.header-search .search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Search Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  display: none;
  z-index: 999;
  max-height: 420px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-light); }
.search-result-img {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-section);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Header CTA Buttons */
.btn-header-quote {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.4);
  color: white;
}
.btn-header-call {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-header-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.4);
  color: white;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 30%, #fafbff 100%);
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 600px;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(26,86,219,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero Slider */
.hero-slider { height: 580px; }
.hero-slide {
  height: 580px;
  display: flex !important;
  align-items: center;
}
.hero-slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
.hero-content { flex: 1; max-width: 540px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,86,219,0.1);
  border: 1px solid rgba(26,86,219,0.2);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.hero-title .highlight {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Form */
.hero-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  width: 380px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.hero-form-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.hero-form-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  letter-spacing: 0.2px;
}
.btn-primary-brand {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white !important;
  border: none;
  padding: 12px 28px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(26,86,219,0.3);
}
.btn-primary-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,86,219,0.4);
  color: white !important;
}
.btn-outline-primary-brand {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 26px;
  font-size: 0.9rem;
}
.btn-outline-primary-brand:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white !important;
  border: none;
  padding: 12px 28px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white !important;
  border: none;
}
.btn-whatsapp:hover { filter: brightness(1.1); color: white !important; }
.btn-call {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white !important;
  border: none;
}
.btn-call:hover { filter: brightness(1.1); color: white !important; }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-lg { padding: 14px 36px; font-size: 1rem; }
.btn-xl { padding: 16px 44px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-pill { border-radius: var(--radius-pill) !important; }

/* Icon Buttons */
.btn-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-icon:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-control, .form-select {
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: var(--transition);
  background: var(--bg-light);
  color: var(--text-dark);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
  background: white;
  outline: none;
}
.form-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.form-control-sm { padding: 7px 12px; font-size: 0.82rem; }

/* Form floating labels */
.input-group-text {
  background: var(--bg-section);
  border-color: var(--border);
  color: var(--primary);
}

/* ============================================================
   SECTION LAYOUTS
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }
.section-gray { background: var(--bg-light); }
.section-blue { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: white; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}
.product-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge-featured {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.badge-new {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.badge-hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.product-card-actions {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-card-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-img-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  padding: 20px;
  overflow: hidden;
}
.product-img-wrap img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-slow);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}
.product-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.35;
  flex: 1;
}
.product-model {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.product-specs-mini {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.product-spec-pill {
  font-size: 0.72rem;
  background: var(--bg-section);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}
.product-price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-discount {
  background: rgba(16,185,129,0.1);
  color: var(--success);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
}
.product-card-footer {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.product-card-footer .btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   BRAND CARDS
   ============================================================ */
.brand-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}
.brand-card:hover::before { transform: scaleX(1); }
.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.brand-logo-wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  filter: grayscale(40%);
  transition: var(--transition);
}
.brand-card:hover .brand-logo-wrap { filter: grayscale(0); }
.brand-name-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.brand-product-count {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
}
.category-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.category-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary-light), rgba(26,86,219,0.05));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.category-card:hover .category-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}
.category-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.category-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #2563eb 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  display: block;
}
.stat-suffix {
  color: var(--accent);
  font-size: 2rem;
}
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  height: 60px;
  align-self: center;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.feature-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
  transform: translateY(-4px);
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--primary); }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: var(--success); }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: var(--accent); }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }
.feature-card:nth-child(5) .feature-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }
.feature-card:nth-child(6) .feature-icon { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #ea580c; }
.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
  height: 100%;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 10px; left: 20px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 24px;
}
.testimonial-stars { color: var(--accent); margin-bottom: 12px; font-size: 0.85rem; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}
.testimonial-company {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
  transform: translateY(-4px);
}
.blog-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--bg-section);
  position: relative;
}
.blog-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.blog-card:hover .blog-img-wrap img { transform: scale(1.06); }
.blog-category-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
}
.blog-body { padding: 20px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.blog-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.blog-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-read-more:hover { gap: 9px; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}
.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}
.float-btn .float-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.float-btn:hover .float-tooltip { opacity: 1; }
.float-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}
.float-call {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}
.float-quote {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  width: auto;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-heading);
  height: 46px;
  white-space: nowrap;
}
.float-back-top {
  background: var(--primary);
  color: white;
  width: 44px; height: 44px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.float-back-top.visible { opacity: 1; pointer-events: all; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(26,86,219,0.4);
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: var(--transition);
}
.footer-link:hover { color: var(--accent); transform: translateX(4px); }
.footer-link i { color: var(--primary); font-size: 0.7rem; }
.social-links { display: flex; gap: 10px; margin-top: 8px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--accent); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-section));
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  margin: 0;
  background: none;
  padding: 0;
}
.breadcrumb-item { font-size: 0.82rem; }
.breadcrumb-item a { color: var(--primary); font-weight: 500; }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-light); }

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-success { background: #d1fae5; color: #065f46; }
.tag-warning { background: #fef3c7; color: #92400e; }
.tag-danger  { background: #fee2e2; color: #991b1b; }
.tag-gray    { background: var(--bg-section); color: var(--text-muted); }

/* ============================================================
   UTILITIES & HELPERS
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 30px 0;
}
.rounded-card { border-radius: var(--radius-lg) !important; }
.bg-gradient-blue {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.card-hover-lift {
  transition: var(--transition);
}
.card-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   STICKY QUOTE BUTTON (RIGHT SIDE)
   ============================================================ */
.sticky-quote-btn {
  position: fixed;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 18px 10px;
  border-radius: 8px 0 0 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: -3px 0 15px rgba(26,86,219,0.3);
}
.sticky-quote-btn:hover {
  right: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  box-shadow: -4px 0 20px rgba(245,158,11,0.4);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.modal-header .btn-close { filter: invert(1); }
.modal-title { font-family: var(--font-heading); font-weight: 700; }
.modal-body { padding: 24px; }
.modal-footer { background: var(--bg-light); border-top: 1px solid var(--border); }
.modal-content { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }

/* ============================================================
   SPEC TABLE
   ============================================================ */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td {
  padding: 10px 14px;
  font-size: 0.875rem;
}
.spec-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-light);
  width: 38%;
  font-family: var(--font-heading);
}
.spec-table td:last-child { color: var(--text-body); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-gallery-main {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.product-gallery-main img {
  max-height: 360px;
  max-width: 100%;
  object-fit: contain;
}
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.product-gallery-thumb {
  width: 70px; height: 70px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26,86,219,0.2);
}
.product-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Price Box */
.price-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.price-box .price-label { font-size: 0.8rem; opacity: 0.8; }
.price-box .price-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
}
.price-box .price-gst { font-size: 0.75rem; opacity: 0.7; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination .page-link {
  border-radius: var(--radius-sm) !important;
  border-color: var(--border);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 2px;
  padding: 8px 14px;
  transition: var(--transition);
}
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .header-search input { width: 220px; }
  .header-search input:focus { width: 260px; }
  .hero-form-card { width: 340px; }
}
@media (max-width: 991px) {
  .hero-section { padding: 40px 0; min-height: auto; }
  .hero-slider { height: auto; }
  .hero-slide { height: auto; padding: 40px 0; }
  .hero-slide-inner { flex-direction: column; }
  .hero-form-card { width: 100%; max-width: 480px; }
  .mega-menu { padding: 16px; }
  .header-search { display: none; }
  .sticky-quote-btn { display: none; }
}
@media (max-width: 767px) {
  .section { padding: 50px 0; }
  .section-header { margin-bottom: 32px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero-stats { gap: 16px; }
  .stat-number { font-size: 2rem; }
  .float-quote { display: none; }
  .footer-heading { margin-top: 24px; }
}
@media (max-width: 575px) {
  .hero-form-card { padding: 20px; }
  .product-card-footer { flex-direction: column; }
  .floating-buttons { right: 14px; bottom: 70px; }
  .float-btn { width: 48px; height: 48px; font-size: 1.2rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float-animation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.animate-float { animation: float-animation 3s ease-in-out infinite; }

/* Preloader */
.preloader {
  position: fixed; inset: 0;
  background: white;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.4s ease;
}
.preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}
.preloader-bar {
  width: 200px; height: 3px;
  background: var(--bg-section);
  border-radius: 3px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  animation: preloader-fill 1.5s ease forwards;
}
@keyframes preloader-fill {
  from { width: 0; }
  to { width: 100%; }
}

/* ============================================================
   QUICK VIEW MODAL / COMPARE STRIP
   ============================================================ */
.compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 2px solid var(--primary);
  padding: 14px 0;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: none;
}
.compare-bar.visible { display: block; }
.compare-product-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  min-width: 180px;
  background: var(--bg-light);
}
.compare-product-slot.filled { border-style: solid; border-color: var(--primary); }

/* ============================================================
   NOTIFICATION / TOAST
   ============================================================ */
.toast-notification {
  position: fixed;
  top: 90px; right: 20px;
  z-index: 9998;
  background: white;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  max-width: 340px;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.toast-notification.show { transform: translateX(0); }
.toast-notification.success { border-color: var(--success); }
.toast-notification.error { border-color: var(--danger); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-notification.success .toast-icon { color: var(--success); }
.toast-notification.error .toast-icon { color: var(--danger); }
