.text-white {
  color: #fff;
}
.dx-career-section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  background: #ffffff;
}
.z-index-9 {
  position: relative;
  z-index: 990;
}
.white-block {
  background: #ffffff;
  height: 73px;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
}
/* HERO */
#hero-dx-recruit {
  height: 100vh;
  width: 100%;
  top: 0;
  z-index: 0;
  position: fixed;
}
.initial-overlay {
  position: absolute;
  width: 100%;
  top: 72px;
  bottom: 0;
  left: 0;
  background: #000000;
  z-index: 2;
  transform: scaleY(1);
  transform-origin: top center;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}
.initial-overlay.is-lifted {
  transform: scaleY(0);
}
.hero-dx-recruit-img {
  width: 100%;
  height: 100vh;
  padding-top: 72px;
  background: #ffffff;
  position: absolute;
  top: 0;
  z-index: 1;
}
.hero-dx-recruit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 3s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-dx-recruit-img img.is-scaled {
  transform: scale(1);
}
.hero-dx-recruit-vertical {
  position: fixed;
  top: 0;
  right: 15%;
  width: auto;
  height: 100vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dx-recruit-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vertical-text {
  width: auto;
  height: auto;
  transform: none;
  color: rgba(240, 240, 240, 0.8);
  font-size: 110px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.1em;
  position: absolute;
  top: 60%;
  right: 15%;
  left: auto;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  margin: 0;
}

.hero-cta-btn {
  position: absolute;
  bottom: 50px;
  left: 50px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #fff;
  background: transparent;
  text-decoration: none;
  padding: 0 15px;
  height: 40px;
  color: #fff;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}
.hero-cta-btn span {
  font-size: 10px;
}
.hero-cta-btn,
.hero-dx-recruit-vertical {
  filter: blur(15px);
  opacity: 0;
  transition:
    filter 1s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 3s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.1);
}

.hero-cta-btn.is-visible,
.hero-dx-recruit-vertical.is-visible {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

#crushing-works {
  margin-top: calc(100vh - 100px);
}
#crushing-works h3.title {
  font-size: 50px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  margin-bottom: 70px;
}
#crushing-works h3.title span {
  background-color: #000000;
  padding-left: 15px;
  padding-right: 15px;
}
#crushing-works p {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 40px;
}
#career-growth {
  background: url("../img/recruit/career-growth-potential-bg.jpg") no-repeat
    center;
  background-size: cover;
}
.career-growth-desc {
  color: #fff;
  position: absolute;
}
.career-growth-desc h3.heading {
  font-size: 30px;
  font-weight: 700;
}
.career-growth-desc p {
  font-size: 16px;
  font-weight: 700;
}
.career-growth-img {
  padding-top: 50px;
  display: flex;
  justify-content: center;
}
.career-growth-img img {
  width: 100%;
  max-width: 850px;
}

.container__inner {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1030px;
}
.dx-career-section h3.dx-section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
}

.full-page-tabs {
  width: 100%;
}

.tab-nav {
  display: flex;
  width: 100%;
}

.tab-btn {
  flex: 1;
  padding: 16px 24px;
  font-size: 22px;
  font-weight: 700;
  background: #fff;
  border: 1px solid #2b2b2b;
  cursor: pointer;
  transition: all 0.4s ease;
  color: #333333;
  cursor: pointer;
}

.tab-btn:not(:last-child) {
  border-right: none;
}

.tab-btn.active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.tab-btn:hover:not(.active) {
  background: #333333;
  color: #ffffff;
}

.tab-panel.active {
  display: block;
}
.tab-panel {
  display: none;
  width: 100%;
  padding: 110px 20px 60px 20px;
  background: #f5f5f5;
  opacity: 0;
  animation: tabFadeIn 0.3s ease forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-desc {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 20px;
  position: absolute;
  top: 60px;
  z-index: 3;
}
.tab-graph {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 280px;
  position: relative;
  z-index: 2;
}
.tab-graph .bar-graph {
  flex: 1;
  text-align: center;
  padding: 20px 5px 5px;
  font-weight: 700;
  font-size: 16px;
}
.bar-graph span {
  background: #ffffff;
  color: #333333;
  padding: 4px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 35px;
}
/* Individual bar heights */
.bar-graph-1 {
  height: 40%;
  background-color: #d5e2ff;
}
.bar-graph-2 {
  height: 54%;
  background-color: #82a7ff;
}
.bar-graph-3 {
  height: 70%;
  background-color: #2e6cff;
}
.bar-graph-4 {
  height: 85%;
  background-color: #004bc9;
}
.bar-graph-5 {
  height: 100%;
  background-color: #002d7a;
}

.bar-graph-6 {
  height: 50%;
  background-color: #d5e2ff;
}
.bar-graph-7 {
  height: 75%;
  background-color: #82a7ff;
}
.bar-graph-8 {
  height: 100%;
  background-color: #efaf00;
}

.working-environment-items,
.career-path-items {
  margin-top: 60px;
}
.career-path-desc,
.working-environment-desc {
  text-align: center;
}

.accordion-item {
  border-color: #2b2b2b;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
}
.accordion-item:not(:first-of-type) {
  border-top: 0;
}
.accordion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  color: #333333;
  cursor: pointer;
  padding: 3px 20px 3px 30px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 22px;
  font-weight: 700;
  transition: 0.4s;
}

.accordion.active,
.accordion:hover {
  background-color: #2b2b2b;
  color: #ffffff;
}

.accordion.active:hover {
  color: #ffffff;
}

/* Icon Container */
.icon-wrapper {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0; /* Prevents icon from squishing */
}

/* The bars */
.bar {
  position: absolute;
  background-color: currentColor; /* Matches text color automatically */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  border-radius: 2px;
}

.horizontal {
  width: 100%;
  height: 1px;
}

.vertical {
  width: 1px;
  height: 100%;
}

/* The Animation: When active, rotate vertical bar into the horizontal one */
.accordion.active .vertical {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.panel {
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.panel-content {
  padding: 30px;
  display: flex;
  gap: 20px;
}
.accordion-img {
  width: 43%;
}
.accordion-img img {
  width: 100%;
}
.accordion-desc {
  width: 57%;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.accordion-desc ul {
  list-style: disc;
  margin-left: 20px;
}

#vacation-system {
  background: #f5f5f5;
}
.vacation-items {
  display: grid;
  gap: 40px;
}
.vacation-item {
  padding: 15px 40px 30px;
  border-bottom: 1px solid #000000;
}

.vacation-item h4 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
}

.vacation-item p {
  font-size: 16px;
}

#dx-jobs,
#career-path,
#park-dx-interviews {
  padding-bottom: 0;
}
#careers-department {
  background: #ffffff;
  padding-top: 80px;
  padding-bottom: 1px;
  position: relative;
}
footer,
.grey-background {
  position: relative;
}

@media (max-width: 768px) {
  .dx-career-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .dx-career-section h3.dx-section-title,
  #careers-department .page-title__name {
    font-size: 22px;
    text-align: left;
    margin-bottom: 30px;
  }
  #careers-department .page-title.section-block.section-block--mb-5 {
    margin-bottom: 0;
  }
  .page-title__inner {
    padding-left: 15px;
    padding-right: 15px;
  }
  .hero-dx-recruit-img {
    padding-top: 60px;
  }
  .hero-cta-btn {
    bottom: 60px;
    left: 20px;
  }
  .hero-dx-recruit-vertical {
    right: 5%;
  }
  .vertical-text {
    font-size: 70px;
    top: 50%;
  }
  #crushing-works {
    margin-top: calc(100vh - 89px);
  }
  #crushing-works h3.title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  #crushing-works p {
    font-size: 14px;
  }
  .career-growth-img {
    padding-top: 70px;
  }
  .career-growth-desc {
    width: 50%;
  }
  .career-growth-desc h3.heading {
    font-size: 22px;
  }
  .career-growth-desc p {
    font-size: 14px;
  }
  #career-path,
  #dx-jobs {
    padding-bottom: 0;
  }
  .career-path-items,
  .working-environment-items {
    margin-top: 30px;
  }
  .career-path-desc,
  .working-environment-desc {
    text-align: left;
  }
  .tab-btn {
    font-size: 14px;
    padding: 10px;
  }
  .tab-panel {
    padding: 30px 15px;
  }
  .tab-desc {
    font-size: 16px;
    padding-left: 0;
    top: 30px;
    width: 130px;
  }
  .tab-graph {
    flex-direction: column-reverse;
  }
  .tab-graph .bar-graph {
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 0 15px;
  }
  .tab-graph .bar-graph-1,
  .tab-graph .bar-graph-2,
  .tab-graph .bar-graph-3,
  .tab-graph .bar-graph-4,
  .tab-graph .bar-graph-5 {
    height: 20%;
  }
  .tab-graph .bar-graph-1 {
    width: 95%;
    background-color: #002d7a;
  }
  .tab-graph .bar-graph-2 {
    width: 80%;
    background-color: #004bc9;
  }
  .tab-graph .bar-graph-3 {
    width: 65%;
    background-color: #2e6cff;
  }
  .tab-graph .bar-graph-4 {
    width: 50%;
    background-color: #82a7ff;
  }
  .tab-graph .bar-graph-5 {
    width: 35%;
    background-color: #d5e2ff;
  }
  .tab-graph .bar-graph-6 {
    width: 95%;
  }
  .tab-graph .bar-graph-7 {
    width: 71%;
  }
  .tab-graph .bar-graph-8 {
    width: 48%;
  }

  .working-environment-items {
    margin-left: -15px;
    margin-right: -15px;
  }
  .accordion {
    font-size: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .accordion-item {
    border-width: 1px 0px 1px 0px;
  }
  .panel-content {
    padding: 25px;
    flex-direction: column;
  }
  .accordion-img,
  .accordion-desc {
    width: 100%;
  }
  .vacation-items {
    gap: 20px;
  }
  .vacation-item {
    padding: 10px 20px 20px;
    border-bottom: 1px solid #000000;
  }
  .vacation-item h4,
  .vacation-item p {
    font-size: 14px;
  }
  #careers-department a {
    width: 100%;
  }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

/* --- Base hidden state -------------------------------------------------- */

.reveal {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* --- Direction variants (default = up) ---------------------------------- */

.reveal,
.reveal--up {
  transform: translateY(50px);
}

.reveal--left {
  transform: translateX(-50px);
}

.reveal--right {
  transform: translateX(50px);
}

.reveal--fade {
  transform: none;
}

/* --- Triggered state ---------------------------------------------------- */

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --- Respect reduced-motion preference ---------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
