.careers-hero {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.careers-hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.values-section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 217, 255, 0.3);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.value-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 60px;
}

.jobs-section {
  padding: 80px 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.job-filters {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 9px 28px;
  background: var(--secondary-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--tertiary-900);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--white);
  color: var(--secondary-900);
  border-color: transparent;
  box-shadow: inset 0 0 0 2px var(--white);
}

.jobs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  padding: 32px;
  background: rgba(5, 75, 171, 0.08);
  border-radius: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateY(-8px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}

.job-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-900);
}

.job-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--primary-900);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-description {
  color: var(--primary-900);
  line-height: 1.6;
  margin-bottom: 20px;
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.job-tag {
  padding: 6px 16px;
  background: #fb8a02;
  color: black;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.apply-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary-900);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.benefits-section {
  padding: 80px 0;
  background-image: url("./assets/back-bottom.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  flex-direction: column;
  border-radius: 16px;
  background: rgba(5, 75, 171, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(230, 81, 0, 0.3);
  box-shadow: 0 10px 30px rgba(51, 51, 51, 0.15);
}

.benefit-icon {
  font-size: 32px;
  flex-shrink: 0;
  color: var(--primary-900);
  transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-content h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--primary-900);
}

.benefit-content p {
  color: var(--primary-900);
  line-height: 1.6;
  font-size: 15px;
}

.cta-section {
  padding: 100px 24px;
  text-align: center;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.application-form h2 {
  font-size: 32px;
  margin-bottom: 12px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.application-form .job-info {
  color: var(--primary-900);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-group label.required::after {
  content: " *";
  color: #ff4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fb8a02;
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input[type="file"] {
  padding: 10px;
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.form-actions button {
  flex: 1;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn {
  background: var(--primary-gradient);
  color: white;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cancel-btn {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.7);
}

.loading-spinner::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 217, 255, 0.2);
  border-top-color: #fb8a02;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 20px;
}

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

@media (max-width: 1024px) {
  .jobs-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .careers-hero {
    padding: 40px 24px 80px;
  }
  .careers-hero h1 {
    font-size: 42px;
  }
  .section-title {
    font-size: 36px;
  }
  .job-header {
    flex-direction: column;
  }
  .jobs-list {
    grid-template-columns: 1fr;
  }
}

.no-jobs {
  text-align: center;
  padding: 60px 24px;
  color: rgba(255, 255, 255, 0.5);
}
