/* ============================================================
   CAREERS PAGE — QAS MODERN STYLES
   ============================================================ */

/* ── CAREERS HERO ── */
.careers-hero {
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.careers-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy-light), var(--red));
}
.careers-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin-bottom: 15px;
}
.careers-hero .hero-description {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}

/* ── SECTION COMMONS ── */
.careers-section {
  padding: 80px 0;
  position: relative;
}
.careers-section.bg-light {
  background: var(--off-white);
}

/* ── SECTION HEADINGS ── */
.section-head {
  margin-bottom: 40px;
}

/* ── WHY-JOIN CARDS ── */
.why-card,
.culture-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,66,138,0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  height: 100%;
}
.why-card:hover,
.culture-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}
.why-card .icon,
.culture-card .icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--navy-glass);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}
.why-card:hover .icon,
.culture-card:hover .icon {
  background: var(--red);
  color: white;
  transform: scale(1.1);
}
.why-card h3,
.culture-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.why-card p,
.culture-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* ── TESTIMONIAL CARDS ── */
.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,66,138,0.06);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.testimonial-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 24px;
  flex-shrink: 0;
}
.testimonial-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.testimonial-info h5 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.testimonial-info p {
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}
.testimonial-text {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 15px;
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 15px;
}

/* ── BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.benefit-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--navy);
}
.benefit-item:hover .benefit-icon,
.benefit-item:hover .benefit-text {
  color: white;
}
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-glass);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.benefit-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}
/* Benefits image placeholder */
.benefits-image-placeholder {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius-xl);
  padding: 80px 30px;
  text-align: center;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.benefits-image-placeholder i {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.8;
}
.benefits-image-placeholder h3 {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 15px;
}
.benefits-image-placeholder p {
  opacity: 0.85;
  max-width: 300px;
}

/* ── JOB CARDS ── */
.job-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 25px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,66,138,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.job-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.job-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 14px;
}
.job-meta i {
  color: var(--navy);
  width: 16px;
}
.job-type {
  background: var(--navy-pale);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}
.job-apply {
  background: var(--navy);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease-out);
}
.job-apply:hover {
  background: var(--red);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* ── HIRING PROCESS ── */
.process-steps {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--light-gray);
  z-index: 1;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}
.step-number {
  width: 80px; height: 80px;
  background: white;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  transition: all 0.3s ease;
}
.process-step:hover .step-number {
  background: var(--navy);
  color: white;
  transform: scale(1.1);
}
.step-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.step-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ── CTA SECTION ── */
.careers-cta {
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.careers-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.careers-cta h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  margin-bottom: 15px;
}
.careers-cta p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.careers-cta .btn {
  background: white;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease-out);
  border: 2px solid transparent;
}
.careers-cta .btn:hover {
  background: var(--red);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .process-steps {
    flex-direction: column;
    gap: 20px;
  }
  .process-steps::before {
    display: none;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }
}