: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;
  }
/* For the hero image */
  
.background-image {
    position: relative;
    background: url('./images/contact_us/hero1.png') no-repeat center center;
    background-size: contain;
    height: 50vh;
    color: white;
    width:98.7vw;
    margin-left: -15px;
}

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

h3:hover{
    color:green;
}
.img1{
    height: 380px;
}
.img2{
    height: 450px;
}
.img3{
    height: 450px;
}

 /* 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){
    p{
        text-align: justify;
        font-size: 16px !important;
      }
      h2{
        font-size: 22px !important;
      }
    .background-image{
      height: 210px !important;
      width: 410px !important;
    }
    .content{
      margin-top: -25px !important;
    }
    .img1{
      height:250px !important;
      width: 380px !important;
      margin-top: 30px;
    }
    .img2{
        height:250px !important;
        width: 380px !important;
        margin-top: 30px;
      }
    .img3{
        height:250px !important;
        width: 380px !important;
        margin-top: 80px;
    }
}
  
  /* 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){
    .image2{
        height: 280px !important;
        width: 550px !important;
    }
    .social p{
      margin-top: 20px !important;
    }
}
  
  /* Laptop view responsive end */
