.contact-section {
  background-color: #080808;
  padding: 64px 0;
  display: flex;
  justify-content: center;
}

.contact-form-container {
  background-color: #10182a;
  border: 1px solid #4e4e4e;
  border-radius: 16px;
  padding: 32px;
  max-width: 544px;
  width: 100%;
  box-shadow: 0 5px 16px rgba(8, 15, 52, 0.06);
  margin: 0 20px;
}

.contact-form-container .section-title {
  text-align: center;
  margin-bottom: 32px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-group {
  flex: 1;
  margin-bottom: 16px;
}

.form-group label {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ffffff;
  padding: 12px 16px;
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-bottom-color: #1da1ff;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 16px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  min-height: 120px;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group textarea:focus {
  border-color: #1da1ff;
}

.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 1px solid #1da1ff;
  border-radius: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.2s ease;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: #1da1ff;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-group label {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
}

.checkbox-group label a {
  color: #ffffff;
  text-decoration: underline;
}

.contact-submit {
  display: block;
  margin: 0 auto;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #ff4444;
}

.checkbox-group input.error {
  border-color: #ff4444;
}

.error-message {
  color: #ff4444;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.thank-you-message {
  text-align: center;
  padding: 60px 20px;
  color: #ffffff;
  display: none;
}

.thank-you-message h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 16px;
}

.thank-you-message p {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #cbcbcb;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-form-container {
    padding: 20px;
    margin: 0 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .checkbox-group label {
    font-size: 14px;
  }

  .thank-you-message h3 {
    font-size: 24px;
  }

  .thank-you-message p {
    font-size: 16px;
  }
}
