body {
  padding-top: 150px !important;
}
@media (max-width: 991.98px) {
  body {
    padding-top: 120px !important;
  }
}
@media (max-width: 767.98px) {
  body {
    padding-top: 100px !important;
  }
}
@media (max-width: 575.98px) {
  body {
    padding-top: 85px !important;
  }
}

/* Hero image overlay and text styles */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(27, 34, 20, 0.7),
    rgba(38, 47, 27, 0.7)
  );
  z-index: 1;
}
.hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 991.98px) {
  .hero-text {
    padding: 2rem 1rem;
    font-size: 1.1rem;
    max-width: 95vw;
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 220px;
  }
  .hero-text {
    padding: 1.2rem 0.5rem;
    font-size: 1rem;
    border-radius: 0.7rem;
  }
}
body {
  background-color: #f5f5f5;
  padding-top: 126.7px; /* For fixed navbar */
  font-family: "DM Sans", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* Job Application Specific Styles */
.application-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin: 120px auto 40px;
  max-width: 900px;
}

.progress-bar {
  height: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: #4a622c;
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-control,
.form-select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.form-label {
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}

.btn-primary {
  background-color: #d4af37 !important;
  border-color: #d4af37 !important;
  color: #000 !important;
  padding: 12px 24px;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #bf9b2c !important;
  border-color: #bf9b2c !important;
  color: #000 !important;
}

.btn-outline-primary {
  color: #d4af37 !important;
  border-color: #d4af37 !important;
  padding: 12px 24px;
  font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #d4af37 !important;
  border-color: #d4af37 !important;
  color: #000 !important;
}

.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  color: #4a622c;
  font-weight: 700;
  margin-bottom: 10px;
}

.header p {
  color: #666;
  font-size: 1.1rem;
}

.required-field::after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.upload-area {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-area:hover {
  border-color: #d4af37;
  background-color: #f8f9fa;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  margin-top: 0.25rem;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* Progress Steps Indicator */
.progress-steps-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 40px 0 50px;
}

.progress-line {
  position: absolute;
  height: 3px;
  background-color: #e9ecef;
  top: 25px;
  z-index: 1;
}

.progress-line-fill {
  position: absolute;
  height: 3px;
  background-color: #4a622c;
  top: 25px;
  z-index: 2;
  transition: width 0.5s ease;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  position: relative;
  flex: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.85rem;
  color: #6c757d;
  text-align: center;
  white-space: nowrap;
}

.step-indicator.active .step-icon {
  background-color: #4a622c;
  color: white;
}

.step-indicator.active .step-label {
  color: #4a622c;
  font-weight: 600;
}

.step-indicator.completed .step-icon {
  background-color: #4a622c;
  color: white;
}

/* Form focus states with gold color */
.form-control:focus,
.form-select:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
}

/* Checkbox styling with gold */
.form-check-input:checked {
  background-color: #d4af37 !important;
  border-color: #d4af37 !important;
}

.form-check-input:focus {
  border-color: #d4af37 !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
}

/* Custom validation styling */
.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #198754;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
}

.was-validated .form-select:valid,
.form-select.is-valid {
  border-color: #198754;
}

.was-validated .form-select:invalid,
.form-select.is-invalid {
  border-color: #dc3545;
}

.was-validated .form-check-input:valid,
.form-check-input.is-valid {
  border-color: #198754;
}

.was-validated .form-check-input:valid:checked,
.form-check-input.is-valid:checked {
  background-color: #198754;
}

.was-validated .form-check-input:invalid,
.form-check-input.is-invalid {
  border-color: #dc3545;
}

/* Card styles for entries */
.card {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-footer {
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/* Alert styles */
.alert-info {
  background-color: #e8f4f8;
  border-color: #b8dde9;
  color: #0c5460;
}

.alert-light {
  background-color: #fefefe;
  border-color: #fdfdfe;
  color: #818182;
}

/* Review Section Styles */
.review-section .card {
  border: 1px solid #e9ecef;
}

.review-section .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.review-section p {
  margin-bottom: 0.5rem;
}

.review-section .border-top {
  border-top: 1px solid #e9ecef !important;
}

/* Responsive adjustments for job application */
@media (max-width: 991.98px) {
  .application-container {
    margin: 80px 16px 30px;
    padding: 24px;
    max-width: 760px;
  }
}

@media (max-width: 767.98px) {
  .application-container {
    margin: 60px 12px 24px;
    padding: 16px;
    max-width: 95%;
  }

  .progress-steps-container {
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
  }

  .step-label {
    white-space: normal;
    font-size: 0.95rem;
  }
}

/* Success Message Styles */
#success-message {
  animation: fadeIn 0.5s ease-in;
}

.success-checkmark {
  color: #28a745;
  font-size: 4rem;
}

/* Spinner animation for PDF generation */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Review Section Styles */
.review-section .card {
  border: 1px solid #e9ecef;
  margin-bottom: 1rem;
}

.review-section .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
}

.review-section p {
  margin-bottom: 0.5rem;
}

.review-section .border-top {
  border-top: 1px solid #e9ecef !important;
}
