.hubspot-form-section {
  padding: 80px 0;
  background-color: rgba(46, 84, 235, 1) !important;
  background: linear-gradient(90deg, rgba(95, 152, 240, 0.4) 4.69%, rgba(46, 84, 235, 1) 24.33%);
  color: #ffffff;
}

.form-wrapper {
  max-width: 1111px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.form-title {
  font-size: 54px;
  line-height: 55px;
  font-weight: 700;
  margin: 0 0 25px 0;
  color: #ffffff;
  font-family: 'Playfair Display';
}

.form-description {
  font-size: 16px;
  line-height: 22px;
  color: rgba(255, 255, 255, 1);
  margin: 0 0 0px 0;
  max-width: 850px;
  margin-left: 0;
  margin-right: auto;
}

.hubspot-form-container {
  margin-top: 40px;
}

/* HubSpot Form Styling */
.hubspot-form-container form {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
}

.hubspot-form-container .hs-form-field {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.hubspot-form-container label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #ffffff;
}

.hubspot-form-container input[type="text"],
.hubspot-form-container input[type="email"],
.hubspot-form-container input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.hubspot-form-container input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hubspot-form-container input:focus {
  outline: none;
  border-bottom-color: #ffffff;
}

.hubspot-form-container .hs-button {
  padding: 14px 40px;
  background: #ffffff;
  color: #4361ee;
  border: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.hubspot-form-container .hs-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hubspot-form-container .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}

.hubspot-form-container .hs-error-msg {
  color: #ffeb3b;
  font-size: 12px;
}

@media (max-width: 767.98px) {
  .hubspot-form-section {
    padding: 50px 0;
  }

  .form-title {
    font-size: 35px;
    line-height: 36px;
  }


  .hubspot-form-container form {
    flex-direction: column;
    align-items: stretch;
  }

  .hubspot-form-container .hs-form-field {
    min-width: 100%;
  }

  .hubspot-form-container .hs-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .form-title {
    font-size: 32px;
  }
}