@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: rgb(216, 216, 216);
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: #000000;
  cursor: auto;
  overflow-y: hidden;
}

body.portfolio-active {
  cursor: none
}


html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "degular", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #fff;
}

/* Split line wrapper (REQUIRED) */
.ad-line-wrapper {
  display: block;
  overflow: hidden;
}

.ad-heading,
.ad-para {
  will-change: transform, opacity;
}


/* Main Cursor */
.cursor {
  position: fixed;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  pointer-events: none;
  z-index: 9999;

  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;

  mix-blend-mode: difference;
  backdrop-filter: grayscale(1);
}

.cursor-open {
  position: fixed;
  pointer-events: none;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(25px);
  color: #fff;
  font-size: 15px;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
  z-index: 9999;
}

body.portfolio-active .cursor-open {
  opacity: 1;
  transform: scale(1);
}


/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  z-index: 999999;

  transform: translateY(0);

  /* 🔥 COMBINE ALL TRANSITIONS */
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease,
              backdrop-filter 0.3s ease;

  will-change: transform;

  background: transparent;
}

/* 🔻 HIDE NAV */
nav.nav-hidden {
  transform: translateY(-100%);
}

/* 🔺 SHOW NAV WITH BG */
nav.nav-visible {
  background: #000;
  height: 70px;
  /* optional premium */
  /* backdrop-filter: blur(8px); */
}

/* 🚫 MENU OPEN (NO BG CONFLICT) */
nav.menu-open {
  background: transparent !important;
}

/* LOGO + TOGGLER */
.nav-logo,
.nav-toggler {
  padding: 1rem;
  cursor: pointer;
}

.nav-logo img {
  width: 150px;
  height: auto;
}

/* TOGGLER */
.nav-toggler {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggler span {
  width: 40px;
  height: 2px;
  background: #fff;
  transition: 0.4s;
}

.nav-toggler.open span:first-child {
  transform: translateY(3.5px) rotate(45deg) scaleX(0.75);
}

.nav-toggler.open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg) scaleX(0.75);
}


/* MENU */
.nav-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}


.nav-items-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* 🔥 key */
  height: 100%;
}

.nav-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
}

.nav-bg:nth-child(1) {
  background: #0f0f0f;
}

.nav-bg:nth-child(2) {
  background: #131313;
}

.nav-bg:nth-child(3) {
  background: #1d1d1d;
}

.nav-bg:nth-child(4) {
  background: #131313;
}

.nav-items {
  display: flex;
  height: 100vh;
  gap: 2rem;
  padding: 8rem 2rem 4rem 2rem;
  background: #000000;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  pointer-events: auto;
}

.menu-reveal {
  overflow: hidden;
  display: block;
  width: fit-content;
  clip-path: inset(0 0 100% 0);
}

/* LAYOUT FIX */
.nav-primary-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* BASE LINK */
.nav-primary-links a {
  position: relative;
  display: inline-block;
  width: fit-content;
  overflow: hidden;
  color: #797979;
  text-decoration: none;
  line-height: 1.1;
  font-size: 6.5rem;
  font-family: "degular", sans-serif;
  font-weight: 300;
  will-change: transform, clip-path;
}


/* TEXT LAYERS */
.nav-primary-links a span {
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.3s ease;
}


/* SECOND TEXT */
.nav-primary-links a span:nth-child(2) {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
}

/* HOVER SLIDE */
.nav-primary-links a:hover span:first-child {
  transform: translateY(-100%);
}

.nav-primary-links a:hover span:last-child {
  transform: translateY(0);
}

/* HOVER COLOR */
.nav-primary-links a:hover span {
  color: #ffffff;
  /* white on hover */
}

/* ACTIVE STATE */
.nav-primary-links a.active span:nth-child(1),
.nav-primary-links a.active span:nth-child(2) {
  color: #ffffff;
  /* active stays white */
}

.nav-primary-links a {
  font-size: 6.5rem;
}

.nav-content a .line {
  transform: translateY(100%);
}

.nav-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  margin-left: auto;
}

.nav-right>* {
  width: 340px;
  /* keeps nice column */
}

.nav-social-links {
  align-items: flex-start;
}

.nav-location {
  text-align: left;
}

.nav-footer {
  justify-content: flex-start;
}

/* CONTAINER */
.nav-social-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

/* LINK */
.nav-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

/* ICON WRAPPER */
.nav-social-links .icon {
  display: inline-block;
}

/* ICON */
.nav-social-links i {
  font-size: 14px;
  transition: filter 0.3s ease;
}

/* 🔥 HOVER */
.nav-social-links a:hover {
  color: #fff;
}

/* 👉 TRIGGER ANIMATION */
.nav-social-links a:hover .icon {
  animation: arrowReenter45 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ✨ DIAGONAL RE-ENTER (↗ direction) */
@keyframes arrowReenter45 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }

  40% {
    transform: translate(10px, -10px);
    /* go ↗ */
    opacity: 0;
  }

  41% {
    transform: translate(-10px, 10px);
    /* re-enter ↙ */
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.nav-location {
  max-width: 360px;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.nav-location .label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ffffff;
  /* accent */
  margin-bottom: 20px;
}

.nav-location .muted {
  opacity: 0.5;
}


/* FOOTER (bottom-right) */
.nav-footer {
  position: static;
  bottom: 2rem;
  right: 2rem;

  display: flex;
  align-items: center;
  gap: 40px;

  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* LINKS */
.nav-footer-links {
  display: flex;
  gap: 30px;
}

.nav-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-footer a:hover {
  color: #fff;
}



/* MOBILE */
@media (max-width: 1000px) {
  .nav-items {
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
  }

  .nav-legal,
  .nav-secondary-links {
    display: none;
  }
}





















/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
}

/* ===============================
   H1 → TOP LEFT
================================ */
.ad-text-animation-heading {
  position: absolute;
  top: 6rem;
  left: 2rem;

  max-width: 1100px;
  font-size: clamp(3.5rem, 7vw, 7.3rem);
  line-height: 1.05;
  font-weight: 300;
  color: #fff;
}

/* ===============================
   PARAGRAPH → BOTTOM LEFT
================================ */
.ad-text-animation-paragraph {
  position: absolute;
  left: 2rem;
  bottom: 2rem;

  max-width: 450px;
  font-size: 1.1rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

/* ===============================
   SCROLL ARROW → BOTTOM CENTER
================================ */
.hero-scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 3rem;
  transform: translateX(-50%);
  /* z-index: 5; */
}

.hero-scroll-arrow img {
  width: 28px;
  height: auto;
  display: block;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

/* ===============================
   SCROLL BOUNCE ANIMATION
================================ */
@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}


/* ===============================
   VIDEO – DESKTOP (DEFAULT)
================================ */
.video-box {
  position: absolute;
  width: 320px;
  height: 180px;
  top: 69.7vh;
  right: 2.7rem;
  overflow: hidden;
  border-radius: 5px;
  transform-origin: bottom right;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =====================================
   HERO – MOBILE ONLY
===================================== */
@media (max-width: 767px) {

  /* ===============================
     HERO
  ================================ */
  body {
    background: rgb(0, 0, 0) !important;
  }

  .hero {
    position: relative;
    min-height: 100svh;
    padding: 1rem;
    display: block;
    /* avoid flex side-effects */
    background: rgb(0, 0, 0)
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  /* ===============================
     HEADING
  ================================ */
  .ad-text-animation-heading {
    position: relative;
    inset: auto;
    font-size: clamp(3rem, 9vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: rgb(255, 255, 255);
  }

  /* ===============================
     PARAGRAPH
  ================================ */
  .ad-text-animation-paragraph {
    position: relative;
    inset: auto;
    max-width: 100%;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
  }

  /* ===============================
     SCROLL ARROW
  ================================ */
  .hero-scroll-arrow {
    position: relative;
    inset: auto;
    margin: 0 auto 20px;
    display: flex;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .hero-scroll-arrow img {
    width: 25px;
  }

  /* ===============================
     VIDEO – MOBILE (NO GROW)
  ================================ */
  .video-box {
    position: relative;
    width: 100%;
    height: auto;

    /* 🔥 FULL RESET OF DESKTOP */
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;

    margin-top: 20px;
    overflow: hidden;
    border-radius: 5px;
    transform: none;
  }

  .video-box video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    /* 🔒 no motion */
    transform: none;
    animation: none;
    transition: none;
  }
}


/* NEXT SECTION */
.video-scroll {
  height: 69vh;
}


@media (max-width: 1023px) {
  .video-scroll {
    display: none;
  }
}





















/* ===============================
   ABOUT SECTION
================================ */
.about {
  /* display: flex; */
  height: 100vh;
  /* width: 100%; */
  align-content: center;
}

/* Sticky container */
.about-col {
  position: sticky;
  height: 100vh;
  padding: 3rem 2rem;
  display: flex;
  /* justify-content: space-around; */
  gap: 5vw;
}

/* Animated box */
.image-box {
  width: 40%;
  height: 0;
  /* Start from zero */
  overflow: hidden;
  border-radius: 5px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   CONTENT
================================ */
.about-content {
  color: #fff;
  align-content: center;
}

.about-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.about-heading.ad-heading-custom {
  position: static; /* 🔥 reset */
  top: auto;
  left: auto;
  max-width: 1000px;
  font-weight: 300;

  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
}

/* .about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #bdbdbd;
  margin-bottom: 32px;
  margin-right: 100px;
} */

/* ===============================
   TEXT ARROW BUTTON
================================ */

.button-about {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
}

/* Arrow icon */
.button-about .icon {
  display: inline-block;
  animation-duration: 0.55s;
  animation-fill-mode: both;
}

/* Icon itself */
.button-about .icon i {
  font-size: 22px;
}

/* Hover animation */
.button-about:hover .icon {
  animation-name: arrowLRReenter;
}

/* Keyframes */
@keyframes arrowLRReenter {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  40% {
    transform: translateX(14px);
    opacity: 0;
  }

  41% {
    transform: translateX(-14px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}





@media (max-width: 767px) {

  /* FORCE STACKING */
  .about {
    padding: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
  }

  .about-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: 24px; */
  }

  /* TEXT FIRST */
  .about-content {
    width: 100%;
    max-width: 100%;
    max-width: 34ch;
    /* 🔥 controls line length */
    order: 1;
  }

  .about-label {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
  }


  .about-content h1 {
    position: relative;
    inset: auto;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 2rem;
    text-wrap: balance;
    color: rgb(255, 255, 255);

  }

  .about-content p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
  }

  .button-about {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  /* IMAGE AT BOTTOM – FULL WIDTH */
  .image-box {
    order: 2;

    width: 100% !important;
    /* 🔥 override desktop */
    max-width: 100%;
    height: auto;


    margin: 0;
    /* remove side gaps */
    border-radius: 5px;
    overflow: hidden;
  }

  .image-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center 40%;
    /* 🔥 THIS CENTERS THE IMAGE */
  }
}





















/* ===============================
   BRAND SHOWCASE SECTION
=================================*/

.brand-showcase {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.15); */
  /* border-top: 1px solid rgba(255, 255, 255, 0.15); */
}

.brand-text-content {
  max-width: 70%;
  height: 30vh;
  padding: 2rem;
  text-align: center;
}

.brand-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.brand-text-content h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
  font-weight: 300;
  max-width: 1900px;
}

.brand-heading.ad-text-animation-heading {
  position: static;
  top: auto;
  left: auto;
}

.marquee-logos {
  width: 100%;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.marquee {
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  height: 120px;

  position: relative;
  /* REQUIRED for fade */
}

.marquee-track1,
.marquee-track2 {
  display: flex;
  align-items: center;
  gap: 15vw;
  width: max-content;
}

.marquee img {
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: 0.3s ease;
}

.marquee img:hover {
  opacity: 0.7;
}

.liva {
  height: 60px;
}

.enbd {
  height: 50px;
}

.syntix {
  height: 45px;
}

.taj {
  height: 70px;
}

.finjuris {
  height: 60px;
}

.omis {
  height: 55px;
}

.pvep {
  height: 50px;
}

.max {
  height: 50px;
}

.aramex {
  height: 30px;
}

.cnn {
  height: 55px;
}

/* Edge fade for brand logos */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 360px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Left fade */
.marquee::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

/* Right fade */
.marquee::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}













/* ===============================
   SELECTED WORK SECTION
================================ */
.selected-work {
  width: 100%;
  min-height: 70vh;
  position: relative;
  /* IMPORTANT */
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0rem 0;
  /* breathing space */
}

.container {
  width: 97%;
  max-width: none;
  /* remove restriction */
  margin: 0 auto;
}

/* Small top label */
.tag {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  /* margin-bottom: 1rem; */
}

/* Big paragraph */
.big-text {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 13rem;   
}

/* Bottom wrapper */
.bottom {
  margin-top: auto;
}

/* Selected Work title */
.selected-title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.5px;
}

/* Bottom-left container */
.work-bottom {
  position: absolute;
  bottom: 40px;
  right: 2%;
  /* match your container padding */
}

























/* =========================
   SERVICES SECTION
========================= */
.services {
  height: 100vh;
  background: #000000;
  overflow: hidden;
}

/* INTRO */
.services-intro {
  height: 40vh;
  padding: 2rem;
}

.services-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.services-heading {
  font-size: clamp(2.5rem, 5vw, 5rem); /* responsive */
  line-height: 1.2;
  font-weight: 300;

  max-width: 2200px; 
}

.services-heading.ad-text-animation-heading {
  position: static;  /* 🔥 reset */
  top: auto;
  left: auto;
}

/* =========================
   ROW
========================= */
.services-content {
  position: relative;
  height: 60vh;
  overflow: hidden;
  /* display: flex; */
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* =========================
   CARD BASE
========================= */

.tca-card {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35vw;
  padding: 2rem;
  background: #000;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card__header {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.service-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card__label {
  font-family: "degular", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.9;
}

.service-card__icon {
  width: 45px;
  height: auto;
  opacity: 0.9;
}

/* BIG SHORT TITLE */
.service-card__title {
  position: relative;
  display: flex;
  right: 0;
  margin-top: -50px;
  font-size: 150px !important;
  font-weight: 300;
}

/* ===============================
   DESCRIPTION
================================ */

.service-card__desc {
  margin-top: auto;
  max-width: 500px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* DEPTH */
.card-1 {
  z-index: 1;
  border-left: none !important;
}

.card-2 {
  z-index: 2;
}

.card-3 {
  z-index: 3;
}

.card-4 {
  z-index: 4;
}

.card-5 {
  width: 45vw !important;
  z-index: 5;
}

/* =========================
   CTA SECTION
========================= */

.cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

/* Title */
.cta-title {
  font-size: 8rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* Description */
.cta-desc {
  max-width: 480px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Button wrapper */
.cta-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Base button */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  /* border-radius: 999px; */
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.25s ease;
}

/* Primary */
.cta-btn.primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Secondary */
.cta-btn.secondary {
  background: transparent;
  color: #ffffff;
}

/* Hover */
.cta-btn:hover {
  transform: translateY(-1px);
}

/* Hover states */
/* .cta-btn.primary:hover {
  background: rgba(255, 255, 255, 0.9);
} */

/* .cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
} */

/* Active */
.cta-btn:active {
  transform: translateY(0);
}

/* Focus (accessibility) */
.cta-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}






































































































.portfolio-area {
  background: #000;
  position: relative
}

.dz-stack-cards {
  height: 100vh;
  width: 100%;
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px 0px;
  /* space from top */
}

.dz-content {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dz-content h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: 0px;
}

.dz-meta {
  display: flex;
  gap: 80px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card1 {
  background: url("assets/images/brandingimage.png") center center / cover no-repeat;
}

.card2 {
  background: url("/assets/images/bootharamex.png") center center / cover no-repeat;
}

.card3 {
  background: url("assets/images/webimage.png") center center / cover no-repeat;
}

.card4 {
  background: url("assets/images/pacimage.png") center center / cover no-repeat;
}

/* Badge initially absolute */
.project-badge {
  position: absolute;
  top: 90vh;
  left: 1%;
  width: 120px;
  height: 60px;
  /* border-radius: 999px; */
  /* border: 1px solid rgb(255, 255, 255); */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* backdrop-filter:blur(1px); */
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1000;
  opacity: 1;
}

.project-badge.fixed {
  position: fixed;
}


.project-badge.at-end {
  position: absolute;
  top: auto;
  bottom: 1%;
}


.project-badge.hidden {
  opacity: 0;
}

.badge-label {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: .5;
  margin-bottom: 8px
}

.badge-current {
  position: relative;
  left: 2px;
  width: 30px;
  /* 👈 ADD THIS */
  height: 26px;
  overflow: hidden;
  display: block;
  /* 👈 CHANGE THIS */
}

.counter-value {
  position: absolute;
  inset: 0;
  display: flex;
  /* 👈 USE FLEX CENTERING */
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.badge-counter {
  display: flex;
  gap: 10px;
  font-size: 22px
}

.badge-total {
  opacity: .6
}

.scroll-indicator {
  position: absolute;
  top: 95vh;
  /* 🔥 SAME AS BADGE */
  right: 1.5%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 1000;
}

.scroll-indicator.fixed {
  position: fixed;
  top: 95vh;
  /* 🔥 IMPORTANT — keep same top */
  right: 1.5%;
}

.scroll-indicator.at-end {
  position: absolute;
  top: auto;
  bottom: 1%;
  right: 1.5%;
}

.scroll-arrow {
  width: 14px;
}










/* SECTION */
.process-line {
  height: 100vh;
  display: flex;
  align-items: center;
  background: #000000;
  overflow: hidden;
}

/* CONTAINER (2 COLUMN) */
.process-container {

  width: 100%;
  margin: 2rem;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT SIDE */
.process-left {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);

}

.process-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.process-heading {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.1;
  font-weight: 300;
  /* margin-bottom: 10rem; */
}

/* TIMELINE (RIGHT SIDE) */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-left: 40px;
}

/* LINE */
.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
}

/* PROGRESS LINE */
.timeline-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ITEM */
.timeline-item {
  position: relative;
  padding-left: 40px;

  opacity: 0.2;
  transform: translateY(40px) scale(0.95);
  transition: 0.4s;
  font-family: "degular", sans-serif;
  font-size: 1.7rem;
  /* text-transform: uppercase; */
  letter-spacing: 0;
  /* opacity: 0.9; */

}

.timeline-item p {
  position: relative;
  opacity: 0.8;
  padding-top: 10px;

  font-family: "Inter", sans-serif;
  color: rgb(216, 216, 216);
  font-size: 1.2rem;


}

/* ACTIVE */
.timeline-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* DIM */
.timeline-item.dim {
  opacity: 0.2;
}

/* DOT */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

/* ACTIVE DOT */
.timeline-item.active::before {
  background: #fff;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 25px rgba(255, 255, 255, 0.5);
}

























.testimonials-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background-color:#bdbdbd; */
  gap: 20px;
  /* smaller gap */
}

/* Wrapper */
.testimonial-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Heading block */
.brands-text-content {
  /* max-width:900px; */
  text-align: center;
}

/* Label */
.brands-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: .7;
  display: block;
}


/* Heading style */
.testimonials-heading {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
  font-weight: 300;
    margin: 8px 0 0 0;
  max-width: 2000px; /* 🔥 important for split */
}

/* Split mask (REQUIRED) */
.ad-line-wrapper {
  display: block;
  overflow: hidden;
}
/* Marquee */
.testimonial-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
}

/* Track */
.testimonial-track {
  display: flex;
  gap: 40px;
  width: max-content;
}

/* Card */
.testimonial-card {
  width: 450px;
  /* slightly smaller for better layout */
  height: 300px;
  flex-shrink: 0;
  padding: 35px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .4s ease, border-color .4s ease;
}

/* QUOTE ICON CONTAINER */
.quote-icon {
  margin-bottom: 14px;
}

/* SVG IMAGE */
.quote-icon img {
  width: 28px;
  /* control size */
  height: auto;
  opacity: 0.4;
  /* subtle premium look */
}

/* TEXT IMPROVEMENT */
.testimonial-card p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #fff;
  font-weight: 400;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Text */
.testimonial-card p {
  font-size: 18px;
  line-height: 1.6;
}

/* Client */
.client {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* Edge fade */
.testimonial-marquee::before,
.testimonial-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 360px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.testimonial-marquee::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.testimonial-marquee::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}






































/* ===============================
   FOOTER LAYOUT
================================ */
.footer {
  width: 100%;
  min-height: 100vh;
  /* safer than height */
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

/* ===============================
   TOP SECTION
================================ */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6vw;
  padding-bottom: 4rem;
}

.footer-heading {
  font-size: clamp(120px, 20vw, 170px);
  font-weight: 400;
  line-height: 0.9;
}

/* 🔥 MASK WRAPPER */
.footer-line-wrapper {
  overflow: hidden;
  display: block;
}

/* smooth rendering */
.footer-heading .line {
   display: block; /* ❗ THIS WAS MISSING */
  will-change: transform;
}

.arrow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
}

/* Text Animation */
.btn-text {
  transition: transform 0.4s cubic-bezier(.76, 0, .24, 1);
}

.arrow-btn:hover .btn-text {
  transform: translateX(-8px);
}

/* Icon Container */
.btn-icon {
  position: relative;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(.76, 0, .24, 1);
}

.arrow-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Optional smooth feel */
.arrow-btn i {
  font-size: 18px;
}



/* ===============================
   RIGHT MENUS
================================ */
.footer-right-top {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 5rem;
  padding: 2rem 0 0 0;
}

.footer-col,
.footer-col2 {
  display: flex;
  flex-direction: column;
}

.footer-col {
  gap: 15px;
}

.footer-col2 {
  margin-top: 20px;
}

/* ===============================
   HEADINGS
================================ */
.footer-col h4,
.footer-col2 h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 1;
}

/* ===============================
   LINK TYPOGRAPHY
================================ */
.footer-col>a span,
.footer-col2>a span {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
}

/* ===============================
   SLIDE TEXT HOVER EFFECT
================================ */
.footer-link {
  position: relative;
  display: inline-block;
  height: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.footer-link span {
  display: block;
  font-size: 18px;
  line-height: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link span:nth-child(2) {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
}

.footer-link:hover span:first-child {
  transform: translateY(-100%);
}

.footer-link:hover span:last-child {
  transform: translateY(0);
}

/* SMALL LINKS */
.footer-link.small span {
  font-size: 13px;
}

/* ===============================
   BIG LOGO
================================ */
.footer-logo-anim {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 0 2rem;
  overflow: hidden;
}

#dzignzFooterLogo svg {
  width: 1860px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-col2 {
  order: 2;
  margin-top: 1.25rem;
}


/* ===============================
   TEXT ARROW BUTTON Footer
================================ */

.button-footer {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  margin-top: 1rem;
  margin-left: 13px;
}

/* Arrow icon */
.button-footer .icon {
  display: inline-block;
  animation-duration: 0.55s;
  animation-fill-mode: both;
}

/* Icon itself */
.button-footer .icon i {
  font-size: 22px;
}

/* Hover animation */
.button-footer:hover .icon {
  animation-name: arrowLRReenter;
}

/* ===============================
   LOGO ANIMATION STATES
================================ */
.footer-logo-anim .letter {
  opacity: 0;
  transform: translateY(100px);
  transition:
    opacity 0.9s ease-out,
    transform 1.8s cubic-bezier(0.12, 0.95, 0.25, 1);
  will-change: transform, opacity;
}

.footer-logo-anim .letter.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   BOTTOM BAR
================================ */
.footer-bottom {
  margin-top: auto;
  /* bottom-aligned */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.6;
}

.footer-bottom-left {
  display: flex;
  gap: 38px;
}

/* ===============================
   EMAIL LINK
================================ */
.email {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.2;
  padding-bottom: 2px;
}

/* underline */
.email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46.8%;
  height: 1px;
  background: #fff;

  transform: scaleX(0);
  transform-origin: bottom right;

  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

/* hover */
.email:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* small variant if needed */
.email.small {
  font-size: 15px;
}

/* ===============================
   MOBILE FOOTER — AGENCY STRUCTURE
================================ */
@media (max-width: 768px) {

  /* Base cleanup */
  .footer {
    min-height: auto;
    padding: 2.5rem 1.25rem 1.5rem;
  }

  /* Stack top cleanly */
  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  /* BIG HEADLINE */
  .footer-left h1 {
    font-size: clamp(44px, 12vw, 64px);
    line-height: 1.05;
    max-width: 14ch;
  }

  /* HELLO = NEW BUSINESS */
  .footer-col2 {
    margin-top: 0.5rem;
  }

  .footer-col2 h4 {
    font-size: 13px;
    letter-spacing: 0.06em;
    opacity: 0.7;
  }

  .email {
    font-size: 15px;
  }

  /* NAVIGATION BLOCK */
  .footer-right-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
  }

  .footer-col {
    align-items: flex-start;
    text-align: left;
    gap: 14px;
  }

  .footer-col h4 {
    font-size: 13px;
    letter-spacing: 0.06em;
    opacity: 0.7;
    margin-bottom: 0.5rem;
  }

  .footer-link span {
    font-size: 14px;
  }

  /* BIG LOGO */
  .footer-logo-anim {
    padding: 4rem 0 2rem;
  }

  #dzignzFooterLogo svg {
    width: 100%;
  }

  /* META INFO (BOTTOM) */
  .footer-bottom {
    margin-top: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 13px;
    opacity: 0.6;
  }

  .footer-bottom-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
}









