/* HOME SILDER START */
.home-slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-inner {
    display: flex;
    height: 100%;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(3) translateX(100%);
    transition: transform 2s ease;
}

.slider-image.active img {
    transform: scale(1) translateX(0);
}

.slider-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.text-line {
    opacity: 0;
    transform: translateY(24px);
}

.text-line-1 {
    font-size: 90px;
    color: white;
    font-weight: 900;
    transition: all 1s ease;
    margin-bottom: 0;
}

.text-line-2 {
    font-size: 30px;
    font-weight: 500;
    color: white;
    margin-top: 12px;
    transition: all 1s ease;
}

.text-line-3 {
    font-size: 25px;
    font-weight: 300;
    font-style: italic;
    color: white;
    transition: all 1s ease;
}

.text-line.active {
    opacity: 1;
    transform: translateY(0);
}
/* HOME SILDER END */


/* HOME 3D SECTION START */
.logo-3d-section {
    height: 220vh;
    position: relative;
    overflow: hidden;
  }
  
  .logo-spacer {
    height: 100vh;
  }
  
  .logo-3d-wrap {
    height: 100vh;
    perspective: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
  }
  
  .logo-3d {
    width: 260px;
    height: 260px;
    position: relative;
    transform-style: preserve-3d;
    opacity: 0;
  }
  
  .logo-3d .layer {
    position: absolute;
    inset: 0;
    transform: translateZ(var(--z));
    backface-visibility: hidden;
    filter: brightness(0.6);
  }
  
  .logo-3d .layer.front {
    filter: brightness(1);
  }
  
  .animated-text-wrap {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    opacity: 0;
    transition: 0.8s ease;
    z-index: 1;
    display: grid;
    align-content: space-between;
    padding: 60px 20px;
  }
  
  .animated-text-wrap.active {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
    background: linear-gradient(
      180deg,
      transparent 0%,
      #fff 100%,
      transparent 100%
    );
    background-size: 300% 300%;
    background-position: 0% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textFillDiagonal 2s ease-out forwards;
  }
  
  .animated-text-wrap.inactive {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(20px);
    z-index: 0;
  }
  
  .animated-text {
    font-size: 80px;
    white-space: nowrap;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    margin: 0;
    text-transform: uppercase;
  }
  
  @keyframes textFillDiagonal {
    0% {
      background-position: 100% 0%;
      background-size: 300% 300%;
    }
    100% {
      background-position: 0% 100%;
      background-size: 100% 100%;
    }
  }
  
  .animated-text-wrap h2 {
    text-align: end;
  }
/* HOME 3D SECTION END */

/* HOME SPLIT START */
.home-split {
    display: flex;
    height: 100vh;
    width: 100%;
}

.home-split__left,
.home-split__right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.home-split__left {
    width: 40%;
    color: #fff;
}

.home-split__right {
    position: relative;
    width: 60%;
    color: #000;
    padding-left: 300px;
}

.home-split__right::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: #ffffff;
    right: -250px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transform-origin: center;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.home-split.is-visible .home-split__right::before {
    transform: translateY(-50%) scale(1);
}

.home-split__content {
    max-width: 500px;
    font-size: 20px;
}

.home-split__content h2 {
    font-size: clamp(30px, 4vw, 60px);
}

.design-text {
    font-size: clamp(40px, 8vw, 120px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    z-index: 1;
    color: #339eff;
}

.design-text span {
    display: block;
}
/* HOME SPLIT END */


/* HOME PORFOLIO SECTION START */
.hz-scroll-wrapper {
  min-height: 100vh;
  color: #fff;
}

.hz-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-header {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 20;
}
.section-header h2 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  letter-spacing: -1px;
}

.hz-track {
  display: flex;
  height: 70vh; 
  width: max-content;
  padding-left: 40px; 
  padding-right: 100px;
  gap: 30px; 
  align-self: flex-start; 
  margin-top: 100px; 
}

.project-slide {
  width: 45vw; 
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.project-card {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.project-card:hover .card-bg {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  z-index: 2; 
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 5px;
}

.card-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem); 
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}

.card-desc {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 90%;
  margin-bottom: 20px;
}

.card-link {
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* HOME PORFOLIO SECTION END */


/* HOME WHY CHOOSE START */
.dia-scroll-wrapper {
  min-height: 100vh; 
  position: relative;
  z-index: 10;
}

.dia-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center; 
  justify-content: flex-start;
  perspective: 1000px; 
}

.dia-bg-text {
  position: absolute;
  top: 15%; 
  left: 3%;
  font-size: 5vw;
  font-weight: 900;
  color: white;
  pointer-events: none;
  z-index: 2;
  line-height: 1.4;
  mix-blend-mode: difference;
}

.dia-track {
  display: flex;
  align-items: center;
  gap: 8vw; 
  padding-left: 10vw;
  padding-right: 10vw;
  width: max-content;
  will-change: transform;
  
  transform-origin: center center;
  transform: rotate(10deg); 
}

.dia-item {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  transition: transform 0.5s ease;
}

.intro-item {
  width: 70vw;
  color: #fff;
  padding-right: 50px;
}
.main-title {
  font-size: clamp(2rem, 4vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}
.main-title .highlight {
  color: transparent;
  -webkit-text-stroke: 1px #fff; 
}

.post-item {
  width: 60vw; 
}

.dia-card {
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.dia-img-box {
  width: 100%;
  aspect-ratio: 5/3;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
}

.dia-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
  filter: grayscale(100%) contrast(120%); 
  opacity: 0.7;
}

.dia-card:hover .dia-img-box img {
  transform: scale(1.1);
  filter: grayscale(0%) contrast(100%);
  opacity: 1;
}

.dia-content {
  position: absolute;
  bottom: 40px; 
  left: -40px; 
  z-index: 10;
  mix-blend-mode: difference;
}

.dia-cat {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
  color: white;
  padding-left: 1%;
}

.dia-title {
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0px #000; 
}

.dia-meta {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: underline;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.dia-card:hover .dia-meta {
  opacity: 1;
  transform: translateX(0);
}
/* HOME WHY CHOOSE END */


/* HOME SERVICES START */
.svc-section {
  color: #fff;
  padding: 100px 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.svc-container {
  margin: 0 auto;
}

.svc-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.svc-title {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.svc-desc {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
}

.svc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #ffffff75; 
}

.svc-item {
  border-bottom: 1px solid #ffffff75; 
  opacity: 0;
  transform: translateY(50px); 
  transition: all 0.6s ease-out; 
}

.svc-link {
  display: flex;
  align-items: center;
  padding: 40px;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
  position: relative;
}

.svc-num {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  width: 80px;
  flex-shrink: 0;
}

.svc-name {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  flex-grow: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}

.svc-arrow {
  font-size: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.svc-link:hover .svc-name {
  transform: translateX(20px); 
}

.svc-link:hover .svc-arrow {
  opacity: 1;
  transform: translateX(0);
}

.svc-item.svc-anim-target.is-visible:hover {
  background: rgba(255, 255, 255, 0.3);
}

.svc-header.is-visible,
.svc-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* HOME SERVICES END */