/* ============================================================
   EZYTEK CLEAN — PREMIUM HOMEPAGE STYLES
   Version: 3.0 | Industrial E-Commerce Design
   Sections:
     00. Custom Properties & Reset
     01. Utility
     02. Buttons
     03. Header / Navigation
     04. Hero Slider
     05. Company Highlights
     06. Stats Counter
     07. Product Categories
     08. Featured Products
     09. Industrial Solutions
     10. Why Choose Ezytek
     11. Projects / Installations
     12. OEM Partners Marquee
     13. Government Supply Marquee
     14. Dealer Network
     15. Testimonials
     16. Final CTA
     17. Footer
     18. Floating UI (Back-to-Top, WhatsApp, Scroll Bar)
     19. Scroll Animations
     20. Responsive
   ============================================================ */

/* ---- 00. CUSTOM PROPERTIES ---- */
:root {
  --navy:        #102A43;
  --blue:        #1565C0;
  --accent:      #2196F3;
  --light-blue:  #EAF4FF;
  --white:       #FFFFFF;
  --bg:          #F7F9FC;
  --text:        #172B3A;
  --text-sec:    #64748B;
  --border:      #E2EAF4;
  --shadow-sm:   0 2px 8px rgba(16,42,67,.08);
  --shadow-md:   0 8px 32px rgba(16,42,67,.13);
  --shadow-lg:   0 20px 60px rgba(16,42,67,.18);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --font:        'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  /* Government accent */
  --saffron:     #FF6B00;
  --india-green: #138808;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---- 01. UTILITY ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-sec);
  max-width: 620px;
  margin: 0 auto;
}

/* ---- 02. BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(21,101,192,.35);
}
.btn-primary:hover {
  background: #0d4fa0;
  box-shadow: 0 8px 28px rgba(21,101,192,.45);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.75);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--light-blue);
  color: var(--blue);
}
.btn-ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
}
.btn-white:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
}
.btn-xs {
  padding: 8px 16px;
  font-size: .8rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-xs-primary { background: var(--blue); color: var(--white); }
.btn-xs-primary:hover { background: #0d4fa0; transform: translateY(-1px); }
.btn-xs-outline { border: 1.5px solid var(--border); color: var(--text-sec); background: var(--white); }
.btn-xs-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* ============================================================
   03. HEADER / NAVIGATION
   ============================================================ */

/* ============================================================
   04. HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  margin-top: 72px;
  height: 92vh;
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
  background: var(--navy);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform .9s cubic-bezier(.77,0,.18,1);
}
.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 9s ease;
}
.slide.active .slide-img { transform: scale(1.07); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(16,42,67,.88) 0%,
    rgba(16,42,67,.60) 50%,
    rgba(16,42,67,.28) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  max-width: 800px;
}
.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .2s ease, transform .6s .2s ease;
}
.slide-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--accent);
}
.slide-title {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s .35s ease, transform .65s .35s ease;
}
.slide-desc {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.85);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s .5s ease, transform .6s .5s ease;
}
.slide-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .65s ease, transform .6s .65s ease;
}
.slide.active .slide-eyebrow,
.slide.active .slide-title,
.slide.active .slide-desc,
.slide.active .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Counter */
.slide-counter {
  position: absolute;
  bottom: 40px;
  right: 80px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  letter-spacing: .05em;
}
.slide-counter .current-slide {
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}
.slide-counter .slide-sep {
  font-size: 1.2rem;
  color: rgba(255,255,255,.4);
  font-weight: 300;
}
.slide-counter .total-slides {
  color: rgba(255,255,255,.5);
}

/* Slide progress line */
.slide-progress-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(255,255,255,.12);
  z-index: 10;
}
.slide-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #64B5F6);
  transition: width .3s linear;
  border-radius: 0 2px 2px 0;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.slider-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.1);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.slider-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 4px;
}
.slider-dot:hover { background: rgba(255,255,255,.7); }

/* ============================================================
   05. COMPANY HIGHLIGHTS
   ============================================================ */
.highlights {
  background: var(--white);
  padding: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.highlight-item:last-child { border-right: none; }
.highlight-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.highlight-item:hover::before { transform: scaleX(1); }
.highlight-item:hover { background: var(--light-blue); }
.highlight-icon {
  width: 56px; height: 56px;
  background: var(--light-blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: var(--transition);
}
.highlight-item:hover .highlight-icon {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.1) rotate(-3deg);
}
.highlight-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.highlight-desc { font-size: .82rem; color: var(--text-sec); line-height: 1.5; }

/* ============================================================
   06. STATS COUNTER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 50%, #1565C0 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(33,150,243,.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(33,150,243,.12) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #64B5F6);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.stat-item:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); }
.stat-item:hover::before { transform: scaleX(1); }
.stat-icon {
  width: 52px; height: 52px;
  background: rgba(33,150,243,.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin: 0 auto 16px;
  transition: var(--transition);
}
.stat-item:hover .stat-icon { background: var(--blue); color: var(--white); transform: scale(1.1); }
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-number .stat-suffix {
  font-size: 60%;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .03em;
}

/* ============================================================
   06b. LIVE PRODUCTS (HORIZONTAL SCROLL CATALOGUE)
   ============================================================ */
.live-products {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.live-category-group {
  margin-bottom: 40px;
  position: relative;
}
.live-category-group:last-child {
  margin-bottom: 0;
}

.live-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
}

.live-cat-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  position: relative;
}
.live-cat-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
  position: relative;
}
.live-cat-title::after {
  content: '';
  position: absolute;
  bottom: -11.5px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--blue);
}
.live-cat-count {
  font-size: .74rem;
  font-weight: 600;
  color: var(--text-sec);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.live-cat-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.live-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  transition: var(--transition);
}
.live-cat-link:hover {
  color: #0d4fa0;
  transform: translateX(3px);
}

.live-scroll-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-scroll-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.live-scroll-btn:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: scale(1.06);
}

/* Horizontal Track */
.live-products-track-wrap {
  position: relative;
}
.live-products-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px 2px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.live-products-track::-webkit-scrollbar {
  height: 6px;
}
.live-products-track::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.live-products-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.live-products-track::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

/* Compact Card */
.live-product-card {
  flex: 0 0 205px;
  width: 205px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  scroll-snap-align: start;
}
.live-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(16,42,67,.09);
  border-color: rgba(21,101,192,.35);
}

.live-product-img {
  height: 130px;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}
.live-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .4s ease;
}
.live-product-card:hover .live-product-img img {
  transform: scale(1.08);
}

.live-product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #16a34a;
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(22,163,74,.25);
}

.live-product-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.live-product-name {
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.65em;
}

.live-product-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  margin-top: auto;
}

.live-product-price {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.live-product-mrp {
  font-size: .74rem;
  color: var(--text-sec);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.live-product-btn {
  width: 100%;
  padding: 6px 12px;
  font-size: .76rem;
  font-weight: 600;
  border-radius: 6px;
  justify-content: center;
  text-align: center;
}

/* ============================================================
   07. PRODUCT CATEGORIES
   ============================================================ */
.categories { background: var(--bg); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.category-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--light-blue);
}
.category-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.category-card:hover .category-img { transform: scale(1.1); }
.category-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* Quick-view overlay */
.category-quick-view {
  position: absolute;
  inset: 0;
  background: rgba(16,42,67,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
  backdrop-filter: blur(2px);
}
.category-card:hover .category-quick-view { opacity: 1; }
.quick-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--white);
  color: var(--blue);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform .35s ease, background .3s, color .3s;
}
.category-card:hover .quick-view-btn { transform: translateY(0); }
.quick-view-btn:hover { background: var(--blue); color: var(--white); }

.category-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.category-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.category-desc {
  font-size: .88rem;
  color: var(--text-sec);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}
.category-link:hover { gap: 10px; color: #0d4fa0; }
.category-link svg { transition: transform var(--transition); }
.category-link:hover svg { transform: translateX(4px); }

.categories-cta { text-align: center; }
.categories-cta-btn {
  font-size: 1rem;
  padding: 14px 36px;
}

/* ============================================================
   08. FEATURED PRODUCTS
   ============================================================ */
.featured-products { background: var(--white); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.product-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .4s ease, box-shadow .4s ease, background .3s;
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  background: var(--white);
}
.product-img-wrap {
  height: 155px;
  background: var(--light-blue);
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

/* Product quick-view overlay */
.product-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16,42,67,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: blur(3px);
}
.product-card:hover .product-hover-overlay { opacity: 1; }
.product-hover-btn {
  padding: 7px 16px;
  background: var(--white);
  color: var(--blue);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  transform: translateY(8px);
  transition: transform .3s ease, background .3s, color .3s;
  border: 2px solid transparent;
}
.product-card:hover .product-hover-btn { transform: translateY(0); }
.product-hover-btn:hover { background: var(--blue); color: var(--white); }

.product-label {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 1;
}
.product-label.label-new { background: #22c55e; }
.product-label.label-featured { background: var(--accent); }
.product-label.label-industrial { background: var(--navy); }

/* Star rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.stars {
  display: flex;
  gap: 2px;
}
.stars svg { color: #f59e0b; fill: #f59e0b; }
.rating-text {
  font-size: .72rem;
  color: var(--text-sec);
  font-weight: 500;
}

.product-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: .70rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.product-name { font-size: .90rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.product-desc {
  font-size: .78rem;
  color: var(--text-sec);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.products-cta { text-align: center; }

/* ============================================================
   09. INDUSTRIAL SOLUTIONS
   ============================================================ */
.solutions { background: var(--navy); position: relative; overflow: hidden; }
.solutions::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(33,150,243,.12) 0%, transparent 65%);
  pointer-events: none;
}
.solutions .section-title { color: var(--white); }
.solutions .section-subtitle { color: rgba(255,255,255,.65); }
.solutions .section-eyebrow { color: var(--accent); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.solution-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.solution-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-4px);
}
.solution-card:hover::before { transform: scaleX(1); }
.solution-icon {
  width: 56px; height: 56px;
  background: rgba(33,150,243,.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  transition: var(--transition);
}
.solution-card:hover .solution-icon { background: var(--blue); color: var(--white); }
.solution-title { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.solution-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.solution-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: rgba(255,255,255,.75);
}
.solution-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.solution-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 700; color: var(--accent);
  transition: gap var(--transition);
}
.solution-link:hover { gap: 10px; }

/* ============================================================
   10. WHY CHOOSE EZYTEK
   ============================================================ */
.why-ezytek { background: var(--bg); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 68px; height: 68px;
  background: var(--light-blue);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin: 0 auto 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--blue); color: var(--white); transform: scale(1.1) rotate(-3deg); }
.why-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-desc { font-size: .86rem; color: var(--text-sec); line-height: 1.6; }

/* ============================================================
   11. PROJECTS / INSTALLATIONS
   ============================================================ */
.projects { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 300px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.project-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .project-img { transform: scale(1.06); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,42,67,.88) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-cat {
  font-size: .72rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px;
}
.project-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.project-desc { font-size: .82rem; color: rgba(255,255,255,.8); line-height: 1.5; }
.projects-placeholder {
  background: var(--light-blue);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-sec);
  border: 2px dashed var(--border);
  transition: var(--transition);
}
.projects-placeholder:hover {
  border-color: var(--blue);
  background: rgba(33,150,243,.05);
}
.projects-placeholder svg { color: var(--accent); opacity: .5; }
.projects-placeholder p { font-size: .88rem; }
.projects-cta { text-align: center; }

/* ============================================================
   12. OEM PARTNERS — INFINITE MARQUEE (Right to Left)
   ============================================================ */
.partners {
  background: var(--bg);
  padding: 80px 0;
  overflow: hidden;
}
.partners .section-header { margin-bottom: 48px; }

/* Marquee container */
.marquee-outer {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
/* Fade-edge masks */
.marquee-outer::before,
.marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* The scrolling track — continuous loop right-to-left */
.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  -webkit-animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
.marquee-track:hover {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@-webkit-keyframes marqueeScroll {
  0%   { -webkit-transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); }
}

/* Each logo card */
.marquee-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  width: 190px;
  height: 116px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 20px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16,42,67,.04);
}
.marquee-logo-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.marquee-logo-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.marquee-logo-card:hover::before { transform: scaleX(1); }

.marquee-logo-card img {
  max-height: 54px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(.3) opacity(.85);
  transition: filter var(--transition), transform var(--transition);
}
.marquee-logo-card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}
.marquee-logo-name {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  transition: color var(--transition);
  white-space: nowrap;
}
.marquee-logo-card:hover .marquee-logo-name { color: var(--blue); }

/* Fallback emblem (rendered when image is loading/fallback) */
.logo-emblem-fallback {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-blue);
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .02em;
}

/* ============================================================
   13. GOVERNMENT SUPPLY — INFINITE MARQUEE (Right to Left)
   ============================================================ */
.govt-section {
  background: var(--white);
  padding: 85px 0;
  overflow: hidden;
  position: relative;
}
/* Subtle tricolor top border */
.govt-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    #FF6B00 0%,
    #FF6B00 33.3%,
    #FFFFFF 33.3%,
    #FFFFFF 66.6%,
    #138808 66.6%,
    #138808 100%
  );
}

.govt-section .marquee-outer::before {
  background: linear-gradient(to right, var(--white), transparent);
}
.govt-section .marquee-outer::after {
  background: linear-gradient(to left, var(--white), transparent);
}

.govt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--saffron);
  background: rgba(255,107,0,.08);
  border: 1px solid rgba(255,107,0,.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.govt-badge svg {
  color: var(--saffron);
}

.govt-section .section-eyebrow {
  color: var(--saffron);
}

.govt-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
  -webkit-animation: marqueeScroll 45s linear infinite;
  will-change: transform;
}
.govt-marquee-track:hover {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}

.govt-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  width: 190px;
  height: 116px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 20px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16,42,67,.04);
}
.govt-logo-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--india-green));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.govt-logo-card:hover {
  border-color: var(--saffron);
  box-shadow: 0 8px 28px rgba(255,107,0,.15);
  transform: translateY(-4px);
  background: var(--white);
}
.govt-logo-card:hover::before { transform: scaleX(1); }

.govt-logo-card img {
  max-height: 54px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(.3) opacity(.85);
  transition: filter var(--transition), transform var(--transition);
}
.govt-logo-card:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

.govt-logo-name {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
  transition: color var(--transition);
  white-space: nowrap;
}
.govt-logo-card:hover .govt-logo-name { color: var(--navy); }

.govt-emblem-fallback {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF5EB;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 800;
  color: #C05621;
  letter-spacing: .02em;
  border: 1px dashed rgba(255,107,0,.3);
}

/* ============================================================
   14. DEALER NETWORK
   ============================================================ */
.dealers { background: var(--bg); }

.dealers-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.dealer-tab {
  padding: 12px 24px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-sec);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.dealer-tab:hover { color: var(--blue); background: var(--light-blue); }
.dealer-tab.active {
  color: var(--blue);
  background: var(--white);
  border-color: var(--border);
  border-bottom-color: var(--white);
  box-shadow: 0 -2px 0 var(--blue) inset;
}
.dealer-panel { display: none; }
.dealer-panel.active {
  display: block;
  animation: fadeInUp .35s ease;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dealer-region-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.dealer-region-icon {
  width: 44px; height: 44px;
  background: var(--light-blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.dealer-region-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.dealer-region-count { font-size: .82rem; color: var(--text-sec); }

.dealer-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.dealer-location {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.dealer-location:hover {
  border-color: var(--blue);
  background: var(--light-blue);
  transform: translateX(5px);
}
.dealer-pin {
  width: 32px; height: 32px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: var(--transition);
}
.dealer-location:hover .dealer-pin { background: var(--blue); color: var(--white); }
.dealer-state { font-size: .9rem; font-weight: 700; color: var(--navy); }
.dealer-city { font-size: .8rem; color: var(--text-sec); }

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--light-blue); }

.testimonials-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-sec);
}
.testimonials-placeholder .placeholder-icon {
  width: 72px; height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
}
.testimonials-placeholder h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.testimonials-placeholder p { font-size: .9rem; }

/* ============================================================
   16. FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1565C0 50%, #0d47a1 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 100px 0;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(33,150,243,.25) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.final-cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── Contact Section Enhancements ── */
.contact-header-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.contact-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(186, 230, 253, 0.4);
  color: #BAE6FD;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-primary-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #16A34A;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
  transition: all 0.2s ease;
}
.btn-cta-whatsapp:hover {
  background: #15803D;
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.btn-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.btn-cta-call:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-cta-setup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(186, 230, 253, 0.4);
  color: #BAE6FD !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.btn-cta-setup:hover {
  background: rgba(2, 132, 199, 0.4);
  border-color: #BAE6FD;
  color: #FFFFFF !important;
  transform: translateY(-2px);
}
.badge-soon {
  background: #E0F2FE;
  color: #0284C7;
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 0.7rem;
  margin-left: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

/* 3-Column Contact Cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
  text-align: left;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 30px 26px;
  color: #0F172A;
  box-shadow: 0 12px 32px rgba(15, 32, 56, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 32, 56, 0.24);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.contact-card-icon.icon-wa {
  background: #DCFCE7;
  color: #16A34A;
}
.contact-card-icon.icon-chat {
  background: #E0F2FE;
  color: #0284C7;
}
.contact-card-icon.icon-mail {
  background: #F1F5F9;
  color: #0F2038;
}

.contact-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F2038;
  margin-bottom: 8px;
}

.contact-card-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 18px;
}

.contact-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 8px;
}
.contact-card-meta .meta-label {
  font-weight: 600;
  color: #334155;
}
.contact-link-highlight {
  font-weight: 700;
  color: #0284C7;
  text-decoration: none;
}
.contact-link-highlight:hover {
  text-decoration: underline;
}

.contact-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-wa-card {
  background: #16A34A;
  color: #FFFFFF !important;
}
.btn-wa-card:hover {
  background: #15803D;
}
.btn-mail-card {
  background: #0F2038;
  color: #FFFFFF !important;
}
.btn-mail-card:hover {
  background: #1E293B;
}
.btn-send-wa {
  background: #0284C7;
  color: #FFFFFF !important;
}
.btn-send-wa:hover {
  background: #0369A1;
}

.home-quick-contact-form {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row-compact {
  width: 100%;
}
.input-compact, .select-compact {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.84rem;
  font-family: inherit;
  color: #0F172A;
  outline: none;
  box-sizing: border-box;
}
.input-compact:focus, .select-compact:focus {
  border-color: #0284C7;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px #E0F2FE;
}

@media (max-width: 980px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   17. FOOTER
   ============================================================ */


/* ============================================================
   18. FLOATING UI ELEMENTS
   ============================================================ */

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  z-index: 2000;
  width: 0%;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(33,150,243,.5);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 88px; right: 24px;
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); transform: translateY(-3px); }

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 998;
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.3); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,.4), 0 0 0 12px rgba(37,211,102,0); }
}

/* ============================================================
   19. SCROLL ANIMATIONS
   ============================================================ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.anim-fade-up.in-view { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }
.anim-delay-5 { transition-delay: .5s; }
.anim-delay-6 { transition-delay: .6s; }

/* Stat items — special scale animation */
.stat-item.anim-fade-up {
  transform: translateY(32px) scale(.95);
  transition: opacity .65s ease, transform .65s cubic-bezier(.34,1.56,.64,1);
}
.stat-item.anim-fade-up.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-links { gap: 2px; }
  .nav-link { padding: 8px 10px; font-size: .85rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-item:nth-child(2) { border-right: none; }
  .highlight-item:nth-child(3) { border-right: 1px solid var(--border); }
  .highlight-item { border-bottom: 1px solid var(--border); }
  .highlight-item:nth-child(3), .highlight-item:nth-child(4) { border-bottom: none; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .dealer-locations { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .slide-content { padding: 0 48px; }
  .hero { height: 80vh; }
  .slide-counter { right: 48px; bottom: 56px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 44px 0; }

  .hero { height: 70vh; min-height: 480px; }
  .slide-content { padding: 0 24px; max-width: 100%; }
  .slide-title { font-size: 1.6rem; }
  .slider-arrow { width: 40px; height: 40px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slide-counter { display: none; }

  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-item { border-right: none; border-bottom: 1px solid var(--border); }
  .highlight-item:last-child { border-bottom: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .dealer-locations { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mega-menu { width: 100%; }
  .final-cta-actions { flex-direction: column; align-items: center; }

  .marquee-logo-card, .govt-logo-card { width: 150px; height: 100px; }
  .marquee-outer::before, .marquee-outer::after { width: 60px; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
