body a{
    color: #005a8b;
  }
  body a:hover{
    color: #DC2C1D;
  }
  body h2{
    padding-bottom: 8px;
    font-size: 28px;
  }

  li{
    list-style: none;
  }
  .sub-banner {
    width: 100%;
    background-size: cover;
    position: relative;
    height: 400px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 6rem;
}
.sub-banner .banner {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 100%;
}
.banner-text {
    content: "";
    position: absolute;
}
.sub-banner::after {
    content: "";
    background-color: rgb(0 0 0 / 50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
}
.sub-banner .breadcrumb{
    justify-content: center;
}
.sub-banner .breadcrumb a{
    color: #fff;
    transition-duration: 0.3s;
}
.sub-banner .breadcrumb a:hover{
    color: #E6000A;
    transition: all ease-in-out 0.3s;
}
.sub-banner .breadcrumb-item+.breadcrumb-item::before{
    color: #fff;
}

.sub-banner-industry-4{
    background: url(/assets/images/products/industry-4.0/industry-4.0-banner.webp);
  }

  .banner-text h2{
    font-size: 32px;
  }
  h4{
    color: #DC2C1D;
  }

  /* hero section css start  */

  .industry-hero-sec .industry-hero-txt h2{
    padding-bottom: 12px;
  }

   /* hero section css end  */

   /* MES real section css start  */

   .mes-real-img img{
    width: 96%;
    border-radius: 10px;
   }

 /* MES real section css end  */

 /* ERP-MES section css start  */

 .erp-mes-img{
    text-align: center;
    padding-bottom: 2rem;
 }
 .erp-mes-img img{
    width: 85%;
 }
 .erp-mes-title{
    padding-bottom: 3rem;
 }

 /* ERP-MES section css end  */

 /* benefit section start  */

 .benefit-card .benefit-txt h3{
    font-size: 20px;
 }
 .benefit-card .benefit-txt p{
    font-size: 15px;
    padding-top: 8px;
 }
 .industry-benefit-title{
    padding-bottom: 2rem;
 }
 .benefit-card .benefit-icon{
    padding-bottom: 1rem;
 }
 .industry-benefit-sec .benefit-card{
     padding: 18px;
     border: 1px solid #d7d7d7;
     border-radius: 10px;
     min-height: 27rem;
     background-color: #fff;
 }
 .benefit-card {
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid transparent;
    overflow: hidden;
 }
 .benefit-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: red;
    transition: width 0.3s ease;
}

 .benefit-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
 }
.benefit-card:hover::after {
    width: 100%;
}
.industry-benefit-sec{
    background-color: #f3f3f3;
}

 /* benefit section end  */

 /* inetgration method section css start  */

.integration-card h3{
    font-size: 22px;
}
.integration-card .number, .txt{
    font-size: 22px;
    font-weight: 600px;
    margin-bottom: 1rem;
}
.integration-card .txt{
    color: #212121;
    font-weight: bold;
    padding-left: 8px;
}
.integration-card .number{
    background-color: red;
    display: inline-block;
    width: 2rem;
    border-radius: 35px;
    text-align: center;
    font-weight: bold;
}
.integration-method-sec .integration-title{
    padding-bottom: 3rem;
}
.integration-card p{
    font-size: 15px;
}
.integration-card{
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease; 
    position: relative;
}
.integration-card:hover {
    border: 1px solid #acacacf7; 
    border-radius: 10px; 
}


 /* inetgration method section css end  */

 .use-case-sec .use-case-title{
    margin-bottom: 3rem;
 }

 .use-card h3{
    font-size: 20px;
    padding-top: 1rem;
    transition: all ease-in-out 0.2s;
 }
 .use-card:hover h3{
    color: #DC2C1D;
 }
 
 .use-card-txt p{
    font-size: 15px;
    padding-top: 10px;
 }
 .use-case-sec .use-card{
    padding: 12px;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    min-height: 16rem;
    position: relative;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
 }
 .use-case-sec .use-card:hover{
    transform: translateY(-8px);
     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
 }
 .use-case-sec .use-card::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: red;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: width 0.6s ease;
 }
 .use-case-sec .use-card:hover::before{
    width: 100%;
 }


.why-lhs-sec{
    background-color: #f3f3f3;
}
.why-lhs-sec .contact-btn{
    padding: 8px 16px 8px 16px;
    border-radius: 10px;
    background-color: #e6000a;
    border: none;
    color: #fff;
    transition: all ease-in-out 0.3s;
} 
.why-lhs-sec .contact-btn:hover{
    background-color: #212121;
    transition-duration: 0.3s;
}

.related-card {
    position: relative; /* Required for pseudo-element positioning */
    padding: 20px;
    border: 1px solid rgb(215 215 215);
    border-radius: 10px;
    color: #212121;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

/* Card hover: lift and shadow */
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Red bottom border animation using ::after */
.related-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #DC2C1D; /* red */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: width 0.5s ease;
}

/* Expand red line on hover */
.related-card:hover::after {
    width: 100%;
}

/* Icon style */
.related-card i {
    background-color: #DC2C1D;
    padding: 10px;
    border-radius: 10rem;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Icon animates on card hover */
.related-card:hover i {
    background-color: #000;
    transform: translateX(6px);
}

/* Text styles */
.related-txt {
    padding-top: 12px;
}

.related-txt h3 {
    font-size: 21px;
}

.related-head {
    margin-bottom: 2rem;
}


 