.elementor-14622 .elementor-element.elementor-element-d40ee1f{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-17e2134 *//* Form Container Styling */
#wpforms-form-24843 {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative; /* For positioning the heading */
  padding-top: 70px; /* Make space for the heading */
}

/* Add the heading at the top */
#wpforms-form-24843::before {
  content: "Drop Your Query";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #6a5035;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Target the legend within the its-a-name container */
.its-a-name legend.wpforms-field-label {
  color: #6a5035 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 10px !important;
}

/* Also target the sublabels within the its-a-name container */
.its-a-name .wpforms-field-sublabel {
  color: #8a7055 !important;
  font-size: 13px !important;
}

/* Field Labels */
.wpforms-field-label {
  display: block;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  color: #6a5035 !important; /* Warm leather brown color */
  font-size: 16px !important;
  letter-spacing: 0.3px !important;
}

/* Required Label */
.wpforms-required-label {
  color: #c25b3f !important; /* Warm terracotta color */
  margin-left: 4px;
}

/* Field Sublabels */
.wpforms-field-sublabel,
.wpforms-field-row-block label {
  font-size: 13px !important;
  color: #8a7055 !important; /* Lighter leather brown */
  margin-top: 6px;
  display: block;
}

/* Text Inputs, Email, Number */
.wpforms-field-medium,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px 16px;
  border: 1px solid rgba(106, 80, 53, 0.2); /* Lighter version of the leather brown */
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
}

.wpforms-field-medium:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
  border-color: #4d7a97; /* Teal color matching submit button */
  outline: none;
  box-shadow: 0 0 0 3px rgba(77, 122, 151, 0.2);
  background-color: #ffffff;
}

/* Name Field Styling */
.wpforms-field-name-first,
.wpforms-field-name-last {
  padding: 14px 16px;
  border: 1px solid rgba(106, 80, 53, 0.2);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.9);
}

.wpforms-field-name-first:focus,
.wpforms-field-name-last:focus {
  border-color: #4d7a97;
  outline: none;
  box-shadow: 0 0 0 3px rgba(77, 122, 151, 0.2);
  background-color: #ffffff;
}

.wpforms-field-row {
  display: flex;
  gap: 18px;
}

.wpforms-field-row-block {
  flex: 1;
}

/* Phone Field Styling */
.iti {
  width: 100%;
}

.iti__flag-container {
  z-index: 10;
}

.iti__selected-flag {
  padding: 0 12px;
  border-radius: 6px 0 0 6px;
  background-color: rgba(245, 245, 245, 0.8);
  border-right: 1px solid rgba(106, 80, 53, 0.2);
}

.iti__country-list {
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  max-height: 220px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.iti__country {
  padding: 10px 12px;
  font-size: 14px;
  transition: background-color 0.2s;
}

.iti__country.iti__active,
.iti__country:hover {
  background-color: rgba(106, 80, 53, 0.1);
}

/* Dropdown Styling */
select.wpforms-field-medium,
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a5035' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Layout Columns */
.wpforms-layout-column {
  padding: 0 10px;
}

.wpforms-layout-row {
  display: flex;
  margin: 0 -10px;
}

/* Submit Button */
.wpforms-submit {
  background-color: #4d7a97;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.wpforms-submit:hover {
  background-color: #3a5d74;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.wpforms-submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.wpforms-submit-container {
  margin-top: 25px;
  text-align: center;
}

/* Spinner */
.wpforms-submit-spinner {
  margin-left: 10px;
  vertical-align: middle;
}

/* Error Messages */
.wpforms-error {
  color: #c25b3f !important; /* Warm terracotta color */
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  #wpforms-form-24843 {
    padding: 20px;
    padding-top: 60px; /* Adjust top padding for mobile */
  }
  
  #wpforms-form-24843::before {
    font-size: 20px; /* Smaller font size on mobile */
    top: 15px;
  }
  
  .wpforms-layout-row {
    flex-direction: column;
  }
  
  .wpforms-layout-column {
    width: 100% !important;
    margin-bottom: 15px;
  }
  
  .wpforms-field-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .wpforms-submit {
    width: 100%;
    padding: 12px 20px;
  }
}

/* Form Hover Effect */
#wpforms-form-24843:hover {
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.4s ease;
}

/* Field Focus Animation */
.wpforms-field-medium:focus,
.wpforms-field-name-first:focus,
.wpforms-field-name-last:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

/* Direct ID targeting as a fallback */
#wpforms-24843-field_2-container legend.wpforms-field-label {
  color: #6a5035 !important;
}/* End custom CSS */