.page-header-wrapper {
  margin-bottom: 60px;
}

.page-header {
  height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.header-nav {
  height: 50%;
  padding-left: 55px;
  padding-bottom: 20px;
}

.nav-img {
  width: auto;
  height: 50px;
}

.intro-section::after {
  background: url("../images/BackgroundTexture.png") repeat;
  background-blend-mode: multiply;
}

.intro-section {
  height: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white-color);
}

.intro-main {
  width: 1130px;
  height: 406px;

  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: 3fr 1fr;
  row-gap: 16px;
}

.intro-text {
  display: flex;
  flex-direction: column;
  /* row-gap: 12px; */
}

.intro-text-highlight {
  font-size: inherit;
  font-weight: var(--semibold-font-weight);
}

.intro-text-start {
  font-size: 40px;
  line-height: 55px;
}

.intro-text-hero-text {
  font-size: 80px;
  font-weight: var(--semibold-font-weight);
  margin: 0;
  padding: 0;
  line-height: 100px;
}

.intro-text-hero {
  width: 900px;
  height: 110px;
  overflow: hidden;
  margin-left: 0 !important;
}

.intro-text-end {
  width: 900px;
  height: 150px;
  overflow: hidden;
  margin-left: 0 !important;
  line-height: 38px;
}

.intro-text-end-text {
  font-size: 28px;
}

.intro-img {
  width: 344px;
}

.intro-tag {
  grid-column: 2 / 3;
  grid-row: 2 / 3;

  display: flex;
  flex-direction: column;
  row-gap: 8px;
}

.intro-tag-row {
  display: flex;
  column-gap: 8px;
}

.intro-tag-item {
  border-style: solid;
  border-color: #f6c2e6;
  border-radius: 56px;
  display: inline-block;
  padding: 10px 25px;
  font-weight: bold;
}

.tab-content {
  padding: var(--tab-content-horizontal-padding) 60px;
  height: 800px;
  /* background-color: var(--white-color); */
}

#all-tab-content {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  height: auto;
}

#all-tab-content .project-label {
  color: var(--black-color);
  font-weight: var(--regular-font-weight);
  font-size: 32px;
}

.tab-content.hidden {
  display: none !important;
}

.self-testimonial {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 898px;
}

.self-testimonial-main {
  width: 629px;
  height: 538px;

  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.self-testimonial-quote {
  font-size: 32px;
  transform: skewX(-10deg);
  font-weight: 1;
}

.self-testimonial-body {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  width: 380px;
  position: relative;
}

.self-testimonial-body-img {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(20%, -50%);
  width: 55%;
  height: auto;
}

.self-testimonial-highlight {
  font-size: inherit;
  font-weight: var(--semibold-font-weight);
}

.self-testimonial-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 12px;
}

.self-testimonial-link-item {
  border-style: solid;
  border-width: 1px;
  border-color: var(--white-color);
  border-radius: 22px;
  padding: 12px 20px;
  background-color: transparent;
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.self-testimonial-link-item::before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 1px;
  border-color: var(--light-pink-color);
  inset: 0;

  background: var(--light-pink-color);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;

  z-index: -1;
}

.self-testimonial-link-item:hover::before {
  transform: scaleX(1);
}

.self-testimonial-link-item:hover {
  border-color: var(--light-pink-color);
  color: var(--green-color);
}

.self-testimonial-link-item:hover::after {
  background-color: var(--green-color);
}

.self-testimonial-link-item::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 10px;
  margin-left: 20px;
  mask-image: url("../images/landing/LinkLine.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: var(--white-color);
}

.skill-list {
  height: 198px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.skill-list-main {
  height: 78px;
  display: flex;
  column-gap: 20px;
}

.skill-list-main-item {
  height: 67px;
}

.carousel-content * {
  color: var(--black-color);
}

.carousel-content .project-img {
  height: 500px;
  width: 700px;

  transition: box-shadow 0.2s ease;
}

.carousel-content .project-img:hover {
  box-shadow: 5px 6px 0px var(--black-color);
}

.carousel-content .project-carousel-item {
  display: flex;
  width: 1240px;
  height: 500px;
  column-gap: 40px;
}

.swiper-slide-active.carousel-next .project-carousel-item {
  animation: slideTranslation 1200ms ease none;
  --translate-direction: -1;
}

.swiper-slide-active.carousel-prev .project-carousel-item {
  animation: slideTranslation 1200ms ease none;
  --translate-direction: 1;
}

@keyframes slideTranslation {
  0% {
    transform: translate(0);
  }
  30% {
    transform: translateX(calc(var(--translate-direction) * 5%));
  }
  70% {
    transform: translateX(calc(-1 * var(--translate-direction) * 5px));
  }
  100% {
    transform: translateX(0);
  }
}

.swiper-slide-active {
  z-index: 10 !important;
}
.swiper-slide-next,
.swiper-slide-prev {
  z-index: 9 !important;
}

.carousel-content .project-info {
  display: flex;
  flex-direction: column;
  width: 500px;
  justify-content: space-between;
}

.carousel-content .project-info-detail {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  width: 100%;
}

.carousel-content .project-title {
  font-size: 60px;
  font-weight: var(--semibold-font-weight);
}

.carousel-content .project-link,
.carousel-content .project-description {
  font-size: 18px;
  font-weight: var(--medium-font-weight);
}

.carousel-content .project-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.carousel-content .project-desc-tag {
  color: var(--tertiary-color);
  background-color: var(--white-color);
  border-style: solid;
  border-color: var(--tertiary-color);
  border-radius: 56px;
  display: inline-block;
  padding: 8px 16px;
  font-weight: var(--medium-font-weight);
}

.swiper {
  position: relative;
}

/* --- Carousel Wrapper --- */
.project-carousel-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
}

.project-carousel {
  width: 1240px; /* match your slide width */
  padding-bottom: 10px;
}

/* --- Swiper Slides --- */
.project-carousel .swiper-slide {
  display: flex;
  width: 1240px;
  height: 500px;
  column-gap: 40px;
}

/* --- Project Image --- */
.project-carousel .project-img {
  width: 700px;
  height: 500px;
  object-fit: cover;
  transition: box-shadow 0.2s ease;
}

.project-carousel .project-img-wrapper:hover {
  box-shadow: 5px 6px 0px var(--black-color);
}

/* --- Project Info --- */
.project-carousel .project-info {
  display: flex;
  flex-direction: column;
  width: 500px;
  justify-content: space-between;
}

.project-carousel .project-info-detail {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.project-carousel .project-title {
  font-size: 60px;
  font-weight: var(--semibold-font-weight);
}

.service-project-carousel .project-title {
  font-size: 52px;
  font-weight: var(--semibold-font-weight);
  line-height: 60px;
}

.project-carousel .project-label {
  color: var(--tertiary-color);
  font-weight: var(--medium-font-weight);
}

.project-carousel .project-link,
.project-carousel .project-description {
  font-size: 18px;
  font-weight: var(--medium-font-weight);
}

.project-carousel .project-link {
  align-self: flex-start;
  position: relative;
  text-decoration: none;
}

.project-carousel .project-link:hover {
  color: var(--green-color);
}

.project-carousel .project-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--black-color);
  transition: width 0.2s ease;
}

.project-carousel .project-link:hover::after {
  width: 100%;
  background-color: var(--green-color);
}

.carousel-button-prev.fade-out::after.project-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-carousel .project-tag {
  color: var(--tertiary-color);
  background-color: #fff;
  border: 1px solid var(--tertiary-color);
  border-radius: 56px;
  padding: 8px 16px;
  font-weight: var(--medium-font-weight);
  display: inline-block;
}

.project-carousel-wrapper .carousel-button-prev,
.project-carousel-wrapper .carousel-button-next {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.project-carousel-wrapper .carousel-button-prev:after,
.project-carousel-wrapper .carousel-button-next:after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
  top: 20px;
  left: 20px;

  opacity: 1;
  transition: opacity 0.3s ease;
}

.project-carousel-wrapper .carousel-button-prev {
  left: 0;
}

.project-carousel-wrapper .carousel-button-prev::after {
  border-top: 2px solid var(--black-color);
  border-left: 2px solid var(--black-color);
}

.project-carousel-wrapper .carousel-button-next {
  right: 0;
}

.project-carousel-wrapper .carousel-button-next::after {
  border-bottom: 2px solid var(--black-color);
  border-right: 2px solid var(--black-color);
}

.project-carousel-wrapper .carousel-button-prev.fade-out::after,
.project-carousel-wrapper .carousel-button-next.fade-out::after,
.project-carousel-wrapper .carousel-button-prev.swiper-button-disabled::after,
.project-carousel-wrapper .carousel-button-next.swiper-button-disabled::after {
  opacity: 0;
  pointer-events: none;
}

.project-carousel-wrapper .carousel-button-next.fade-out,
.project-carousel-wrapper .carousel-button-prev.swiper-button-disabled {
  cursor: default;
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: auto !important;
  --swiper-pagination-bullet-size: 29px;
  --swiper-pagination-bullet-horizontal-gap: 0;
  --swiper-pagination-color: var(--green-color);
  --swiper-pagination-bullet-inactive-color: var(--white-color);
  --swiper-pagination-bullet-inactive-opacity: 1;
}

.carousel-prev-button-init {
  opacity: 0;
  transition: none !important;
}

.slide-inner {
  display: inline-block;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.swiper-slide-active .slide-inner {
  transform: translateX(0);
}

.swiper-pagination-bullet {
  &:only-child {
    display: inline-block !important;
    cursor: default;
  }
}

ul {
  list-style: none;
}

li {
  position: relative;
  padding-left: 1em;
}

li::before {
  position: absolute;
  left: 0;
  color: var(--tertiary-color);
}

.project-content .project-title {
  color: var(--black-color);
}
