: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;
    text-align: justify;
}

.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.6vw;
    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 */

/* Button style starts */

.button {
  --b: 3px;   /* border thickness */
  --s: .45em; /* size of the corner */
  --color: #373B44;
  
  padding: calc(.7em + var(--s)) calc(1.5em + var(--s));
  color: var(--color);
  --_p: var(--s);
  background:
    conic-gradient(from 90deg at var(--b) var(--b),#0000 90deg,var(--color) 0)
    var(--_p) var(--_p)/calc(100% - var(--b) - 2*var(--_p)) calc(100% - var(--b) - 2*var(--_p));
  transition: .3s linear, color 0s, background-color 0s;
  outline: var(--b) solid #0000;
  outline-offset: .6em;
  font-size: 20px;
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin: 39px 0px 0px 50px;
}

.button:hover,
.button:focus-visible{
  --_p: 0px;
  outline-color: var(--color);
  outline-offset: .05em;
}

.button:active {
  background: var(--color);
  color: #fff;
}

/* End of the button style */

.content1{
  border: 1px solid black;
  border-radius: 15px;
  padding: 20px;
  margin-top: -50px;
  background-color: var(--bg2);
}
.content1 i{
  margin-left: 20px;
}
.content2{
  border: 1px solid black;
  border-radius: 15px;
  padding: 20px;
  margin-left: -95px;
  margin-top: -180px;
  height: 14vw;
  background-color: var(--bg1);
}

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


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto !important;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto !important;
}
.modal-content {
  background-color: #fff;
  margin: 10px auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 50% !important;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-left: 95%;
}
.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}
input, textarea, select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.button1{
  background-color: green;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 10px;
  float: right;
  margin-top: 20px;
}
   /* Mobile view responsive starts */

   @media (min-width:320px) and (max-width:480px){
    .background-image{
      height: 220px !important;
      width: 360px !important;
    }
    .heading{
      font-size: 28px !important;
      margin-top: -15px !important;
    }
    .img1{
      height: 330px !important;
      /* width: 380px !important; */
      margin-left: 20px !important;
    }
    .img2 img{
      width: 330px !important;
      height: 240px !important;
      margin-top: 30px !important;
    }
    .content1{
      width: 340px !important;
      height: 480px !important;
      margin-left: 10px !important;
      background-color: var(--Light_green);
    }
    .content2{
      height: 220px !important;
      width: 300px !important;
      margin: -65px 0px -70px 35px !important;
    }
    .button{
      margin: 220px 0 0 -840px !important;
    }
    .modal-content {
      width: 90% !important; /* Adjust modal width for smaller screens */
      margin: 5% auto; /* Center the modal */
      padding: 15px; /* Reduce padding */
  }

 input,textarea,select,button {
      font-size: 0.9rem; /* Adjust font size for smaller screens */
      padding: 8px; /* Reduce padding */
  }

  .button1 {
      font-size: 0.9rem; /* Adjust button font size */
      padding: 10px;
  }
   }
     
     /* 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){
    .copyright{
      margin-left: 38px !important;
  }
  .powered{
      margin-left: -50px !important;
  }
    .social p{
        margin-top: 20px !important;
    }
   }
     
     /* Laptop view responsive end */

