:root {
  --primary-color: #EF0000;
  --orange: #ED6C31;
  --Green: #65BC7A;
  --black: #484848;
  --bg1: #F5F7F9;
  --bg2: #F5F5F5;
  --bg3: #EFEFEF;
  --bg4: #FDFDFD;
  --bg5: #F7F7F7;
  --bg6: #F3F3F3;
  --title: #333333;
  --blue: #F5FCFF;
  --Light_green: #E6F4F4;
}

p{
    font-size: 18px;
}

.heading:hover{
    color:green !important;
  }

/* For the hero image */

.background-image {
    position: relative;
    background: url('images/solutions/mould_fabrication.jpg') no-repeat center center;
    background-size: contain;
    height: 50vh;
    width: 98.5vw;
    margin-left: -15px;
    color: white;
}

.background-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.text-overlay {
    position: relative;
    z-index: 2;
    text-align: top;
    transform: translateY(-50%);
}

.text-overlay h3 {
    opacity: 0;
    transform: translateX(-100%); /* Slide in from the left */
    transition: opacity 1s ease, transform 2s ease;
    margin-left: 50px;
    margin-top: -150px;
}

.text-overlay p {
    opacity: 0;
    transform: translateY(50px); /* Slide in from the bottom */
    transition: opacity 1s ease, transform 1s ease;
    margin-left: 100px;
    margin-top: 30px;
}

/* Trigger transition on page load */
.background-image:hover .text-overlay h3 {
    opacity: 1;
    transform: translateX(0); /* Reset to normal position */
}

.background-image:hover .text-overlay p {
    opacity: 1;
    transform: translateY(0); /* Reset to normal position */
}

/* End of the hero image */

.img1 img{
    width:300px;
    height: 250px;
    margin-top: 60px;
}

.chart{
  height: 520px;
  margin: -500px 0 0 0px !important;
}

/* table design start */
table {
  margin: 20px auto;
  width: 80%;
  border-collapse: collapse;
  box-shadow: rgba(128, 128, 128, 0.4) 5px 5px, 
              rgba(128, 128, 128, 0.3) 10px 10px, 
              rgba(128, 128, 128, 0.2) 15px 15px, 
              rgba(128, 128, 128, 0.1) 20px 20px, 
              rgba(128, 128, 128, 0.05) 25px 25px;
}


thead {
  background-color: #65BC7A !important;
  color: #fff;
  text-align: center;
}

th, td {
  padding: 15px;
  text-align: center;
  border: 0.5px solid gray !important;
}

tbody tr:nth-child(even) {
  background-color:#e9ecef;
}


th {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 720;
}

td {
  font-size: 18px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  background: #ffffff;
}

/* table design end */

.certificate{
  text-decoration: none !important;
  color: black !important;
  font-size: 20px;
  margin-left: 120px;
}

.img1{
  height: 500px;
  margin-top: -30px;
}
.img2{
  height: 280px;
  width: 250px;
  margin: -80px 0 0px 20px;
}

  /* animation starts */

  @keyframes appear {
    from {
      opacity: 0;
      transform: scale(0.5);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  .zoom {
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 33%;
  }
  /* animation end */

  button{
    margin-left: 120px !important;
  }

  .button {
    position: relative;
    overflow: hidden;
    border: 1px solid #18181a;
    color: #18181a;
    display: inline-block;
    font-size: 15px;
    line-height: 15px;
    padding: 18px 18px 17px;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .button span:first-child {
    position: relative;
    transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 10;
  }
  
  .button span:last-child {
    color: white;
    display: block;
    position: absolute;
    bottom: 0;
    transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
    z-index: 100;
    opacity: 0;
    top: 65%;
    left: 50%;
    transform: translateY(225%) translateX(-50%);
    height: 14px;
    line-height: 13px;
  }
  
  .button:after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--orange);
    transform-origin: bottom center;
    transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
    transform: skewY(9.3deg) scaleY(0);
    z-index: 50;
  }
  
  .button:hover:after {
    transform-origin: bottom center;
    transform: skewY(9.3deg) scaleY(2);
  }
  
  .button:hover span:last-child {
    transform: translateX(-50%) translateY(-100%);
    opacity: 1;
    transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
  }

 /* Mobile view responsive starts */

 @media (min-width:320px) and (max-width:480px){
  p{
      text-align: justify;
      font-size: 16px !important;
    }
    h2{
      font-size: 22px !important;
    }
  .background-image{
    height: 210px !important;
    width: 420px !important;
    margin-left: -22px;
  }
  .text-overlay h3{
    font-size: 18px;
    margin-top: -105px;
    margin-bottom: 25px !important;
  }
  .text-overlay p {
      margin-top: 10px;
      font-size: 16px;
  }
   td, th{
    font-size: 16px !important;
   }
   .chart{
      height: 450px;
      margin-top: -245% !important;
   }
   .quality{
    margin-top: 40% !important;
   }
   .img1{
      margin-left: 40px;
   }
   .img2{
      margin: 80px 0 0 75px;
  }
  .links{
    margin-top: 20px;
  }
}

/* Mobile view responsive end */

/* Tablet view responsive starts */

@media (min-width:500px) and (max-width:1000px){
  
}

/* Tablet view responsive end */

/* Laptop view responsive start */

@media (min-width:1000px){
  .social p{
    margin-top: 20px !important;
}
}

/* Laptop view responsive end */
