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


.content{
    border: 2px solid green;
    border-radius: 10px;
    padding:-10px 100px 10px 30px;
    height: 300px;
    width: 80vw;
    margin-top: 50px;
    margin-left: 50px;
    background-color:var(--Light_green) !important;
}
.contact{
    border: 2px solid green;
    border-radius: 10px;
    padding:-10px 100px 10px 30px;
    height: 555px;
    width: 70vw;
    margin-top: 130px;
    margin-left: 110px;
    background-color: var(--bg5);
}

/* Add this to your contact_us.css file */
.contact {
    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
}

.contact:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}
.contact {
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px;
    background-color: #fff;
}
.content {
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.5) !important;
    border-radius: 8px;
    background-color: #fff;
}

.map{
    border: 2px solid var(--orange);
    border-radius: 30px 0px 30px 30px;
    margin-top: 50px;
    height:290px; 
    width:35vw;
}
.btn:hover{
    background-color: var(--primary-color) !important;
}

/* 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){
        .background-image{
            height: 230px !important;
            width: 479px !important;
        }
        .content{
            height: 300px !important;
            width: 390px !important;
            margin-left: -2px !important;
        }
        .content p{
            margin-left:10px !important;
        }
        .contact{
            margin-top: -840px !important;
            width: 315px !important;
        }
        .map{
            margin-top: 490px !important;
            width: 299px;
        }
   }
     
     /* 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 */