body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

.header {
  background: red;
  color: white;
  padding: 1rem;
  text-align: center;
}

/* .contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
} */

.contact-container {
  display: flex;
  justify-content: center; /* ✅ Centers horizontally */
  align-items: center; /* ✅ Centers vertically */
  min-height: 90vh;
  padding: 1rem; /* ✅ Prevents touching screen edges on phones */
  box-sizing: border-box;
}

/* .contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
} */

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px; /* ✅ Centered form width */
  margin: 0 auto; /* ✅ Balanced spacing left & right */
  box-sizing: border-box;
}

/* .contact-form h2 {
  margin-bottom: 1rem;
  color: #003366;
} */

.contact-form h2 {
  margin-bottom: 1rem;
  color: red;
  text-align: center; /* ✅ Heading also centered */
}
/* 
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
} */

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* .submit-btn {
  width: 100%;
  padding: 0.8rem;
  background: #003366;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
} */

.submit-btn {
  width: 100%;
  padding: 0.8rem;
  background: red;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;

  /* background: red;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer; */
}

/* 
.submit-btn:hover {
  background: #0055aa;
} */

.submit-btn:hover {
  background: #d11;
}

/* Popup */
/* .popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
} */

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 1rem; /* ✅ Keeps spacing from screen edges */
  box-sizing: border-box;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 400px; /* ✅ Looks nice on desktop */
  margin: 0 auto; /* ✅ Perfect centering */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.form-actions {
  display: flex;
  justify-content: space-between; /* Space between Back & Send */
  gap: 1rem; /* Spacing */
}

.back-btn {
  background: #e0e0e0;
  color: black;
  font-weight: bold;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.back-btn:hover {
  background: #ccc;
}
