.contact-header {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-header-overlay {
  background-color: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-title {
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}

/* Blue background section */
.contact-form-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

/* White box with form */
.contact-form-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Styling for Contact Form 7 inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: -webkit-fill-available;
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
}
p{
    margin: 0px
}
.wpcf7 input[type="submit"] {
  background-color: var(--my-blue);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #1d2b6a;
}

.wpcf7-not-valid-tip {
    color: var(--text-blue);
    font-size: 13px;
}

@media screen and (max-width: 1024px) {
  .contact-form-box {
    max-width: 500px;
  }
  .contact-title {
    font-size: 25px;
  }

}
@media screen and (max-width: 480px) {
  .contact-header {
    height: 300px;
  }
.contact-form-section {
    padding: 0px 20px; 
    border-radius: none;
  } 
  .wpcf7 input[type="submit"] {
    font-size: 14px;
  }
}