/* =========================
   HERO SECTION
========================= */
.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;
}


/* =========================
   PROCESS TIMELINE
========================= */
.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
========================= */

.testimonials-section {
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden; /* 🔥 IMPORTANT */
}

/* Heading */
.brands-text-content {
  text-align: center;
}

.brands-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.testimonials-heading {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
  font-weight: 300;
  margin-top: 10px;
}

/* Wrapper */
.testimonial-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Marquee */
.testimonial-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Track */
.testimonial-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  will-change: transform;
}

/* Card */
.testimonial-card {
  width: 420px;
  min-height: 260px;
  flex-shrink: 0;
  padding: 30px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: transform 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Quote */
.quote-icon img {
  width: 28px;
  opacity: 0.4;
}

/* Text */
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 10px;
}

/* Client */
.client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.client img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

/* Edge fade */
.testimonial-marquee::before,
.testimonial-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  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);
}