/* =====================================================
   GLOBAL BASE
===================================================== */

:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #2563eb;
  --text: #334155;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* GLOBAL LINK LOCK */
a {
  color: inherit;
  text-decoration: none;
}

/* =====================================================
   CONTAINER
===================================================== */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

/* =====================================================
   HEADER (LOCKED)
===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Call link (professional) */
.nav-call {
  padding: 7px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-call:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =====================================================
   HERO
===================================================== */

.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 20px;
  background:
    linear-gradient(rgba(15,23,42,0.88), rgba(15,23,42,0.88)),
    url("../assets/images/hero-bg.jpeg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
}

.hero-inner {
  max-width: 960px;
  margin: auto;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-brand {
  color: #60a5fa;
}

.highlight {
  color: #34d399;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
  color: #cbd5f5;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  display: inline-block;
  margin: 10px;
  box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.85);
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-block;
  margin: 10px;
}

/* =====================================================
   SECTIONS
===================================================== */

.section {
  padding: 80px 0;
  background: var(--white);
}

.section-muted {
  padding: 96px 0;
  background: #f1f5f9;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 28px;
  color: var(--primary);
}

.section-lead {
  max-width: 640px;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* =====================================================
   GRID & CARDS
===================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.colored-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-left: 5px solid var(--accent);
}

.elevated {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--primary);
}

/* =====================================================
   METRICS
===================================================== */

.metrics-section {
  background: #f8fafc;
}

.metric-card {
  padding: 36px;
  border-radius: 18px;
  color: #ffffff;
  text-align: center;
}

.accent-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.accent-green { background: linear-gradient(135deg, #059669, #047857); }
.accent-orange { background: linear-gradient(135deg, #ea580c, #c2410c); }

/* =====================================================
   CTA
===================================================== */

.cta {
  padding: 72px 16px;
  text-align: center;
}

.cta p {
  margin: 12px auto 28px;
  max-width: 640px;
  font-size: 1.1rem;
  color: #e2e8f0;
}

/* =====================================================
   FOOTER (LOCKED)
===================================================== */

.footer-dark {
  background: #020617;
  color: #cbd5f5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 60px 20px;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-link {
  color: #cbd5f5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-link:hover {
  color: #60a5fa;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
  .brand-name {
    display: none;
  }

  .hero {
    padding: 80px 16px;
  }
}
/* ================= WHY CONTACT CARDS ================= */

.why-grid {
  margin-top: 32px;
}

.why-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
}

.why-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.why-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--primary);
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Soft accent backgrounds */
.accent-blue-soft {
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  border-left: 4px solid #2563eb;
}

.accent-green-soft {
  background: linear-gradient(180deg, #ffffff, #ecfdf5);
  border-left: 4px solid #059669;
}

.accent-orange-soft {
  background: linear-gradient(180deg, #ffffff, #fff7ed);
  border-left: 4px solid #ea580c;
}
/* ================= CONTACT CARDS – LIVE FEEL ================= */

.enhanced-contact-grid {
  margin-top: 36px;
}

.enhanced-card {
  position: relative;
  padding-top: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.enhanced-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}

.enhanced-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.08);
}

/* Icon badge */
.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.icon-wrap span {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke-width: 2;
}

/* Text tightening */
.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}
/* ================= SERVICES – LIVE FEEL ================= */

.services-grid {
  margin-top: 32px;
}

/* Service cards */
.service-card {
  position: relative;
  padding-top: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Soft top accent line */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

/* Hover motion – subtle */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.08);
}

/* Icon refinement */
.service-card .service-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  stroke-width: 2;
}

/* Service link */
.service-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--accent);
}

.service-link:hover {
  text-decoration: underline;
}

/* Soft background tints */
.accent-blue-soft {
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  border-left: 4px solid #2563eb;
}

.accent-green-soft {
  background: linear-gradient(180deg, #ffffff, #ecfdf5);
  border-left: 4px solid #059669;
}

.accent-orange-soft {
  background: linear-gradient(180deg, #ffffff, #fff7ed);
  border-left: 4px solid #ea580c;
}
/* ================= CHEMICAL EARTHING – LIVE FEEL ================= */

/* Benefits */
.benefit-grid {
  margin-top: 32px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
}

.benefit-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  color: var(--accent);
  flex-shrink: 0;
}

/* Applications */
.application-card .service-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

/* Why section */
.why-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
}

.why-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  color: var(--accent);
}
/* ================= PLATE EARTHING – LIVE FEEL ================= */

/* Reuse benefit grid styling */
.benefit-grid {
  margin-top: 32px;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
}

.benefit-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  color: var(--accent);
  flex-shrink: 0;
}

/* Applications */
.application-card .service-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

/* Why section */
.why-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
}

.why-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  color: var(--accent);
}
/* ================= ELECTRICAL WORK – LIVE FEEL ================= */

/* Reuse benefit styling */
.benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
}

.benefit-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  color: var(--accent);
}

/* Application icons */
.application-card .service-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

/* Why cards */
.why-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.06);
}

.why-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  color: var(--accent);
}
/* ================= LIGHTNING PROTECTION – LIVE FEEL ================= */

.service-card {
  padding-top: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.08);
}
/* ================= CTA FIX ================= */

/* Base CTA */
.cta {
  background: #f8fafc; /* light neutral */
  text-align: center;
  padding: 72px 16px;
}

/* CTA inner wrapper (if used) */
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* CTA heading */
.cta h2 {
  color: #0f172a; /* dark readable */
  margin-bottom: 12px;
}

/* CTA paragraph */
.cta p {
  color: #475569; /* readable muted text */
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* CTA actions */
.cta-actions,
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Outline button for light background */
.cta .btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}

.cta .btn-outline:hover {
  background: rgba(37, 99, 235, 0.08);
}
.brand-logo {
  height: 44px;          /* perfect for header */
  width: auto;
  object-fit: contain;
}.service-image {
  width: 100%;
  height: 200px;        /* ⬅ increase this */
  object-fit: cover;
  object-position: center; /* keeps focus centered */
  border-radius: 10px;
  margin: 12px 0;
}
.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}
.work-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}
/* ================= ABOUT CARD ENHANCEMENTS (SAFE OVERRIDES) ================= */

/* Soft background fills – low opacity, non-intrusive */
.about-bg {
  background-color: rgba(37, 99, 235, 0.06);
}

.engineering-bg {
  background-color: rgba(22, 163, 74, 0.06);
}

.profile-bg {
  background-color: rgba(245, 158, 11, 0.08);
}

.contact-bg {
  background-color: rgba(99, 102, 241, 0.06);
}

/* Icon + heading alignment (no layout break) */
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icon sizing consistency */
.card .service-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Contextual icon coloring */
.about-bg .service-icon {
  color: #2563eb;
}

.engineering-bg .service-icon {
  color: #16a34a;
}

.profile-bg .service-icon {
  color: #f59e0b;
}

.contact-bg .service-icon {
  color: #4f46e5;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;          /* 🔑 FORCE RESET */
}

.service-icon {
  margin: 0;
  padding: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.site-header {
  width: 100%;
  overflow-x: hidden;
}
.header-inner,
.main-nav {
  min-width: 0;        /* 🔑 fixes mobile flex overflow */
  max-width: 100%;
}
@media (max-width: 768px) {
  .nav-call {
    white-space: nowrap;
    max-width: 100%;
    padding: 6px 12px;
  }
}
