
.careers-hero {
  height: 60vh;
  min-height: 420px;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.careers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.65)
  );
  z-index: 1;
}
.hero-title {
  font-size: 32px;
  line-height: 42px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #fff;
   font-family: "Georgia", serif;
}
.hero-underline {
  width: 80px;
  height: 3px;
  background-color: #c1121f;
  margin-top: 15px;
}
@media (max-width: 768px) {
  .careers-hero {
    height: 45vh;
  }

  .hero-title {
    font-size: 28px;
  }
}
.opportunities {
  background: 
    linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),
    url('/static/images/bgimg2.webp') center/cover no-repeat;
    padding: 20px 0;
}
.opportunities .subtitle {
    font-size: 20px;
    line-height: 24px;
    font-weight: 900;
    color: #b61f38;
    font-family: "Georgia", serif;
}
.opportunities .title {
    font-size: 32px;
    line-height: 38px;
    font-weight: 400;
    color: #191919;
      font-family: "Georgia", serif;
}
.opportunities .para {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #191919;
     font-family: 'Poppins', sans-serif;
}

.job-section {
  background:
    linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
    url('/static/images/bgimg2.webp') center/cover  no-repeat;
  padding-top: 60px;
}
.job-card-border {
  border: 1px solid #bf0d22;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;  
}

.job-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 0; 
}

.job-title {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 34px;
  color: #b61f38;
  margin-bottom: 0.75rem;
}

.job-description {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #191919;
  font-weight: 400;
  max-width: 750px;
  margin-bottom: 0;
}

.apply-btn {
  background-color: #bf0d22;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  min-width: 130px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  align-self: center !important;
  margin-left: auto; 
}

.apply-btn:hover,
.apply-btn:focus {
  background-color: #191919;
  color: #fff;
  outline: none;
  box-shadow: none;
}

@media (max-width: 576px) {
  .job-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .apply-btn {
    margin-left: auto; 
    margin-top: 0.5rem;
  }
}