/* Careers Page Specific Styles */

/* Hero Section */
.hero-careers {
  background-image: url('https://c.animaapp.com/mkzluyi7JZaEsw/img/generated-image-f3d0132f-88ef-469f-9ec4-03638fc2667f-1-8.png');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 116px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 82, 226, 0.85), rgba(0, 216, 123, 0.85));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.9;
}

.hero-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-primary {
  padding: 14px 32px;
  background: #0052E2;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: #0046C7;
}

.btn-hero-secondary {
  padding: 14px 32px;
  background: transparent;
  color: #FFFFFF;
  text-decoration: none;
  border: 2px solid #FFFFFF;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.btn-hero-secondary:hover {
  background: #FFFFFF;
  color: #0052E2;
}

/* Careers Content Section */
.careers-content-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1B1F26;
}

.section-subtitle {
  font-size: 20px;
  color: rgba(27, 31, 38, 0.72);
  line-height: 1.6;
}

.section-title.centered {
  text-align: center;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 100px;
}

.benefit-card {
  text-align: center;
  padding: 40px 24px;
  background: #F9F9F9;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1B1F26;
}

.benefit-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(27, 31, 38, 0.72);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

/* Don't See Your Role Section */
.dont-see-role-section {
  padding: 80px 0;
  background: #F9F9F9;
}

.dont-see-role-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.dont-see-role-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1B1F26;
}

.dont-see-role-text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(27, 31, 38, 0.72);
  margin-bottom: 32px;
}

.btn-dont-see-role {
  padding: 14px 32px;
  background: #0052E2;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-dont-see-role:hover {
  background: #0046C7;
}

/* Positions Section */
.positions-section {
  padding: 40px 0;
}

.positions-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  background: #FFFFFF;
  border: 2px solid #E5E5EA;
  border-radius: 24px;
  font-weight: 600;
  font-size: 16px;
  color: #1B1F26;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #0052E2;
  color: #0052E2;
}

.filter-btn.active {
  background: #0052E2;
  border-color: #0052E2;
  color: #FFFFFF;
}

.positions-list {
  display: grid;
  gap: 24px;
}

.position-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #E5E5EA;
}

.position-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #0052E2;
}

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}

.position-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1B1F26;
}

.position-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.position-location,
.position-type {
  font-size: 14px;
  color: rgba(27, 31, 38, 0.72);
  display: flex;
  align-items: center;
  gap: 6px;
}

.position-badge {
  padding: 6px 16px;
  background: #0052E2;
  color: #FFFFFF;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.position-badge.environmental {
  background: #00D87B;
}

.position-badge.management {
  background: #FF6B6B;
}

.position-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(27, 31, 38, 0.72);
  margin-bottom: 24px;
}

.btn-apply {
  padding: 12px 24px;
  background: #0052E2;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-apply:hover {
  background: #0046C7;
}

.btn-view-details {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #0052E2;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  color: #0052E2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view-details:hover {
  background: #0052E2;
  color: #FFFFFF;
}

/* Application Section */
.application-section {
  padding: 100px 0;
  background: #F2F2F7;
}

.application-content {
  max-width: 800px;
  margin: 0 auto;
}

.application-form {
  background: #FFFFFF;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-top: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: #1B1F26;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E5E5EA;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background-color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0052E2;
}

.radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
  font-size: 16px;
  color: #1B1F26;
}

.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #0052E2;
}

.radio-label span {
  user-select: none;
}

.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 2px dashed #E5E5EA;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.3s ease;
  background-color: #F9F9F9;
}

.file-upload-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(27, 31, 38, 0.72);
  font-size: 14px;
  flex: 1;
}

.file-upload-label:hover {
  border-color: #0052E2;
}

.file-upload-button {
  padding: 8px 16px;
  background: #0052E2;
  color: #FFFFFF;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
}

.btn-submit {
  width: 100%;
  padding: 16px 32px;
  background: #0052E2;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #0046C7;
}

/* Job Modal */
.job-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.job-modal.active {
  opacity: 1;
  visibility: visible;
}

.job-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.job-modal.active .job-modal-content {
  transform: scale(1);
}

.job-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #1B1F26;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: color 0.2s;
}

.job-modal-close:hover {
  color: #0052E2;
}

.job-modal-body {
  padding: 48px;
}

/* Loading State */
.loading-spinner {
  text-align: center;
  padding: 40px;
  color: rgba(27, 31, 38, 0.72);
  font-size: 18px;
}

.no-jobs-message {
  text-align: center;
  padding: 40px;
  background: #F9F9F9;
  border-radius: 12px;
  color: rgba(27, 31, 38, 0.72);
  font-size: 18px;
}

.error-message {
  text-align: center;
  padding: 40px;
  background: #FFF5F5;
  border-radius: 12px;
  color: #DC2626;
  font-size: 18px;
  border: 1px solid #FECACA;
}

/* Responsive Adjustments */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-careers {
    height: 400px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-description {
    font-size: 24px;
  }

  .hero-text {
    font-size: 16px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
  }

  .section-title {
    font-size: 40px;
  }

  .dont-see-role-title {
    font-size: 36px;
  }

  .dont-see-role-section {
    padding: 64px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .positions-filter {
    gap: 12px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .hero-careers {
    height: 350px;
    margin-top: 102px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .careers-content-section,
  .application-section,
  .dont-see-role-section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-title {
    font-size: 32px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .benefit-card {
    padding: 32px 20px;
  }

  .benefit-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .benefit-title {
    font-size: 18px;
  }

  .benefit-description {
    font-size: 14px;
  }

  .dont-see-role-title {
    font-size: 28px;
  }

  .dont-see-role-text {
    font-size: 16px;
  }

  .btn-dont-see-role {
    width: 100%;
    justify-content: center;
  }

  .positions-section {
    padding: 32px 0;
  }

  .positions-filter {
    gap: 8px;
    margin: 32px 0;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .position-card {
    padding: 24px;
  }

  .position-title {
    font-size: 20px;
  }

  .position-header {
    flex-direction: column;
    gap: 8px;
  }

  .position-meta {
    flex-direction: column;
    gap: 8px;
  }

  .application-form {
    padding: 24px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .file-upload-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .file-upload-text {
    width: 100%;
  }

  .file-upload-button {
    width: 100%;
    text-align: center;
  }

  .job-modal-content {
    max-width: 95%;
    margin: 10px;
  }

  .job-modal-body {
    padding: 24px;
  }
}
