/* =====================
   CAREERS SECTION
   ===================== */

.careers-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.25rem;
  background-color: var(--bg-light);
}

.careers-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =====================
   HEADER
   ===================== */
.careers-header {
  text-align: center;
  margin-bottom: 3rem;
}

.careers-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal-black);
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.careers-subtitle {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--gray-muted);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* =====================
   CAROUSEL
   ===================== */
.careers-carousel-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.careers-carousel {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.careers-carousel::-webkit-scrollbar {
  display: none;
}

/* =====================
   JOB CARD
   ===================== */
.careers-card {
  background: var(--bg-light);
  border-radius: 3px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex: 0 0 360px;
  max-width: 360px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  scroll-snap-align: center;
}

.careers-card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.careers-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal-black);
  margin-bottom: 1rem;
}

.careers-card__tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-muted);
  background: #f3f4f6;
  padding: 0.35rem 0.75rem;
  border-radius:3px;
  border: 1px solid #e5e7eb;
}

.tag--highlight {
  background: var(--charcoal-black);
  color: #ffffff;
  border-color: var(--charcoal-black);
}

.careers-card__desc {
  font-family: var(--font-body);
  font-size: var(--font-size-small);
  color: var(--gray-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.careers-card__btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.careers-card__btn:hover {
  background: #bf5a02;
}

/* =====================
   CAROUSEL CONTROLS
   ===================== */
.careers-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 0 0.5rem;
}

.careers-nav-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.careers-counter {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal-black);
  min-width: 40px;
  text-align: center;
}

.careers-play-btn,
.careers-nav-btn {
  background: var(--charcoal-black);
  color: #ffffff;
  border: none;
  border-radius: 3px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.careers-play-btn:hover,
.careers-nav-btn:hover {
  background: var(--primary);
}

.careers-play-btn .play-icon,
.careers-play-btn .pause-icon {
  display: none;
}

.careers-play-btn.playing .pause-icon {
  display: block;
}

.careers-play-btn.paused .play-icon {
  display: block;
}

.careers-nav-btn:disabled {
  background: #cccccc;
  cursor: default;
}

/* =====================
   BADGE
   ===================== */
.careers-badge {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.framer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-muted);
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.framer-badge svg {
  color: var(--primary);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .careers-section {
    padding: 3rem 1rem;
  }

  .careers-card {
    flex: 0 0 320px;
  }
}

@media (max-width: 480px) {
  .careers-card {
    flex: 0 0 300px;
    padding: 1.5rem;
  }

  .careers-title {
    font-size: 1.75rem;
  }
}
