.about-banner {
  background-image: url('../images/electricity-high-voltage-pole-sky.jpg');
  background-size: cover;
  background-position: bottom;
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
}
.about-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); /* 70% opacity black */
  z-index: 1;
}
.about-overlay {
  padding-left: 100px;
  color: rgb(234, 234, 234);
  position: relative;
  z-index: 2;
}

.about-title {
  font-size: 3.5rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  /* background: #fa1713; */
}

@media (max-width: 575px) {
  .about-title {
    font-size: 2rem;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    width: 100%;
    line-height: 1.2;
  }
  .about-overlay {
    padding-left: 20px;
    padding-right: 0;
    text-align: center;
  }

  .about-banner {
    background-position: center;
    height: 200px;
  }
}

@keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @media (max-width: 768px) {
      .about-banner {
        min-height: 200px !important;
      }
      .about-title {
        font-size: 2rem !important;
      }
    }

/* Breadcrumb */

.breadcrumb-wrapper {
  background: #eaeaea;
  padding: 1px 135px;
  font-size: 0.9rem;
  box-shadow: 0 5px 10px rgb(0 0 0 / 14%);
}

.breadcrumb {
  margin: 0;
  background: none;
}

.breadcrumb a {
  color: #333;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #666;
}
/* Breadcrumb */

/* Product Section (Top to Bottom)*/

.products .col-md-4 {
  min-height: 300px;
  position: relative;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.products img {
  max-width: 24em;
  max-height: 15em;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.products .product-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,102,179,0.85);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  opacity: 1;               
  transform: translateY(0); 
  transition: none;
}

@media (max-width: 575px) {
  .products {
    gap: 1px;
    display: flex;
    flex-wrap: wrap;
  }
  .product-card {
    width: 48% !important;
  }
}

/***** Tabset ******/
.tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}

/*
 Styling
*/
.tabset > label {
  position: relative;
  display: inline-block;
  padding: 15px 15px 25px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 600;
}

.tabset > label::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 10px;
  width: 22px;
  height: 4px;
  background: #8d8d8d;
}

input:focus-visible + label {
  outline: 2px solid rgba(0,102,204,1);
  border-radius: 3px;
}

.tabset > label:hover,
.tabset > input:focus + label,
.tabset > input:checked + label {
  color: #06c;
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
  background: #f11f0c;
}

.tabset > input:checked + label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tab-panel {
  padding: 30px 0;
  border-top: 1px solid #ccc;
}

/* Procduct Section Ends */
  
.new_home_web .topHead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 40px;
  margin-left: 0px;
  margin: 0 0 25px 0;
}

.new_home_web .text-blk.heading {
  font-size: 36px;
  line-height: 55px;
  font-weight: 600;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 0px;
}

.new_home_web .orangeLine {
  height: 5px;
  width: 12em;
  background-color: #fa1713;
}

.new_home_web .orangeText {
  color: #0e54a8;
}

/* ===== Fade-in Animations ===== */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.fade-in-active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.fade-in-active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for product cards */
.product-item:nth-child(1) { transition-delay: 0.1s; }
.product-item:nth-child(2) { transition-delay: 0.2s; }
.product-item:nth-child(3) { transition-delay: 0.3s; }
.product-item:nth-child(4) { transition-delay: 0.4s; }
.product-item:nth-child(5) { transition-delay: 0.5s; }
.product-item:nth-child(6) { transition-delay: 0.6s; }
.product-item:nth-child(7) { transition-delay: 0.7s; }
.product-item:nth-child(8) { transition-delay: 0.8s; }
.product-item:nth-child(9) { transition-delay: 0.9s; }
.product-item:nth-child(10) { transition-delay: 1s; }
.product-item:nth-child(11) { transition-delay: 1.1s; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .fade-in-element,
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}