
:root {
  --bg: #0d0d0d;
  --surface: #121212;
  --surface-alt: #1b1b1b;
  --text: #f5f5f5;
  --muted: #c4c4c4;
  --accent: #ff8c1a;
  --accent-soft: rgba(255, 140, 26, 0.18);
  --border: rgba(255, 140, 26, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(255, 140, 26, 0.12), transparent 20%),
    radial-gradient(circle at bottom left, rgba(255, 140, 26, 0.08), transparent 24%),
    var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  font: inherit;
}

button,
a {
  cursor: pointer;
}

header.hero {
  min-height: 100vh;
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 100vh;
  position: relative;
  overflow: hidden;}
  .hero-video {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;

  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(0, 0, 0, 0.55);

  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: brightness(0.65) saturate(0.9);

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    radial-gradient(
      circle at 70% 50%,
      rgba(255, 140, 26, 0.08),
      transparent 45%
    ),
    linear-gradient(
      90deg,
      rgba(13, 13, 13, 0.88),
      rgba(13, 13, 13, 0.45)
    );

  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */

  gap: 1.5rem;

  padding: 16px 5%;

  min-height: 76px;
}


/* Logo */
.logo {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.logo img {
  height: 64px;
  width: 200px;
  object-fit: cover;
}


/* Navigation links */
.nav ul {
  display: flex;
  align-items: center;

  gap: 30px;
  margin-left: 300px;

  list-style: none;

  padding: 0;

  flex-wrap: nowrap;
}

.nav li {
  color: var(--muted);

  white-space: nowrap;

  transition: color 0.25s ease;
}

.nav li:hover {
  color: #fff;
}


/* Contact / CTA */
.nav .about-button {
  flex-shrink: 0;

  white-space: nowrap;

  padding: 11px 22px;

  border-radius: 999px;
}

.hero-content {
  min-height: auto;
  flex: 1;

  display: flex;
  align-items: center;

  padding: 0 5% 30px;
}
.left {
  max-width: 640px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  color: var(--accent);
}

h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--accent);
}

.hero p {
  margin-top: 1.6rem;
  max-width: 580px;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s ease;
}

.actions .primary {
  background: linear-gradient(135deg, var(--accent), #ffb65c);
  color: #111;
}

.actions .secondary {
  border: 1px solid rgba(255, 140, 26, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.actions .secondary:hover {
  background: rgba(255, 140, 26, 0.14);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 100px 0;
}

section.container {
  position: relative;
}

section.container::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.01) 50%, transparent 100%);
}

section.container + section.container {
  padding-top: 80px;
}

section.container h2 {
  font-size: clamp(2rem, 2.7vw, 3.4rem);
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.grid3,
.grid4,
.services,
.feature-grid,
.team,
.logos,
.timeline,
.stats {
  display: grid;
  gap: 28px;
}

.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project,
.card,
.feature,
.services div,
.timeline div,
.logos div,
.team div {
  background: linear-gradient(180deg, #1a1a1a, #131313);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover,
.feature:hover,
.services div:hover,
.timeline div:hover,
.logos div:hover,
.team div:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(255, 140, 26, 0.18);
  border-color: rgba(255, 140, 26, 0.28);
}

.project img,
.blogs img,
.team img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project h3 {
  padding: 1.5rem 1.5rem 0.75rem;
  font-size: 1.05rem;
}

.project button {
  width: calc(100% - 3rem);
  margin: 0 1.5rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 14px 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 26, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.project button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.24), rgba(255, 255, 255, 0.08));
  color: #111;
}

.project button .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.project img {
  transition: transform 0.6s ease;
}

.project:hover img {
  transform: scale(1.05);
}

.video {
  position: relative;
  height: 480px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.16), rgba(13, 13, 13, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 140, 26, 0.15);
}

.play {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.bigimg {
  width: 100%;
  height: 500px;
  border-radius: 32px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 140, 26, 0.12);
  object-fit: cover;
  display: block;
  background-color: rgba(255, 140, 26, 0.1);
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature,
.services div,
.timeline div,

.feature {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
}

.services {
  grid-template-columns: repeat(4, minmax(0, 1fr));

  margin-top: 30px;
}

.services div {
  min-height: 140px;
  height: 140px;
  width: 100%;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  padding: 20px;
 
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.timeline-step {
  min-width: 140px;
  height: 100%;
  text-align: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 140, 26, 0.14);
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
}

.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 70px 3.5%;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  border: 1px solid rgba(255, 140, 26, 0.12);
  margin: 0 auto;
}

.stats div {
  text-align: center;
}

.stats h3 {
  font-size: 3rem;
  margin-bottom: 0.4rem;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(255, 140, 26, 0.18);
}

.texting{
  color: #090909;
}

.stats span {
  color: var(--muted);
}

.logos {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.logos div {
  height: 155px;
  width: 155px;

}

/* =========================================================
   PROJECT CAROUSEL — 3 CARDS / EDGE-TO-EDGE / SHALLOW BEND
   ========================================================= */

.projects-carousel-wrapper {
  position: relative;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  height: 590px;

  padding: 30px 0 85px;

  overflow: hidden;

  border: none;
  border-radius: 0;

  background: transparent;

  box-shadow: none;

  touch-action: pan-y;
}

.projects-carousel {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: visible;

  padding: 0;

  user-select: none;

  touch-action: pan-y;
}

.projects-carousel .project {
  position: absolute;

  left: 50%;
  top: 50%;

  width: min(360px, 30vw);
  height: 455px;

  margin: 0;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 1px solid rgba(255, 140, 26, 0.18);
  border-radius: 26px;

  background:
    linear-gradient(
      180deg,
      #1b1b1b 0%,
      #111111 100%
    );

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35);

  will-change: transform, opacity;

  backface-visibility: hidden;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


/* ---------------------------------------------------------
   YOUTUBE THUMBNAIL — 16:9
   --------------------------------------------------------- */

.project-thumbnail {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  height: auto;

  overflow: hidden;

  flex: 0 0 auto;

  background: #0b0b0b;
}

.project-thumbnail img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  pointer-events: none;
  user-select: none;
}

.project-play {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: rgba(255, 140, 26, 0.92);

  color: #111;

  font-size: 1.1rem;

  padding-left: 3px;

  box-shadow:
    0 0 22px rgba(255, 140, 26, 0.25);
}


/* ---------------------------------------------------------
   VIEWS / LIKES / COMMENTS
   --------------------------------------------------------- */

.project-meta {
  width: 100%;

  height: 54px;

  padding: 0 18px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  border-top: 1px solid rgba(255, 140, 26, 0.08);

  color: var(--muted);

  font-size: 0.82rem;
}

.project-stat {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  white-space: nowrap;
}

.project-stat .stat-icon {
  color: var(--accent);

  font-size: 0.85rem;

  line-height: 1;
}


/* ---------------------------------------------------------
   PROJECT NAME
   --------------------------------------------------------- */

.project-title {
  flex: 1;

  min-height: 70px;

  padding: 10px 18px 18px;

  display: flex;

  align-items: center;

  color: var(--text);

  font-size: 1.05rem;

  font-weight: 700;

  letter-spacing: 0.03em;

  line-height: 1.25;
}


/* ---------------------------------------------------------
   DRAG HANDLE
   --------------------------------------------------------- */



/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */



@media (max-width: 600px) {
  .projects-carousel-wrapper {
    height: 470px;
    padding-bottom: 80px;
  }

  .projects-carousel .project {
    width: 72vw;
    max-width: 285px;
    height: 350px;
  }

  .project-meta {
    height: 48px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .project-title {
    min-height: 60px;
    padding: 8px 12px 14px;
    font-size: 0.9rem;
  }

  
}

@media (max-width: 400px) {
  .projects-carousel .project {
    width: 72vw;
    max-width: 250px;
    height: 320px;
  }

  .project-meta {
    font-size: 0.68rem;
  }
}


/* =========================================================
   PROJECT DRAG HANDLE — FIXED / ALWAYS GRABBABLE
   ========================================================= */

.projects-carousel-wrapper {
  position: relative;
}




/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .projects-carousel-wrapper {
    height: 470px;
  }

  .projects-carousel .project {
    width: min(
      280px,
      30vw
    );

    height: 350px;
  }

}

/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 600px) {

  .projects-carousel-wrapper {
    height: 420px;

    width: 100vw;

    margin-left:
      calc(50% - 50vw);
  }

  .projects-carousel .project {
    width: 72vw;
    max-width: 250px;

    height: 310px;
  }

  /*
    Still three logical positions:
    left / center / right.
    The side cards can extend partially
    beyond the screen just like the reference.
  */

  
}

/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 400px) {

  .projects-carousel-wrapper {
    height: 390px;
  }

  .projects-carousel .project {
    width: 72vw;
    max-width: 220px;

    height: 280px;
  }

}

.partners-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
}

.partners-top p {
  max-width: 540px;
  color: var(--muted);
  line-height: 1.8;
}

.partners-label {
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.partners-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.partners-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 1rem 0.3rem 1.2rem;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.partners-carousel::-webkit-scrollbar {
  display: none;
}

.partners-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 140, 26, 0.32);
  border-radius: 999px;
}

.partners-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 140, 26, 0.18);
  background: rgba(13, 13, 13, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 5;
}

.carousel-button:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(255, 255, 255, 0.12);
}

.carousel-button.prev {
  left: 0;
}

.carousel-button.next {
  right: 0;
}

.partner-card {
  flex: 0 0 260px;
  min-width: 260px;
  max-width: 260px;
  height: 170px;
}

.partner-card img {
  width: auto;
  height: 55px;
  max-width: 120px;
  object-fit: contain;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(255, 140, 26, 0.16);
}



@media (max-width: 860px) {
  .partners-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners-carousel {
    padding-left: 0;
  }
}

.team {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team div {
  text-align: center;
  padding: 1rem;
}

.team img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  margin-bottom: 1rem;
}

.team-role {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 0.5rem;
}

.blogs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blogs img {
  border-radius: 28px;
  min-height: 250px;
  object-fit: cover;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255, 140, 26, 0.18), transparent 32%),
    linear-gradient(180deg, #111, #090909);
  border-radius: 32px;
  border: 1px solid rgba(255, 140, 26, 0.16);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 140, 26, 0.08), transparent 35%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1.75rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.02;
  position: relative;
  z-index: 2;
  color: var(--text);
}

.cta button {
  min-width: 180px;
  margin: 0 0.5rem 0.5rem;
  padding: 16px 32px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
}

.cta .primary {
  background: linear-gradient(135deg, var(--accent), #ffb65c);
  color: #111;
}

.cta .secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 140, 26, 0.12);
}

footer {
  padding: 80px 0 40px;
  background: #090909;
}

footer .foot {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  color: var(--muted);
}

footer .brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

footer h3,
footer h4 {
  color: #fff;
  margin-bottom: 1rem;
}

footer h4 {
  font-size: 1.05rem;
}

footer p {
  max-width: 360px;
  line-height: 1.8;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
}

.footer-meta span {
  font-size: 0.95rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

footer a:hover {
  color: #fff;
}

footer .footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 140, 26, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social a {
  color: var(--muted);
}

.footer-social a:hover {
  color: #fff;
}

@media (max-width: 1120px) {
  .grid3,
  .grid4,
  .services,
  .feature-grid,
  .team,
  .logos,
  .timeline,
  .stats,
  footer .foot,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 60px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav ul {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 24px 4%;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 0 4% 60px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .container {
    padding: 80px 0;
}

  .project button {
    width: 100%;
    margin: 1rem 0 0;
  }

  .stats,
  .logos,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 2.4rem;
  }

  .cta button {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 520px) {
  .nav ul {
    gap: 16px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions a {
    width: 100%;
  }

  .hero-content {
    padding-left: 0;
    padding-right: 0;
  }

  .left {
    margin: 0;
  }

  .project h3 {
    padding: 1.25rem 1.25rem 0.75rem;
  }
}

.about-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.about-content {
    max-width: 800px;
    margin-left: 50px;
}

.about-section h2 {
    font-size: 64px;
    line-height: 1;
    margin: 20px 0 30px;
}

.about-section h2 span {
    color: orange;
}

.about-text {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}
#explore-button{
  height: 50px;
  width: 250px;
  background-color: #ff8c1a;
  color: #090909;
  border-radius: 20px;
}
html {
    scroll-behavior: smooth;
}
.nav a {
    color: inherit;
    text-decoration: none;
}
.about-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #ff6b00;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
}

.about-button:hover {
    background-color: #ff8533;
    transform: translateY(-3px);
}
.logo-logo{
  height: 100%;
}

.logo-logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.logos div img{
  height: 100%;
  width: 100%;
  object-fit:   fill;
}

/* =========================================================
   GSAP ANIMATION SUPPORT
   ========================================================= */

/* Prevent animated elements from flashing before GSAP starts. */
.gsap-nav,
.gsap-nav-links li,
.gsap-nav-cta,
.gsap-hero-tag,
.gsap-hero-title,
.gsap-hero-actions > *,
.reveal-section .tag,
.reveal-section h2,
.reveal-section p,
.reveal-section img,
.project,
.video,
.play,
.bigimg,
.feature,
.services div,
.timeline-step,
.timeline .arrow,
.stats div,
.logos div,
.logos img,
.partners-top,
.partner-card,
.team > div,
.team img,
.cta,
.cta h2,
.cta button,
footer .foot > div,
.footer-bottom {
  will-change: transform, opacity;
}

/* Better hover motion for the animated cards. */
.project,
.feature,
.services div,
.timeline-step,
.logo-logo,
.partner-card,
.team > div {
  transform-style: preserve-3d;
}

/* Keep the hero title clean while GSAP animates it. */
.gsap-hero-title {
  overflow: hidden;
}

/* Image clipping used by GSAP should not create a flash. */
.project img,
.team img {
  will-change: transform, clip-path;
}

/* Slightly smoother scrolling on touch devices. */
.projects-carousel,
.partners-carousel {
  scroll-behavior: smooth;
}

/* Accessibility fallback. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   FIXES FOR WHY CHOOSE US / SERVICES / PIPELINE / CTA
   ========================================================= */

/* WHY CHOOSE US */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 60px;
  align-items: center;
}

.why-image {
  width: 100%;
  height: 500px;
  min-height: 500px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 32px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

/* SERVICES — fixed, equal-size cards */
/* SERVICES — fixed, equal-size cards */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch;
}

.services-grid > div {
  width: 350px !important;
  height: 300px !important;
  min-height: 140px !important;
  max-height: 650px !important;

  padding: 0 !important;
  margin: 0 !important;

  display: flex !important;
  /* align-items: center !important; */
  justify-content: center !important;

  /* text-align: center !important; */
  overflow: visible !important;
  transform-style: flat;
}

.services-grid > div img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;

  padding: 0 !important;
  margin: 0 !important;

  display: block !important;
  object-fit: cover !important;
}


/* SERVICE IMAGE POP EFFECT */

.services-grid {
  position: relative;
  overflow: visible !important;
}

.services-grid > .card-img {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;

  /* Prevent the whole card from moving */
  transform: none !important;
}

.services-grid > .card-img img {
  position: relative;
  z-index: 1;

  width: 100% !important;
  height: auto !important;

  display: block !important;
  object-fit: contain !important;

  transition: transform 0.35s ease !important;
  transform-origin: center center !important;
}

/* HOVER */
.services-grid > .card-img:hover {
  z-index: 1000 !important;
  transform: none !important;
}

.services-grid > .card-img:hover img {
  transform: scale(1.25) !important;
  z-index: 1000 !important;
}
.services-grid > div.card-img {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 140, 26, 0.45);
  border-radius: 24px;
  overflow: visible !important;
  transition: border-color 0.3s ease;
}

.services-grid > div.card-img img {
  border-radius: 23px;
}

.services-grid > div.card-img:hover {
  z-index: 1000;
  border-color: var(--accent);
}

/* CTA — keep heading above the pseudo-element and fully visible */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cta::before {
  z-index: -1;
}

.cta h2 {
  position: relative;
  z-index: 3;
  display: block;
  visibility: visible;
  color: var(--text) !important;
  opacity: 1;
}

.cta button {
  position: relative;
  z-index: 3;
}

/* Do not let generic image animation accidentally collapse images. */
.reveal-section img {
  visibility: visible;
}

/* Responsive fixes */
@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
.split {
    grid-template-columns: 1fr;
  }

  .why-image {
    height: 460px;
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .services-grid > div {
    height: 130px !important;
    min-height: 130px !important;
    max-height: 130px !important;
  }
.why-image {
    height: 350px;
    min-height: 350px;
  }
}


/* The image in Why Choose Us stays completely static. */
.why-image {
  transform: none !important;
  animation: none !important;
  transition: none !important;
  will-change: auto !important;
}
.auto-carousel {
  width: 100%;
  overflow: hidden;
  padding: 70px 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 32px;
  border: 1px solid rgba(255, 140, 26, 0.12);
}

.auto-carousel-track {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: autocarouselMove 10s linear infinite;
}

.auto-carousel-item {
  width: 220px;
  min-width: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.auto-carousel-item h3 {
  font-size: 3rem;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.auto-carousel-item span {
  color: var(--muted);
  font-size: 1rem;
}

/* Infinite movement */
@keyframes autocarouselMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 40px));
  }
}
.auto-carousel:hover .auto-carousel-track {
  animation-play-state: paused;
}


.mouse-glow {
  position: fixed;

  width: 300px;
  height: 300px;

  left: 0;
  top: 0;

  margin-left: -150px;
  margin-top: -150px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 140, 26, 0.14) 0%,
    rgba(255, 140, 26, 0.06) 35%,
    transparent 70%
  );

  filter: blur(10px);

  pointer-events: none;
  z-index: 9999;
}

/* =========================================
   CLEAN ANIMATION PIPELINE
========================================= */
/* =========================================================
   ANIMATION PIPELINE
========================================================= */

.pipeline-timeline {
  position: relative;

  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr);

  align-items: center;

  gap: 10px;

  padding: 30px 0;
}




/* -----------------------------------------
   MOVING GLOW
----------------------------------------- */

.pipeline-timeline::after {
  content: "";

  position: absolute;

  left: var(--pipeline-x, 0%);

  top: 50%;

  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: var(--accent);

  transform: translate(-50%, -50%);

  box-shadow:
    0 0 8px var(--accent),
    0 0 18px var(--accent),
    0 0 35px rgba(255, 140, 26, 0.45);

  z-index: 10;

  pointer-events: none;
}


/* -----------------------------------------
   CARDS
----------------------------------------- */

.pipeline-step {
  position: relative;

  z-index: 2;

  width: 100%;
  height: 70px;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 10px;

  border-radius: 18px;

  background:
    linear-gradient(
      180deg,
      #1a1a1a,
      #121212
    );

  border: 1px solid rgba(255, 140, 26, 0.14);

  color: var(--text);

  font-size: 0.85rem;

  font-weight: 600;

  text-align: center;

  white-space: nowrap;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}


/* -----------------------------------------
   ACTIVE CARD
----------------------------------------- */

.pipeline-step.pipeline-active {
  transform: translateY(-5px);

  border-color: var(--accent);

  background:
    linear-gradient(
      180deg,
      rgba(255, 140, 26, 0.15),
      rgba(255, 140, 26, 0.05)
    );

  box-shadow:
    0 0 12px rgba(255, 140, 26, 0.35),
    0 0 30px rgba(255, 140, 26, 0.12);
}


/* -----------------------------------------
   ARROWS
----------------------------------------- */

.pipeline-arrow {
  position: relative;

  z-index: 3;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  color: var(--accent);

  font-size: 1.1rem;

  font-weight: 700;

  line-height: 1;

  pointer-events: none;
}


/* -----------------------------------------
   MOBILE
----------------------------------------- */

@media (max-width: 900px) {

  .pipeline-timeline {

    grid-template-columns:
      1fr
      1fr;

    gap: 14px;

  }

  .pipeline-timeline::before,
  .pipeline-timeline::after {

    display: none;

  }

  .pipeline-arrow {

    display: none;

  }

}


/* -----------------------------------------
   SMALL MOBILE
----------------------------------------- */

@media (max-width: 520px) {

  .pipeline-timeline {

    grid-template-columns: 1fr;

  }

  .pipeline-step {

    height: 60px;

  }

}

/* =========================================================
   PIPELINE — CLEAN FINAL VERSION
   ========================================================= */

.pipeline-timeline {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) 24px
    minmax(0, 1fr) 24px
    minmax(0, 1fr) 24px
    minmax(0, 1fr) 24px
    minmax(0, 1fr) 24px
    minmax(0, 1fr) 24px
    minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 30px 0;
  overflow: visible;
}

/* Base line */
.pipeline-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255, 140, 26, 0.12);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

/* Moving glowing dot */
.pipeline-timeline::after {
  content: "";
  position: absolute;
  left: var(--pipeline-x, 0%);
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 8px var(--accent),
    0 0 18px var(--accent),
    0 0 35px rgba(255, 140, 26, 0.45);
  z-index: 10;
  pointer-events: none;
}

/* Pipeline cards */
.pipeline-timeline .pipeline-step {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1a1a1a, #121212);
  border: 1px solid rgba(255, 140, 26, 0.14);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* Active pipeline card */
.pipeline-timeline .pipeline-step.pipeline-active {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: linear-gradient(
    180deg,
    rgba(255, 140, 26, 0.15),
    rgba(255, 140, 26, 0.05)
  );
  box-shadow:
    0 0 12px rgba(255, 140, 26, 0.35),
    0 0 30px rgba(255, 140, 26, 0.12);
}

/* Pipeline arrows */
.pipeline-timeline .pipeline-arrow {
  position: relative;
  z-index: 3;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* Tablet */
@media (max-width: 1120px) {
  .pipeline-timeline {
    grid-template-columns:
      minmax(0, 1fr) 20px
      minmax(0, 1fr) 20px
      minmax(0, 1fr) 20px
      minmax(0, 1fr) 20px
      minmax(0, 1fr) 20px
      minmax(0, 1fr) 20px
      minmax(0, 1fr);
    gap: 6px;
  }

  .pipeline-timeline .pipeline-step {
    height: 64px;
    font-size: 0.78rem;
    padding: 8px 6px;
  }

  .pipeline-timeline .pipeline-arrow {
    width: 20px;
    font-size: 1rem;
  }
}

/* Mobile — turn the pipeline into a clean vertical flow */
@media (max-width: 900px) {
  .pipeline-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 0;
  }

  .pipeline-timeline::before,
  .pipeline-timeline::after {
    display: none;
  }

  .pipeline-timeline .pipeline-step {
    width: 100%;
    height: 60px;
  }

  .pipeline-timeline .pipeline-arrow {
    width: 100%;
    height: 20px;
    transform: rotate(90deg);
  }
}

/* Small mobile */
@media (max-width: 520px) {
  .pipeline-timeline {
    gap: 8px;
  }

  .pipeline-timeline .pipeline-step {
    height: 56px;
    font-size: 0.8rem;
  }
}
/* =========================================================
   PIPELINE - WIDER CARDS / KEEP EVERYTHING ON ONE LINE
========================================================= */

.pipeline-timeline {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr) 12px
    minmax(0, 1fr) 12px
    minmax(0, 1fr) 12px
    minmax(0, 1fr) 12px
    minmax(0, 1fr) 12px
    minmax(0, 1fr) 12px
    minmax(0, 1fr) 12px
    minmax(0, 1fr);

  gap: 4px;

  align-items: center;

  padding: 30px 0;
}


/* Wider pipeline cards */

.pipeline-timeline .pipeline-step {
  width: 100%;
  min-width: 0;
  height: 75px;

  padding: 8px 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;

  font-size: 0.9rem;
}


/* Smaller arrows */

.pipeline-timeline .pipeline-arrow {
  width: 12px;
  height: 24px;

  font-size: 0.9rem;
}


/* Keep the line behind everything */

.pipeline-timeline::before {
  left: 0;
  right: 0;
}


/* At slightly smaller screens */

@media (max-width: 1120px) {

  .pipeline-timeline {
    grid-template-columns:
      minmax(0, 1fr) 10px
      minmax(0, 1fr) 10px
      minmax(0, 1fr) 10px
      minmax(0, 1fr) 10px
      minmax(0, 1fr) 10px
      minmax(0, 1fr) 10px
      minmax(0, 1fr) 10px
      minmax(0, 1fr);

    gap: 3px;
  }

  .pipeline-timeline .pipeline-step {
    height: 70px;
    font-size: 0.78rem;
  }

  .pipeline-timeline .pipeline-arrow {
    width: 10px;
    font-size: 0.75rem;
  }
}


/* =========================================================
   MOBILE FIXES
   ========================================================= */

@media (max-width: 900px) {

  /* =========================================
     ANIMATION SERVICES
     ========================================= */

  .services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .services-grid > div {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    aspect-ratio: 3 / 4;

    padding: 0 !important;
    margin: 0 !important;

    overflow: hidden !important;

    border-radius: 18px;
  }

  .services-grid > div img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    display: block !important;
  }

  /* Don't let hover enlargement break the phone layout */
  .services-grid > .card-img:hover img {
    transform: none !important;
  }


  /* =========================================
     ANIMATION PIPELINE
     ========================================= */

  .pipeline-timeline {
    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: stretch !important;

    gap: 0 !important;

    padding: 10px 0 !important;

    position: relative;
  }

  /* Vertical line */
  .pipeline-timeline::before {
    display: block !important;

    left: 50% !important;
    right: auto !important;

    top: 0 !important;
    bottom: 0 !important;

    width: 2px !important;
    height: auto !important;

    transform: translateX(-50%) !important;
  }

  /* Moving glow follows the vertical line */
  .pipeline-timeline::after {
    display: block !important;

    left: 50% !important;
    top: var(--pipeline-y, 0%) !important;

    width: 11px !important;
    height: 11px !important;

    transform: translate(-50%, -50%) !important;
  }


  /* =========================================
     PIPELINE CARDS
     ========================================= */

  .pipeline-timeline .pipeline-step {
    width: 100% !important;

    height: 65px !important;
    min-height: 65px !important;

    flex: none !important;

    padding: 10px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 0.9rem !important;

    white-space: nowrap !important;

    border-radius: 16px !important;

    position: relative;

    z-index: 2;
  }


  /* =========================================
     DOWNWARD ARROWS
     ========================================= */

  .pipeline-timeline .pipeline-arrow {
    width: 100% !important;
    height: 38px !important;

    flex: none !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    font-size: 1.2rem !important;

    color: var(--accent);

    position: relative;

    z-index: 3;

    /* → becomes ↓ */
    transform: rotate(90deg) !important;
  }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 520px) {

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .services-grid > div {
    aspect-ratio: 3 / 4;
    border-radius: 15px;
  }

  .pipeline-timeline .pipeline-step {
    height: 60px !important;
    min-height: 60px !important;

    font-size: 0.82rem !important;

    border-radius: 14px !important;
  }

  .pipeline-timeline .pipeline-arrow {
    height: 32px !important;
    font-size: 1rem !important;
  }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .services-grid > div {
    aspect-ratio: 4 / 5;
  }

}

/* =========================================================
   PROJECT CAROUSEL — FINAL POLISH
   ========================================================= */

/* YouTube thumbnails keep their natural 16:9 shape. */
.projects-carousel .project-thumbnail {
  aspect-ratio: 16 / 9;
  height: auto !important;
  flex: 0 0 auto;
}

.projects-carousel .project-meta .stat-icon {
  font-family: "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  color: var(--accent);
}

/* The drag cursor belongs to the DRAG handle only. */
.projects-is-dragging,
.projects-is-dragging * {
  cursor: grabbing !important;
}

/* ---------------------------------------------------------
   NO FLASH BEFORE GSAP STARTS
   --------------------------------------------------------- */

html.js.gsap-ready .gsap-nav,
html.js.gsap-ready .gsap-nav-links li,
html.js.gsap-ready .gsap-nav-cta,
html.js.gsap-ready .gsap-hero-tag,
html.js.gsap-ready .gsap-hero-title,
html.js.gsap-ready .hero-content .left > p:not(.tag),
html.js.gsap-ready .gsap-hero-actions > * {
  opacity: 0;
}

html.js.gsap-ready .reveal-section h2,
html.js.gsap-ready .reveal-section .tag,
html.js.gsap-ready .reveal-section > p,
html.js.gsap-ready .reveal-section .about-text,
html.js.gsap-ready .reveal-section > div:not(.projects-carousel-wrapper) > p {
  opacity: 0;
}

/* Keep the carousel itself visible immediately. */
html.js.gsap-ready #projectsCarousel,
html.js.gsap-ready .projects-carousel-wrapper,
html.js.gsap-ready 
/* On reduced motion, never hide content. */
html.js.gsap-ready html,
html.js.gsap-ready body {
  visibility: visible;
}


/* =========================================================
   PROJECT CAROUSEL — FLOATING DRAG HANDLE
   FINAL / SINGLE SOURCE OF TRUTH
   ========================================================= */

.projects-carousel-wrapper {
  position: relative;
}

.projects-drag {
  position: absolute;

  left: 0;
  top: 0;

  bottom: auto;

  width: 72px;
  height: 72px;

  border-radius: 50%;

  border: 1px solid rgba(255, 140, 26, 0.6);

  background: #ff8c1a;
  color: #111;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: grab;

  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: none;

  will-change: transform;

  box-shadow:
    0 10px 35px rgba(255, 140, 26, 0.25);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.15s ease;
}

.projects-drag.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.projects-drag.is-dragging {
  cursor: grabbing;
  transform: scale(0.92);
}

.projects-drag:hover {
  color: #fff;

  border-color: rgba(255, 140, 26, 0.78);

  background: rgba(255, 140, 26, 0.12);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(255, 140, 26, 0.20);
}

.projects-drag.is-dragging {
  cursor: grabbing;

  color: #111;

  background: var(--accent);

  border-color: var(--accent);

  box-shadow:
    0 0 32px rgba(255, 140, 26, 0.34);
}

@media (max-width: 900px) {
  .projects-drag {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 600px) {
  .projects-drag {
    width: 54px;
    height: 54px;
    font-size: 0.54rem;
  }
}

@media (max-width: 400px) {
  .projects-drag {
    width: 48px;
    height: 48px;
    font-size: 0.48rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-left: 12px;
  }
}

/* hide the drag button on the ipad and phone */
@media (max-width: 900px) {
  .projects-drag {
    display: none !important;
  }
}
.projects-carousel {
  touch-action: pan-y;
}
/* =========================================
   FULL-WIDTH PARTNERS CAROUSEL
   ========================================= */

.partners-carousel-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);

  overflow: hidden;

  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  padding: 20px 0;
}

/* Moving track */
.partners-carousel-wrapper .auto-carousel-track {
  display: flex;
  width: max-content;
  gap: 24px;

  border: none !important;
}

/* Partner cards */
.partners-carousel-wrapper .partner-card {
  flex: 0 0 260px;

  width: 260px;
  min-width: 260px;
  height: 170px;

  border: none !important;
  border-radius: 0 !important;

  background: transparent !important;
  box-shadow: none !important;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Partner logos */
.partners-carousel-wrapper .partner-card img {
  max-width: 180px;
  max-height: 90px;
  width: auto;
  height: auto;

  object-fit: contain;
}
/* =========================================
   PARTNERS INSIDE HERO
   ========================================= */

.hero-partners {
  width: 100%;
  flex-shrink: 0;

  padding: 0 0 25px;
}

/* Heading */
.hero-partners .partners-top {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 10px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-partners .partners-top h2 {
  margin-bottom: 5px;
}

.hero-partners .partners-top p {
  margin: 0;
}

/* Full width moving carousel */
.hero-partners .partners-carousel-wrapper {
  width: 100vw;
  margin-left: calc(50% - 50vw);

  overflow: hidden;

  padding: 10px 0;

  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Moving track */
.hero-partners .auto-carousel-track {
  display: flex;
  width: max-content;
  gap: 40px;

  animation: autocarouselMove 10s linear infinite;
}

/* Individual logo */
.hero-partners .partner-card {
  flex: 0 0 180px;
  width: 180px;
  min-width: 180px;
  height: 90px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hero-partners .partner-card img {
  max-width: 140px;
  max-height: 65px;

  width: auto;
  height: auto;

  object-fit: contain;
}

/* Don't move cards individually */
.hero-partners .partner-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
.image-card {
    position: relative;
    width: 600px;
    height: 400px;
    border-radius: 24px;
    padding: 3px;

    background: linear-gradient(
        135deg,
        #ff8c1a,
        transparent 35%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 65%,
        #ff8c1a
    );

    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* Inner dark layer */
.image-card::before {
    content: "";
    position: absolute;
    inset: 3px;
    background: #111;
    border-radius: 21px;
    z-index: 0;
}

.image-card img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 21px;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

/* POPUP */
.image-card:hover {
    transform: translateY(-18px) scale(1.04);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(255, 140, 26, 0.25),
        0 0 70px rgba(255, 140, 26, 0.12);
}

.image-card:hover img {
    transform: scale(1.06);
    filter: brightness(1.08);
}
/* =========================================
  /* =========================================================
   SERVICES — ONE CONSISTENT CARD SIZE
   ========================================================= */

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
}

/* CARD */
.services-grid > .card-img {
    width: 100% !important;
    height: 360px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(255, 140, 26, 0.45);
    border-radius: 24px;

    background: #111;
}

/* IMAGE AREA */
.services-grid > .card-img > img {
    width: 100% !important;
    height: 260px !important;

    flex: 0 0 260px !important;

    display: block !important;

    object-fit: cover !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;

    max-width: none !important;
    max-height: none !important;

    border-radius: 23px 23px 0 0 !important;

    transform: none !important;
}

/* TITLE */
.services-grid > .card-img > h3 {
    width: 100% !important;
    height: 20px !important;
    min-height: 70px !important;

    flex: 0 0 70px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 10px !important;

    color: #ff8c1a !important;

    font-size: 1.05rem !important;
    font-weight: 700 !important;

    text-align: center !important;
}

/* DESCRIPTION IF PRESENT */
.services-grid > .card-img > p {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 15px 20px !important;

    color: var(--muted) !important;

    font-size: 0.9rem !important;
    line-height: 1.5 !important;

    text-align: center !important;
}

/* HOVER */
.services-grid > .card-img:hover {
    transform: translateY(-8px) !important;
    z-index: 10 !important;

    border-color: #ff8c1a !important;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 140, 26, 0.2);
}

.services-grid > .card-img:hover > img {
    transform: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1120px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .services-grid > .card-img {
        height: 350px !important;
    }

    .services-grid > .card-img > img {
        height: 250px !important;
        flex-basis: 250px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .services-grid > .card-img {
        height: 260px !important;
        border-radius: 16px !important;
    }

    .services-grid > .card-img > img {
        height: 200px !important;
        flex-basis: 200px !important;

        border-radius: 15px 15px 0 0 !important;
    }

    .services-grid > .card-img > h3 {
        height: 60px !important;
        min-height: 60px !important;
        flex-basis: 60px !important;

        font-size: 0.85rem !important;
        padding: 6px !important;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .services-grid > .card-img {
        height: 330px !important;
    }

    .services-grid > .card-img > img {
        height: 260px !important;
        flex-basis: 260px !important;
    }

    .services-grid > .card-img > h3 {
        height: 70px !important;
        flex-basis: 70px !important;
    }
}
@media (max-width: 720px) {
  img[src*="tems.png"] {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    display: block;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* =========================================
   FINAL MOBILE OVERFLOW FIX
   ========================================= */

@media (max-width: 720px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* Normal images */
    img {
        max-width: 100% !important;
    }

    /* Services */
    .services-grid {
        width: 100% !important;
        max-width: 100% !important;
    }

    .services-grid > div {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Image card */
    .image-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .image-card img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Full-width carousels */
    .projects-carousel-wrapper,
    .partners-carousel-wrapper,
    .hero-partners .partners-carousel-wrapper {
        max-width: 100vw !important;
        overflow: hidden !important;
    }

}
@media (max-width: 720px) {
    .services-grid > .card-img > p {
        display: none !important;
    }

    .services-grid > .card-img {
        height: 220px !important;
    }

    .services-grid > .card-img > img {
        height: 160px !important;
        flex-basis: 160px !important;
    }

    .services-grid > .card-img > h3 {
        height: 60px !important;
        min-height: 60px !important;
        flex-basis: 60px !important;
    }
}
@media (max-width: 720px) {

  .tech-section .logos {
    width: 100% !important;

    display: grid !important;

    grid-template-columns: repeat(2, 155px) !important;

    justify-content: center !important;
    align-items: center !important;

    gap: 18px !important;

    margin: 0 auto !important;
  }

  .tech-section .logos > div {
    width: 155px !important;
    height: 155px !important;

    margin: 0 !important;
  }

}
/* =====================================================
   ABOUT SECTION + IMAGE COLLAGE
===================================================== */

.about-section {
  width: 100%;
  max-width: 1400px;

  margin: 0 auto;

  padding: 120px 5%;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  align-items: center;

  gap: 70px;
}


/* LEFT CONTENT */

.about-content {
  max-width: 650px;
}


/* =====================================================
   COLLAGE
===================================================== */

.about-collage {
  position: relative;

  width: 100%;
  max-width: 700px;

  height: 560px;

  margin-left: auto;
}


/* EACH PHOTO */

.about-photo {
  position: absolute;

  overflow: hidden;

  border-radius: 18px;

  background: #111;

  border: 2px solid rgba(255, 140, 26, 0.25);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35);

  opacity: 0;

  transform: scale(0.65);

  will-change: transform, opacity;


      transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s ease;
}


/* IMAGE */

.about-photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit:cover;
}


/* =====================================================
   COLLAGE POSITIONS
===================================================== */


/* BIG IMAGE — LEFT */

.photo-1 {
  width: 350px;
  height: 200px;

  left: 0;
  top: 80px;

  transform: rotate(-5deg) scale(0.65);

  z-index: 2;
}


/* TOP CENTER */

.photo-2 {
  width: 230px;
  height: 170px;

  left: 230px;
  top: 0;

  transform: rotate(3deg) scale(0.65);

  z-index: 4;
}


/* TOP RIGHT */

.photo-3 {
  width: 300px;
  height: 170px;

  right: 0;
  top: 70px;

  transform: rotate(6deg) scale(0.65);

  z-index: 3;
}


/* MIDDLE */

.photo-4 {
  width: 250px;
  height: 190px;

  left: 180px;
  top: 190px;

  transform: rotate(-2deg) scale(0.65);

  z-index: 7;
}


/* RIGHT MIDDLE */

.photo-5 {
  width: 270px;
  height: 190px;

  right: 10px;
  top: 250px;

  transform: rotate(4deg) scale(0.65);

  z-index: 5;
}


/* BOTTOM LEFT */

.photo-6 {
  width: 220px;
  height: 200px;

  left: 20px;
  bottom: 10px;

  transform: rotate(4deg) scale(0.65);

  z-index: 4;
}


/* BOTTOM CENTER */

.photo-7 {
  width: 230px;
  height: 180px;

  left: 260px;
  bottom: 0;

  transform: rotate(-4deg) scale(0.65);
   

  z-index: 6;
}
.photo-7 img{
 width: 130%;
    height: 110%;
    object-fit: cover;
    object-position: 30% center;
}


/* HOVER */

/* HOVER - bring selected image completely to front */
.about-collage .about-photo:hover {
  transform: scale(1.5) rotate(0deg) !important;
  z-index: 999 !important;

  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 140, 26, 0.2);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 1120px) {

  .about-section {
    grid-template-columns: 1fr;

    gap: 70px;
  }

  .about-content {
    max-width: 800px;
  }

  .about-collage {
    margin: 0 auto;

    width: 100%;
    max-width: 700px;
  }
}


@media (max-width: 720px) {

  .about-section {
    padding: 80px 5%;

    gap: 40px;
  }

  .about-section h2 {
    font-size: 48px;
  }

  .about-collage {

    width: 100%;

    height: 430px;

    max-width: 500px;

    margin: 0 auto;
  }


  /* smaller photos */

  .photo-1 {
    width: 180px;
    height: 135px;

    left: 0;
    top: 60px;
  }

  .photo-2 {
    width: 160px;
    height: 120px;

    left: 120px;
    top: 0;
  }

  .photo-3 {
    width: 160px;
    height: 120px;

    right: 0;
    top: 50px;
  }

  .photo-4 {
    width: 180px;
    height: 135px;

    left: 100px;
    top: 135px;
  }

  .photo-5 {
    width: 160px;
    height: 135px;

    right: 0;
    top: 190px;
  }

  .photo-6 {
    width: 160px;
    height: 120px;

    left: 0;
    bottom: 10px;
  }

  .photo-7 {
    width: 180px;
    height: 130px;

    left: 150px;
    bottom: 0;
  }
}


@media (max-width: 480px) {

  .about-collage {
    height: 360px;
  }

  .photo-1 {
    width: 145px;
    height: 110px;

    left: 0;
    top: 50px;
  }

  .photo-2 {
    width: 135px;
    height: 100px;

    left: 90px;
    top: 0;
  }

  .photo-3 {
    width: 135px;
    height: 100px;

    right: 0;
    top: 45px;
  }

  .photo-4 {
    width: 150px;
    height: 110px;

    left: 75px;
    top: 110px;
  }

  .photo-5 {
    width: 135px;
    height: 110px;

    right: 0;
    top: 155px;
  }

  .photo-6 {
    width: 135px;
    height: 100px;

    left: 0;
    bottom: 5px;
  }

  .photo-7 {
    width: 150px;
    height: 105px;

    left: 105px;
    bottom: 0;
  }

}
.showreel-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
  opacity: 1;

  border: none;

  pointer-events: none;
}
.footer-services {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-services a {
  display: block;
}
/* =========================================
   ANIMATION SERVICES — 3 CARDS PER ROW
   ========================================= */

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
}

.services-grid > .card-img {
    width: 100% !important;
}
@media (min-width: 901px) {
  .pipeline-timeline::after {
    display: block !important;

    left: var(--pipeline-x, 0%) !important;
    top: 50% !important;

    width: 12px !important;
    height: 12px !important;

    transform: translate(-50%, -50%) !important;

    background: var(--accent) !important;

    border-radius: 50% !important;

    z-index: 100 !important;

    box-shadow:
      0 0 8px var(--accent),
      0 0 18px var(--accent),
      0 0 35px rgba(255, 140, 26, 0.45) !important;
  }
}

/* FINAL PARTNER LOGO SIZE */
.partners-carousel-wrapper .partner-card img {
    width: auto !important;
    height: 55px !important;
    max-width: 120px !important;
    max-height: 55px !important;
    object-fit: contain !important;
}
/* Stop Premium Showreel play button animation */
.showreel-section .play {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
}
   /* =====================================================
   HERO TRUSTED PARTNERS
   ===================================================== */

.hero-partners {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  padding: 0 0 20px;

  z-index: 10;
}


/* Heading */
.hero-partners .partners-top {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 8px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}


/* Carousel */
.hero-partners .partners-carousel-wrapper {
  width: 100vw;
  margin-left: calc(50% - 50vw);

  overflow: hidden;

  padding: 5px 0;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* Moving row */
.hero-partners .auto-carousel-track {
  display: flex;
  width: max-content;

  gap: 40px;

  animation: autocarouselMove 10s linear infinite;
}


/* Individual partner */
/* =========================================================
   HERO — TRUSTED PARTNERS
   ========================================================= */

.hero-partners {
    width: 100%;
    flex-shrink: 0;
    padding: 0 0 20px;
    position: relative;
    z-index: 10;
}

/* Heading */
.hero-partners .partners-top {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 8px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.hero-partners .partners-top h2 {
    margin-bottom: 5px;
}

.hero-partners .partners-top p {
    margin: 0;
}


/* =========================================================
   FULL-WIDTH CAROUSEL
   ========================================================= */

.hero-partners .partners-carousel-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);

    overflow: hidden;

    padding: 10px 0;

    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* Moving track */
.hero-partners .auto-carousel-track {
    display: flex;
    width: max-content;

    gap: 40px;

    animation: autocarouselMove 10s linear infinite;
}


/* =========================================================
   GLASS PARTNER CARD
   ========================================================= */

.hero-partners .partner-card {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* More transparent glass */
    background: rgba(255, 255, 255, 0.04) !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;

    /* Much less blur */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);

    overflow: hidden;
}


/* =========================================================
   PARTNER LOGO
   ========================================================= */

.hero-partners .partner-card img {
    width: auto;
    height: auto;

    max-width: 135px;
    max-height: 55px;

    object-fit: contain;

    background: transparent !important;

    opacity: 0.9;
}


/* Don't animate individual cards */
.hero-partners .partner-card:hover {
    transform: none !important;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .hero-partners {
        padding-bottom: 12px;
    }

    .hero-partners .partners-top {
        width: 92%;
        margin-bottom: 5px;
    }

    .hero-partners .partners-top h2 {
        font-size: 1.1rem;
    }

    .hero-partners .partners-top p {
        display: none;
    }

    .hero-partners .auto-carousel-track {
        gap: 20px;
    }

    .hero-partners .partner-card {
        flex: 0 0 145px;

        width: 145px;
        min-width: 145px;
        height: 65px;

        border-radius: 12px !important;
    }

    .hero-partners .partner-card img {
        max-width: 110px;
        max-height: 42px;
    }
}


/* Don't move individual cards */
.hero-partners .partner-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* REMOVE PIPELINE ACTIVE HIGHLIGHT */

.pipeline-timeline .pipeline-step.pipeline-active {
    transform: none !important;
    border-color: var(--border) !important;
    background: linear-gradient(180deg, #1a1a1a, #131313) !important;
    box-shadow: none !important;
}
#showreel {
    position: relative;
}

#showreelVideo {
    pointer-events: auto;
}

#playShowreel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;

    width: 120px;
    height: 120px;

    border-radius: 50%;
    border: none;

    background: white;
    color: #111;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 3rem;
    cursor: pointer;

    z-index: 1000;

    pointer-events: auto;
}
