/* Contact Form Modal Styles */
.modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact Form Section Styles */
.text-center h3{
  padding-top: 120px;
  padding-bottom: 120px;
  margin-top: 10px;
  background-color: #8040ef;
  border-radius: 8px;
}

.modal-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-header .btn-close {
  background-size: 1.2em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 0 1.5rem 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* Form Styles */
.form-label {
  color: #333;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-control:focus {
  border-color: #fbb415;
  box-shadow: 0 0 0 0.2rem rgba(251, 180, 21, 0.25);
  outline: none;
}

.form-control::placeholder {
  color: #999;
  opacity: 0.7;
}

textarea.form-control {
  resize: vertical;
  min-height: 102px;
}

/* Checkbox Styles */
.form-check {
  margin-bottom: 0;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: #fbb415;
  border-color: #fbb415;
}

.form-check-input:focus {
  border-color: #fbb415;
  box-shadow: 0 0 0 0.2rem rgba(251, 180, 21, 0.25);
}

.form-check-label {
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  margin-left: 0.5rem;
}

/* Submit Button */
.btn-dark {
  background-color: #000;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 150px;
}

.btn-dark:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-dark:active {
  transform: translateY(0);
}

/* Error Messages */
.t-input-error {
  margin-top: 0.25rem;
  font-size: 13px;
}

/* Success Message */
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  border-radius: 8px;
  padding: 1rem;
}

/* Privacy Policy Text */
.form-bottom-text {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.form-bottom-text li {
  line-height: 1.6;
  color: #666;
}

/* Modal Responsive Adjustments */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 1rem;
  }
  
  .modal-body {
    padding: 0 1rem 1rem;
  }
  
  .modal-title {
    font-size: 1.3rem;
  }
  
  .btn-dark {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .modal-body {
    padding: 0 0.75rem 0.75rem;
  }
  
  .modal-title {
    font-size: 1.2rem;
  }
}

/* Animation for modal */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show .modal-dialog {
  transform: none;
}

/* Focus styles for accessibility */
.modal:focus-within {
  outline: none;
}

.form-control:focus,
.form-check-input:focus,
.btn:focus {
  outline: none;
}

/* Loading state for submit button */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
} 