/* .contacts-container {
    height: clamp(1px, 53.5vw, 1988px);
}
 */
.contact-label input {
  width: clamp(1px, 32.813vw, 1260px);
  height: clamp(1px, 3.386vw, 130px);
  margin: 0;
  border: none;
  background-color: transparent !important;
  border-bottom: clamp(1px, 0.2vw, 4px) solid #076abd;
  padding: 0px 5px;
}

.wpcf7-submit {
    background: transparent;
    width: clamp(1px, 8.8542vw, 340px);
    height: clamp(1px, 2.865vw, 110px);
    border: clamp(1px, 0.2vw, 6px) solid #076ABD;
    border-radius: 100px;
    padding: 0 !important;
}

.form-btn p {
    position: relative;
    width: 100%;
    margin: 0 !important;
}

.wpcf7-submit:hover {
    background-color: #076abd;
    border: clamp(1px, 0.2vw, 6px) solid #076abd;
    color: white !important;
}

.contact-label input:focus,
.contact-label input:focus-visible {
  outline: none;
  box-shadow: none;
}

textarea {
  width: clamp(1px, 32.813vw, 1260px);
  min-height: clamp(1px, 3.6vw, 140px);
  border: none;
  background-color: transparent !important;
  border-bottom: clamp(1px, 0.2vw, 4px) solid #076abd;
  padding: clamp(1px, 1.1vw, 40px) 5px;
  margin: 0;
  max-height: clamp(1px, 3.6vw, 140px);
  transition: max-height 0.2s ease;
}

textarea:focus,
textarea:focus-visible {
  outline: none;
  box-shadow: none;
  max-height: clamp(1px, 10.5vw, 400px);
  border-bottom: 2px solid #076abd;
}

.contact-label label {
  color: #076abd !important;
  padding-top: 6px;
}

.contact-label label {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

@keyframes bounce {
  0% {
    transform: translateY(100%) scale(1);
  }

  80% {
    transform: translateY(0%) scale(1);
  }

  100% {
    transform: translateY(0%) scale(1.05);
  }
}

/* Ensure the label becomes visible when input is focused or filled */
.contact-label div:focus-within label,
.contact-label input:not(:placeholder-shown) + label,
.contact-label textarea:not(:placeholder-shown) + label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

/* For input and textarea, hide placeholder when filled or focused */
input:focus::placeholder,
textarea:focus::placeholder,
input:not(:placeholder-shown)::placeholder,
textarea:not(:placeholder-shown)::placeholder {
  opacity: 0;
  animation: bounce 0.5s;
}

/* When the input or textarea is focused, show the label */
.contact-label input:focus + label,
.contact-label textarea:focus + label,
.contact-label input.filled + label,
.contact-label textarea.filled + label {
  opacity: 1 !important;
  animation: bounce 0.5s;
}

.contact-label div.focused label,
.contact-label div.filled label {
  opacity: 1 !important;
}

.contact-label :-webkit-autofill,
.contact-label textarea:-webkit-autofill,
.contact-label select:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #333333 !important;
  caret-color: #333333 !important;
  transition: background-color 5000s ease-in-out 0s; 
}

.contact-label input:focus,
.contact-label textarea:focus {
  outline: none;
  background-color: transparent !important;
}

.con-container {
    width: clamp(1px, 33.1771vw, 1274px);
}

.animation-icon,
.mail-animation {
  position: relative;
}

.animation-icon img {
  width: clamp(1px, 57.292vw, 2200px);
  height: 100%;
}

.con-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.mail-animation img {
  width: clamp(1px, 24.896vw, 956px);
  height: 100%;
}

.mail-animation-sm img {
  width: auto;
  height: clamp(1px, 15.021vw, 450px);
  position: relative;
}

.mail-icon-sm {
  width: auto;
  height: clamp(1px, 7vw, 450px) !important;
  position: relative;
}

.mail-icon {
  position: absolute;
  top: 0;
  left: 0;
}

.copy {
  position: relative;
  display: inline-block;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.white-border-bottom {
    color: white; 
    text-decoration: underline; 
    text-decoration-color: white; 
    -webkit-text-decoration-color: white; 
}

#contact-form {
  scroll-margin-top: 100px;
}

@media (max-width: 767px) {
  .contacts-container {
    background-image: url("../../images/custom/Contact\ Us/Homepage Banners(2).png") !important;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 100%;
  }

  .contacts-container h2 {
    font-size: clamp(1px, 10.46512vw, 60px) !important;
  }

  .contact-container {
    background-image: url("../../images/custom/Contact\ Us/News Section.png") !important;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .contact-label input {
    width: 100%;
    height: clamp(1px, 12.096vw, 65px);
  }

  textarea {
    width: 100%;
    min-height: clamp(1px, 12.096vw, 70px);
  }

  .wpcf7-submit {
    width: clamp(1px, 30.931vw, 170px);
    height: clamp(1px, 11.63vw, 50px) !important;
    border: clamp(1px, 0.6vw, 3px) solid #076abd;
  }
	
	.con-container {
   	 	width: 100%;
	}
}
