/* ========== HERO ========== */
.careers-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.careers-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.careers-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,114,63,0.8);
}

.careers-hero-fade {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, white, transparent);
}

.careers-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.careers-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
}

/* ===== CURRENT OPENINGS SECTION ===== */
.current-openings {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.current-openings h2 {
  font-size: 46px;
  font-weight: 700;
  color: #00723F;
  margin-bottom: 50px;
}

/* ========== CURRENT OPENINGS SECTION ========== */
.openings {
  padding-top: 80px;
  padding-bottom: 80px;
  background: white;
  color: #00723F;
}



/* ========== WHY JOIN US ========== */
.why-join {
  padding: 80px 0;
  background: #F5F5F5;
}

/* ===== SECTION HEADING (Why Join STIS?) ===== */
.why-join h2 {
  font-size: 36px;        /* main heading size */
  font-weight: 700;       /* bold like your brand */
  color: #00723F;         /* STIS green */
  margin-bottom: 16px;
  text-align: center;
}

.career-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: transform .2s ease;

  /* 🔥 THIS IS THE KEY PART */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


.career-card:hover {
  transform: translateY(-5px);
}

.career-card i {
  font-size: 30px;
  margin-bottom: 12px;
}

.green { color: #00723F; }
.red { color: #D62828; }

.career-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.career-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}


/* ========== SCROLLING NOTICE ========== */
.notice-wrapper {
  overflow: hidden;
  white-space: nowrap;
  background: white;
  padding: 12px 0;
  margin-bottom: 40px;
}

.notice-scroll {
  display: inline-block;
  color: #D62828;
  font-weight: 600;
  animation: scrollNotice 35s linear infinite;
}

.notice-scroll span {
  color: #00723F;
}

@keyframes scrollNotice {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

/* ========== NO JOBS CARD ========== */
.no-jobs {
  max-width: 900px;
  margin: 0 auto;
  background: #F5F5F5;
  padding: 40px 50px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(0,114,63,.15);
}

.no-jobs h3 {
  font-size: 24px;
  color: #00723F;
  font-weight: 700;
  margin-bottom: 12px;
}

.no-jobs p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.no-jobs .highlight {
  color: #D62828;
  font-weight: 600;
}


/* ========== APPLY FORM ========== */
.apply-section {
  background: #00723F;
  padding: 80px 0;
  color: white;
}

.apply-form {
  background: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.upload-label {
  color: #00723F;
  margin-top: 15px;
  display: block;
  font-weight: 600;
}

.file-input {
  margin-bottom: 20px;
}

.apply-btn {
  background: #D62828;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  width: 100%;
}

.apply-btn:hover {
  background: #00723F;
}
