/* ============================================================
   CHELLCHEM - COMPLETE STYLESHEET
   A Chellarams Plc Division
   Palette: #131922 (dark) · #e42032 (red) · neutral grays
   ============================================================ */

/* Fonts loaded via <link> in index.html for faster rendering */

/* ── Variables ─────────────────────────────────────── */
:root {
  --dark: #131922;
  --dark-2: #1a2335;
  --dark-3: #0d1319;
  --dark-border: #2c3545;
  --red: #e42032;
  --red-dark: #b81a28;
  --red-glass: rgba(228, 32, 50, 0.12);

  --yellow: #f8b117;
  --yellow-dark: #d69812;
  --yellow-glass: rgba(248, 177, 23, 0.15);

  --blue: #00aeef;
  --blue-dark: #0086b8;
  --blue-glass: rgba(0, 174, 239, 0.12);

  --white: #ffffff;
  --off-white: #f4f5f7;
  --gray-100: #f0f1f3;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #8a929e;
  --gray-700: #4b5563;
  --text-dark: #0d1117;
  --text-mid: #374151;
  --text-light: #8a929e;

  --font-head: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.22);
  --shadow-red: 0 8px 24px rgba(228, 32, 50, 0.28);

  --nav-h: 80px;
  --tr: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
select,
textarea {
  font-family: inherit;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark-3);
}
::-webkit-scrollbar-thumb {
  background: var(--dark-border);
  border: 2px solid var(--dark-3);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

/* ── Selection ── */
::selection {
  background: var(--red);
  color: var(--white);
}
::-moz-selection {
  background: var(--red);
  color: var(--white);
}

/* ── Shared Utilities ──────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4%;
}
section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-glass);
  border: 1px solid rgba(0, 174, 239, 0.25);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section-title .red {
  color: var(--red);
}
.section-title.light {
  color: var(--white);
}
.section-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 580px;
}
.section-desc.light {
  color: rgba(255, 255, 255, 0.6);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--tr);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(228, 32, 50, 0.38);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--tr);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
.btn-outline.dark {
  border-color: var(--gray-300);
  color: var(--text-mid);
}
.btn-outline.dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── Reveal Animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.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;
}

/* ── Hex Grid Background ───────────────────────────── */
.hex-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3Cpath d='M28 100L0 84V52l28-16 28 16v32z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
}

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--tr);
  padding: 0 4%;
}
#navbar.scrolled {
  background: rgba(19, 25, 34, 0.97);
  backdrop-filter: blur(16px);
  box-shadow:
    0 1px 0 var(--dark-border),
    0 4px 20px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 58px;
  width: auto;
  display: block;
  transition: var(--tr);
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.logo-mark {
  display: none;
}
.logo-text {
  display: none;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  transition: var(--tr);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 99px;
  transition: var(--tr);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  padding: 10px 20px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  box-shadow: var(--shadow-red);
  transition: var(--tr) !important;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px) !important;
}
.nav-cta::after {
  display: none !important;
}

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

/* Mobile menu */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(13, 19, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px 5%;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 998;
  border-top: 1px solid var(--dark-border);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 0;
  border-bottom: 1px solid var(--dark-border);
  transition: var(--tr);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: var(--red);
  padding-left: 8px;
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--dark-3) 0%,
    var(--dark) 60%,
    #1a1e2a 100%
  );
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  /* mix-blend-mode:luminosity; */
}
.hero-hex-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3Cpath d='M28 100L0 84V52l28-16 28 16v32z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-red-glow {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(228, 32, 50, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 4% 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}
.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.hero-h1 .accent {
  color: var(--red);
}
.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--dark-border);
  animation: fadeUp 0.8s 0.35s ease both;
}
.hero-stat {
  flex: 1;
  padding: 0 28px 0 0;
  border-right: 1px solid var(--dark-border);
}
.hero-stat:last-child {
  padding-right: 0;
  border-right: none;
  padding-left: 28px;
}
.hero-stat:first-child {
  padding-left: 0;
}
.hero-stat .val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.hero-stat p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* Hero right: product preview cards */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-prod-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--tr);
  cursor: default;
}
.hero-prod-card:hover {
  background: rgba(228, 32, 50, 0.08);
  border-color: rgba(228, 32, 50, 0.3);
  transform: translateX(6px);
}
.hero-prod-card.blue:hover {
  background: var(--blue-glass);
  border-color: rgba(0, 174, 239, 0.35);
}
.hero-prod-card.blue .hpc-icon {
  background: var(--blue-glass);
  color: var(--blue);
  border-color: rgba(0, 174, 239, 0.25);
}
.hero-prod-card.blue .hpc-count {
  color: var(--blue);
}

.hero-prod-card.yellow:hover {
  background: var(--yellow-glass);
  border-color: rgba(248, 177, 23, 0.35);
}
.hero-prod-card.yellow .hpc-icon {
  background: var(--yellow-glass);
  color: var(--yellow);
  border-color: rgba(248, 177, 23, 0.25);
}
.hero-prod-card.yellow .hpc-count {
  color: var(--yellow);
}

.hero-prod-card .hpc-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--red-glass);
  border: 1px solid rgba(228, 32, 50, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.hero-prod-card .hpc-icon svg {
  width: 24px;
  height: 24px;
}
.hero-prod-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.hero-prod-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.hero-prod-card .hpc-count {
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════
   CATEGORY BANNERS
══════════════════════════════════════════════════════ */
#categories {
  background: var(--dark);
  padding: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cat-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: var(--tr-slow);
}
.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.cat-card:hover .cat-card-bg {
  transform: scale(1.05);
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(19, 25, 34, 0.2) 0%,
    rgba(19, 25, 34, 0.85) 100%
  );
}
.cat-card-content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
}
.cat-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.cat-card-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.cat-card-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 24px;
}
.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--red);
  padding: 16px 36px;
  position: relative;
  z-index: 2;
}
.cat-card-footer .cf-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-card-footer .cf-icon {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
}
.cat-card-footer .cf-icon svg {
  width: 20px;
  height: 20px;
}
.cat-card-footer span {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.cat-card-footer .cf-arrow {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--tr);
}
.cat-card:hover .cf-arrow {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
/* Divider between the two cards */
.cat-card:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
#about {
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content .about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.about-badge .iso-badge {
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.about-badge span {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
}
.about-body {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin: 20px 0 32px;
}
.about-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.about-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.about-point .ap-dot {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.about-point .ap-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}
.about-point p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Partner strip */
.partner-strip {
  margin-top: 40px;
}
.partner-strip h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.partner-logo-item {
  height: 72px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  transition: var(--tr);
}
.partner-logo-item:hover {
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(228,32,50,0.1);
  transform: translateY(-2px);
}
.partner-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* About stats panel */
.about-stats {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.about-stats::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(228, 32, 50, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-stats h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--dark-border);
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.stat-item .s-val {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat-item .s-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  line-height: 1.4;
}
.about-cta {
  margin-top: 36px;
}

/* ══════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════ */
#products {
  background: var(--white);
  padding-bottom: 80px;
}
.products-header {
  text-align: center;
  margin-bottom: 50px;
}
.products-header .section-desc {
  margin: 0 auto;
}

/* Tabs + Search bar */
.products-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btns {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--tr);
  background: transparent;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.tab-btn.active {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.tab-btn:not(.active):hover {
  color: var(--red);
}

/* Search */
.search-wrap {
  position: relative;
  max-width: 300px;
  width: 100%;
}
.search-wrap input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--tr);
}
.search-wrap input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 32, 50, 0.1);
}
.search-wrap input::placeholder {
  color: var(--gray-500);
}
.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  pointer-events: none;
  font-size: 15px;
}

/* Product count label */
.product-count {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.product-count strong {
  color: var(--text-dark);
}

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Product card */
.prod-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--tr);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.prod-card-top {
  height: 280px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.prod-card-top .pc-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--tr-slow);
}
.prod-card:hover .pc-bg-img {
  transform: scale(1.05);
}
.prod-card-body {
  padding: 22px 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prod-cat-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.prod-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.prod-card-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  /* overflow: hidden; */
  flex: 1;
}
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.prod-tag {
  font-size: 10px;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 3px 8px;
  border-radius: 99px;
  transition: var(--tr);
}
.prod-card:hover .prod-tag {
  background: var(--red-glass);
  color: var(--red);
}
.prod-card-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  transition: var(--tr);
  display: flex;
  align-items: center;
  gap: 4px;
}
.prod-card:hover .prod-card-action {
  gap: 8px;
}

/* No results */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-light);
}
.no-results .nr-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  opacity: 0.35;
}
.no-results .nr-icon svg {
  width: 100%;
  height: 100%;
}
.no-results p {
  font-size: 16px;
}

/* ══════════════════════════════════════════════════════
   PRODUCT MODAL
══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(13, 19, 26, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}
.modal-header {
  background: var(--dark);
  padding: 28px 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}
.modal-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.modal-name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  transition: var(--tr);
  cursor: pointer;
}
.modal-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.modal-visual {
  width: 100%;
  height: 240px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.modal-visual .modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-body {
  padding: 32px;
}
.modal-section {
  margin-bottom: 28px;
}
.modal-section h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.modal-section p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}
.modal-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal-app-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.modal-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.modal-spec-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}
.modal-spec-table td:first-child {
  color: var(--text-light);
  width: 40%;
}
.modal-spec-table td:last-child {
  color: var(--text-dark);
  font-weight: 600;
}
.modal-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.modal-footer .btn-primary {
  flex: 1;
  justify-content: center;
}
.modal-footer .btn-outline {
  border-color: var(--gray-300);
  color: var(--text-mid);
  flex: 1;
  justify-content: center;
}
.modal-footer .btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
#services {
  background: var(--dark);
}
.services-header {
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--tr);
  cursor: default;
}
.service-card:hover {
  background: rgba(228, 32, 50, 0.07);
  border-color: rgba(228, 32, 50, 0.3);
  transform: translateY(-4px);
}
.service-card .svc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--tr);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.service-card .svc-icon svg {
  width: 26px;
  height: 26px;
}
.service-card:hover .svc-icon {
  opacity: 0.9;
}
.service-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   WHY CHELLCHEM
══════════════════════════════════════════════════════ */
#why {
  background: var(--off-white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-feat {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--tr);
}
.why-feat:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.why-feat .wf-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.why-feat .wf-icon svg {
  width: 22px;
  height: 22px;
}
.why-feat h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.why-feat p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Why right: dark panel */
.why-right {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.why-right::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(228, 32, 50, 0.12), transparent 70%);
  border-radius: 50%;
}
.why-right h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}
.why-metric-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-metric {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--dark-border);
}
.why-metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.wm-val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  min-width: 80px;
}
.wm-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   INDUSTRIES SERVED
══════════════════════════════════════════════════════ */
#industries {
  background: var(--white);
}
.industries-section {
  background: #f5f7fa;
}
.industries-header {
  text-align: center;
  margin-bottom: 48px;
}
.industries-header .section-desc {
  margin: 0 auto;
}

/* ── Stats bar ── */
.ind-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ind-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
}
.ind-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--red-glass);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ind-stat-icon svg {
  width: 20px;
  height: 20px;
}
.ind-stat-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.ind-stat strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  white-space: nowrap;
}
.ind-stat span {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}
.ind-stat-divider {
  width: 1px;
  height: 44px;
  background: #e8eaed;
  flex-shrink: 0;
}

/* ── Sector layout ── */
/* ── Logo grid ── */
.ind-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ind-logo-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 10px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.ind-logo-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.ind-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--dark-3);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 10% 20%,
      rgba(228, 32, 50, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 50% 40% at 90% 80%,
      rgba(0, 174, 239, 0.05) 0%,
      transparent 70%
    );
  pointer-events: none;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-header .section-desc {
  margin: 0 auto;
}

/* carousel wrapper */
.testi-carousel {
  margin-bottom: 64px;
  position: relative;
}
.testi-track-clip {
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testi-track .testi-card {
  /* each card takes exactly 1/3 of the carousel width minus gaps */
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

/* controls row */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.testi-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr);
  flex-shrink: 0;
}
.testi-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--tr);
  padding: 0;
}
.testi-dot.active {
  background: var(--red);
  transform: scale(1.25);
}

.testi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--tr);
  position: relative;
}
.testi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(228, 32, 50, 0.25), transparent 60%)
    border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: var(--tr);
}
.testi-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.testi-card:hover::after {
  opacity: 1;
}

.testi-quote-icon {
  color: var(--red);
  opacity: 0.7;
  flex-shrink: 0;
}
.testi-body {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  flex: 1;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--dark-border);
  padding-top: 20px;
  flex-wrap: wrap;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.testi-meta {
  flex: 1;
  min-width: 0;
}
.testi-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.testi-meta span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}
.testi-stars {
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* stats bar */
.testi-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-wrap: wrap;
}
.testi-stat {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  gap: 4px;
}
.testi-stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.testi-stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.testi-stat-divider {
  width: 1px;
  height: 60px;
  background: var(--dark-border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
#contact {
  background: var(--dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title {
  color: var(--white);
}
.contact-info .section-desc {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cd-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cd-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.cd-icon svg {
  width: 20px;
  height: 20px;
}
.cd-item h5 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cd-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--tr);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 32, 50, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}
.form-error.show {
  display: block;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--red);
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--tr);
  box-shadow: var(--shadow-red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

/* Toast */
#toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: var(--text-dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--tr);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
#toast.success {
  border-left: 4px solid #22c55e;
}
#toast.error {
  border-left: 4px solid var(--red);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer {
  background: var(--dark-3);
  padding: 70px 4% 28px;
  border-top: 1px solid var(--dark-border);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 28px;
}
.footer-brand .fb-logo {
  display: block;
  margin-bottom: 28px;
}
.footer-logo-img {
  height: 68px;
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.soc-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 700;
  transition: var(--tr);
}
.soc-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--tr);
}
.footer-col ul li a:hover {
  color: var(--red);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: var(--tr);
}
.footer-bottom a:hover {
  color: var(--red);
}

/* ══════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════ */
#backTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-red);
  opacity: 0;
  visibility: hidden;
  transition: var(--tr);
}
#backTop.show {
  opacity: 1;
  visibility: visible;
}
#backTop:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .testi-track .testi-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
  .testi-stat-divider:nth-child(4) {
    display: none;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
  .hero-h1 {
    font-size: 2.4rem;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .cat-card:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-stats {
    flex-wrap: wrap;
  }
  .ind-stat {
    flex: 1 1 45%;
  }
  .ind-stat-divider {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .testi-track .testi-card {
    flex: 0 0 100%;
  }
  .testi-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .testi-stat {
    flex: 1 1 45%;
  }
  .testi-stat-divider {
    display: none;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px 0;
  }
  .hero-stat {
    flex: 0 0 50%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid var(--dark-border);
  }
}
@media (max-width: 600px) {
  section {
    padding: 70px 0;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ind-card {
    height: 270px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .products-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-wrap {
    max-width: 100%;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-footer {
    padding: 16px 20px;
  }
  .contact-form {
    padding: 24px;
  }
  .testi-card {
    padding: 28px 20px 22px;
  }
  .testi-stat {
    flex: 1 1 100%;
    border-top: 1px solid var(--dark-border);
  }
  .testi-stat:first-child {
    border-top: none;
  }
}

/* ── Heroicon global SVG sizing fixes ─── */
.it-icon svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.search-icon svg {
  width: 16px;
  height: 16px;
}
#backTop svg {
  width: 20px;
  height: 20px;
}
.tab-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-primary svg,
.btn-outline svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
