/* ==========================================================================
   COSERVE CAREERS PAGE - REFINED J4RVIS-ALIGNED STYLES
   ========================================================================== */

/* ── SECTION HEADERS (.sh--split) ── */
.sh--split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.sh-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.sh-side {
  padding-top: 4px;
}
.sh-eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #14D7D2;
  margin-bottom: 2px;
  display: block;
}

/* ── HERO TITLE ACCENTS ── */
.page-hero .hero-title em,
.hero-title em {
  color: #14D7D2 !important;
  font-style: italic !important;
  font-weight: 300 !important;
  font-family: 'Lato', sans-serif !important;
}

/* ── HERO PILL STYLES ON DARK ── */
.page-hero .pill--secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.page-hero .pill--secondary .pill-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.page-hero .pill--secondary:hover {
  border-color: #14D7D2;
  color: #14D7D2;
  background: rgba(20, 215, 210, 0.12);
}
.page-hero .pill--secondary:hover .pill-badge {
  background: #14D7D2;
  color: #071017;
}


/* ── SECTION COMMON ── */
.careers-section {
  padding: 88px 0;
}
.careers-section.alt {
  background: #f8fafb;
}

/* ── J4RVIS-STYLE WHY WORK HERE GRID (.cg-grid) ── */
.cg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 36px;
  row-gap: 36px;
  margin-top: 24px;
}
.cg-grid.cg-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
  row-gap: 40px;
}
.cg-grid.cg-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  column-gap: 36px;
  row-gap: 36px;
}
.cg-card {
  padding: 24px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(65, 85, 100, 0.2);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease;
}
.cg-card:hover {
  border-top-color: #14D7D2;
}
.cg-card-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #14D7D2;
  letter-spacing: 0.08em;
  line-height: 1;
}
.cg-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #071017;
  margin: 0;
  line-height: 1.25;
}
.cg-card-body {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #415564;
  margin: 0;
}


/* ── 6E FRAMEWORK: TRIGGER BUTTON + COLLAPSIBLE PANEL ──
   The panel's inner content now reuses the About page's .values-section
   design (see .values-section--compact / .values-section--panel in
   style.css) instead of the old wheel/bubble layout — only the trigger
   button + collapse mechanics below are still in play. ── */
.six-e-text-trigger {
  background: transparent;
  border: none;
  padding: 4px 0;
  color: #14D7D2;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
  text-decoration: none;
}
.six-e-text-trigger:hover {
  color: #0fb8b4;
  text-decoration: underline;
}
.six-e-arr {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1rem;
}
.six-e-text-trigger.open .six-e-arr {
  transform: rotate(180deg);
}

/* 6E Collapsible Panel */
.six-e-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0;
}
.six-e-panel.open {
  max-height: 1800px;
  opacity: 1;
  margin-top: 32px;
}

/* 6E Section Layout & Spacing: center entire element on page & vertically center 6e circle */
.six-e-panel .values-section--panel {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.six-e-panel .values-body-grid {
  display: grid !important;
  grid-template-columns: 180px minmax(0, 740px) !important;
  gap: 68px !important;
  align-items: center !important;
  max-width: 980px !important;
  width: 100% !important;
  margin: 0 auto !important;
  justify-content: center !important;
  padding: 16px 0 !important;
}

.six-e-panel .values-orbit-col {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
}

.six-e-panel .values-orbit-sticky {
  position: static !important;
  margin: auto 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.six-e-panel .e6sLeftContainer {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.six-e-panel .e6sLeft {
  margin: 0 !important;
}

.six-e-panel .e6sLeft:before {
  width: 158% !important;
  height: 158% !important;
  background: url('../images/favicon.svg') no-repeat center center !important;
  background-size: contain !important;
  border: none !important;
  border-radius: 0 !important;
}

/* Remove horizontal line to prevent intrusion into text */
.six-e-panel .e6sLeft:after {
  display: none !important;
}

/* Remove 6e image placeholder */
.six-e-panel .e6sLeftContainer .rotateImage,
.six-e-panel .rotateImage {
  display: none !important;
}

/* Values text list styling */
.six-e-panel .values-list-col {
  padding-left: 0 !important;
}

@media (max-width: 991px) {
  .six-e-panel .values-body-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    max-width: 100% !important;
  }
}

/* ── 6E CIRCULAR ARRANGEMENT (WHEEL OF BUBBLES) ── */
.six-e-wheel-wrap {
  padding: 30px 0 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.six-e-wheel {
  position: relative;
  width: 620px;
  height: 620px;
  max-width: 100%;
}
.six-e-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(20, 215, 210, 0.45);
  pointer-events: none;
}
.six-e-center-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 40%, rgba(20, 215, 210, 0.08) 100%);
  border: 2px solid #14D7D2;
  box-shadow: 0 0 28px rgba(20, 215, 210, 0.18), 0 4px 12px rgba(65, 85, 100, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 10px;
}
.six-e-core-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #14D7D2;
  margin-bottom: 2px;
}
.six-e-core-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #071017;
  line-height: 1.1;
}

/* Individual smaller circular bubbles */
.six-e-bubble {
  position: absolute;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(20, 215, 210, 0.35);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(65, 85, 100, 0.08);
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.25s ease;
  z-index: 3;
}
.six-e-bubble:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #14D7D2;
  box-shadow: 0 16px 36px rgba(20, 215, 210, 0.24);
  z-index: 10;
}

/* Polar positions along 440px ring (Radius R = 220px) */
/* Pos 1: Top (-90°) */
.six-e-bubble.pos-1 {
  top: calc(50% - 220px);
  left: 50%;
}
/* Pos 2: Top-Right (-30°) */
.six-e-bubble.pos-2 {
  top: calc(50% - 110px);
  left: calc(50% + 190px);
}
/* Pos 3: Bottom-Right (30°) */
.six-e-bubble.pos-3 {
  top: calc(50% + 110px);
  left: calc(50% + 190px);
}
/* Pos 4: Bottom (90°) */
.six-e-bubble.pos-4 {
  top: calc(50% + 220px);
  left: 50%;
}
/* Pos 5: Bottom-Left (150°) */
.six-e-bubble.pos-5 {
  top: calc(50% + 110px);
  left: calc(50% - 190px);
}
/* Pos 6: Top-Left (210°) */
.six-e-bubble.pos-6 {
  top: calc(50% - 110px);
  left: calc(50% - 190px);
}

.six-e-bubble .bubble-num {
  font-size: 0.92rem;
  font-weight: 800;
  color: #14D7D2;
  margin-bottom: 2px;
  line-height: 1;
}
.six-e-bubble .bubble-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #071017;
  margin-bottom: 4px;
  line-height: 1.15;
}
.six-e-bubble .bubble-desc {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #415564;
  margin: 0;
  max-width: 135px;
}


/* ── OPEN ROLES SECTION (J4RVIS STYLE WITH TEAM FILTER & ACCORDION) ── */
.team-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.team-filter-btn {
  background: transparent;
  border: 1px solid rgba(65, 85, 100, 0.24);
  color: #415564;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s ease;
}
.team-filter-btn:hover {
  border-color: #14D7D2;
  color: #071017;
}
.team-filter-btn.active {
  border-color: #14D7D2;
  background: rgba(20, 215, 210, 0.1);
  color: #071017;
  font-weight: 700;
}

.roles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.role-row {
  border-radius: 12px;
  transition: all 0.2s ease;
}
.role-row.is-hidden {
  display: none !important;
}
.role-header {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  background: #ffffff;
  border: 1px solid #e2ecec;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.role-header:hover {
  border-color: #14D7D2;
  box-shadow: 0 8px 24px -6px rgba(65, 85, 100, 0.12);
  transform: translateY(-2px);
}
.role-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #071017;
}
.role-team {
  font-size: 0.9rem;
  color: #6b8da6;
  font-weight: 600;
}
.role-loc {
  font-size: 0.9rem;
  color: #6b8da6;
}
.role-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #14D7D2;
  white-space: nowrap;
}
.role-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 14px;
  height: 14px;
}

/* Expanded Role Accordion Details */
.role-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
  background: #f8fafb;
  border: 1px solid transparent;
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 0 28px;
}
.role-row.open .role-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #14D7D2;
  box-shadow: none;
  transform: none;
}
.role-row.open .role-details {
  max-height: 800px;
  opacity: 1;
  border-color: #14D7D2;
  padding: 26px 28px;
}
.role-row.open .role-chevron {
  transform: rotate(180deg);
}

.role-desc-text {
  font-size: 0.95rem;
  color: #415564;
  line-height: 1.65;
  margin-bottom: 20px;
}
.role-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.role-points-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #071017;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.role-points-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #415564;
  line-height: 1.6;
}
.role-points-col li {
  margin-bottom: 6px;
}
.role-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2ecec;
}

/* ── CAROUSEL (#TeamCoserve) ── */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 12px 0;
}
.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.carousel-track:hover {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.lcard {
  flex: none;
  width: 320px;
  background: #ffffff;
  border: 1px solid #e2ecec;
  border-radius: 14px;
  padding: 24px;
  position: relative;
  box-shadow: 0 4px 20px -8px rgba(65, 85, 100, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(65, 85, 100, 0.2);
  border-color: #14D7D2;
}
.lcard-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.lcard-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #415564;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  flex: none;
  border: 2px solid #e2ecec;
}
.lcard-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #071017;
  line-height: 1.2;
}
.lcard-role {
  font-size: 0.8rem;
  color: #6b8da6;
  margin-top: 2px;
}
.li-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}
.li-icon:hover {
  transform: scale(1.15);
}
.lcard-text {
  font-size: 0.9rem;
  color: #415564;
  line-height: 1.65;
  margin-bottom: 16px;
}
.lcard-tag {
  font-size: 0.78rem;
  color: #0a9c98;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.carousel-fade-l,
.carousel-fade-r {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 3;
  pointer-events: none;
}
.carousel-fade-l {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}
.carousel-fade-r {
  right: 0;
  background: linear-gradient(-90deg, #ffffff, transparent);
}

/* ── MOVING LINKEDIN POSTS CAROUSEL (#team) ── */
.li-embed-card {
  flex: none;
  width: 380px;
  max-width: 85vw;
  background: #ffffff;
  border: 1px solid #e2ecec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(65, 85, 100, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.li-embed-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(65, 85, 100, 0.2);
  border-color: #14D7D2;
}
.li-embed-card iframe {
  width: 100% !important;
  min-height: 480px;
  max-height: 600px;
  border: none !important;
  display: block;
}
.li-embed-card--custom {
  padding: 24px;
}

/* Default Mock LinkedIn Post Card */
.li-post-mock {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}
.li-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  margin-bottom: 14px;
}
.li-post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0A66C2, #14D7D2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex: none;
  border: 2px solid #e2ecec;
}
.li-post-author-info {
  flex: 1;
  min-width: 0;
}
.li-post-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #071017;
  line-height: 1.25;
}
.li-post-role {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.li-post-time {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 1px;
}
.li-post-logo {
  margin-left: auto;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.li-post-logo:hover {
  transform: scale(1.15);
}
.li-post-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #334155;
  flex: 1;
  margin-bottom: 14px;
}
.li-post-body p {
  margin: 0 0 10px;
}
.li-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0A66C2;
}
.li-post-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}
.li-post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 8px;
}
.li-post-actions {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  padding: 4px 6px 0;
}

/* ── APPLICATION MODAL ── */
.app-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 16, 23, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.app-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.app-modal-card {
  background: #ffffff;
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-modal-overlay.open .app-modal-card {
  transform: translateY(0);
}
.app-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #415564;
  transition: background 0.15s ease;
}
.app-modal-close:hover {
  background: #e2e8f0;
}
.app-modal-header {
  margin-bottom: 24px;
}
.app-modal-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #14D7D2;
  font-weight: 800;
  margin-bottom: 6px;
}
.app-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #071017;
}
.app-form-group {
  margin-bottom: 18px;
}
.app-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #415564;
  margin-bottom: 6px;
}
.app-form-input,
.app-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a252f;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.app-form-input:focus,
.app-form-textarea:focus {
  outline: none;
  border-color: #14D7D2;
  box-shadow: 0 0 0 3px rgba(20, 215, 210, 0.2);
}

/* Modal Submit: Clean outline pill, NO solid full color */
.app-form-submit-wrap {
  margin-top: 14px;
}

/*
 * Success view (theme addition): swapped in for the form after the mail
 * client opens, instead of a jarring alert() dialog. Mirrors the case-study
 * gate popup's success state for a consistent feel across the site's popups.
 */
.app-modal-success {
  text-align: center;
  padding: 12px 0;
}
.app-modal-success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(20, 215, 210, 0.15);
  color: #0d9488;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-modal-success p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 20px;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
  .cg-grid,
  .cg-grid.cg-grid-4,
  .cg-grid.cg-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 32px;
  }
}
@media (max-width: 860px) {
  .sh--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .role-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .role-team, .role-loc {
    display: none;
  }
  .role-points-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 680px) {
  .cg-grid,
  .cg-grid.cg-grid-4,
  .cg-grid.cg-grid-3 {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .six-e-wheel {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
  }
  .six-e-orbit-ring,
  .six-e-center-core {
    display: none;
  }
  .six-e-bubble {
    position: static;
    transform: none !important;
    width: 155px;
    height: 155px;
    padding: 16px 12px;
  }
  .six-e-bubble:hover {
    transform: scale(1.04) !important;
  }
  .role-header {
    padding: 18px 20px;
  }
  .role-row.open .role-details {
    padding: 20px;
  }
}
@media (max-width: 360px) {
  .six-e-wheel {
    grid-template-columns: 1fr;
  }
}

/* ── CAREERS HERO BACKGROUND SLIDESHOW (Silky-smooth crossfade, 100% responsive) ── */
.page-hero--has-slider {
  position: relative !important;
  overflow: hidden !important;
  background-color: #0b1320 !important;
  background-image: none !important;
}

.page-hero--has-slider::before {
  display: none !important;
}

/* Screen-size responsive hero padding so content and indicator fit viewports comfortably */
@media (min-width: 992px) {
  .page-hero--has-slider {
    padding-top: 136px !important;
    padding-bottom: 56px !important;
  }
}
@media (max-width: 991px) {
  .page-hero--has-slider {
    padding-top: 118px !important;
    padding-bottom: 44px !important;
    min-height: auto !important;
  }
}

.careers-hero-slideshow,
.page-hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.careers-hero-slides-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.careers-hero-slide,
.page-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

/* Incoming active slide: sits on top and dissolves smoothly to full opacity */
.careers-hero-slide.is-active,
.careers-hero-slide.active,
.page-hero-slide.is-active,
.page-hero-slide.active {
  opacity: 1 !important;
  z-index: 2 !important;
}

/* Outgoing slide: remains 100% visible underneath while incoming fades in over it */
.careers-hero-slide.is-prev,
.page-hero-slide.is-prev {
  opacity: 1 !important;
  z-index: 1 !important;
}

.careers-hero-slide img,
.page-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.0);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.careers-hero-slide.is-active img,
.careers-hero-slide.active img,
.page-hero-slide.is-active img,
.page-hero-slide.active img {
  transform: scale(1.04);
}

/* Lightened overlays — background images are clearly visible, bright & recognizable */
.careers-hero-overlay,
.page-hero-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.careers-hero-overlay.overlay-dark,
.page-hero-slider-overlay.overlay-dark,
.careers-hero-overlay {
  background: 
    linear-gradient(90deg, rgba(11, 19, 32, 0.65) 0%, rgba(11, 19, 32, 0.38) 55%, rgba(11, 19, 32, 0.20) 100%),
    linear-gradient(180deg, rgba(11, 19, 32, 0.35) 0%, transparent 40%, rgba(11, 19, 32, 0.50) 100%);
}

.careers-hero-overlay.overlay-medium,
.page-hero-slider-overlay.overlay-medium {
  background: 
    linear-gradient(90deg, rgba(11, 19, 32, 0.50) 0%, rgba(11, 19, 32, 0.25) 55%, rgba(11, 19, 32, 0.15) 100%),
    linear-gradient(180deg, rgba(11, 19, 32, 0.25) 0%, transparent 40%, rgba(11, 19, 32, 0.40) 100%);
}

.careers-hero-overlay.overlay-light,
.page-hero-slider-overlay.overlay-light {
  background: 
    linear-gradient(90deg, rgba(11, 19, 32, 0.35) 0%, rgba(11, 19, 32, 0.15) 55%, rgba(11, 19, 32, 0.08) 100%),
    linear-gradient(180deg, rgba(11, 19, 32, 0.15) 0%, transparent 40%, rgba(11, 19, 32, 0.25) 100%);
}

.page-hero--has-slider .hero-title {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.page-hero--has-slider .hero-subtitle {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.page-hero .container {
  position: relative;
  z-index: 4;
}

/* ── HERO SLIDER INDICATOR BAR (Always inside viewport, 100% responsive) ── */
.careers-hero-nav-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 8px 18px;
  background: rgba(11, 19, 32, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  position: relative;
  z-index: 10;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.careers-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  margin: 0;
  padding: 0;
}

.careers-hero-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 0;
}

.careers-hero-dot .careers-hero-dot-bar {
  display: block;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.careers-hero-dot:hover .careers-hero-dot-bar {
  background: rgba(255, 255, 255, 0.75);
}

.careers-hero-dot.active .careers-hero-dot-bar {
  width: 44px;
  background: #14D7D2;
  box-shadow: 0 0 10px rgba(20, 215, 210, 0.75);
}

.careers-hero-counter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.careers-hero-current {
  color: #14D7D2;
}

.careers-hero-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.careers-hero-total {
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive adjustments across screen sizes */
@media (max-width: 1024px) {
  .careers-hero-nav-bar {
    margin-top: 28px;
    padding: 7px 14px;
    gap: 12px;
  }
  .careers-hero-dot .careers-hero-dot-bar {
    width: 20px;
    height: 3.5px;
  }
  .careers-hero-dot.active .careers-hero-dot-bar {
    width: 34px;
  }
}

@media (max-width: 768px) {
  .careers-hero-nav-bar {
    margin-top: 24px;
    padding: 6px 12px;
    gap: 10px;
  }
  .careers-hero-dot .careers-hero-dot-bar {
    width: 16px;
    height: 3px;
  }
  .careers-hero-dot.active .careers-hero-dot-bar {
    width: 28px;
  }
  .careers-hero-counter {
    font-size: 0.75rem;
    padding-left: 6px;
  }
}

@media (max-width: 480px) {
  .careers-hero-nav-bar {
    margin-top: 20px;
    padding: 5px 10px;
    gap: 8px;
  }
  .careers-hero-dots {
    gap: 6px;
  }
  .careers-hero-dot .careers-hero-dot-bar {
    width: 14px;
    height: 3px;
  }
  .careers-hero-dot.active .careers-hero-dot-bar {
    width: 22px;
  }
  .careers-hero-counter {
    font-size: 0.70rem;
    padding-left: 5px;
  }
}


/* ── HERO SLIDER INDICATOR: small dots, pinned near the bottom of the viewport ── */
.page-hero--has-slider .container {
  position: static;
}
.careers-hero-nav-bar {
  position: absolute;
  left: 32px;
  bottom: 40px;
  margin-top: 0;
  padding: 0;
  gap: 14px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.careers-hero-dots { gap: 2px; }
.careers-hero-dot { padding: 6px 4px; }
.careers-hero-dot .careers-hero-dot-bar,
.careers-hero-dot.active .careers-hero-dot-bar {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.careers-hero-dot.active .careers-hero-dot-bar {
  box-shadow: 0 0 6px rgba(20, 215, 210, 0.7);
}
.careers-hero-counter { font-size: 0.75rem; }
@media (max-width: 768px) {
  .careers-hero-nav-bar { left: 20px; bottom: 28px; margin-top: 0; padding: 0; }
  .careers-hero-dot .careers-hero-dot-bar,
  .careers-hero-dot.active .careers-hero-dot-bar { width: 6px; height: 6px; }
}
