/* ========== HERO ========== */
.careers-hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.careers-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careers-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.hero-content {
  position: absolute;
  inset: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
}

.hero-content h1 {
  font-size: 52px;
}

.hero-content p {
  font-size: 20px;
  max-width: 520px;
}


.careers-section {
  padding: 80px 8%;
}

.careers-section.light {
  background: #f5f5f5;
}

.careers-section h2 {
  font-size: 34px;
  margin-bottom: 30px;
}

/* ================= TWO COLUMN ================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.with-icons li {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.with-icons img {
  width: 26px;
}


.process-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-strip img {
  width: 100%;
  border-radius: 14px;
}


/* ========== ROLE SELECTOR ========== */
.role-selector {
  padding: 60px 8%;
  text-align: center;
  background: #000000d3;
}

.role-selector h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #fff;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.role-card {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* ========== APPLICATION FORM ========== */
.application-form {
  max-width: 720px;
  margin: 50px auto;
  padding: 40px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: fadeIn 0.4s ease;
}

.application-form h2 {
  margin-bottom: 25px;
  font-size: 24px;
}

/* Form fields */
.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #111;
}

/* Submit */
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
}

.submit-btn:hover {
  background: #000;
}

/* ========== SUCCESS VIEW ========== */
.success-view {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
  padding: 50px 30px;
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  animation: fadeInScale 0.4s ease;
}

.success-view h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.success-view p {
  color: #555;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .careers-hero h1 {
    font-size: 28px;
  }

  .role-selector {
    padding: 40px 6%;
  }

  .application-form {
    margin: 30px 16px;
    padding: 25px;
  }

  .success-view {
    margin: 40px 16px;
    padding: 30px;
  }
}
