/* ============================================================
   Excell Service and Sales — Modern Stylesheet
   Replaces all legacy grid/theme CSS files
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:    #1a6fc4;
  --primary-dk: #0f4f8c;
  --accent:     #f5a623;
  --text:       #1e2a3a;
  --text-light: #5a6678;
  --bg:         #f7f9fc;
  --white:      #ffffff;
  --border:     #dde3ec;
  --radius:     8px;
  --shadow:     0 2px 16px rgba(26,111,196,0.10);
  --shadow-lg:  0 8px 40px rgba(26,111,196,0.15);
  --transition: all 0.25s ease;
  --max-width:  1200px;
  --font-sans:  'Inter', 'Segoe UI', Arial, sans-serif;
  --font-head:  'Poppins', 'Inter', Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -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-dk); }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.badge {
  display: inline-block;
  background: rgba(26,111,196,0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dk);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,111,196,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary-dk);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--white); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
#site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

/* Main Nav */
#main-nav { display: flex; align-items: center; gap: 4px; }
#main-nav > li { position: relative; }
#main-nav > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
#main-nav > li > a:hover,
#main-nav > li.active > a {
  background: rgba(26,111,196,0.08);
  color: var(--primary);
}
/* Dropdown */
#main-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  border: 1px solid var(--border);
  z-index: 200;
}
#main-nav li:hover .dropdown { display: block; }
#main-nav .dropdown li a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 0.88rem;
  transition: var(--transition);
}
#main-nav .dropdown li a:hover {
  background: var(--bg);
  color: var(--primary);
  padding-left: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
#mobile-nav-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
}
#mobile-nav-menu.open { display: flex; }
#mobile-nav-menu a {
  display: block;
  padding: 10px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
#mobile-nav-menu a:last-child { border-bottom: none; }

/* ---------- Hero / Slider ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 60%, #2a8ee8 100%);
  padding: 80px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('content-images/slider/slide1.jpg') center/cover no-repeat;
  opacity: 0.18;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.35);
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn-white {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}
.hero-ctas .btn-white:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.hero-ctas .btn-ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.hero-ctas .btn-ghost:hover {
  background: rgba(255,255,255,0.25);
}

/* Trust badges below hero */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar .container {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}
.trust-item svg { color: var(--primary); width: 22px; height: 22px; }
.trust-item strong { color: var(--text); }

/* ---------- Page Heading (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  padding: 48px 0 40px;
  color: var(--white);
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.5; }

/* ---------- Products Grid ---------- */
.products-section {
  padding: 64px 0;
}
.products-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
/* ---- Product card image — simple fixed-height approach ---- */
.product-card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #eef2f7;
  line-height: 0;       /* kill inline-block gap under img */
  flex-shrink: 0;
}
.product-card-img {
  display: block;
  width: 100%;
  height: 220px;        /* match wrapper — no position:absolute needed */
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img { transform: scale(1.07); }
.product-card-img-wrap .product-overlay {
  display: none;        /* removed — was unused */
}
.product-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.product-card-body .btn { margin-top: auto; width: 100%; justify-content: center; padding: 10px; font-size: 0.88rem; }

/* ---------- About Section (homepage) ---------- */
.about-section {
  padding: 64px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 340px; object-fit: cover; }
.about-features { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(26,111,196,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.about-feature-icon svg { width: 20px; height: 20px; }
.about-feature-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 3px; }
.about-feature-text p { font-size: 0.85rem; color: var(--text-light); }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.stat-item span { font-size: 0.9rem; opacity: 0.85; }

/* ---------- Product Detail Page ---------- */
.product-detail-section { padding: 56px 0; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.product-main-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f0f4fa;
  box-shadow: var(--shadow);
  line-height: 0;
}
.product-main-img img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: contain;      /* contain = no crop, shows full product image */
  object-position: center center;
  padding: 16px;
  background: #f0f4fa;
}
.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.product-thumb:hover, .product-thumb.active {
  border-color: var(--primary);
}
.product-info h1 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}
.product-desc { color: var(--text-light); line-height: 1.75; margin-bottom: 28px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.product-contact-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}
.product-contact-box h4 { font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}
.contact-row svg { color: var(--primary); width: 18px; flex-shrink: 0; }
.contact-row a { color: var(--text); font-weight: 500; }
.contact-row a:hover { color: var(--primary); }

/* ---------- About Page ---------- */
.about-page-section { padding: 56px 0; }
.about-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 56px;
}
.about-page-img img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); }
.about-profile {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-profile h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.about-profile p { color: var(--text-light); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  background: rgba(26,111,196,0.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}
.payment-methods { margin-top: 24px; }
.payment-methods h4 { font-size: 0.88rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }

/* ---------- Contact Page ---------- */
.contact-section { padding: 56px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-card h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.contact-form-card p { color: var(--text-light); margin-bottom: 28px; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,111,196,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group .error-msg { font-size: 0.78rem; color: #e53e3e; margin-top: 4px; display: none; }
.form-group.error input,
.form-group.error textarea { border-color: #e53e3e; }
.form-group.error .error-msg { display: block; }
.form-success {
  display: none;
  background: #ebfbee;
  border: 1px solid #38a169;
  color: #276749;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}
.contact-info-card {
  background: var(--primary);
  border-radius: 14px;
  padding: 36px;
  color: var(--white);
}
.contact-info-card h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { font-size: 0.88rem; font-weight: 600; opacity: 0.8; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-info-item p, .contact-info-item a { color: var(--white); font-size: 0.95rem; line-height: 1.55; }
.contact-info-item a:hover { opacity: 0.85; }
.contact-hours { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.2); }
.contact-hours h4 { font-size: 0.88rem; font-weight: 600; opacity: 0.8; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* ---------- FAQ Page ---------- */
.faq-section { padding: 56px 0; }
.faq-grid { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { box-shadow: var(--shadow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  gap: 16px;
  user-select: none;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ---------- Footer ---------- */
#site-footer {
  background: #0f1b2d;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; display: block; font-size: 1.4rem; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: var(--white); }
.social-btn svg { width: 18px; height: 18px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.87rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Policy & Terms Pages ---------- */
.policy-section { padding: 56px 0; }
.policy-card {
  background: var(--white);
  border-radius: 14px;
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 820px;
  margin: 0 auto;
}
.policy-card h2 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 16px; margin-top: 32px; }
.policy-card h2:first-child { margin-top: 0; }
.policy-card p { color: var(--text-light); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.policy-card ul { margin: 12px 0 14px 20px; }
.policy-card ul li { color: var(--text-light); font-size: 0.95rem; margin-bottom: 8px; line-height: 1.65; list-style: disc; }

/* ---------- Scroll to top ---------- */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,111,196,0.35);
  cursor: pointer;
  z-index: 900;
  border: none;
  transition: var(--transition);
}
#scroll-top:hover { background: var(--primary-dk); transform: translateY(-3px); }
#scroll-top.visible { display: flex; }
#scroll-top svg { width: 20px; height: 20px; }

/* ---------- WhatsApp Float ---------- */
#wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
}
/* Pulse ring sits behind the button, separate from <a> */
#wa-float::before {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  top: 0; left: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}
#wa-float a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 10px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: box-shadow 0.25s, transform 0.25s, padding 0.3s;
}
#wa-float a:hover {
  box-shadow: 0 6px 22px rgba(37,211,102,0.6);
  transform: translateY(-2px);
  padding: 10px 16px 10px 10px;
}
#wa-float a svg { flex-shrink: 0; width: 26px; height: 26px; }
#wa-float .wa-label {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.25s ease;
}
#wa-float a:hover .wa-label {
  max-width: 140px;
  opacity: 1;
}
@media (max-width: 480px) {
  #wa-float a { padding: 10px; border-radius: 50%; }
  #wa-float a:hover { padding: 10px; }
  #wa-float .wa-label { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #main-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-form-card { padding: 28px 20px; }
  .policy-card { padding: 28px 20px; }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar .container { flex-direction: column; gap: 6px; text-align: center; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar .container { gap: 16px; justify-content: flex-start; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS & HERO SLIDER — Added Pass 2
   ============================================================ */

/* ---------- Keyframe Definitions ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-14px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8);  opacity: 1; }
  100% { transform: scale(2.2);  opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}
@keyframes wave {
  0%,100% { d: path("M0,60 C200,120 400,0 600,60 C800,120 1000,0 1200,60 L1200,120 L0,120 Z"); }
  50%      { d: path("M0,80 C200,20 400,100 600,40 C800,0 1000,80 1200,40 L1200,120 L0,120 Z"); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInBadge {
  from { opacity: 0; transform: translateY(-12px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@keyframes progressFill {
  from { width: 0%; }
  to   { width: var(--fill); }
}

/* ---------- Scroll-reveal base ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px);  }
.reveal.reveal-scale { transform: scale(0.9);        }
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- Hero Slider ---------- */
.hero-slider-wrap {
  position: relative;
  overflow: hidden;
  background: #0a1628;
  /* vh-based so it always feels full on screen */
  height: clamp(460px, 72vh, 640px);
}
@media (max-width: 768px) { .hero-slider-wrap { height: clamp(380px, 60vh, 520px); } }
@media (max-width: 480px) { .hero-slider-wrap { height: clamp(340px, 55vh, 440px); } }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; z-index: 1; }

/* ---- Hero background — simple fill, Ken Burns zoom ---- */
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform-origin: center center;
  /* start slightly zoomed-in; active state zooms OUT for Ken Burns */
  transform: scale(1.08);
  transition: transform 7000ms linear;
}
.hero-slide.active .hero-slide-bg {
  transform: scale(1.0);
}
/* Per-slide focal points */
.hero-slide[data-index="0"] .hero-slide-bg { background-position: center 50%; }
.hero-slide[data-index="1"] .hero-slide-bg { background-position: center 40%; }
.hero-slide[data-index="2"] .hero-slide-bg { background-position: center 35%; }
.hero-slide[data-index="3"] .hero-slide-bg { background-position: center 30%; }
.hero-slide[data-index="4"] .hero-slide-bg { background-position: center 45%; }

/* Gradient overlay */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,0.82) 0%,
    rgba(10,22,40,0.55) 55%,
    rgba(10,22,40,0.25) 100%
  );
  z-index: 2;
}

/* Slide content */
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 60px;
}
@media (max-width: 640px) { .hero-slide-content { padding: 0 24px; } }

.hero-slide-inner { max-width: 640px; }

.hero-slide-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.hero-slide.active .hero-slide-tag { opacity: 1; transform: translateY(0); }

.hero-slide-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.hero-slide.active .hero-slide-title { opacity: 1; transform: translateY(0); }

.hero-slide-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
}
.hero-slide.active .hero-slide-sub { opacity: 1; transform: translateY(0); }

.hero-slide-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}
.hero-slide.active .hero-slide-ctas { opacity: 1; transform: translateY(0); }
.hero-slide-ctas .btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}
.hero-slide-ctas .btn-white:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,166,35,0.35);
}
.hero-slide-ctas .btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.hero-slide-ctas .btn-ghost:hover {
  background: rgba(255,255,255,0.22);
}

/* Slider navigation arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.slider-arrow svg { width: 22px; height: 22px; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
@media (max-width: 480px) {
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-arrow { width: 38px; height: 38px; }
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 10;
  width: 0%;
  transition: width linear;
}

/* ---------- Animated Counter ---------- */
.counter-val {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  line-height: inherit;
  vertical-align: baseline;
  transition: opacity 0.3s;
}

/* ---------- Floating badge / decorative elements ---------- */
.hero-badge-float {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
}
@media (max-width: 900px) { .hero-badge-float { display: none; } }

.hbf-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
  min-width: 190px;
}
.hbf-card:nth-child(2) { animation-delay: -2s; }
.hbf-card:nth-child(3) { animation-delay: -1s; }
.hbf-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hbf-icon svg { width: 20px; height: 20px; color: #fff; }
.hbf-text strong { display: block; font-size: 1.1rem; font-weight: 700; }
.hbf-text span   { font-size: 0.75rem; opacity: 0.8; }

/* ---------- Trust bar icons pulse ---------- */
.trust-item svg { animation: none; transition: var(--transition); }
.trust-item:hover svg { color: var(--accent); transform: scale(1.15); }

/* ---------- Products section animations ---------- */
.product-card {
  animation: none; /* controlled via JS reveal */
}

/* ---------- Features / Why Us section ---------- */
.why-section {
  padding: 72px 0;
  background: linear-gradient(180deg, #f0f5ff 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(26,111,196,0.04);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,111,196,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #2a8ee8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
  position: relative;
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(-4deg); }
.why-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 2px solid rgba(26,111,196,0.2);
  animation: pulse-ring 2.5s ease-out infinite;
}
.why-icon svg { width: 32px; height: 32px; color: #fff; }
.why-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why-card p  { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ---------- Industries / categories strip ---------- */
.categories-section {
  padding: 64px 0;
  background: var(--white);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.category-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  text-align: center;
  cursor: default;
  transition: var(--transition);
}
.category-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,111,196,0.2);
}
.category-pill:hover .cat-icon { background: rgba(255,255,255,0.2); color: #fff; }
.category-pill:hover .cat-label { color: #fff; }
.cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(26,111,196,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}
.cat-icon svg { width: 24px; height: 24px; }
.cat-label { font-size: 0.82rem; font-weight: 600; color: var(--text); transition: var(--transition); }

/* ---------- Featured product strip (image band) ---------- */
.product-band {
  padding: 64px 0 0;
  background: var(--bg);
}
.product-band-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) { .product-band-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .product-band-grid { grid-template-columns: 1fr; } }

.band-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: #0f1b2d;
  line-height: 0;
}
.band-card img {
  display: block;
  width: 100%;
  height: 260px;        /* match band-card height exactly */
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}
.band-card:hover img { transform: scale(1.08); }
.band-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.2) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: var(--transition);
}
.band-card:hover .band-card-overlay { background: linear-gradient(to top, rgba(26,111,196,0.88) 0%, rgba(26,111,196,0.3) 60%, transparent 100%); }
.band-card-label {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.band-card-label span {
  background: rgba(255,255,255,0.18);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.band-card:hover .band-card-label span {
  background: var(--accent);
  transform: rotate(45deg);
}
.band-card-label span svg { width: 16px; height: 16px; }

/* ---------- Stats bar animation ---------- */
.stats-bar { position: relative; overflow: hidden; }
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-item:last-child::after { display: none; }

/* ---------- Testimonial / CTA section ---------- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -100px; left: -80px;
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.cta-section p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-section .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-white-solid {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 32px;
}
.cta-section .btn-white-solid:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}
.cta-section .btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 14px 32px;
}
.cta-section .btn-ghost-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- Process steps ---------- */
.process-section {
  padding: 72px 0;
  background: var(--white);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
  z-index: 0;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 540px) { .process-steps { grid-template-columns: 1fr; } }

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(26,111,196,0.3);
  transition: var(--transition);
  position: relative;
}
.process-step:hover .process-num {
  background: var(--accent);
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(245,166,35,0.4);
}
.process-step h4 { font-family: var(--font-head); font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; }
.process-step p  { font-size: 0.84rem; color: var(--text-light); line-height: 1.6; }

/* ---------- Overrides for IE / old browsers removed ---------- */
