.contact-form-container {
  box-shadow: 0 0 20px rgba(112, 88, 163, 0.2) !important;
}

/* Form title styling */
.wpcf7-form h2 {
  font-family: "Roboto", sans-serif;
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #000000;
}

/* Input field container */
.wpcf7-form .form-group {
  position: relative;
  margin-bottom: 20px;
}

/* Common styling for all inputs */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: transparent;
  font-family: "Roboto", sans-serif;
}

/* Specific styling for name input with green border */
.wpcf7-form input[name="your-name"] {
  border: 2px solid #b8d235;
}

/* Textarea specific styling */
.wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
  border-radius: 20px;
}

/* Focus state for inputs */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #7058a3;
  box-shadow: 0 0 5px rgba(112, 88, 163, 0.2);
}

/* Placeholder label transformation */
.wpcf7-form .form-group {
  position: relative;
}

.wpcf7-form span.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

/* The floating label effect */
.wpcf7-form .form-group::before {
  content: attr(data-label);
  position: absolute;
  top: 15px;
  left: 20px;
  color: #767676;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: none;
  opacity: 0;
}

.wpcf7-form .form-group.focused::before {
  top: -10px;
  left: 15px;
  font-size: 12px;
  background-color: white;
  padding: 0 5px;
  opacity: 1;
  z-index: 2;
  color: var(--primary-main);
}

/* JavaScript will add this class on focus */
.wpcf7-form .form-group.focused input,
.wpcf7-form .form-group.focused textarea,
.wpcf7-form .form-group.has-value input,
.wpcf7-form .form-group.has-value textarea {
  border-color: var(--primary-main);
}

/* Checkbox styling */
.wpcf7-form .form-check {
  display: flex;
  align-items: flex-start;
  margin: 25px 0;
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-acceptance {
  display: flex;
  align-items: center;
}

.wpcf7-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid #e0e0e0;
  border-radius: 3px;
  position: relative;
  top: 2px;
}

.wpcf7-form .wpcf7-list-item-label,
.wpcf7-form .wpcf7-acceptance label {
  font-size: 14px;
  color: #333;
  font-family: "Roboto", sans-serif;
}

/* Link styling in checkbox text */
.wpcf7-form .form-check a,
.wpcf7-form .form-check .wpcf7-list-item-label a {
  color: #b8d235;
  text-decoration: none;
  font-weight: 600;
}

/* Submit button styling */
.wpcf7-form .form-submit {
  text-align: center;
}

.wpcf7-form input[type="submit"] {
  background-color: #e5e5e5;
  color: #888888;
  padding: 12px 60px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Roboto", sans-serif;
  display: inline-block;
}

/* Hide spinner initially */
.form-submit .wpcf7-spinner {
  display: none !important;
  visibility: hidden;
}

/* When the form is submitting, display the spinner */
.wpcf7 submitting .wpcf7-spinner {
  display: block !important;
  visibility: visible;
}

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

/* reCAPTCHA notice styling */
.wpcf7-form .recaptcha-notice p {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 15px;
  font-family: "Roboto", sans-serif;
}

.wpcf7-form .recaptcha-notice a {
  color: #b8d235;
  text-decoration: none;
}

/* Style for the "Terms and Conditions" and "Privacy Policy" links */
.wpcf7-form .form-check .wpcf7-list-item-label {
  font-size: 14px;
}

.wpcf7-form .form-check .wpcf7-list-item-label a,
.wpcf7-form .form-check span[data-name="privacy-policy"] a {
  color: #b8d235;
  text-decoration: none;
  font-weight: 600;
}

/* Response message styling */
.wpcf7-response-output {
  margin-top: 20px !important;
  padding: 12px !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  text-align: center;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
}
