body {
  font-family: "Inter", sans-serif;
  background-image: linear-gradient(90deg, #0a194a4d, #050505),
    linear-gradient(#2c2e31, #2c2e31);
  color: var(--black);
  padding: 40px;
  margin: 0;
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #f5f5f5;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.form-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  flex: 2;
}

.form-logo {
  display: block;
  margin: 0 auto 20px;
  width: 100%;
  max-width: 400px;
  height: auto;
}

.form-wrapper h2 {
  font-size: 2em;
  font-weight: bold;
  color: rgb(51, 71, 91);
  margin: 2em 0 0.67em;
}

.form-wrapper p {
  font-size: 14px;
  color: #33475b;
  margin-bottom: 18px;
}

.form-group {
  text-align: left;
  margin-bottom: 16px;
  box-sizing: border-box;
}

label {
  display: block;
  font-size: 13px;
  color: #2c2e31;
  margin-bottom: 4px;
}

.required {
  color: red;
}

input,
select,
textarea {
  width: 100%;
  height: 40px;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 18px;
  font-size: 13px;
  background-color: #f5f8fa;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
  line-height: 1.4;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #06a959;
  box-shadow: 0 0 0 2px rgba(6, 169, 89, 0.2);
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 40px;
}

select:invalid {
  color: #999;
}

select option {
  color: #2c2e31;
}

select option[value=""] {
  color: #999;
}

select.error,
input.error,
textarea.error {
  border-color: #dc3545;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

textarea::placeholder {
  color: #999;
}

.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  display: block;
  min-height: 16px;
}

button {
  display: inline-block;
  background: #0084ff;
  color: #ffffff;
  font-size: 13px;
  padding: 12px 25px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 10px;
  font-family: "Inter", sans-serif;
  position: relative;
  transition: opacity 0.3s ease;
}

button:hover:not(:disabled) {
  opacity: 0.9;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loading {
  display: none;
}

.form-wrapper form {
  text-align: left;
}

.thank-you,
.error-response {
  font-size: 16px;
  color: #33475b;
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
}

.thank-you {
  background: #d4edda;
  color: #155724;
}

.error-response {
  background: #f8d7da;
  color: #721c24;
}

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}

.cf-turnstile {
  flex-shrink: 0;
}

/* Two-column layout */
.form-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  background: #f5f5f5;
  border-radius: 8px;
  padding-top: 24px;
  padding-bottom: 48px;
  padding-left: 24px;
  padding-right: 24px;
  box-shadow: 0 2px 8px rgba(53, 105, 128, 0.15);
  text-align: left;
  font-size: 14px;
  color: #33475b;
}

.contact-info h3 {
  color: #0084ff;
  font-size: 18px;
  margin-top: 0;
}

.contact-info p.subtitle {
  margin-left: 0;
}
.contact-info p {
  margin-left: 32px;
}

.contact-info a {
  color: #0084ff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.info-item {
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .form-container {
    flex-direction: column;
  }

  .contact-info {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  .form-wrapper {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .submit-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* Main page layout */
.contact-page-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
