: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;

      /* Colors */
  --brand-color: hsl(46, 100%, 50%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  /* Fonts */
  --font-title: "Montserrat", sans-serif;
  --font-text: "Lato", sans-serif;
  }
  
  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.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 */
  }
  .img2{
    height: 250px;
    width: 590px;
  }
  /* End of the hero image */

  /* Five cards content starts */

  .card-hover {
    width: 330px;
    height: 450px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 32px -10px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    margin-left: 35px;
}

.card-hover__content {
    width: 100%;
    text-align: center;
    background-color: #86B971;
    padding: 0 60px 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    height:35%;
}

.card-hover__content::before {
    content: '';
    width: 100%;
    height: 120px;
    background-color: inherit;
    position: absolute;
    left: 0;
    z-index: -1;
}

.card-hover__content::before {
    top: -80px;
    clip-path: ellipse(60% 80px at bottom center);
}

.card-hover__title {
    font-size: 1.2rem;
    margin-bottom: 1em;
}

.card-hover__text {
    font-size: 0.85rem;
}

.card-hover img {
    position:relative;
    display: block !important;
    top: 0;
    left: 0;
    padding-bottom: 40px;
    width: 100%;
    /* height: 300px; */
    object-fit: cover;
    object-position: center;
    z-index: -0.5;
    transform: scale(1.2); /* Optional: Set this to transform: scale(1); if scaling is not desired. */
}


/* End of the cards content */

/* Options content starts */

.card {
    border-radius: 15px;
    filter: drop-shadow(0 5px 10px 0 #ffffff);
    width: 500px;
    height: 190px;
    background-color: var(--bg1) !important;
    padding: 20px;
    position: relative;
    z-index: 0;
    overflow: hidden;
    transition: 0.6s ease-in;
    margin: 30px 0px 30px 50px;
  }
  
  .card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -15px;
    right: -15px;
    background: #f5ab8a;
    height:170px;
    width: 25px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-out;
  }
  
  .card:hover::before{
      transition-delay:0.2s ;
  
    transform: scale(40);
  }
  
  .card:hover{
      color: #ffffff;
  
  }
  
  .card p{
      padding: 10px 0;
  }
  .card h4{
    font-size: 20.5px;
  }
  /* End of the options content */

  /* 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: 210px !important;
        width: 410px !important;
    }
    .content{
        margin-top: -40px;
    }
    .img1{
        height: 250px !important;
        width: 380px !important;
        margin-top: -2px !important;
    }
    .image2{
        height: 250px !important;
        width: 380px !important;
    }
    .ethics{
        margin-left: -38px;
    }
    .environment{
        margin-left: -26px;
    }
    .improvement{
        margin-left: 38px;
    }
    .innovation{
        margin-left: 37px;
    }
    .card-hover{
        margin-left: 40px !important;
    }
    .partner{
        margin-left: -40px;
    }
    .card{
        margin: 14px !important;
        width:450px !important;
        height:auto;
    }
}
  
  /* 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;
    }
    .copyright{
        margin-left: 38px !important;
    }
    .powered{
        margin-left: -50px !important;
    }
    .social p{
        margin-top: 20px !important;
    }
}
  
  /* Laptop view responsive end */