
/* ===== Career Section Layout ===== */
.career-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 90px 60px;
  gap: 60px;
  flex-wrap: wrap;
  background-color: #fafafa;
}

.career-left,
.career-right {
  flex: 1;
  min-width: 0;
}

/* ===== Career Content ===== */
.career-title {
  color: #c4002f;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.career-subtitle {
  font-size: 17px;
  color: #555;
  margin-bottom: 35px;
}

.job-card {
  margin-bottom: 30px;
  padding: 22px 24px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-4px);
}

.job-card h3 {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  margin-bottom: 12px;
  color: #111;
}

.location {
  background: #eef0f3;
  color: #333;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid #d1d5db;
}

/* ===== Career Form ===== */
.career-form {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.career-form label {
  font-size: 14px;
  margin-top: 18px;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

.career-form input,
.career-form select {
  padding: 11px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  outline: none;
  transition: border 0.3s;
}

.career-form input:focus,
.career-form select:focus {
  border-color: #c4002f;
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-input span {
  background: #f0f0f0;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  white-space: nowrap;
}

.submit-btn {
  margin-top: 25px;
  padding: 14px;
  font-size: 16px;
  background-color: #e3002a;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background-color: #c4002f;
  transform: translateY(-2px);
}

/* ===== Responsive Styling (Mobile & Tablet) ===== */
@media (max-width: 900px) {
  .career-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .career-left,
  .career-right {
    width: 100%;
    flex: none;
  }

  .career-form {
    max-width: 100%;
    margin: 0 auto;
    padding: 25px 20px;
  }
}

/* ===== Optional: Limit form width on desktop ===== */
@media (min-width: 901px) {
  .career-right .career-form {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}
