* {
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 40px auto;
  background: #111;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #222;
}

h1 {
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 32px;
}

h2 {
  color: #0073e6;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #222;
}

.subtitle {
  text-transform: uppercase;
  font-size: 13px;
  color: #aaa;
  font-weight: 500;
  margin: 0;
}

.form-section {
  margin-bottom: 40px;
  padding: 25px;
  background: #1a1a1a;
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ddd;
  font-size: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #0a0a0a;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0073e6;
}

select {
  cursor: pointer;
}

select option {
  background: #1a1a1a;
  color: #fff;
}

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

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  background: #0a0a0a;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.checkbox-label:hover {
  background: #222;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #0073e6;
}

.checkbox-label span {
  font-weight: 400;
  color: #ddd;
}

.g-recaptcha {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

button {
  width: 100%;
  padding: 16px;
  background: #0073e6;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover:not(:disabled) {
  background: #005bb5;
}

button:disabled {
  background: #444;
  cursor: not-allowed;
  opacity: 0.7;
  animation: pulse 1.5s ease-in-out infinite;
}

.privacy-note {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 20px;
  line-height: 1.6;
}

.hidden {
  display: none;
}

.success-message {
  background: #28a745;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
}

.success-message h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #fff;
}

.success-message p {
  margin: 10px 0;
  font-size: 16px;
}

.error-message {
  background: #dc3545;
  color: #fff;
  padding: 15px;
  border-radius: 6px;
  margin: 20px 0;
  text-align: center;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    margin: 20px;
    padding: 25px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-section {
    padding: 20px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px; /* Prevents iOS zoom */
  }
}

@media (max-width: 480px) {
  .container {
    margin: 10px;
    padding: 20px;
  }

  h1 {
    font-size: 22px;
  }

  button {
    padding: 14px;
    font-size: 14px;
  }

  .form-section {
    padding: 15px;
  }
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
