:root {
  --fire-red: #ed2024;
  --dark-gray: #3a3a3b;
  --bg-dark: #1a1a1a;
  --bg-darker: #0f0f0f;
  --bg-card: #252525;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --border-color: #525252;
  --radius: 0.625rem;
}

.contact-form {
  max-width: 800px;
  margin: 3rem auto 0;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fire-red);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn-submit {
  padding: 1rem 3rem;
  background: var(--fire-red);
  color: white;
  border: 2px solid var(--fire-red);
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: transparent;
  color: var(--fire-red);
}

.success-message,
.error-message {
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  text-align: center;
}

.success-message {
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid #2e7d32;
  color: #4caf50;
}

.error-message {
  background: rgba(237, 32, 36, 0.1);
  border: 1px solid var(--fire-red);
  color: var(--fire-red);
}

.success-message h2,
.error-message h2 {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .btn-submit {
    width: 100%;
  }
}

/* Added thank you page styles */
.thank-you-content {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-content h1 {
  color: var(--fire-red);
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.thank-you-content .btn {
  display: inline-block;
  background-color: var(--fire-red);
  color: var(--text-primary);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: 0.3s ease;
  border-bottom: none;
}

.thank-you-content .btn:hover {
  background: var(--dark-gray);
  color: white;
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-block;
  border: 4px solid var(--fire-red);
  margin-bottom: 2rem;
  position: relative;
}

.checkmark::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 45px;
  border: solid var(--fire-red);
  border-width: 0 4px 4px 0;
  top: 5px;
  left: 25px;
  transform: rotate(45deg);
}
