/* careers.css - Replicating primeforyou.in/careers layout and styles */

.careers-page-main {
  background-color: #f3f6f9;
  color: #292929;
  font-family: Arial, Helvetica, sans-serif;
}

/* ─── HERO ───────────────────────────────────────── */
.careers-page-hero {
  background-color: #f3f6f9; /* Clean light background matching the screenshot */
  padding: 4rem 0 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.careers-hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 980px;
  min-height: 520px;
  margin: 0 auto;
}

.hero-left {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-95%, -50%); /* Shifts 'Careers' text left to overlap left edge of the hero image */
  pointer-events: none;
  max-width: 480px;
}

.hero-left h1 {
  font-size: 110px;
  font-weight: 300;
  color: #292929;
  margin: 0 0 1rem 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -2px;
}

.hero-left p {
  font-size: 13.5px;
  color: #292929;
  line-height: 1.6;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 320px;
}

.hero-right {
  width: 520px;
  height: 520px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-left: 430px; /* Same offset as services and events hero images */
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── WORK WITH US SECTION ──────────────────────── */
.work-with-us-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
  position: relative;
  color: #ffffff;
}

/* Overlay for text legibility against background photo */
.work-with-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.work-with-us-container {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-title-box {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title-box h2 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

.section-title-box p {
  font-size: 18px;
  font-style: italic;
  margin: 0;
  color: #dddddd;
}

/* 3-Column Layout */
.work-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
}

.work-col {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  min-height: 400px;
  overflow: hidden;
}

/* Column Header Card Image */
.col-card-bg {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.col-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(14, 80, 140, 0.7); /* Translucent blue overlay matching Wix screenshots */
  display: flex;
  justify-content: center;
  align-items: center;
}

.col-card-overlay h3 {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
  text-transform: capitalize;
  font-family: Arial, Helvetica, sans-serif;
}

/* Column Info Details */
.col-card-details {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.status-note {
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.role-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  color: #dddddd;
  font-size: 14px;
  line-height: 1.6;
}

.role-list.open-roles {
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 2rem;
}

.btn-apply {
  font-size: 14px;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 20px;
  padding: 0.6rem 2rem;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  transition: all 0.2s ease;
}

.btn-apply:hover {
  background-color: #ffffff;
  color: #0e508c;
}

.apply-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
  width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
  .careers-page-hero {
    padding: 2rem 0 0.5rem 0 !important;
  }
  .work-grid {
    flex-direction: column;
    gap: 3rem;
  }
  .careers-hero-container {
    flex-direction: column;
    min-height: auto;
    padding: 1rem 1.5rem !important;
  }
  .hero-left {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 2rem;
  }
  .hero-left h1 {
    font-size: 60px;
  }
  .hero-right {
    width: 280px;
    height: 280px;
    margin-left: 0;
  }
}
