#contact-rewamp {
  min-height: 40%;
  width: 80%;
  position: relaive;
  box-shadow: 0 15px 58px 0 rgba(66, 72, 76, 0.22),
    0 5px 14px 0 rgba(66, 72, 76, 0.18);
  overflow: hidden;
  border-radius: 1.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4vw;
  margin: 4vh auto;
  margin-bottom: 10vh;
  position: relative;
  background-image: url("../../../public/images/Homepage/contactBackground.png");
}

#contact-rewamp .leftwrapper {
  width: 35%;
  height: 100%;
}

#contact-rewamp .leftwrapper .iconwrapper {
  height: 100%;
  width: 100%;
  display: flex;
  gap: 1.5vw;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50%;
  margin-top: 4vw;
}
#contact-rewamp .leftwrapper .iconwrapper .contact-mail-icon {
  position: absolute;
  top: -110px;
  font-size: 8vw;
  padding: 6vw;
  left: 130px;
  z-index: -1;
}
#contact-rewamp .leftwrapper .iconwrapper i {
  font-size: 7vw;
  border: 0.5px solid var(--primary-color);
  border-radius: 50%;
  padding: 4.5vw;
  color: var(--primary-color);
}

#contact-rewamp .rightwrapper {
  width: 65%;
  display: grid;
  text-align: center;
}

#contact-rewamp .contact-heading {
  font-weight: 600;
  font-size: 1.8vw;
  text-transform: uppercase;
  color: #42484c;
}

#contact-rewamp .contact-subheading {
  text-align: center;
  font-size: 1.1vw;
  color: #7a7a7a;
}

.partswrapper a {
  text-decoration: none;
}

#contact-rewamp .contact-heading span {
  color: var(--primary-color);
}

#contact-rewamp .partswrapper {
  width: 100%;
  display: flex;
  margin-top: 3.5vw;
  justify-content: center;
  gap: 2vw;
}

#contact-rewamp .partswrapper .mail i,
#contact-rewamp .partswrapper .contact i {
  font-size: 1.7vw;
  /* color: var(--primary-color); */
  color: #fff;
}

#contact-rewamp .partswrapper .mail h4,
#contact-rewamp .partswrapper .contact h4 {
  font-size: 1.3vw;
  font-weight: 400;
  /* color: #42484cc6; */
  color: #fff;
  display: flex;
  align-items: center;
}

#contact-rewamp .partswrapper .mail,
#contact-rewamp .partswrapper .contact {
  display: flex;
  gap: 0.4vw;
  align-items: center;
  padding: 1vw;
  border-radius: 2vw;
  cursor: pointer;
  /* border: 0.8px solid #42484ca2; */
  background-color: var(--primary-color);
}

#contact-rewamp .partswrapper .mail,
#contact-rewamp .partswrapper .contact {
  position: relative;
  overflow: hidden;
}

#contact-rewamp .partswrapper .mail::before,
#contact-rewamp .partswrapper .contact::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #fd5a0f;
  transition: all 0.3s ease;
  z-index: -1;
}

#contact-rewamp .partswrapper .mail:hover::before,
#contact-rewamp .partswrapper .contact:hover::before {
  height: 100%;
}

#contact-rewamp .partswrapper .mail:hover,
#contact-rewamp .partswrapper .contact:hover {
  border-color: #fd5a0f;
}

#contact-rewamp .partswrapper .mail:hover i,
#contact-rewamp .partswrapper .contact:hover i,
#contact-rewamp .partswrapper .mail:hover h4,
#contact-rewamp .partswrapper .contact:hover h4 {
  color: #ffffff;
  transition: all 0.3s ease;
}

#contact-rewamp .iconwrapper i {
  font-size: 3vw;
  color: var(--primary-color);
  background-color: #fff;
  border-radius: 50%;
  width: 6vw;
  height: 6vw;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.249);
  transition: all 0.3s ease;
}
#contact-rewamp .iconwrapper a {
  text-decoration: none;
}

#contact-rewamp .arrow {
  position: absolute;
  top: 10%;
  left: -0%;
  width: 9.5%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  #contact-rewamp {
    width: 90%;
    min-height: 60%;
    flex-direction: column;
    /* background-image: none; */
    background-position: 5% 10%;
    padding: 2vw 4vw;
    gap: 7vw;
  }
  #contact-rewamp .leftwrapper {
    width: 100%;
  }
  #contact-rewamp .rightwrapper {
    width: 100%;
  }
  #contact-rewamp .leftwrapper .iconwrapper {
    margin: 0;
  }
  #contact-rewamp .leftwrapper .iconwrapper .contact-mail-icon {
    /* top: -42%; */
    left: 35%;
    font-size: 10vw;
    padding: 10vw;
  }
  #contact-rewamp .leftwrapper .iconwrapper .contact-mail-icon {
    font-size: 18vw;
    padding: 14vw;
  }
  #contact-rewamp .leftwrapper .iconwrapper i {
    font-size: 8vw;
    padding: 10vw;
  }
  #contact-rewamp .contact-heading {
    font-size: 5vw;
    line-height: 7vw;
  }
  #contact-rewamp .contact-subheading {
    font-size: 4vw;
    margin-top: 2vw;
  }
  #contact-rewamp .partswrapper {
    flex-direction: column;
    margin-top: 4vw;
  }
  #contact-rewamp .partswrapper .mail,
  #contact-rewamp .partswrapper .contact {
    width: fit-content;
    margin: 0 auto;
    padding: 2.5vw 5vw;
  }
  #contact-rewamp .partswrapper .mail i,
  #contact-rewamp .partswrapper .contact i {
    font-size: 20px;
  }
  #contact-rewamp .partswrapper .mail h4,
  #contact-rewamp .partswrapper .contact h4 {
    font-size: 16px;
  }
}