 :root {
      --brand-red: #D10024;
      --brand-navy: #2B2D42;
      --brand-white: #ffffff;
    }

    * {
      box-sizing: border-box
    }

    body {
      font-family: 'Inter', system-ui, Segoe UI, Roboto, Arial;
      background: #fff;
      color: var(--brand-navy);
      margin: 0
    }

    /* Top info strip (desktop only) */
    .top-strip {
      background: var(--brand-red);
      color: var(--brand-white);
      padding: 8px 0;
      font-size: 14px
    }

    .top-strip a {
      color: var(--brand-white);
      text-decoration: none
    }

    .top-strip a:hover {
      color: #ffe2e2
    }

    @media (max-width:991.98px) {
      .top-strip {
        display: none
      }

      .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        color: #fff;
        font-weight: 800
      }
    }

    .nav-scrolled .brand-mark {
      background: var(--brand-white) !important;
      color: var(--brand-red) !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(43, 45, 66, 0.06);
    }

    /* Navbar (non-transparent) */
    .main-nav {
      background: #ffffff;
      transition: all .28s ease;
      padding: 12px 0;
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06)
    }

    .brand-mark {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--brand-red);
      color: #fff;
      font-weight: 800
    }

    .navbar-brand .company-title {
      margin-left: 10px;
      font-weight: 700;
      color: var(--brand-navy);
      line-height: 1
    }

    .navbar-brand small {
      display: block;
      color: #6b7280;
      font-size: 12px
    }

    .nav-link {
      color: var(--brand-navy);
      font-weight: 600
    }

    .nav-link:hover {
      color: var(--brand-red) !important
    }

    .btn-cta {
      background: var(--brand-red);
      color: #fff;
      border-radius: 8px;
      padding: 8px 12px;
      font-weight: 700;
      border: 0
    }

    .btn-cta:hover {
      background: #b0001d
    }

    /* Nav-scrolled state (fixed + red) */
    .nav-scrolled {
      position: fixed !important;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1080;
      background: var(--brand-red) !important;
      color: var(--brand-white);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      padding: 8px 0 !important;
    }

    .nav-scrolled .navbar-brand .company-title,
    .nav-scrolled .nav-link,
    .nav-scrolled .btn-cta {
      color: var(--brand-white) !important
    }

    .nav-scrolled .navbar-toggler-icon {
      filter: invert(1)
    }

    /* placeholder to avoid jump when nav becomes fixed */
    .nav-placeholder {
      height: 0;
      transition: height .28s ease
    }

    /* Fullscreen carousel */
    .carousel-full {
      position: relative;
    }

    .carousel-full .carousel-item {
      height: 100vh;
      min-height: 480px;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      position: relative;
    }

    /* =============================
       NEW: Gradient overlay card styles
       (added exactly as requested)
       ============================= */

    .carousel-slide-overlay {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 56%;
      /* how much of slide is covered by gradient */
      z-index: 2;
      display: flex;
      align-items: center;
      /* vertical center */
      padding-left: 6%;
      /* space for text from left edge */
      pointer-events: none;
      /* so overlay doesn't block clicks on controls */
    }

    /* red -> transparent (use white text) */
    .slide-gradient-red {
      background: linear-gradient(90deg,
          rgba(209, 16, 36, 0.95) 0%,
          rgba(209, 16, 36, 0.85) 20%,
          rgba(209, 16, 36, 0.55) 40%,
          rgba(255, 255, 255, 0.00) 100%);
    }

    /* ensure overlay sits above image, caption above overlay background */
    .carousel-slide-overlay.extra-dark::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.12);
      z-index: 1;
    }

    .carousel-slide-overlay .slide-content {
      position: relative;
      z-index: 3;
      pointer-events: auto;
      color: #fff;
    }

    /* slide overlay text (no small cards) - kept original .slide-content rules */
    .slide-content {
      /* preserved your existing placement/sizing */
      position: relative;
      /* changed from absolute to relative because overlay handles positioning */
      max-width: 58%;
      color: #fff;
      text-shadow: 0 6px 20px rgba(10, 20, 40, 0.5);
    }

    .slide-content h2 {
      font-size: clamp(28px, 4.2vw, 48px);
      margin: 0 0 10px;
      font-weight: 800
    }

    .slide-content p {
      font-size: clamp(14px, 1.6vw, 18px);
      color: rgba(255, 255, 255, 0.92);
      margin-bottom: 14px
    }

    .slide-content .btn {
      font-weight: 700
    }

    /* indicators & controls white */
    .carousel-indicators [data-bs-target] {
      background-color: rgba(255, 255, 255, 0.6);
    }

    .carousel-indicators .active {
      background-color: #fff;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      filter: invert(1);
      background-size: 100%, 100%
    }

    /* mobile adjustments - overlay becomes wider so content remains readable */
    @media (max-width:991.98px) {
      .carousel-slide-overlay {
        width: 85%;
        padding-left: 6%;
      }

      .slide-content {
        max-width: 100%;
      }

      .slide-content h2 {
        font-size: clamp(20px, 6.8vw, 30px);
      }
    }

    @media (max-width:576px) {
      .slide-content h2 {
        font-size: 22px
      }

      .slide-content p {
        font-size: 13px
      }
    }

    /* page sections after carousel */
    main {
      padding: 60px 0
    }

    /* ==== Dark Footer ==== */
.dark-footer {
  background: #D10024; /* brand navy */
  color: #FFFFFF; /* white text */
  padding: 36px 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
a{
  text-decoration: none;
  color: #FFFFFF;
}
.dark-footer .container { max-width: 1200px; }

.dark-footer .footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-footer .footer-col h4 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.dark-footer .footer-col p,
.dark-footer .footer-col .muted {
  color: #A0A3B1; /* muted-light */
  margin: 6px 0;
}

.dark-footer .footer-brand {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  margin-bottom: 6px;
}

/* Footer links */
.dark-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dark-footer .footer-links li {
  margin: 6px 0;
}

.dark-footer .footer-links a {
  color: #e7e7e7;
  text-decoration: none;
  transition: color 0.2s ease;
}

.dark-footer .footer-links a:hover {
  color: #fff; /* brand red */

}

/* Newsletter */
.dark-footer .newsletter {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  max-width: 320px;
}

.dark-footer .newsletter input[type="email"] {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: #fff;
  color: #000;
}

.dark-footer .newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.dark-footer .newsletter button {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.dark-footer .newsletter button:hover {
  opacity: 0.9;
}

/* Social icons */
.dark-footer .social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.dark-footer .social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 18px;
  transition: background 0.2s ease;
}

.dark-footer .social a:hover {
  background: #D10024;
  color: #FFFFFF;
}

/* Footer bottom */
.dark-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  gap: 12px;
  color: #A0A3B1;
  font-size: 14px;
}

.dark-footer .link-underline {
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.dark-footer .link-underline:hover {
  border-bottom-color: #D10024;
  color: #D10024;
}

/* Responsive */
@media (max-width: 991px) {
  .dark-footer .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .dark-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 575px) {
  .dark-footer .footer-top {
    grid-template-columns: 1fr;
  }
  .dark-footer .newsletter {
    flex-direction: column;
  }
  .dark-footer .newsletter button {
    width: 100%;
  }
}


    /* Product categories cards (Electro-themed) */
    #product-categories {
      background: #f9fafb;
    }

    /* card */
    /* Simple clickable category cards */
    .ec-card-link {
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .ec-card-min {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      height: 220px;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
      transition: all 0.3s ease;
      background: #f7f7f7;
    }

    .ec-card-min img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .4s ease, filter .4s ease;
    }

    /* Overlay text */
    .ec-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.55) 100%);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 16px;
      transition: background 0.3s ease;
    }

    .ec-card-title {
      color: #fff;
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.3px;
      text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    /* Hover effect */
    .ec-card-min:hover img {
      transform: scale(1.06);
      filter: brightness(1.1);
    }

    .ec-card-min:hover {
      box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
    }

    .ec-card-min:hover .ec-card-overlay {
      background: linear-gradient(180deg, rgba(209, 0, 36, 0.15) 20%, rgba(209, 0, 36, 0.7) 100%);
    }

    /* Responsive tweaks */
    @media (max-width: 575.98px) {
      .ec-card-min {
        height: 160px;
      }

      .ec-card-title {
        font-size: 15px;
      }
    }

    .offcanvas {
      z-index: 1095 !important;
      /* must be greater than .nav-scrolled (1080) */
    }

    /* optional: make the backdrop sit between nav and offcanvas, so dimming looks correct */
    .offcanvas-backdrop {
      z-index: 1090 !important;
    }

    .btn-view-all {
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 8px;
  border: 2px solid var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(209, 0, 36, 0.2);
}

.btn-view-all:hover {
  background: #fff;
  color: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 6px 18px rgba(209, 0, 36, 0.25);
}
/* our brand */
/* Trusted Brands Section - Dark Theme */
#trusted-brands {
  background: var(--brand-red);
}

.brand-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 10px;
  text-align: center;
   text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  box-shadow: 0 6px 16px rgba(128, 2, 2, 0.08);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(209, 0, 36, 0.25);
  border-color: var(--brand-red);
}

.brand-logo img {
  max-width: 110px;
  height: 60px;
  object-fit: contain;
 
  transition: all 0.3s ease;
}

.brand-card:hover .brand-logo img {
  filter: grayscale(0%) brightness(1.05);
  transform: scale(1.08);
}

.brand-name {
  margin-top: 10px;
  font-weight: 700;
  color: var(--brand-red);
  font-size: 15px;
  letter-spacing: 0.3px;
}
.brand-link {
    display: block;
    text-decoration: none;
    color: inherit;
    outline: none;
  }
/* Responsive tweaks */
@media (max-width:575px){
  .brand-logo img { max-width: 80px; height: 50px; }
  .brand-name { font-size: 13px; }
}
