/* ========================================
   CAREERS HERO
======================================== */

.careers-hero {
  padding: 170px 0 90px;
  background: linear-gradient(
    180deg,
    #fafbff 0%,
    #ffffff 100%
  );
  position: relative;
  overflow: hidden;
}

.careers-hero::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(106, 92, 255, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.careers-hero .section-header {
  max-width: 850px;
  margin: 0 auto;
}

.careers-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.1;
  margin: 20px 0;
  color: #111827;
}

.careers-hero .subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #64748b;
}

.career-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.highlight-item {
  background: #fff;
  border: 1px solid #ececf5;
  padding: 14px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #1e293b;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.highlight-item i {
  color: #6a5cff;
}

.careers-hero .hero-buttons {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

/* ========================================
   FORM SECTION
======================================== */

.careers-form-section {
  padding: 100px 0;
  background: #fafbff;
}

.career-form-wrapper {
  background: #fff;
  border-radius: 28px;
  padding: 50px;
  margin-top: 50px;
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  border: 1px solid #ececf5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #dfe3eb;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6a5cff;
  box-shadow: 0 0 0 4px rgba(106,92,255,.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.full-width {
  margin-top: 24px;
}

.full-width textarea,
.full-width input {
  width: 100%;
}

.form-group small {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
}

input[type="file"] {
  padding: 14px;
  cursor: pointer;
}

.submit-btn {
  margin-top: 30px;
  border: none;
  cursor: pointer;
  min-width: 220px;
}

/* ========================================
   OTHER POSITION ANIMATION
======================================== */

#otherPositionGroup {
  transition: all .3s ease;
}

/* ========================================
   HOVER EFFECTS
======================================== */

.career-form-wrapper:hover {
  transform: translateY(-2px);
  transition: .3s ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  transition: .3s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 992px) {

  .career-form-wrapper {
    padding: 40px 30px;
  }

  .form-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {

  .careers-hero {
    padding: 140px 0 70px;
  }

  .careers-hero h1 {
    font-size: 2.5rem;
  }

  .career-highlights {
    flex-direction: column;
    align-items: center;
  }

  .highlight-item {
    width: 100%;
    max-width: 350px;
    justify-content: center;
  }

  .career-form-wrapper {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {

  .careers-hero h1 {
    font-size: 2rem;
  }

  .careers-hero .subtitle {
    font-size: 1rem;
  }

  .career-form-wrapper {
    padding: 24px 16px;
  }
}

#formMessage{
  display:none;
  margin-top:20px;
  margin-bottom:10px;
  padding:16px;
  border-radius:12px;
  font-weight:500;
}

#formMessage.success{
  display:block;
  background:#ecfdf3;
  color:#027a48;
  border:1px solid #abefc6;
}

#formMessage.error{
  display:block;
  background:#fef3f2;
  color:#b42318;
  border:1px solid #fecdca;
}