/* glow bg */
.glow-bg {
  width: 60%;
  height: 50%;
  /* background: radial-gradient(circle, #e4f7f6 0%, #aaf0f2 50%, #64d6d3 100%);
  box-shadow: 0 0 20px 10px rgba(100, 214, 211, 0.5); */
  display: flex;
  align-items: center;
  justify-content: center;

  background: #e4f7f6;
  filter: blur(375px);
  padding: 30px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: -1;
}

/* ********************* */
/* Proect overview slide  */
/* ********************* */

.project-overview {
  max-width: 130rem;
  width: 100%;
  margin: 0 auto;
  padding: 8.2rem;
}
.project-overview__title {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6c6c6c;
}
.project-overview__cards {
  margin: 5.2rem 3.2rem;
  display: flex;
  gap: 3.2rem;
}
.project-overview__card {
  width: 33%;
  min-height: 24.1rem;
  height: auto;
  padding: 4.8rem;
  padding-bottom: 3rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
}
.project-overview__icon-wrapper {
  width: 5.2rem;
  height: 5.2rem;
  margin-bottom: 3.2rem;
}
.project-overview__icon {
  width: 100%;
  height: 100%;
}
.project-overview__heading {
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 2.4rem;
}

.project-overview__text-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 1rem;
}
.project-overview__text {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 400;
}
.project-overview__exit-btn {
  padding: 1.4rem 3rem;
  color: var(--color-white);
  background-color: var(--color-accent-3);
  text-decoration: none;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 500;
  border-radius: 10rem;
}

/* ********************* */
/* key-responsibilities slide  */
/* ********************* */

.key-responsibilities {
  max-width: 130rem;
  width: 100%;
  margin: 0 auto;
  padding: 8.2rem;
}

.key-responsibilities__timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  position: relative;
  margin-top: 6rem;
  z-index: 0;
}

/* connecting line */
.key-responsibilities__timeline::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--color-black);
  z-index: -1;
  margin: 0 auto;
}
.key-responsibilities__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.key-responsibilities__step-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  background-color: var(--color-black);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
  text-align: center;
  transition: all 0.3s;
  margin: 0 0 2rem 0;
}

.key-responsibilities__step-number:hover {
  background-color: var(--color-accent-3);
}

.key-responsibilities__step-label {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 600;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 10rem;
  padding: 1.8rem;
  display: inline-block;
  margin-bottom: 1.6rem;
}

.key-responsibilities__tasks {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.4rem;
  padding: 0;
  width: 100%;
  max-width: 400px;
}

.key-responsibilities__task {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 400;
  background-color: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  padding: 1.2rem 1.8rem;
  width: 70%;
  text-align: center;
}

/* ***************** */
/* User testing slide  */
/* ***************** */

.user-testing {
  max-width: 130rem;
  width: 100%;
  margin: 0 auto;
  padding: 8.2rem 16rem;
  position: relative;
}

.user-testing__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.4rem;
}

.user-testing__title {
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}
.user-testing__subtitle {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}

.user-testing__nav-list {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin-top: 2.4rem;
}
.user-testing__nav-item {
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}
.user-testing__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  margin: 4rem 0;
}

.user-testing__step {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.user-testing__icon-wrapper {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-3);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-testing__icon-wrapper::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 4rem;
  background-color: var(--color-accent-3);
  z-index: -1;
}

.user-testing__step:first-child .user-testing__icon-wrapper::before {
  display: none;
}

.user-testing__icon--checked {
  color: var(--color-accent-3);
  font-size: 1.2rem;
}

.user-testing__content {
  margin-left: 2rem;
  max-width: 60rem;
}

.user-testing__heading {
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.user-testing__text {
  font-size: 1.2rem;
  color: var(--color-black);
  line-height: 1.6;
}

/* *****************************/
/* Competitive research slide  */
/* *****************************/

.competitive-research {
  max-width: 130rem;
  width: 100%;
  margin: 0 auto;
  padding: 8.2rem;
  position: relative;
}

.competitive-research__center {
  border: 1px solid var(--color-accent-1);
  border-radius: 10rem;
  padding: 3.2rem;
  width: 16.2rem;
  height: 16.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin: 0 auto; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.competitive-research__icon {
  width: 9.2rem;
  height: 9.2rem;
  color: #333;
}
.competitive-research__wrapper {
  /* position: relative; */
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.competitive-research__item {
  position: absolute;
  padding: 1.6rem 2.8rem;
  border-radius: 1.5rem;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  max-width: 350px;
  width: 100%;
}

.competitive-research__title {
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.competitive-research__text {
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.4;
}

.competitive-research__item--who {
  background-color: #e0dbf4;
  top: 25%;
  left: 5%;
  /* transform: rotate(-3deg); */
}

.competitive-research__item--why {
  background-color: #d1caef;
  top: 50%;
  left: 10%;
  /* transform: rotate(-4deg); */
}

.competitive-research__item--what {
  background-color: #c1b8ea;
  top: 72%;
  left: 50%;
  transform: translateX(-50%);
}

.competitive-research__item--when {
  background-color: #b2a7e5;
  top: 50%;
  right: 10%;
  /* transform: rotate(3deg); */
}

.competitive-research__item--where {
  background-color: #a393e0;
  top: 25%;
  right: 5%;
  /* transform: translateX(-50%) rotate(-1deg); */
}

/* ***************** */
/* Wireframes slider */
/* ***************** */

.wireframes {
  max-width: 130rem;
  width: 100%;
  margin: 0 auto;
  padding: 5.2rem;

  position: relative;
}

.wireframe__compare-container {
  padding: 1rem;
  display: grid;
  place-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  --position: 50%;
  margin-top: 2.2rem;
}

.wireframe__slide {
  max-height: 70vh;
  aspect-ratio: 1/1;
  position: relative;
}

.wireframe__image {
  width: 100%;
  height: 100%;
}

.wireframe__before-wrapper {
  width: 22rem;
  height: 40rem;
  padding: 1rem;
  border-radius: 2rem;
  background-color: #e4f7f6;
  position: absolute;
  top: 15%;
  left: -5%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 5;
}

.wireframe__before-wrapper.hover-stop img {
  animation-play-state: paused !important;
}

.wireframe__before-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2rem;
  position: absolute;
  top: 0;
  left: 0;
  transition: top 0.1s linear;
}

.wireframe__after-wrapper {
  max-width: 80vw;
  min-height: 30rem;
  padding: 1rem;
  border-radius: 2rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.wireframe__after-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

.wireframe__before-wrapper,
.wireframe__before-image {
  pointer-events: none;
}

.wireframe__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}

.wireframe__slider:focus-visible ~ .wireframe__slider-button {
  outline: 5px solid black;
  outline-offset: 3px;
}

.wireframe__slider-line {
  position: absolute;
  width: 0.5rem;
  height: 100%;
  background-color: var(--color-accent-1);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
  transition: left 0.2s ease;
  opacity: 0;
}

.wireframe__slider-button {
  position: absolute;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  background-color: var(--color-accent-3);
  color: var(--color-primary);
  padding: 0.5rem;
  border-radius: 10vw;
  place-items: center;
  pointer-events: none;
  z-index: 20;
  box-shadow: 1px 1px 1px hsl(0, 50%, 2%, 0.5);
  transition: left 0.2s ease;
  opacity: 0;
}

.wireframe__next-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border: none;
  cursor: pointer;
  background-color: var(--color-accent-3);
  color: var(--color-white);
  border-radius: 10rem;
  padding: 1.8rem;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.wireframe__next-icon {
  font-size: 2rem;
}

@keyframes wireframeScroll {
  0% {
    top: 0;
  }
  95% {
    top: -100%;
  }
  100% {
    top: 0;
  }
}

.wf-auto-scroll {
  animation: wireframeScroll 8s linear infinite;
}
/* ***************** */
/* Prototype slide */
/* ***************** */

.prototype {
  max-width: 130rem;
  width: 100%;
  margin: 0 auto;
  padding: 5.2rem;

  position: relative;
}

.prototype__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 4.2rem;
  row-gap: 2rem;
}

.prototype-slide__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-black);
  background-color: var(--color-white);
  border-radius: 1rem;
  text-align: center;
  line-height: 1;
  padding: 1rem 1.6rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.4rem;
  margin-left: 18rem;
}

.prototype-slide__step {
  max-width: 400px;
  width: 100%;
  height: auto;
  padding: 2rem;
  border-radius: 2rem;
  background-color: var(--color-white);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  position: relative;
}

.prototype-slide__step::before {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-accent-3);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);

  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.prototype-slide__step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 1.4rem;
}
.prototype-slide__step-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 50%;
  text-align: center;
  line-height: 1;
  padding: 0.8rem;
}

.prototype-slide__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}
.prototype-slide__step-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  background-color: var(--color-accent-3);
  border-radius: 1rem;
  text-align: center;
  line-height: 1;
  padding: 0.5rem 1rem;
}

.prototype-slide__step-description {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  margin-top: 1.8rem;
}

/* ***************** */
/* CASE STUDY SLIDER CONTAINER */
/* ***************** */
.cs-slider {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  max-width: 130rem;
  width: 100%;
  margin: 0 auto;
  padding: 8.2rem;
}

.cs-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.cs-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Nav buttons */
.cs-btn {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  width: 5.2rem;
  height: 5.2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  background-color: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.cs-btn:hover {
  background-color: var(--color-accent-3);
  color: var(--color-white);
}

/* Position left button */
.prev-btn {
  left: 4rem;
}

/* Position right button */
.next-btn {
  right: 4rem;
}

/* ***************** */
/* Tooltip */
/* ***************** */
.tooltip {
  border: none;
  position: absolute;
  top: 75%;
  right: 10%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
}

.tooltip:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

.tooltip::after {
  content: "Click to read more";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 1.1rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Popup overlay */
.tooltip-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.tooltip-popup__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #6c6c6c;
}

.tooltip-popup__text {
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 400;
  margin-top: 1.6rem;
}

/* Popup content */
.tooltip-popup-content {
  background: var(--color-white);
  padding: 4.2rem;
  border-radius: 1rem;
  max-width: 800px;
  width: 90%;
  text-align: center;
  position: relative;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3.2rem;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* ***************** */
/* Toggle */
/* ***************** */

.toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -7rem;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 36px;
  cursor: pointer;
}

.toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #ccc;
  border-radius: 50px;
  padding: 0 8px;
  transition: background-color 0.3s;
}

/* Circle */
.toggle__circle {
  width: 28px;
  height: 28px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: transform 0.3s;
  flex-shrink: 0;
}

/* Text */
.toggle__text {
  margin-left: 14px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-black);
  transition: color 0.3s;
}

/* Default: show OFF, hide ON */
.toggle__text--off {
  display: inline;
}

.toggle__text--on {
  display: none;
}

/* Checked state */
input.toggle__input:checked + .toggle__slider {
  background-color: var(--color-accent-3);
}

input.toggle__input:checked + .toggle__slider .toggle__circle {
  transform: translateX(60px);
}

input.toggle__input:checked + .toggle__slider .toggle__text--off {
  display: none;
}

input.toggle__input:checked + .toggle__slider .toggle__text--on {
  display: inline;
  color: var(--color-white);
  margin-left: -8px;
}

.white-text {
  color: var(--color-white) !important;
  font-weight: 800;
}

/* *********************************************************************** */
/* ************************************************************************** */
/* Media queries  */
/* *********************************************************************** */
/* *********************************************************************** */

/* ********************* */
/* Proect overview slide  */
/* ********************* */
/* ============================= */
/* TABLET — max-width: 900px */
/* ============================= */
@media (max-width: 900px) {
  .project-overview {
    padding: 5rem 3rem;
  }

  .project-overview__cards {
    margin: 4rem 0;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .project-overview__card {
    width: 48%; /* 2 cards per row */
    padding: 3.2rem;
  }

  .project-overview__heading {
    font-size: 1.8rem;
  }

  .project-overview__text {
    font-size: 1.3rem;
  }
}

/* ============================= */
/* MOBILE — max-width: 600px */
/* ============================= */
@media (max-width: 600px) {
  .project-overview {
    padding: 3rem 1.8rem;
  }

  .project-overview__title {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
  }

  .project-overview__cards {
    flex-direction: column;
    margin: 3rem 0;
    gap: 2.4rem;
  }

  .project-overview__card {
    width: 100%; /* 1 card per row */
    padding: 2.4rem;
  }

  .project-overview__heading {
    font-size: 1.6rem;
  }

  .project-overview__text {
    font-size: 1.2rem;
    line-height: 1.5;
  }
}

/* ============================== */
/* Key Responsibilities – MOBILE */
/* ============================== */

@media (max-width: 600px) {
  .key-responsibilities {
    padding: 3rem 1.8rem;
  }

  .key-responsibilities__timeline {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
  }

  /* Remove the long horizontal line */
  .key-responsibilities__timeline::before {
    display: none;
  }

  /* Step container */
  .key-responsibilities__step {
    width: 100%;
    max-width: 320px;
    position: relative;
  }

  /* Number circle */
  .key-responsibilities__step-number {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.6rem;
    margin-bottom: 1.6rem;
  }

  /* Labels */
  .key-responsibilities__step-label {
    font-size: 1.4rem;
    padding: 1.4rem 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
  }

  /* Task list */
  .key-responsibilities__tasks {
    gap: 1.2rem;
    margin-top: 1rem;
  }

  /* Task pills */
  .key-responsibilities__task {
    width: 100%;
    padding: 1rem 1.4rem;
    font-size: 1.2rem;
  }
}

/* ============================== */
/* User Testing – MOBILE VERSION */
/* ============================== */

@media (max-width: 600px) {
  .user-testing {
    padding: 4rem 2rem;
  }

  .user-testing__header {
    gap: 0.6rem;
    text-align: left;
  }

  .user-testing__title {
    font-size: 1.8rem;
  }

  .user-testing__subtitle {
    font-size: 1.2rem;
  }

  /* Navigation pills */
  .user-testing__nav-list {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .user-testing__nav-item {
    font-size: 1.2rem;
  }

  /* Timeline spacing */
  .user-testing__timeline {
    gap: 2rem;
    margin: 3rem 0;
  }

  .user-testing__step {
    align-items: flex-start;
  }

  /* Icon */
  .user-testing__icon-wrapper {
    width: 16px;
    height: 16px;
  }

  /* Vertical line above circle */
  .user-testing__icon-wrapper::before {
    height: 2.8rem;
    top: -2.8rem;
  }

  /* Text content */
  .user-testing__content {
    margin-left: 1.4rem;
    max-width: 100%;
  }

  .user-testing__heading {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }

  .user-testing__text {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

/* ==================================== */
/* Competitive Research – MOBILE VIEW   */
/* ==================================== */

@media (max-width: 600px) {
  .competitive-research {
    padding: 4rem 2rem;
  }

  /* Center icon box */
  .competitive-research__center {
    position: static;
    transform: none;
    width: 12rem;
    height: 12rem;
    margin: 3.24rem auto 2rem auto;
  }

  .competitive-research__icon {
    width: 7rem;
    height: 7rem;
  }

  /* Wrapper becomes vertical */
  .competitive-research__wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    position: static;
  }

  /* All cards become normal block items */
  .competitive-research__item {
    position: static;
    max-width: 100%;
    width: 100%;
    padding: 1.6rem 2rem;
    transform: none !important;
  }

  .competitive-research__title {
    font-size: 1.4rem;
  }

  .competitive-research__text {
    font-size: 1.2rem;
    line-height: 1.4;
  }
}

/* ====================== */
/* Wireframes Slider Media Queries */
/* ====================== */

/* Tablet Landscape: 1024px */
@media (max-width: 1024px) {
  .wireframes {
    padding: 4rem;
  }

  .wireframe__compare-container {
    margin-top: 1.5rem;
  }

  .wireframe__before-wrapper {
    width: 18rem;
    height: 32rem;
    top: 26%;
    left: -38px;
  }

  .wireframe__after-wrapper {
    max-width: 70vw;
    min-height: 25rem;
  }
}

/* Tablet Portrait / Large Mobile: 768px */
@media (max-width: 768px) {
  .wireframes {
    padding: 3rem;
  }

  .wireframe__compare-container {
    padding: 0.5rem;
  }

  .wireframe__before-wrapper {
    width: 16rem;
    height: 28rem;
    top: 35%;
    left: -114px;

    transform: translateX(0);
  }

  .wireframe__after-wrapper {
    max-width: 90vw;
    min-height: 22rem;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .wireframes {
    padding: 2rem 1rem;
  }

  .wireframe__compare-container {
    margin-top: 1rem;
  }

  .wireframe__before-wrapper {
    width: 12rem;
    height: 20rem;
    top: 33%;
    left: -2px;
    transform: translateX(0);
  }

  .wireframe__after-wrapper {
    max-width: 95vw;
    min-height: 18rem;
  }

  .wireframe__next-btn {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
  }
}

/* Prototype Slide: Mobile adjustments */
@media (max-width: 600px) {
  .prototype {
    padding: 2rem;
  }

  .prototype__wrapper {
    flex-direction: column;
    gap: 1.5rem;
    column-gap: 0;
  }

  .prototype-slide__title {
    margin-left: 0;
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
    margin-top: 3.2rem;
  }

  .prototype-slide__step {
    max-width: 100%;
    padding: 1.5rem;
  }

  .prototype-slide__step-label {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.7rem;
    padding: 0.6rem;
  }

  .prototype-slide__step-title {
    font-size: 1.2rem;
  }

  .prototype-slide__step-tag {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .prototype-slide__step-description {
    font-size: 1rem;
    margin-top: 1rem;
  }
}

/* =================== */
/* Mobile adjustments for slider container  */
/* =================== */
@media (max-width: 768px) {
  .cs-slider {
    padding: 5rem 1rem;
    position: relative;
  }

  /* Move buttons below slides */
  .prev-btn,
  .next-btn {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 1rem;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.4rem;
  }

  .cs-slider-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .cs-slider-buttons,
  .prev-btn,
  .next-btn {
    z-index: 9999 !important;
    pointer-events: auto !important;
  }
}
