:root {
  --brand-dark: #101820;
  --brand-navy: #121a26;
  --brand-blue: #0d6efd;
  --brand-electric: #38bdf8;
  --brand-soft: #f4f7fb;
  --brand-muted: #667085;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #16202a;
  padding-top: 56px;
}

.site-navbar {
  background: rgba(16, 24, 32, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.18);
}

.brand-mark {
  color: var(--brand-electric);
  margin-right: 0.35rem;
}


.hero-section {
  margin-top: 0px;
background:
  linear-gradient(
    90deg,
    rgba(16, 24, 32, 0.99) 0%,
    rgba(16, 24, 32, 0.95) 36%,
    rgba(16, 24, 32, 0.72) 58%,
    rgba(16, 24, 32, 0.20) 80%,
    rgba(16, 24, 32, 0.05) 100%
  ),
  linear-gradient(
    180deg,
    rgba(16, 24, 32, 0.08) 0%,
    rgba(16, 24, 32, 0.18) 55%,
    rgba(16, 24, 32, 0.72) 100%
  ),
  url("/assets/images/hero-electrical-panel.jpg");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hero-section {
    background:
      linear-gradient(
        90deg,
        rgba(16, 24, 32, 0.96) 0%,
        rgba(16, 24, 32, 0.84) 60%,
        rgba(16, 24, 32, 0.68) 100%
      ),
      linear-gradient(
        180deg,
        rgba(16, 24, 32, 0.18),
        rgba(16, 24, 32, 0.88)
      ),
      url("/assets/images/hero-electrical-panel.jpg");

    background-size: cover;
    background-position: center;
  }
}

  .hero-row {
    min-height: 760px;
  }
}

.hero-section::after {
  display: none;
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 1.5rem;
  }
}

.hero-section .container {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 700px;
}

.eyebrow {
  letter-spacing: 0.22em;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 576px) {
  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    line-height: 1.4;
  }
}

.eyebrow,
.section-kicker {
  color: var(--brand-electric);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}




.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  gap: 1rem;
}

.hero-points div {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.hero-points strong {
  display: block;
  font-size: 1.15rem;
}

.hero-points span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}


.hero-row {
  min-height: 700px;
}

.accreditation-bar {
  margin-top: 0;
  position: relative;
  z-index: 1020;
  background: #ffffff;
  color: #111820;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.45rem 0;
}

.accreditation-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.niceic-logo {
  display: block;
  width: 105px;
  height: auto;
}

.accreditation-copy {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.accreditation-copy strong {
  font-weight: 700;
}

.accreditation-copy span {
  color: #59616a;
  padding-left: 0.75rem;
  border-left: 1px solid #cdd2d6;
}

@media (max-width: 767.98px) {
  .accreditation-bar {
    padding: 0.35rem 0;
  }

  .accreditation-content {
    gap: 0.65rem;
  }

    .niceic-logo {
      display: block;
      width: 150px;
      height: auto;
    }

        @media (max-width: 767.98px) {
      .niceic-logo {
        width: 120px;
      }
    }

  .accreditation-copy {
    display: block;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .accreditation-copy strong,
  .accreditation-copy span {
    display: block;
  }

  .accreditation-copy span {
    border-left: 0;
    padding-left: 0;
    margin-top: 0.1rem;
  }
}

@media (max-width: 991px) {
  .hero-row {
    min-height: 680px;
  }
}

.emergency-strip {
  background: var(--brand-blue);
  color: #fff;
  padding: 1rem 0;
}

.bg-soft {
  background: var(--brand-soft);
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(16, 24, 32, 0.12);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--brand-soft);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.service-card p {
  color: var(--brand-muted);
  margin-bottom: 0;
}

.service-card a {
  color: inherit;
  text-decoration: none;
}

.trust-panel {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  display: grid;
  gap: 1rem;
}

.trust-panel div {
  border-left: 4px solid var(--brand-blue);
  padding-left: 1rem;
}

.trust-panel strong {
  display: block;
  font-size: 1.15rem;
}

.trust-panel span {
  display: block;
  color: var(--brand-muted);
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.98), rgba(13, 110, 253, 0.9)),
    var(--brand-dark);
  color: #fff;
}

.footer {
  background: var(--brand-dark);
  color: #fff;
}

.footer a {
  color: #fff;
}

.mobile-call-button {
  display: none;
}

@media (max-width: 991px) {
  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }

  .display-4 {
    font-size: 2.55rem;
  }

  .mobile-call-button {
    display: block;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9999;
    text-align: center;
    background: var(--brand-blue);
    color: #fff;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.35);
  }
}

.page-hero {
  margin-top: 0px;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.97), rgba(16, 24, 32, 0.78)),
    radial-gradient(circle at 82% 25%, rgba(56, 189, 248, 0.3), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(13, 110, 253, 0.28), transparent 25%),
    var(--brand-dark);
  color: #fff;
}

.page-hero-lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.service-detail-card {
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
}

.service-detail-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.service-detail-card p {
  color: var(--brand-muted);
}

.service-detail-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
  color: #344054;
}

.service-detail-card li {
  margin-bottom: 0.35rem;
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-list > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
}

.process-list span {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 900;
}

.process-list h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.process-list p {
  color: var(--brand-muted);
  margin-bottom: 0;
}

.emergency-hero {
  margin-top: 0px;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.98), rgba(88, 28, 28, 0.82)),
    radial-gradient(circle at 82% 25%, rgba(239, 68, 68, 0.35), transparent 30%),
    radial-gradient(circle at 70% 80%, rgba(13, 110, 253, 0.22), transparent 25%),
    var(--brand-dark);
  color: #fff;
}

.urgent-strip {
  background: #dc3545;
  color: #fff;
  padding: 1rem 0;
}

.fault-card {
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
}

.fault-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.fault-card p {
  color: var(--brand-muted);
  margin-bottom: 0;
}

.emergency-call-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 24px 65px rgba(16, 24, 32, 0.14);
  border-top: 5px solid #dc3545;
}

.emergency-call-card h2 {
  font-weight: 900;
}

.safety-list {
  display: grid;
  gap: 1rem;
}

.safety-list > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
}

.safety-list strong {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
}

.emergency-mobile-call {
  background: #dc3545;
  box-shadow: 0 15px 35px rgba(220, 53, 69, 0.35);
}

.gallery-card {
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(16, 24, 32, 0.12);
}

.gallery-placeholder,
.gallery-modal-placeholder {
  min-height: 230px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.92), rgba(13, 110, 253, 0.82)),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.35), transparent 30%);
  color: #fff;
}

.gallery-placeholder span,
.gallery-modal-placeholder span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

.gallery-card-body {
  padding: 1.5rem;
}

.gallery-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.gallery-card p {
  color: var(--brand-muted);
}

.gallery-tips {
  display: grid;
  gap: 1rem;
}

.gallery-tips > div {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  border-left: 4px solid var(--brand-blue);
}

.gallery-tips strong {
  display: block;
  font-weight: 900;
}

.gallery-tips span {
  color: var(--brand-muted);
}

.gallery-modal-content {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
}

.gallery-modal-placeholder {
  min-height: 340px;
  border-radius: 1rem;
}

.gallery-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.gallery-modal-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 1rem;
  background: #101820;
}

.contact-info-list {
  display: grid;
  gap: 1rem;
}

.contact-info-card {
  display: block;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  border-left: 4px solid var(--brand-blue);
}

.contact-info-card span {
  display: block;
  color: var(--brand-muted);
  margin-bottom: 0.25rem;
}

.contact-info-card strong {
  display: block;
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-info-card:hover {
  color: inherit;
  transform: translateY(-2px);
}

.contact-form-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 24px 65px rgba(16, 24, 32, 0.12);
}

.contact-help-list {
  display: grid;
  gap: 1rem;
}

.contact-help-list > div {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
  border-left: 4px solid var(--brand-blue);
}

.contact-help-list strong {
  display: block;
  font-weight: 900;
}

.contact-help-list span {
  color: var(--brand-muted);
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 5.25rem;
  z-index: 9999;
  display: none;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
  color: #fff;
  background: #1ebe5d;
}


@media (max-width: 767px) {
  .whatsapp-float {
    display: block;
  }
}