/* Modal Styles for Inquiry and Career Modals */

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

/* Inquiry Modal Styles */
.inquiry-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  padding: 20px !important;
  backdrop-filter: blur(5px) !important;
  animation: fadeIn 0.3s ease !important;
  overflow-y: auto !important;
}

.inquiry-modal-content {
  background: #fff !important;
  border-radius: 16px !important;
  max-width: 600px !important;
  width: 100% !important;
  max-height: 95vh !important;
  overflow-y: auto !important;
  position: relative !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  animation: slideUp 0.3s ease !important;
  margin: auto !important;
}

.inquiry-modal-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  background: #f0f0f0 !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 100 !important;
}

.inquiry-modal-close:hover {
  background: #ff5500 !important;
  color: #fff !important;
  transform: rotate(90deg) !important;
}

.inquiry-modal-close i {
  font-size: 24px !important;
}

.inquiry-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  padding: 30px !important;
  text-align: center !important;
  border-radius: 16px 16px 0 0 !important;
}

.inquiry-modal-header h3 {
  font-size: 28px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  color: #fff !important;
}

.inquiry-modal-header p {
  font-size: 16px !important;
  margin: 0 !important;
  opacity: 0.9 !important;
  color: #fff !important;
}

.inquiry-modal-form {
  padding: 40px !important;
}

.inquiry-modal-form .form-group {
  margin-bottom: 25px !important;
}

.inquiry-modal-form .form-group label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 8px !important;
}

.inquiry-modal-form .form-control {
  width: 100% !important;
  padding: 12px 15px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  background: #fff !important;
  font-family: inherit !important;
}

.inquiry-modal-form .form-control:focus {
  outline: none !important;
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.inquiry-modal-form textarea.form-control {
  resize: vertical !important;
  min-height: 100px !important;
}

.inquiry-modal-form select.form-control {
  cursor: pointer !important;
}

.inquiry-submit-btn {
  width: 100% !important;
  padding: 15px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  justify-content: center !important;
  margin-top: 10px !important;
}

/* Career Modal Styles */
.career-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 99999 !important;
  padding: 20px !important;
  backdrop-filter: blur(5px) !important;
  animation: fadeIn 0.3s ease !important;
  overflow-y: auto !important;
}

.career-modal-content {
  background: #fff !important;
  border-radius: 16px !important;
  max-width: 700px !important;
  width: 100% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  position: relative !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  animation: slideUp 0.3s ease !important;
  margin: auto !important;
}

.career-modal-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  background: #fff !important;
  border: none !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 100 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.career-modal-close:hover {
  background: #ff5500 !important;
  color: #fff !important;
  transform: rotate(90deg) !important;
}

.career-modal-close i {
  font-size: 24px !important;
}

.career-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  padding: 40px !important;
  text-align: center !important;
  border-radius: 16px 16px 0 0 !important;
}

.career-modal-header i {
  font-size: 48px !important;
  margin-bottom: 15px !important;
  display: block !important;
}

.career-modal-header h3 {
  font-size: 28px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  color: #fff !important;
}

.career-modal-header .job-title {
  font-size: 18px !important;
  margin: 0 !important;
  opacity: 0.95 !important;
  font-weight: 500 !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.2) !important;
  display: inline-block !important;
  padding: 8px 20px !important;
  border-radius: 20px !important;
  margin-top: 10px !important;
}

.career-modal-form {
  padding: 40px !important;
}

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

.career-modal-form .form-group {
  margin-bottom: 25px !important;
}

.career-modal-form .form-group label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-bottom: 8px !important;
}

.career-modal-form .form-control {
  width: 100% !important;
  padding: 12px 15px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  background: #fff !important;
  font-family: inherit !important;
}

.career-modal-form .form-control:focus {
  outline: none !important;
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.career-modal-form textarea.form-control {
  resize: vertical !important;
  min-height: 100px !important;
}

.career-modal-form select.form-control {
  cursor: pointer !important;
}

.file-input-wrapper {
  position: relative !important;
}

.file-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.file-input-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px 20px !important;
  border: 2px dashed #e0e0e0 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  background: #f8f9fa !important;
  gap: 10px !important;
}

.file-input-label:hover {
  border-color: #667eea !important;
  background: #fff !important;
}

.file-input-label i {
  font-size: 32px !important;
  color: #667eea !important;
}

.file-input-label span {
  color: #666 !important;
  font-size: 14px !important;
}

.career-submit-btn {
  width: 100% !important;
  padding: 15px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  justify-content: center !important;
  margin-top: 10px !important;
}

/* Dark Mode Support */
.dark-theme .inquiry-modal-content,
.dark-theme .career-modal-content {
  background: #1a1a1a !important;
}

.dark-theme .inquiry-modal-form .form-group label,
.dark-theme .career-modal-form .form-group label {
  color: #fff !important;
}

.dark-theme .inquiry-modal-form .form-control,
.dark-theme .career-modal-form .form-control {
  background: #252525 !important;
  border-color: #333 !important;
  color: #fff !important;
}

.dark-theme .file-input-label {
  background: #252525 !important;
  border-color: #333 !important;
}

.dark-theme .file-input-label span {
  color: #b0b0b0 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .inquiry-modal-content,
  .career-modal-content {
    /* margin: 20px !important; */
    max-height: 85vh !important;
  }

  .inquiry-modal-header,
  .career-modal-header {
    padding: 30px 20px !important;
  }

  .inquiry-modal-header h3,
  .career-modal-header h3 {
    font-size: 24px !important;
  }

  .inquiry-modal-form,
  .career-modal-form {
    padding: 30px 20px !important;
  }

  .career-modal-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}
