.careers-hero-people {
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}


/* ===============================
      DEFAULT: before state (grey)
    ================================ */
.Timeline_iconWrapper__1Xdui img {
  filter: grayscale(100%) brightness(0.75);
  opacity: 0.6;
  max-height: 20px;
  max-width: 30px;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.Timeline_iconWrapper__1Xdui svg {
  filter: grayscale(100%) brightness(0.75);
  opacity: 0.6;
  max-height: 20px;
  max-width: 30px;
  transition:
    filter 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* ===============================
      ACTIVE: colored + bigger icon
    ================================ */
.Timeline_active__4Dgz4 .Timeline_iconWrapper__1Xdui img {
  filter: none;
  opacity: 1;
  max-width: 50px;
  max-height: 34px;
  transform: scale(1.2);
  /* adjust size as needed */
}

.Timeline_active__4Dgz4 .Timeline_iconWrapper__1Xdui svg {
  filter: none;
  opacity: 1;
  max-width: 50px;
  max-height: 34px;
  transform: scale(1.2);
  /* adjust size as needed */
}

@keyframes textHighlight {
  0% {
    opacity: 0.2;
  }

  8.33% {
    opacity: 1;
  }

  16.67% {
    opacity: 1;
  }

  25% {
    opacity: 0.2;
  }

  100% {
    opacity: 0.2;
  }
}

.animate-text-fade {
  animation: textHighlight 6s ease-in-out infinite;
  opacity: 0.2;
}

.animate-text-fade:nth-child(1) {
  animation-delay: 0s;
}

.animate-text-fade:nth-child(2) {
  animation-delay: 1s;
}

.animate-text-fade:nth-child(3) {
  animation-delay: 2s;
}

.animate-text-fade:nth-child(4) {
  animation-delay: 3s;
}

.animate-text-fade:nth-child(5) {
  animation-delay: 4s;
}

.animate-text-fade:nth-child(6) {
  animation-delay: 5s;
}



/* Swiper Pagination Dots Styling */
.lifetestimonial_swiper .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 2rem;
  text-align: center;
}

.lifetestimonial_swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  margin: 0 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.lifetestimonial_swiper .swiper-pagination-bullet-active {
  background: #000000;
  width: 10px;
  height: 10px;
}

/* Optional: if you already have these vars, keep yours */
:root {
  --font-color-rgb: 255, 255, 255;
}



/* Highlight active year */
.Timeline_active__4Dgz4 .Timeline_year__mDgNF {
  color: #ffffff;
  font-weight: 700;
  opacity: 1;
}

/* Default year state - slightly dimmed */
.Timeline_year__mDgNF {
  opacity: 0.6;
  transition: all 0.3s ease;
}

/* Outer container (this is the “proper box”) */
.Timeline_timeline__RcB9W {
  max-width: 1064px;
  width: 100%;
  margin: 0 auto 160px;
  padding: 64px 40px 120px;
  /* IMPORTANT: space for the details */
  overflow-x: auto;
  /* safer than hidden while you debug */

  /* Hide scrollbar but keep functionality */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.Timeline_timeline__RcB9W::-webkit-scrollbar {
  display: none;
}

/* Inner grid strip */
.Timeline_timelineInner__WfqOd {
  display: grid;
  grid-template-columns: repeat(7, minmax(2px, 1fr));
  height: 80px;
}

/* Each item = 1px marker column + the horizontal tick spacer */
.Timeline_timelineItem__g4_pp {
  position: relative;
  display: grid;
  grid-template-columns: 1px 1fr;
}

.Timeline_relative__32d5e {
  position: relative;
}

/* The vertical marker line (default gray) */
.Timeline_link__faBtm {
  position: relative;
  display: block;
  width: 0;
  height: 32px;
  cursor: pointer;
  border: 1px solid rgba(var(--font-color-rgb), 0.2);
  border-radius: 1px;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.Timeline_link__faBtm:hover {
  border-color: hsla(0, 0%, 100%, 0.6);
}

/* This invisible hit area makes hover easier (Raycast does this) */
.Timeline_link__faBtm:before {
  position: absolute;
  top: -10px;
  right: -10px;
  bottom: -40px;
  left: -10px;
  content: "";
}

/* ACTIVE marker = tall + red */
.Timeline_active__4Dgz4 .Timeline_link__faBtm {
  height: 80px;
  cursor: default;
  border-color: #ffffff;
}

/* Year label above the strip */
.Timeline_year__mDgNF {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: hsla(0, 0%, 100%, 0.4);
}

/* Horizontal ticks */
.Timeline_spacer__lpExO {
  height: 26px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 9px,
    hsla(0, 0%, 100%, 0.2) 0,
    hsla(0, 0%, 100%, 0.2) 10px
  );
}

.Timeline_details__jfTXo h4 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  color: rgba(var(--font-color-rgb), 1);
}

.Timeline_details__jfTXo p {
  font-size: 14px;
  line-height: 20px;
  color: hsla(0, 0%, 100%, 0.6);
  letter-spacing: 0.4px;
}

/* ====== Layout container fix (center + scale) ====== */
.timelineSection {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.timelineWrap {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/* Your timeline root: REMOVE negative margins + stop forced scroll on desktop */
.Timeline_timeline__RcB9W {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 20px 130px;
  /* keep space for details */
  overflow: visible;
  /* desktop: no scroll */
}

/* Inner track should be centered and fill width */
.Timeline_timelineInner__WfqOd {
  width: 100%;
  height: 80px;
  margin: 0 auto;
  /* margin-left: 80px; */
}

/* ====== Details below (centered below marker) ====== */
.Timeline_details__jfTXo {
  position: absolute;
  top: calc(100% + 40px);
  left: 0;
  /* Align with the 1px marker column */
  width: 130px;
  text-align: center;
  opacity: 0;
  transform: translateX(-50%);
  /* Center relative to marker */
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.Timeline_active__4Dgz4 .Timeline_details__jfTXo {
  opacity: 1;
}

/* ====== Icon under the marker line (centered below marker) ====== */
.Timeline_iconWrapper__1Xdui {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  /* Align with the 1px marker column */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  color: hsla(0, 0%, 100%, 0.2);
  transform: translateX(-50%);
  /* Center relative to marker */
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.Timeline_active__4Dgz4 .Timeline_iconWrapper__1Xdui,
.Timeline_link__faBtm:hover .Timeline_iconWrapper__1Xdui {
  color: hsla(0, 0%, 100%, 0.6);
}

/* ====== Responsive: Mobile and Tablet ====== */
@media (max-width: 1100px) {
  .Timeline_timeline__RcB9W {
    padding: 40px 16px 110px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* Adjust grid for mobile - make it scrollable */
  .Timeline_timelineInner__WfqOd {
    min-width: 800px;
    margin-left: 80px;
    /* Ensure horizontal scroll */
  }

  /* Year labels on mobile */
  .Timeline_year__mDgNF {
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
  }

  /* Details box on mobile - wider to prevent cutoff */
  .Timeline_details__jfTXo {
    width: 200px;
    top: calc(100% + 30px);
  }

  .Timeline_details__jfTXo h4 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .Timeline_details__jfTXo p {
    font-size: 17px;
    line-height: 24px;
  }

  /* Smaller icon wrapper */
  .Timeline_iconWrapper__1Xdui {
    width: 36px;
    top: calc(100% + 12px);
  }

  .Timeline_iconWrapper__1Xdui img {
    max-width: 32px;
    height: auto;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .Timeline_timeline__RcB9W {
    padding: 32px 12px 100px;
    height: 300px;
  }

  .Timeline_timelineInner__WfqOd {
    min-width: 700px;
    margin-left: 80px;
  }

  .Timeline_year__mDgNF {
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
  }

  .Timeline_details__jfTXo {
    width: 180px;
    top: calc(100% + 25px);
  }

  .Timeline_details__jfTXo h4 {
    font-size: 16px;
    line-height: 22px;
    margin-top: 26px;
    margin-bottom: 6px;
    font-weight: 600;
  }

  .Timeline_details__jfTXo p {
    font-size: 16px;
    line-height: 22px;
  }

  .Timeline_iconWrapper__1Xdui {
    width: 32px;
    top: calc(100% + 10px);
  }

  .Timeline_iconWrapper__1Xdui img {
    max-width: 28px;
  }
}
