@font-face {
  font-family: "TapestryRegular";
  src: url(./fonts/Tapestry-Regular.ttf);
}

@font-face {
  font-family: "TBJGoslapExtraBold";
  src: url(./fonts/TBJGoslap-TextNormalExtraBold.ttf);
}

@font-face {
  font-family: "TBJGoslapNormalRegular";
  src: url(./fonts/TBJGoslap-DisplayNormRegular.ttf);
}

@font-face {
  font-family: "PoppinsRegular";
  src: url(./fonts/Poppins-Regular.ttf);
}

:root {
  --light: #fff3e0;
  --dark: #2e282a;
  --primary: #17bebb;
  --secondary: #ec4e20;
  --tertiary: #f3b61f;
  --font-title: "TBJGoslapExtraBold", sans-serif;
  --font-title2: "TBJGoslapNormalRegular", sans-serif;
  --font-title3: "TapestryRegular", sans-serif;
  --font-paragraph: "PoppinsRegular", sans-serif;
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: none; /* Disable scroll snapping */
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  z-index: auto;
  background-color: var(--primary);
}

.container::-webkit-scrollbar {
  display: none;
}

.section {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  scroll-snap-align: end;
  transition: transform 1s ease-out;
  overflow: auto;
}

/* NAVUGATION BAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0)
  ); /* Gradient fade */
  backdrop-filter: blur(10px); /* Blur effect */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.navbar.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-left {
  display: flex;
  gap: 0.2rem;
}

.navbar-left svg {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.navbar-left svg:nth-child(1) svg {
  fill: var(--primary);
}

.navbar-left svg:nth-child(2) svg {
  fill: currentColor;
  color: var(--secondary);
}

.navbar-left svg:nth-child(3) svg {
  fill: currentColor;
  color: var(--tertiary);
}

.navbar-right .hamburger {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
}

.navbar-right .hamburger span {
  display: block;
  width: 2rem;
  height: 0.3rem;
  background-color: var(--dark);
  border-radius: 5px;
}

/* SECTION ONE */
.section.one {
  position: relative;
  z-index: 90;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
}

.section.one .section-title {
  display: flex;
  flex-direction: column;
  font-size: 45vw;
  font-family: var(--font-title);
  color: var(--dark);
  white-space: nowrap;
  align-items: center;
}

.section.one .section-title-web {
  display: none;
}

.section.one .section-title span {
  line-height: 0.65;
  display: block;
}

.section.one .section-title span:nth-child(3) {
  font-size: 35.4vw;
}

.section.one .section-title .name {
  font-family: var(--font-title3);
  font-size: 10vw;
  font-weight: 100;
  margin-top: 2vh;
  width: auto;
}

.section.one .highlight {
  font-family: var(--font-title3);
  font-size: 42vw;
  margin-left: -5vw;
  vertical-align: baseline;
}

.section.one .svg-container {
  display: flex;
  gap: 1vw;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 9vh;
  width: 100%;
}

.svg-plus,
.svg-asterisk {
  width: 10vw;
  height: 10vw;
  transform-origin: center;
  will-change: transform !important;
  transition: transform 0.1s linear !important;
  flex-shrink: 0;
}

.section.one .svg-container .svg-plus:nth-child(1) svg {
  display: block;
  fill: currentColor;
  color: var(--primary);
}

.section.one .svg-container .svg-asterisk:nth-child(2) svg {
  display: block;
  fill: currentColor;
  color: var(--secondary);
}

.section.one .svg-container .svg-asterisk:nth-child(3) svg {
  display: block;
  fill: currentColor;
  color: var(--tertiary);
}

/*SECTION TWO*/
.section.two {
  position: relative;
  z-index: 6;
  border-radius: 0 0 25px 25px;
  background: var(--light);
  overflow: hidden;
  margin-bottom: -40px;
}

.section.two .section-title-web {
  display: none;
}

.section.two .section-title {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--dark);
  white-space: nowrap;
  padding: 13vw;
}

.section.two .section-title span {
  margin-bottom: -1.5rem;
}

.section.two .section-title p {
  margin-top: 15vw;
  font-family: var(--font-paragraph);
  font-size: 0.9rem;
  font-weight: 100;
  line-height: 1.5;
  color: var(--dark);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
}

.section.two .section-title svg {
  fill: currentColor;
  color: var(--dark);
}

.section.two .section-title span:nth-child(2),
.section.two .section-title span:nth-child(4) {
  font-family: var(--font-title2);
  font-size: 2.5rem;
  margin-bottom: -1rem;
}

.section.two .section-title span:nth-child(3) {
  font-family: var(--font-title3);
  font-size: 3.9rem;
  margin-bottom: -1.5rem;
}

/* SECTION THREE */
.section.three {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: center;
  align-content: center;
  overflow: hidden;
  margin-bottom: -20px;
}

.section.three .section-title {
  position: absolute;
  top: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Initially hidden */
  transform: translateY(20px); /* Slight downward offset */
  transition: opacity 1.5s ease, transform 1.5s ease; /* Smooth transition */
}

.section.three .section-title.fade-in {
  opacity: 1; /* Fully visible */
  transform: translateY(0); /* Reset offset */
}

.section.three .section-title svg {
  fill: currentColor;
  color: var(--light);
  transition: transform 0.56s ease-in-out;
}

.section.three .highlight {
  font-family: var(--font-title3);
}

.section.three .section-title span {
  font-family: var(--font-title);
  color: var(--light);
  font-size: 2.4rem;
}

.section.three input {
  display: none;
}

.card-container {
  opacity: 0; /* Initially hidden */
  transform: translateY(20px); /* Slight downward offset */
  transition: opacity 0.6s ease, transform 0.6s ease; /* Smooth transition */
  width: 60%;
  height: 100%;
  display: flex;
  transform-style: preserve-3d;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cards {
  position: relative;
  height: 500px;
  perspective: 250px;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cards label {
  position: absolute;
  left: 10;
  right: 10;
  margin: auto;
  cursor: pointer;
  transition: transform 0.55s ease;
}

.cards .card {
  overflow: visible;
  width: 19rem;
  height: 19rem;
  position: relative;
}

.cards img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
}

#s1:checked ~ .cards #slide4,
#s2:checked ~ .cards #slide5,
#s3:checked ~ .cards #slide1,
#s4:checked ~ .cards #slide2,
#s5:checked ~ .cards #slide3 {
  transform: translate3d(0%, 110%, -100px);
  filter: blur(12px) opacity(90%);
}

#s1:checked ~ .cards #slide5,
#s2:checked ~ .cards #slide1,
#s3:checked ~ .cards #slide2,
#s4:checked ~ .cards #slide3,
#s5:checked ~ .cards #slide4 {
  transform: translate3d(0%, 55%, -50px);
  filter: blur(6px);
}

#s1:checked ~ .cards #slide1,
#s2:checked ~ .cards #slide2,
#s3:checked ~ .cards #slide3,
#s4:checked ~ .cards #slide4,
#s5:checked ~ .cards #slide5 {
  transform: translate3d(0, 0, 0px);
  filter: drop-shadow(0px 0px 22px --dark);
}

#s1:checked ~ .cards #slide2,
#s2:checked ~ .cards #slide3,
#s3:checked ~ .cards #slide4,
#s4:checked ~ .cards #slide5,
#s5:checked ~ .cards #slide1 {
  transform: translate3d(0%, -55%, -50px);
  filter: blur(6px);
}

#s1:checked ~ .cards #slide3,
#s2:checked ~ .cards #slide4,
#s3:checked ~ .cards #slide5,
#s4:checked ~ .cards #slide1,
#s5:checked ~ .cards #slide2 {
  transform: translate3d(0%, -110%, -100px);
  filter: blur(12px) opacity(90%);
}

#s1:checked ~ .cards #slide1:hover .content,
#s2:checked ~ .cards #slide2:hover .content,
#s3:checked ~ .cards #slide3:hover .content,
#s4:checked ~ .cards #slide4:hover .content,
#s5:checked ~ .cards #slide5:hover .content {
  transform: rotateY(180deg);
  transition-delay: 0.3s;
}

/* #s1:checked~.cards #slide1:hover .picture-top,
#s2:checked~.cards #slide2:hover .picture-top,
#s3:checked~.cards #slide3:hover .picture-top,
#s4:checked~.cards #slide4:hover .picture-top,
#s5:checked~.cards #slide5:hover .picture-top {
    opacity: calc(0);
    transition-delay: 0.3s;
}

#s1:checked~.cards #slide1:hover .picture-top1,
#s2:checked~.cards #slide2:hover .picture-top1,
#s3:checked~.cards #slide3:hover .picture-top1,
#s4:checked~.cards #slide4:hover .picture-top1,
#s5:checked~.cards #slide5:hover .picture-top1 {
    opacity: calc(0);
    transition-delay: 0.3s;
}

#s1:checked~.cards #slide1:hover .picture-top2,
#s2:checked~.cards #slide2:hover .picture-top2,
#s3:checked~.cards #slide3:hover .picture-top2,
#s4:checked~.cards #slide4:hover .picture-top2,
#s5:checked~.cards #slide5:hover .picture-top2 {
    opacity: calc(0);
    transition-delay: 0.3s;
}

#s1:checked~.cards #slide1:hover .picture-top3,
#s2:checked~.cards #slide2:hover .picture-top3,
#s3:checked~.cards #slide3:hover .picture-top3,
#s4:checked~.cards #slide4:hover .picture-top3,
#s5:checked~.cards #slide5:hover .picture-top3 {
    opacity: calc(0);
    transition-delay: 0.3s;
}

#s1:checked~.cards #slide1:hover .picture-top4,
#s2:checked~.cards #slide2:hover .picture-top4,
#s3:checked~.cards #slide3:hover .picture-top4,
#s4:checked~.cards #slide4:hover .picture-top4,
#s5:checked~.cards #slide5:hover .picture-top4 {
    opacity: calc(0);
    transition-delay: 0.3s;
} */

.content {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 300ms;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.18);
  border-radius: 20px;
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
}

.back {
  background-color: var(--light);
  width: 100%;
  height: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.front {
  transform: rotateY(180deg);
}

/* Slideshow container */
#slide1 .slideshow {
  position: relative;
  width: 100%;
  height: 120%;
  scale: 130%;
  overflow: hidden;
}

/* Slideshow images container */
#slide1 .slideshow-images {
  display: flex;
  width: 400%; /* Adjust based on the number of images */
  height: 100%;
  animation: wipeEffect 8s infinite; /* Animation for the wipe effect */
}

/* Individual images */
#slide1 .slideshow-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

/* Keyframes for the wipe effect */
@keyframes wipeEffect {
  0% {
    transform: translateX(0%);
  }
  25% {
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(-100%);
  }
  75% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* Slideshow container for slide 2 */
#slide2 .slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px; /* Match the card's border radius */
}

/* Slideshow images container for slide 2 */
#slide2 .slideshow-images {
  display: flex;
  width: 300%; /* Adjust based on the number of images (100% * number of images) */
  height: 100%;
  animation: wipeEffectSlide2 11s infinite; /* Animation for the wipe effect */
}

/* Individual images for slide 2 */
#slide2 .slideshow-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

/* Keyframes for the wipe effect in slide 2 */
@keyframes wipeEffectSlide2 {
  0% {
    transform: translateX(0%); /* Image 1 */
  }
  20% {
    transform: translateX(-33.33%); /* Image 2 */
  }
  40% {
    transform: translateX(-66.66%); /* Image 3 */
  }
  60% {
    transform: translateX(-33.33%); /* Back to Image 2 */
  }
  80% {
    transform: translateX(0%); /* Back to Image 1 */
  }
  100% {
    transform: translateX(0%); /* Loop back to Image 1 */
  }
}

.artworks-link {
  position: absolute;
  top: 90%;
  text-align: center;
  z-index: 100;
  background-color: var(--primary);
  width: 100%;
  height: 10%;
}

/* Link styling */
.artworks-link a {
  font-family: var(--font-title2);
  font-size: 1.3rem;
  color: var(--light);
  text-decoration: none;
}

#slide2 .artworks-link {
  background-color: var(--secondary);
}

#slide1 .front {
  background-color: var(--primary);
}

#slide2 .front {
  background-color: var(--secondary);
}

#slide3 .front {
  background-color: var(--tertiary);
  position: relative;
  overflow: hidden;
}

#slide3 .front a svg {
  width: 220px;
  height: 220px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 1s ease-in-out; /* Keep transition */
}

#slide3 .front a .github-icon {
  fill: var(--light);
  z-index: 4;
}

#slide3 .front a .github-icon2 {
  fill: var(--primary);
  z-index: 3;
}

#slide3 .front a .github-icon3 {
  fill: var(--secondary);
  z-index: 2;
}

#s3:checked ~ .cards #slide3 .front a:nth-child(1) .github-icon {
  transform: translate(-50%, calc(-50% - 10px));
}

#s3:checked ~ .cards #slide3 .front a:nth-child(2) .github-icon2 {
  transform: translate(-50%, -50%);
}

#s3:checked ~ .cards #slide3 .front a:nth-child(3) .github-icon3 {
  transform: translate(-50%, calc(-50% + 10px));
}

#slide4 .front {
  background-color: var(--dark);
}

#slide4 .front a img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(0.62); /* Start at 62% scale */
  transition: transform 1.4s ease; /* Smooth transition for scaling */
}

/* Specific scales for each nth-child when slide 4 is selected */
#s4:checked ~ .cards #slide4 .front a:nth-child(1) img {
  transform: scale(0.9); /* Final scale for nth-child(1) */
}

#s4:checked ~ .cards #slide4 .front a:nth-child(2) img {
  transform: scale(0.81); /* Final scale for nth-child(2) */
}

#s4:checked ~ .cards #slide4 .front a:nth-child(3) img {
  transform: scale(0.72); /* Final scale for nth-child(3) */
}

#s4:checked ~ .cards #slide4 .front a:nth-child(4) img {
  transform: scale(0.62); /* Final scale for nth-child(4) */
}

#slide5 .front {
  background-color: var(--dark);
}

/* Default state for all images in slide 5 */
#slide5 .front a img {
  position: absolute;
  object-fit: cover;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  transform: scale(0.75); /* Start at 62% scale */
  transform-origin: bottom left;
  margin: 20px;
  transition: transform 1.8s ease;
}

/* Specific scales for each nth-child when slide 5 is selected */
#s5:checked ~ .cards #slide5 .front a:nth-child(1) img {
  transform: scale(0.99); /* Final scale for the first image */
}

#s5:checked ~ .cards #slide5 .front a:nth-child(2) img {
  transform: scale(0.91); /* Final scale for the second image */
}

#s5:checked ~ .cards #slide5 .front a:nth-child(3) img {
  transform: scale(0.83); /* Final scale for the third image */
}

#s5:checked ~ .cards #slide5 .front a:nth-child(4) img {
  transform: scale(0.75); /* Final scale for the fourth image */
}

/* Section Four */
.section.four {
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.section.four .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8.7rem;
  font-family: var(--font-title);
  color: var(--light);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.section.four .section-title .title span {
  display: block;
  margin-bottom: -2.6rem;
}

.section.four .section-title .title-web {
  display: none;
}

.section.four .highlight {
  font-family: var(--font-title3);
  font-size: 8.5rem;
  margin-left: -0.2rem;
  font-weight: 100;
}

.section.four .svgs {
  display: flex;
  gap: 0.7rem;
  margin-top: 3rem;
  margin-bottom: 7rem;
}

.section.four .svgs svg:nth-child(1) svg {
  fill: currentColor;
  color: var(--tertiary);
}

.section.four .svgs svg:nth-child(2) svg {
  fill: currentColor;
  color: var(--primary);
}

.timeline {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  border: none;
  height: auto;
  width: max-content;
  color: var(--light);
  transform: translateX(100vw);
}

.timeline-item {
  width: 17rem;
  height: 8rem;
  margin-left: -8rem;
  background: var(--primary);
  border-radius: 25px;
  display: flex;
  transform: rotate(90deg);
}

.timeline-item:nth-child(2),
.timeline-item:nth-child(6) {
  background: var(--tertiary);
}

.timeline-item:nth-child(3),
.timeline-item:nth-child(7) {
  background: var(--dark);
}

.timeline-item:nth-child(4),
.timeline-item:nth-child(8) {
  background: var(--light);
}

.timeline-item:nth-child(4) p,
.timeline-item:nth-child(4) h3 {
  color: var(--dark);
}

.timeline-point {
  display: none;
}

.timeline-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem;
}

.timeline-content h3 {
  font-family: var(--font-title2);
  font-size: 2.5rem; /* Increase font size */
  line-height: 0.8;
}

.timeline-content p {
  font-family: var(--font-paragraph);
  font-size: 0.6rem; /* Increase font size */
  width: 100%;
}

/* SECTION FIVE */
.section.five {
  overflow: hidden;
  position: relative;
  z-index: 7;
  height: auto;
  margin-bottom: -4px;
}

.section.five .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8.2rem;
  font-family: var(--font-title);
  color: var(--light);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 4rem;
}

.section.five .asterisks {
  display: none;
}

.section.five .section-title-web {
  display: none;
}

.section.five .section-title span {
  display: block;
  margin-bottom: -2.5rem;
}

.section.five .highlight {
  font-family: var(--font-title3);
  font-size: 8rem;
  margin-left: -0.5rem;
  font-weight: 100;
}

.section.five .services {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
  height: 100%;
}

.section.five .text-box {
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  padding: 1.4rem;
  width: 17rem;
  height: 10rem;
  gap: 0.7rem;
  /* margin-bottom: -2rem; */
  transform: scale(1);
  transition: transform 0s ease;
}

.section.five .text-box.active {
  transform: scale(1.1); /* Slightly larger size */
}

.section.five .services h3 {
  font-family: var(--font-title2);
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.5;
}

.section.five .services p {
  font-family: var(--font-paragraph);
  font-size: 0.6rem;
  line-height: 1.5;
}

.box1 {
  background: var(--dark);
  color: var(--light);
}

.box2 {
  background: var(--secondary);
  color: var(--light);
}

.box3 {
  background: var(--primary);
  color: var(--light);
}

.box4 {
  background: var(--light);
  color: var(--dark);
}

/* SECTION SIX */
.section.six {
  position: relative;
  z-index: 6;
  border-radius: 0 0 25px 25px;
  overflow: hidden;
  height: auto;
  margin-bottom: -40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section.six .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9rem;
  font-family: var(--font-title);
  color: var(--light);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 2rem;
}

.section-title-web {
  display: none;
}

.section.six .section-title span {
  display: block;
  margin-bottom: -2.5rem;
}

.section.six .highlight {
  font-family: var(--font-title3);
  font-size: 9rem;
  font-weight: 100;
}

.section.six .svgs {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
}

.section.six .svgs svg:nth-child(1) svg {
  fill: currentColor;
  color: var(--secondary);
}

.section.six .svgs svg:nth-child(2) svg {
  fill: currentColor;
  color: var(--primary);
}

.section.six .process-container {
  display: flex;
  flex-direction: row;
  width: 90%;
  justify-content: center;
  align-items: center;
}

.section.six .process {
  width: 85%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section.six .text-box {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  width: 90%;
  height: 10rem;
  gap: 0.2rem;
  animation: none;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes jump {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-20px); /* Jump up */
  }
  60% {
    transform: translateY(10px); /* Slight bounce */
  }
  100% {
    transform: translateY(0); /* Return to original position */
  }
}

.section.six .process .text-box {
  animation: none; /* Default state */
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards; /* Keep the final state */
}

.section.six .process .text-box.jump {
  animation-name: jump;
}

.section.six .text-box.jump {
  animation-name: jump;
}

.section.six .process h3 {
  font-family: var(--font-title2);
  font-weight: 300;
  font-size: 1.86rem;
  line-height: 1.5;
  color: var(--light);
}

.section.six .process p {
  font-family: var(--font-paragraph);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--light);
}

.pen-stroke-container {
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative; /* Position relative to section six */
  height: 420px; /* Match SVG height or adjust */
  /* Removed width: 10px;, let SVG define its width */
  z-index: 100; /* Ensure it's behind content if necessary, adjust if needed */
}

#pen-stroke-path {
  stroke-dasharray: 380; /* This value MUST match the path length (d="M 5 0 L 5 400" -> length is 400) */
  stroke-dashoffset: 400; /* Start with the line fully hidden */
  transition: stroke-dashoffset 0.001s linear; /* Optional: smooth transition */
}

/* SECTION SEVEN */
.section.seven {
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.section.seven .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  font-family: var(--font-title);
  color: var(--dark);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  margin-top: 1.4rem;
}

.section.seven .section-title-web {
  display: none;
}

.section.seven .section-title span {
  display: block;
  margin-bottom: -3rem;
}

.section.seven .highlight {
  font-family: var(--font-title3);
  font-size: 10rem;
  font-weight: 100;
}

.section.seven .slider,
section.seven .section-title-web .top .slider {
  margin-top: 2rem;
  width: 100%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.slider .list,
section.seven .section-title-web .top .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.slider .list .item,
section.seven .section-title-web .top .item {
  width: var(--width);
  height: var(--height);
  font-family: var(--font-title2);
  font-weight: 100;
  position: absolute;
  left: 100%;
  animation: autoRun 10s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc(
    (10s / var(--quantity)) * (var(--position) - 1) - 10s
  ) !important;
}

@keyframes autoRun {
  from {
    left: 100%;
  }

  to {
    left: calc(var(--width) * -1);
  }
}

.section.seven .photo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  transform: rotate(-8deg);
}

.section.seven .photo-container img {
  width: 14rem;
  height: 15rem;
  border-radius: 25px 25px 25px 0px;
  object-fit: cover;
  filter: grayscale(100%);
}

.section.seven .photo-container h3 {
  font-family: var(--font-title2);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--light);
  text-align: left;
}

.section.seven .photo-bg {
  position: relative;
  width: 15rem;
  height: 18rem;
  border-radius: 25px 25px 25px 0px;
  overflow: hidden;
}

.section.seven .photo-bg:nth-child(1) {
  background: var(--tertiary);
}
.section.seven .photo-bg:nth-child(2) {
  background: var(--secondary);
  margin-top: -19rem;
}
.section.seven .photo-bg:nth-child(3) {
  background: var(--primary);
  margin-top: -19rem;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.section.seven .svg-container svg {
  fill: currentColor;
  color: var(--dark);
  margin-top: 5rem;
  margin-bottom: 2rem;
}

/* PANEL TRAPING */
.sticky-container {
  height: 300vh;
  position: relative;
  margin-bottom: -20px;
  z-index: 2;
}

.sticky-element {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--light);
}

.sticky-content {
  position: relative;
  height: 100%;
  width: 100%;
}

.panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  transform: translateY(100%);
  /* transition: transform 0.6s ease-in-out; */
  z-index: 2;
}

.panel.revealed {
  transform: translateY(0%);
  z-index: 3;
}

.panel.active {
  transform: translateY(0%);
  z-index: 4;
}

.panel.upcoming {
  transform: translateY(100%);
  z-index: 2;
}

.panel.is-exiting-up {
  transform: translateY(100%);
  z-index: 5;
}

.panel-title .photo img {
  width: 100%;
  height: 11rem;
  border-radius: 25px 25px 25px 0px;
  object-fit: cover;
  filter: grayscale(100%);
}

.panel-title {
  display: flex;
  flex-direction: column;
}

.panel-title-web {
  display: none;
}

.panel-title h3 {
  font-family: var(--font-title2);
  color: var(--light);
  font-weight: 100;
  text-align: left;
  line-height: 0.8;
  white-space: nowrap;
  font-size: 3.5rem;
}

.panel-title p {
  margin-top: 2rem;
  font-family: var(--font-paragraph);
  color: var(--light);
  font-size: 0.86rem;
  line-height: 1.19rem;
}

.panel-1 {
  background: var(--primary);
  border-radius: 25px 25px 0 0;
}

.panel .photo-container {
  margin-top: 1.2em;
  margin-bottom: 4rem;
}

.panel-1 .panel-title .photo-bg {
  position: relative;
  width: 100%;
  height: 13rem;
  border-radius: 25px 25px 25px 0px;
  overflow: hidden;
}

.panel-1 .panel-title .photo-bg:nth-child(1) {
  background: var(--tertiary);
  margin-bottom: -14rem;
}

.panel-1 .panel-title .photo-bg:nth-child(2) {
  background: var(--secondary);
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.panel-2 {
  background: var(--secondary);
  border-radius: 25px 25px 0 0;
}

.panel-2 .panel-title .photo-bg {
  position: relative;
  width: 100%;
  height: 13rem;
  border-radius: 25px 25px 25px 0px;
  overflow: hidden;
}

.panel-2 .panel-title .photo-bg:nth-child(1) {
  background: var(--tertiary);
  margin-bottom: -14rem;
}

.panel-2 .panel-title .photo-bg:nth-child(2) {
  background: var(--primary);
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.panel-3 {
  background: var(--tertiary);
  border-radius: 25px 25px 0 0;
}

.panel-3 .photo-container {
  margin-bottom: 6rem;
}

.panel-3 .panel-title .photo-bg {
  position: relative;
  width: 100%;
  height: 13rem;
  border-radius: 25px 25px 25px 0px;
  overflow: hidden;
}

.panel-3 .panel-title .photo-bg:nth-child(1) {
  background: var(--secondary);
  margin-bottom: -14rem;
}

.panel-3 .panel-title .photo-bg:nth-child(2) {
  background: var(--primary);
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

/* SECTION EIGHT */
.section.eight {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section.eight .highlight {
  font-family: var(--font-title3);
}

/* Contact Form Container */
.section.eight .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 95%;
  padding: 0rem 2rem 0rem 2rem;
  background-color: var(--dark);
  border-radius: 25px;
  overflow: hidden;
}

.section.eight .container-web {
  display: none;
}

/* Form Styling */
.section.eight .container form {
  width: 100%;
  height: auto;
  overflow: hidden;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section.eight .section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section.eight .container h1 {
  font-family: var(--font-title2);
  font-size: 1.3rem;
  color: var(--light);
}

.section.eight .container h1:nth-child(2) {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--light);
  margin-bottom: 1.3rem;
}

.section.eight .container .form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Input Fields */
.section.eight .container form input,
.section.eight .container form textarea {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-paragraph);
  font-size: 1rem;
  color: var(--dark);
  background-color: var(--light);
  border: 0.1px solid var(--dark);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

.section.eight .container form textarea {
  background-color: var(--light);
}

.section.eight .container form input:focus,
.section.eight .container form textarea:focus {
  border-color: var(--primary);
}

/* Submit Button */
.section.eight .container form button {
  padding: 1rem;
  font-family: var(--font-title2);
  font-size: 1.2rem;
  color: var(--dark);
  background-color: var(--primary);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.section.eight .container form button:hover {
  background-color: var(--tertiary);
}

/* FOOTER */
.sticky-footer {
  position: sticky;
  bottom: 0;
  height: 15rem;
  background: var(--dark);
  color: white;
  z-index: 0;
  display: flex;
  align-items: center;
  flex-direction: column-reverse;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* .sticky-footer .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-end;
    width: 100%;
} */

.sticky-footer .footer-container h1 {
  font-family: var(--font-title3);
  font-size: 3rem;
  color: var(--tertiary);
}

.footer-socials {
  display: flex;
  justify-content: center; /* Evenly space the icons */
  align-items: center;
  width: 100%;
  max-width: 400px; /* Adjust as needed */
  margin: 1rem auto; /* Center the div and add spacing */
  flex-direction: column;
  gap: 1rem;
}

.footer-socials .left {
  display: flex;
  gap: 2.5rem;
}

.footer-socials a {
  display: inline-flex; /* Use flex to center the icon inside the circle */
  justify-content: center;
  align-items: center;
  width: 42px; /* Circle size */
  height: 42px;
  background-color: var(--light); /* Default background color */
  border-radius: 50%; /* Make it circular */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition for hover effects */
  text-decoration: none;
}

.footer-socials a i {
  color: var(--dark); /* Default icon color */
  font-size: 1.4rem; /* Icon size */
  transition: color 0.3s ease; /* Smooth transition for hover effects */
}

.footer-container p {
  display: none;
}

.footer-socials a:hover {
  background-color: var(
    --tertiary
  ); /* Change background to tertiary on hover */
  transform: scale(1.1); /* Slightly enlarge the circle on hover */
}

.footer-socials a:hover i {
  color: var(--light); /* Change icon color to light on hover */
}

.footer-socials .right p {
  font-family: var(--font-paragraph);
  font-size: 0.9rem;
  color: var(--light);
  margin-bottom: 0.5rem;
  opacity: 0.8; /* Slightly faded text */
}

/* Initial hidden state for elements */
.section.two .section-title > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

/* Visible state for elements */
.section.two .section-title > *.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.one {
  background: var(--light);
}

.two {
  background: var(--light);
  border-radius: 0 0 25px 25px;
}

.three {
  background: var(--primary);
}

.four {
  background: var(--secondary);
  border-radius: 25px 25px 0 0;
  margin-bottom: -20px;
}

.five {
  background: var(--tertiary);
  border-radius: 25px 25px 0 0;
}

.six {
  background: var(--tertiary);
  border-radius: 0 0 25px 25px;
}

.seven {
  background: var(--light);
}

.eight {
  background: var(--light);
  z-index: 50;
  border-radius: 25px 25px 25px 25px;
  position: relative;
  margin-bottom: -40px;
}

.filler {
  position: relative;
  background: var(--tertiary);
  border-radius: 0 0 25px 25px;
  z-index: 5;
  height: 50px;
  margin-bottom: -40px;
}

.filler2 {
  position: relative;
  background: var(--secondary);
  border-radius: 0 0 25px 25px;
  z-index: 4;
  height: 50px;
  margin-bottom: -20px;
  transition: margin-bottom 1.5s ease;
}

.filler3 {
  position: relative;
  background: var(--primary);
  border-radius: 0 0 25px 25px;
  z-index: 5;
  height: 50px;
  margin-bottom: -40px;
}

/* .filler2.active {
    margin-bottom: -99vh;
} */

.filler4 {
  position: relative;
  background: var(--primary);
  border-radius: 0 0 25px 25px;
  z-index: 5;
  height: 50px;
  margin-bottom: -40px;
}

.filler5 {
  position: relative;
  background: var(--secondary);
  border-radius: 0 0 25px 25px;
  z-index: 4;
  height: 50px;
  margin-bottom: -40px;
}

.filler6 {
  position: relative;
  background: var(--tertiary);
  border-radius: 0 0 25px 25px;
  z-index: 3;
  height: 50px;
  margin-bottom: -40px;
}

.footer-filler {
  display: none;
}

/* PLACEHOLDER  */
.placeholder {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: var(--light);
  z-index: 100; /* Ensure it's above other elements */
}

.placeholder .svg-container {
  display: flex;
  gap: 1vw;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.placeholder .svg-plus,
.placeholder .svg-asterisk {
  width: 5vw;
  height: 5vw;
  display: inline-block;
  vertical-align: middle;
  transform-origin: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

.placeholder .svg-container .svg-plus:nth-child(1) svg {
  fill: currentColor;
  color: var(--primary);
}

.placeholder .svg-container .svg-asterisk:nth-child(2) svg {
  fill: currentColor;
  color: var(--secondary);
}

.placeholder .svg-container .svg-asterisk:nth-child(3) svg {
  fill: currentColor;
  color: var(--tertiary);
}

.placeholder h3 {
  margin-top: 2rem;
  font-size: 1rem;
  font-family: var(--font-title2);
  color: var(--dark);
  white-space: nowrap;
}

/* @media screen and (min-width: 768px) {
    .placeholder {
        display: flex;
    }
    .container {
        display: none;
    }
} */

.assistant {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  position: fixed;
  bottom: 4%;
  z-index: 400;
  transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transition */
  transform: translateY(10rem);
}

.assistant-container {
  background: var(--dark);
  height: auto;
  padding: 0.6rem 1rem 0.6rem 1rem;
  margin: 1rem;
  width: auto;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  transition: width 0.5s ease;
  transition: transform 2s ease, background 1s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
}

.assistant-container.shake {
  animation: shake 0.5s ease; /* Apply the shake animation */
}

.assistant-container.hide {
  transform: translateY(10rem);
}

.assistant .assistant-container p {
  font-family: var(--font-paragraph);
  font-size: 3vw;
  color: var(--light);
}

.eye-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  margin-left: 0.6rem;
}

.eye2 {
  position: relative;
  background: var(--light);
  width: 30px;
  height: 14px;
  clip-path: ellipse(50% 50% at 50% 50%);
  overflow: hidden;
}

.pupil2 {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.2s, background 0.3s ease;
}

.eyelid2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--dark);
  border-radius: 0 0 100% 100%;
  z-index: 50;
  transition: height 0.3s ease;
}

.eye2.closed .eyelid2 {
  height: 100%;
  transition: height 0.3s ease; /* Smooth transition */
}

/* WEBVIEW */
@media (min-width: 1024px) {
  :root {
    /* Optionally increase base font size for desktop */
    /* font-size: 18px; */
  }

  .section {
    /* Center content within sections horizontally */
    align-items: center;
    /* Add more padding for desktop */
    overflow: hidden; /* Prevent scrollbars within sections if content fits */
  }

  /* --- NAVBAR --- */
  .navbar {
    padding: 0 3rem; /* Increase padding */
    /* Ensure navbar appears above everything */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: none;
  }

  .navbar-left {
    gap: 0.5rem; /* Increase gap */
  }

  .navbar-left svg {
    width: 2.5rem; /* Slightly larger icons */
    height: 2.5rem;
  }

  /* Hide hamburger, show links (assuming you'll add nav links) */
  .navbar-right .hamburger {
    display: none;
  }
  /* Add styles for desktop nav links here if they exist in HTML */
  /* .navbar-right .nav-links { display: flex; gap: 1.5rem; } */
  /* .navbar-right .nav-links a { ... } */

  /* --- SECTION ONE --- */
  .section.one {
    margin-bottom: 0; /* Reset margin */
    padding: 0;
  }

  .section.one .section-title {
    display: none;
  }

  .section.one .section-title-web {
    display: flex;
    flex-direction: column;
    font-family: var(--font-title);
    color: var(--dark);
    gap: 0;
    align-items: flex-end;
    cursor: pointer;
  }

  .section.one .section-title-web .highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title3);
    font-size: 23.4vw;
    margin-left: -3rem;
  }

  .section.one .section-title-web span {
    display: flex;
    position: relative;
    margin: 0;
    padding: 0;
    width: auto;
    line-height: 0.67;
    font-size: 20vw;
    transition: color 0.3s ease;
  }

  .section.one .section-title-web .line1,
  .section.one .section-title-web .line2 .line2-right,
  .section.one .section-title-web .line3 {
    display: flex;
    gap: 0rem;
  }

  .section.one .section-title-web .line1 span {
    font-size: 24.8vw;
    position: relative;
    z-index: 21;
  }

  .section.one .section-title-web .line1 span:hover {
    color: var(--random-color);
  }

  .section.one .section-title-web .line1 span:nth-child(3n + 1):hover {
    --random-color: var(--primary);
  }
  .section.one .section-title-web .line1 span:nth-child(3n + 2):hover {
    --random-color: var(--secondary);
  }
  .section.one .section-title-web .line1 span:nth-child(3n + 3):hover {
    --random-color: var(--tertiary);
  }

  .section.one .section-title-web .line2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .section.one .section-title-web .line2-right {
    display: flex;
    line-height: 5.8rem;
    width: 60%;
  }

  .section.one .section-title-web .line2-right span {
    transition: font-weight 0.01s;
    position: relative;
  }

  .section.one .section-title-web .line2-left {
    display: flex;
    flex-direction: column;
    line-height: 5.8rem;
    align-items: center;
    justify-content: center;
    width: 40%;
  }

  .section.one .section-title-web .line2-left .line2-left-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .section.one .section-title-web .line2-left .line2-left-bottom {
    display: flex;
  }

  .section.one .section-title-web .line2-name {
    font-family: var(--font-title3);
    font-size: 8.5vw;
    text-align: right;
  }

  .section.one .section-title-web .line2 .line2-svgs {
    display: flex;
    justify-content: center;
  }

  .section.one .section-title-web .line2 .line2-svgs svg {
    width: 5.2vw;
    height: 5.2vw;
    transition: transform 0.1s linear; /* Smooth transition for movement */
    transform: translateX(0); /* Default position */
  }

  .section.one
    .section-title-web
    .line2
    .line2-svgs
    .svg-plus:nth-child(1)
    svg {
    fill: currentColor;
    color: var(--primary);
  }

  .section.one
    .section-title-web
    .line2
    .line2-svgs
    .svg-asterisk:nth-child(2)
    svg {
    fill: currentColor;
    color: var(--secondary);
  }

  .section.one
    .section-title-web
    .line2
    .line2-svgs
    .svg-asterisk:nth-child(3)
    svg {
    fill: currentColor;
    color: var(--tertiary);
  }

  .section.one .section-title-web .line2 span {
    font-size: 22.2vw;
  }

  .section.one .section-title-web .line3 span {
    font-size: 25.2vw;
  }

  /* --- SECTION TWO --- */
  .section.two {
    display: flex;
    padding: 0;
    margin: 0;
  }

  .section.two .section-title {
    display: none;
  }

  .section.two .section-title-web {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
  }

  .section.two .section-title-web .middle {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
  }

  .section.two .section-title-web .left {
    display: flex;
    padding: 0rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    line-height: 5rem;
    font-family: var(--font-title3);
    font-size: 4rem;
    color: var(--dark);
    height: 100%;
    width: 45%;
  }

  .section.two .section-title-web .left span {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .section.two .section-title-web .left svg {
    fill: currentColor;
    color: var(--dark);
    width: 4rem;
    height: 4rem;
    transition: transform 0.1s ease;
    transform-origin: center;
  }

  .section.two .section-title-web .right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 55%;
  }

  .section.two .section-title-web .right .card {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: var(--dark);
    width: 49vw;
    height: 20rem;
    border-radius: 25px 0px 0px 25px;
    z-index: 5;
    transform: translateX(100%);
    transition: transform 1s ease;
  }

  .section.two .section-title-web .right .card:nth-child(2) {
    background: var(--primary);
    z-index: 4;
    width: 49.7vw;
  }

  .section.two .section-title-web .right .card:nth-child(3) {
    background: var(--secondary);
    z-index: 3;
    width: 50.4vw;
  }

  .section.two .section-title-web .right .card:nth-child(4) {
    background: var(--tertiary);
    z-index: 2;
    width: 51.1vw;
  }

  .section.two .section-title-web .right .card p {
    font-family: var(--font-paragraph);
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.5;
    color: var(--light);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
    margin: 2rem;
  }

  .section.two .section-title-web .right .card.animate {
    transform: translateX(0);
  }

  .section.two .section-title-web .left span.animate {
    opacity: 1;
    transform: translateY(0);
  }

  /* --- SECTION THREE --- */
  .section.three {
    justify-content: space-around; /* Space out title and cards */
    align-items: center; /* Vertically align */
    padding: 5rem 5%;
    margin-bottom: -30px; /* Adjust overlap */
  }

  .section.three .section-title {
    position: static; /* Ensure static position */
    opacity: 1; /* Ensure visible */
    transform: none; /* Reset transform */
    align-items: flex-start; /* Align left */
    max-width: 40%; /* Limit width */
    text-align: left;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }

  .section.three .section-title svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }

  .section.three .section-title span {
    font-size: 3.5rem; /* Increase font size */
  }

  .card-container {
    width: 50%; /* Adjust width */
    opacity: 1; /* Ensure visible */
    transform: none; /* Reset transform */
    margin-bottom: -1rem;
  }

  .cards {
    perspective: 900px; /* Adjust perspective */
    height: 650px; /* Adjust height */
  }

  .cards .card {
    width: 28rem; /* Adjust card size */
    height: 28rem;
  }

  /* Adjust Card Positioning for Desktop (more horizontal spread) */
  #s1:checked ~ .cards #slide4,
  #s2:checked ~ .cards #slide5,
  #s3:checked ~ .cards #slide1,
  #s4:checked ~ .cards #slide2,
  #s5:checked ~ .cards #slide3 {
    transform: translate3d(-110%, 0, -150px) rotateY(30deg); /* Example: More horizontal, slight rotation */
    filter: blur(10px) opacity(80%);
  }

  #s1:checked ~ .cards #slide5,
  #s2:checked ~ .cards #slide1,
  #s3:checked ~ .cards #slide2,
  #s4:checked ~ .cards #slide3,
  #s5:checked ~ .cards #slide4 {
    transform: translate3d(-55%, 0, -75px) rotateY(15deg); /* Example: More horizontal, slight rotation */
    filter: blur(5px);
  }

  #s1:checked ~ .cards #slide1,
  #s2:checked ~ .cards #slide2,
  #s3:checked ~ .cards #slide3,
  #s4:checked ~ .cards #slide4,
  #s5:checked ~ .cards #slide5 {
    transform: translate3d(0, 0, 0px) rotateY(0);
    filter: drop-shadow(0px 0px 25px var(--dark));
  }

  #s1:checked ~ .cards #slide2,
  #s2:checked ~ .cards #slide3,
  #s3:checked ~ .cards #slide4,
  #s4:checked ~ .cards #slide5,
  #s5:checked ~ .cards #slide1 {
    transform: translate3d(55%, 0, -75px) rotateY(-15deg); /* Example: More horizontal, slight rotation */
    filter: blur(5px);
  }

  #s1:checked ~ .cards #slide3,
  #s2:checked ~ .cards #slide4,
  #s3:checked ~ .cards #slide5,
  #s4:checked ~ .cards #slide1,
  #s5:checked ~ .cards #slide2 {
    transform: translate3d(110%, 0, -150px) rotateY(-30deg); /* Example: More horizontal, slight rotation */
    filter: blur(10px) opacity(80%);
  }

  .artworks-link a {
    font-size: 1.5rem; /* Increase font size */
  }

  #slide3 .front a svg {
    width: 250px; /* Adjust size */
    height: 250px;
  }

  /* --- SECTION FOUR --- */
  .section.four {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: -30px; /* Adjust overlap */
    width: 100%;
  }

  .section-four-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .section.four .section-title {
    font-size: 17rem; /* Adjust font size */
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 60%;
  }

  .section.four .section-title .title {
    display: none;
  }

  .section.four .section-title .title-web {
    display: flex;
    line-height: 12rem;
  }

  .section.four .section-title .title span {
    line-height: 15rem;
  }

  .section.four .highlight {
    font-size: 17.2rem; /* Adjust font size */
  }

  .section.four .section-title .svgs {
    margin-top: 3rem; /* Reset margin */
    gap: 1rem; /* Increase gap */
    position: relative;
    margin-bottom: 2rem;
  }

  .section.four .section-title .svgs svg {
    transform-origin: center;
    transition: transform 2s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  /* .section.four .section-title .svgs svg:nth-child(1) {
    transform: translateX(-900%) rotate(-89deg);
  }

  .section.four .section-title .svgs svg:nth-child(2) {
    transform: translateX(900%) rotate(89deg);
  } */

  .section.four .section-title .svgs svg.animate {
    transform: translateX(0) rotate(0deg);
  }

  /* .section.four .section-title .svgs svg:nth-child(1).animate {
        transition-delay: 0.3s;
    } */

  .section.four .svgs svg {
    width: 5rem; /* Adjust size */
    height: 5rem;
  }

  .timeline {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    border: none;
    gap: 4rem;
    width: max-content;
    height: auto;
  }

  .timeline-item {
    width: 25rem;
    height: 10rem;
    background: var(--primary);
    border-radius: 25px;
    transform: rotate(0deg);
    margin: 0;
  }

  .timeline-item:nth-child(2) {
    background: var(--tertiary);
  }

  .timeline-item:nth-child(3) {
    background: var(--dark);
  }

  .timeline-item:nth-child(4) {
    background: var(--light);
  }

  .timeline-item:nth-child(4) p,
  .timeline-item:nth-child(4) h3 {
    color: var(--dark);
  }

  .timeline-point {
    display: none;
  }

  .timeline-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
  }

  .timeline-content h3 {
    font-size: 1.7rem; /* Increase font size */
  }

  .timeline-content p {
    font-size: 0.9rem; /* Increase font size */
    width: 100%;
  }

  /* --- SECTION FIVE --- */
  .section.five {
    min-height: 100vh;
    height: auto;
    justify-content: center; /* Center content */
    align-items: center;
    z-index: 7;
    border-radius: 25px 25px 0 0; /* Optional larger radius */
  }

  .section.five .section-title {
    display: none;
  }

  .section.five .asterisks {
    position: fixed;
    top: 50%;
    left: 0; /* Ensure it starts from the left edge */
    width: 100%; /* Span the full viewport width */
    transform: translateY(-50%); /* Vertical centering */
    display: flex;
    justify-content: center; /* Center the items with gap */
    gap: 18rem; /* Keep your desired gap */
    align-items: center;
    z-index: 7;
    pointer-events: none;
  }

  .section.five .asterisks .svg-asterisk svg {
    width: 9rem; /* Correct width */
    height: 9rem; /* Correct height */
    transform-origin: center; /* Set origin for rotation */
    flex-shrink: 0; /* Prevent shrinking if the gap/width causes overflow */
    pointer-events: none;
    will-change: transform; /* Performance optimization hint */
    display: block; /* Remove potential bottom space */
    fill: currentColor; /* Use the parent's color */
  }

  /* --- Default State (Off-screen) --- */
  .section.five .asterisks .svg-asterisk.left {
    transform: translateX(-50%) rotate(0deg);
    transition: transform 2s cubic-bezier(0.165, 0.84, 0.44, 1); /* Smooth easing for entry/exit - adjust as needed */
    color: var(--secondary);
    width: 50%;
  }

  .section.five .asterisks .svg-asterisk.right {
    transform: translateX(50%) rotate(0deg);
    transition: transform 2s cubic-bezier(0.165, 0.84, 0.44, 1); /* Smooth easing for entry/exit - adjust as needed */
    color: var(--primary);
    width: 50%;
  }

  /* --- Entered State (On-screen) --- */
  .section.five .asterisks .svg-asterisk.entered {
    transform: translateX(0);
  }

  .section.five .section-title-web {
    display: flex;
    flex-direction: row;
    gap: 0;
    font-family: var(--font-title);
    color: var(--light);
    align-items: center;
    font-size: 14rem;
    margin-top: 2rem;
  }

  .section.five .highlight {
    font-size: 14.2rem; /* Adjust font size */
  }

  .section.five .services {
    flex-direction: column; /* Ensure row layout */
    gap: 2rem; /* Increase gap */
    max-width: 1400px; /* Wider max width */
  }

  .section.five .text-box {
    width: 29rem; /* Adjust width */
    min-height: 15rem; /* Adjust min height */
    padding: 2.5rem; /* Adjust padding */
  }
  .section.five .services h3 {
    font-size: 2rem; /* Increase font size */
  }
  .section.five .services p {
    font-size: 0.8rem; /* Increase font size */
  }

  /* --- SECTION SIX --- */
  .section.six {
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 5rem 5%;
    border-radius: 0 0 35px 35px; /* Optional larger radius */
    margin-bottom: -60px; /* Adjust overlap */
  }

  .section.six .section-title {
    display: none;
  }

  .section.six .section-title-web {
    display: flex;
    flex-direction: row;
    gap: 0;
    font-family: var(--font-title);
    color: var(--light);
    align-items: center;
    font-size: 12rem;
    gap: 2rem;
  }

  .section.six .highlight {
    font-size: 12rem;
    margin-left: -1rem;
  }

  .section.six .section-title-web .svgs .svg-wrapper {
    margin-top: -2.23rem; /* Adjust margin */
    gap: 1rem; /* Increase gap */
    position: relative;
    transform: translateX(700%) rotate(69deg) !important; /* Start off-screen to the left */
    transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: transform !important;
    overflow: visible !important;
  }

  .section.six .section-title-web .svgs .svg-wrapper svg {
    width: 8rem;
    height: 8rem;
  }

  .section.six .section-title-web .svgs .svg-wrapper:nth-child(2) svg {
    fill: currentColor;
    color: var(--primary);
  }

  .section.six .section-title-web .svgs .svg-wrapper.animate {
    transform: translateX(0) rotate(0deg) !important; /* Move into view */
  }

  .section.six .section-title-web .svgs .svg-wrapper:nth-child(2).animate {
    transition-delay: 0.3s !important; /* Add delay for staggered effect */
  }

  .section.six .process-container {
    display: flex;
    flex-direction: column;
    height: 20rem;
  }

  .pen-stroke-container {
    display: none;
  }

  .section.six .process {
    flex-direction: row;
    height: 80%;
    width: 100%;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1400px;
  }

  .section.six .text-box {
    width: 24rem;
    min-height: 16rem;
    padding: 2.5rem;
    animation: none;
    animation-duration: 0.6s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
  }

  @keyframes jump {
    0% {
      transform: translateY(0);
    }
    30% {
      transform: translateY(-20px); /* Jump up */
    }
    60% {
      transform: translateY(10px); /* Slight bounce */
    }
    100% {
      transform: translateY(0); /* Return to original position */
    }
  }

  .section.six .process .text-box {
    animation: none; /* Default state */
    animation-duration: 0.6s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards; /* Keep the final state */
  }

  .section.six .process .text-box.jump {
    animation-name: jump;
  }

  .section.six .text-box.jump {
    animation-name: jump;
  }

  .section.six .process h3 {
    font-size: 2.2rem; /* Increase font size */
  }

  .section.six .process p {
    font-size: 1.1rem; /* Increase font size */
  }

  /* --- SECTION SEVEN --- */
  .section.seven {
    flex-direction: column-reverse;
    min-height: 120vh;
  }

  .slider {
    font-size: 1.3rem;
  }

  .section.seven .section-title,
  .section.seven .svg-container {
    display: none;
  }

  .section.seven .section-title-web {
    display: flex;
    flex-direction: row;
    gap: 0;
    font-family: var(--font-title);
    color: var(--dark);
    align-items: center;
    font-size: 7rem; /* Adjust font size */
    gap: 2rem;
  }

  .section.seven .section-title-web span {
    position: relative;
    font-size: 25rem;
    line-height: 0.7;
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 1;
  }

  .section.seven .section-title-web span.animate {
    opacity: 1; /* Fully visible */
    transform: translateY(0px); /* Reset position */
  }

  .section.seven .highlight {
    font-size: 25rem; /* Adjust font size */
  }

  .section.seven .photo-container {
    position: relative;
    z-index: 3;
    margin-top: -10rem;
    margin-bottom: -1rem;
    filter: drop-shadow(0px 0px 34px #17bebb);
    transform: translateY(-110px); /* Start slightly higher */
    opacity: 0;
    transition: transform 1s ease;
  }

  .section.seven .photo-container.animate {
    transform: translateY(0);
    transform: rotate(-8deg); /* Move back to original position */
    opacity: 1; /* Fully visible */
  }

  .section.seven .photo-container img {
    width: 310px; /* Adjust size */
    height: 370px;
  }

  .section.seven .photo-container h3 {
    font-size: 1.5rem; /* Increase font size */
  }

  .section.seven .photo-bg {
    width: 340px; /* Adjust size */
    height: 390px;
  }

  .section.seven .photo-bg:nth-child(2),
  .section.seven .photo-bg:nth-child(3) {
    margin-top: -25.4rem; /* Reset mobile margin */
  }

  .section.seven .photo-bg:nth-child(3) {
    padding: 1rem; /* Adjust padding */
  }

  .section.seven .photo-bg:nth-child(1) {
    animation: moveUp 3s infinite alternate ease; /* Move up */
  }

  .section.seven .photo-bg:last-child {
    animation: moveDown 3s infinite alternate ease; /* Move down */
  }

  @keyframes moveUp {
    0% {
      transform: translateY(0) translateX(0);
    }
    100% {
      transform: translateY(15px) translateX(7px);
    }
  }

  /* Keyframes for moving down */
  @keyframes moveDown {
    0% {
      transform: translateY(0) translateX(0);
    }
    100% {
      transform: translateY(-15px) translateX(-7px);
    }
  }

  .section.seven .svg-container svg {
    width: 6rem; /* Adjust size */
    height: 6rem;
    margin-top: 3rem; /* Adjust margin */
    margin-bottom: 2rem; /* Adjust margin */
  }

  /* --- PANEL TRAPING --- */
  .sticky-content {
    /* Already centered */
  }

  .panel {
    flex-direction: row; /* Ensure row */
    justify-content: center;
    gap: 4rem; /* Adjust gap */
    border-radius: 35px 35px 0 0; /* Optional larger radius */
    padding: 5rem;
  }

  .panel-title {
    display: none;
  }

  .panel-title-web {
    display: flex;
    gap: 2.5rem;
  }

  .panel-title-web .photo img {
    width: 100%;
    height: 24rem;
    border-radius: 25px 25px 25px 0px;
    object-fit: cover;
    filter: grayscale(100%);
  }

  .panel-title-web .right h3 {
    font-family: var(--font-title2);
    color: var(--light);
    font-weight: 100;
    text-align: left;
    line-height: 0.8;
    white-space: nowrap;
    font-size: 5.5rem;
  }

  .panel-title-web .right p {
    margin-top: 2rem;
    font-family: var(--font-paragraph);
    color: var(--light);
    font-size: 1.2rem;
    line-height: 1.8rem;
  }

  .panel .panel-title-web .left {
    width: 40%;
  }

  .panel .panel-title-web .right {
    width: 60%;
  }

  .panel-1 .panel-title-web .photo-bg {
    position: relative;
    width: 100%;
    height: 27rem;
    border-radius: 25px 25px 25px 0px;
    overflow: hidden;
  }

  .panel-1 .panel-title-web .photo-bg:nth-child(1) {
    background: var(--tertiary);
    margin-bottom: -29rem;
  }

  .panel-1 .panel-title-web .photo-bg:nth-child(2) {
    background: var(--secondary);
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
  }

  .panel-2 .panel-title-web .photo-bg {
    position: relative;
    width: 100%;
    height: 27rem;
    border-radius: 25px 25px 25px 0px;
    overflow: hidden;
  }

  .panel-2 .panel-title-web .photo-bg:nth-child(1) {
    background: var(--tertiary);
    margin-bottom: -29rem;
  }

  .panel-2 .panel-title-web .photo-bg:nth-child(2) {
    background: var(--primary);
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
  }

  .panel-3 .photo-container {
    margin-bottom: 6rem;
  }

  .panel-3 .panel-title-web .photo-bg {
    position: relative;
    width: 100%;
    height: 27rem;
    border-radius: 25px 25px 25px 0px;
    overflow: hidden;
  }

  .panel-3 .panel-title-web .photo-bg:nth-child(1) {
    background: var(--secondary);
    margin-bottom: -29rem;
  }

  .panel-3 .panel-title-web .photo-bg:nth-child(2) {
    background: var(--primary);
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
  }

  /* --- SECTION EIGHT --- */
  .section.eight {
    height: auto;
    padding: 6rem 5%; /* Increase padding */
    border-radius: 35px; /* Optional larger radius */
    margin-bottom: -60px; /* Adjust overlap */
  }

  .section.eight .container {
    display: none;
  }

  .section.eight .container-web {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }

  .section.eight .container-web .left {
    display: flex;
    flex-direction: column;
    width: 60%;
    gap: 0;
    justify-content: center;
  }

  .section.eight .container-web .left h1 {
    font-family: var(--font-title2);
    font-size: 2rem;
    color: var(--dark);
    line-height: 10rem;
  }

  .section.eight .container-web .left h1:nth-child(1) {
    line-height: 4rem;
  }

  .section.eight .container-web .left h1:nth-child(2) {
    font-family: var(--font-title);
    font-size: 14rem;
    color: var(--secondary);
  }

  .section.eight .container-web .right {
    display: flex;
    width: 40%;
  }

  .section.eight .container-web form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 25px;
    z-index: 15;
  }

  .section.eight .container-web .form-filler {
    display: flex;
    position: absolute;
    z-index: 14;
    width: 36.01%;
    height: 36rem;
    background: var(--primary);
    border-radius: 25px;
  }

  .section.eight .container-web .form-filler:nth-child(2) {
    z-index: 13;
    height: 37rem;
    background: var(--secondary);
  }

  .section.eight .container-web .form-filler:nth-child(3) {
    z-index: 12;
    height: 38rem;
    background: var(--tertiary);
  }

  .section.eight .container-web .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .section.eight .container-web form input,
  .section.eight .container-web form textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-paragraph);
    font-size: 1rem;
    color: var(--dark);
    background-color: var(--light);
    border: 0.1px solid var(--dark);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease;
  }

  .section.eight .container-web form textarea {
    background-color: var(--light);
  }

  .section.eight .container-web form input:focus,
  .section.eight .container-web form textarea:focus {
    border-color: var(--primary);
  }

  /* Submit Button */
  .section.eight .container-web form button {
    padding: 1rem;
    font-family: var(--font-title2);
    font-size: 1.2rem;
    color: var(--dark);
    background-color: var(--primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .section.eight .container-web form button:hover {
    background-color: var(--secondary);
  }

  /* --- FOOTER --- */
  .sticky-footer {
    flex-direction: column-reverse;
    height: 35rem; /* Adjust height */
    justify-content: center;
    padding-top: 1rem;
    gap: 1rem;
  }

  .sticky-footer .footer-container h1 {
    font-size: 9vw; /* Adjust font size */
    margin-bottom: -3rem;
  }

  .footer-container {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .sticky-footer p {
    font-size: 1.2rem; /* Increase font size */
    color: var(--tertiary);
    font-family: var(--font-paragraph);
    text-align: center;
    line-height: 0.1;
    display: flex;
    margin-top: 1rem;
  }

  .footer-socials {
    justify-content: flex-start;
    flex-direction: row;
    gap: 1rem;
    width: 56%;
    max-width: 56%;
  }

  .footer-socials .left,
  .footer-socials .right {
    width: 50%;
  }

  .footer-socials .left {
    display: flex;
    gap: 1rem;
  }

  .footer-socials .right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: var(--light);
    height: 100%;
    padding-right: 1rem;
    border-radius: 25px;
  }

  .footer-socials a {
    width: 40px; /* Increase size */
    height: 40px;
  }

  .footer-socials a i {
    font-size: 1.4rem; /* Increase icon size */
  }

  .footer-socials .right p {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--dark);
    font-family: var(--font-paragraph);
  }

  .eye {
    position: relative;
    background: var(--light);
    width: 300px;
    height: 100px;
    clip-path: ellipse(50% 50% at 50% 50%);
    overflow: hidden;
  }

  .pupil {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s, background 0.3s ease;
  }

  .eyelid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--dark);
    border-radius: 0 0 100% 100%;
    z-index: 2;
    transition: height 0.3s ease;
  }

  .eye.closed .eyelid {
    height: 100%;
    transition: height 0.3s ease; /* Smooth transition */
  }

  .section.two {
    z-index: 7;
    margin-bottom: -40px;
  }

  .filler {
    margin-bottom: -40px;
    z-index: 6;
  }

  .filler2 {
    margin-bottom: -20px;
    z-index: 4;
  }

  .filler4,
  .filler5,
  .filler6 {
    display: none;
  }

  .section.six {
    margin-bottom: -40px;
  }

  .section.eight {
    margin-bottom: -40px;
  }

  .assistant {
    display: none;
  }
}
