:root {
    --primary-color: #cc2936;
    --Dark-blue: rgb(8, 65, 92);
    --Light-blue: #388697;
    /* --Background: #f9ebeb; */
    --Background:#FFFFFF;
    --green: #b5ffe1;
    --bg: #ebbab9;
  }

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: 98vw;
    color: white;
    margin-left: -11px;
}

.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:370px;
    height: 220px;
    margin: 0px 0 0 -30px;
}

.img2 img{
    width:590px;
    height: 370px;
    margin-top: 10px;
    text-align: justify !important;
}

.img1 img, .img2 img{   
    border-radius: 20px;
    box-shadow: 5px 6px 3px grey;
}

 /* 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 */


   /* Mobile view responsive starts */

   @media (min-width:320px) and (max-width:480px){

}
 
 /* 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 */