.modall {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  color: #000;
  border-radius: 8px;
  position: relative;
  /* Ensures content aligns properly */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease;
  transform: translateY(0);
  /* Ensures the modal starts from the center */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  color: #555;
  cursor: pointer;
}

.close:hover {
  color: red;
}

/* Form styling */
.contact-form h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.contact-form .form-outline {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #b82121;
  border-radius: 5px;
  outline: none;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

textarea {
  width: 100%;
  height: 120px;
  /* padding: 10px; */
  border: 1px solid #ddd;
  border-radius: 5px;
  resize: none;
  outline: none;
  box-sizing: border-box;
  width: 550px !important;
  /* Ensures padding doesn't affect width */
}

textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-check-label {
  font-size: 14px;
}

button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }

  .form-control,
  textarea {
    font-size: 14px;
  }
}
