:root {
  --bg-dark: #0a0a0c;
  --text-main: #ffffff;
  --text-muted: #8a8a93;
  --border-color: rgba(255, 255, 255, 0.08);
  --accent: #da34ba;
  --accent-soft: rgba(139, 92, 246, 0.18);
}

html {
  scroll-behavior: smooth;
}

@keyframes scrollLeft {
  100% {
    transform: translateX(-50%);
  }
}

.logo-marquee {
  animation: scrollLeft 35s linear infinite;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-syne {
  font-family: 'Space Grotesk', sans-serif;
}

.bg-grid {
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: center top;
}

/* ===== Hero Video Background ===== */
.hero-video-section {
  position: relative;
  height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-video-section {
    height: 80vh;
  }
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.7) 100%);
  z-index: 1; */
}

.hero-video-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-video-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

}

.btn-outline {
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  background: white;
  /* white background for all buttons */
  color: var(--bg-dark);
  /* dark text for contrast */
}

.btn-outline:not(.hidden) {
  display: inline-flex;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-solid {
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  background: var(--text-main);
  color: var(--bg-dark);
}

.btn-solid:not(.hidden) {
  display: inline-flex;
}

.btn-solid:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

#header nav a:hover,
footer a:hover {
  color: var(--accent) !important;
}

.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 1px;
  background-color: var(--text-muted);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-color);
}

.service-row {
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.service-row:hover {
  background: var(--accent-soft);
  border-color: rgba(139, 92, 246, 0.35);
}

.service-row .service-num {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row:hover .service-num {
  color: var(--accent);
  transform: scale(1.15);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.45);
}

.service-row:first-child {
  border-top: 1px solid var(--border-color);
}

/* Service Row Hover Image */
.service-hover-img {
  position: absolute;
  top: 50%;
  left: 78%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 240px;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.service-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row:hover .service-hover-img {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.service-row:hover .service-hover-img img {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .service-hover-img {
    display: none;
  }


}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;

}

.project-img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.9) 0%, rgba(10, 10, 12, 0) 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.filter-btn {
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

.service-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.01);
}

.service-card:hover {
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.35);
}

.job-row {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.01);
}

.job-row:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.35);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  color: white;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-bottom-color: white;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

#vmodal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.95);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

#vmodal.open {
  display: flex;
}

/* Scroll Reveal & Animation System */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-100 {
  transition-delay: 100ms;
}

.reveal-delay-200 {
  transition-delay: 200ms;
}

.reveal-delay-300 {
  transition-delay: 300ms;
}

.reveal-delay-400 {
  transition-delay: 400ms;
}

.reveal-delay-500 {
  transition-delay: 500ms;
}

/* Enhance card hovers with slight glow */
.service-card,
.project-card,
.job-row,
article.group {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover,
.job-row:hover,
article.group:hover {
  box-shadow: 0 15px 40px -15px rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.35) !important;
}

/* ===== Sticky Card Stacking System - Full Width ===== */
.stack-cards-container {
  padding-bottom: 2rem;
}

.stack-card {
  display: block;
  position: sticky;
  top: 80px;
  margin-bottom: 0;
  text-decoration: none;
  color: inherit;
  z-index: calc(var(--card-index) + 1);
  will-change: transform;
}

/* Full-width image card */
.stack-card-fullwidth {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stack-card-fullwidth {
    height: 80vh;
    min-height: 500px;
    max-height: 750px;
  }
}

/* Background image */
.stack-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s ease;
}

.stack-card:hover .stack-card-bg {
  transform: scale(1.05);
}

/* Gradient overlay */
.stack-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

/* Title + Year container */
.stack-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .stack-card-text {
    padding: 3rem 4rem;
  }
}

/* Big bold heading */
.stack-card-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .stack-card-heading {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .stack-card-heading {
    font-size: 5rem;
  }
}

/* Year text */
.stack-card-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  opacity: 0.9;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  line-height: 1;
}

@media (min-width: 768px) {
  .stack-card-year {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .stack-card-year {
    font-size: 7rem;
  }
}

/* Category pill - top left */
.stack-card-category {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .stack-card-category {
    top: 2.5rem;
    left: 4rem;
  }
}

.stack-card:hover .stack-card-category {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ===== Testimonials: Sticky BG + Scrolling Cards ===== */
.testimonials-sticky-section {
  position: relative;
  min-height: 100vh;
}

/* Sticky background layer */
.testimonials-sticky-bg {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f2ee;
  z-index: 0;
  overflow: hidden;
}

.testimonials-bg-inner {
  text-align: center;
  padding: 2rem;
}

.testimonials-big-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10vw;
  font-weight: 900;
  color: #0a0a0c;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-top: 1.5rem;
  user-select: none;
}

@media (min-width: 1024px) {
  .testimonials-big-title {
    font-size: 9vw;
  }
}

/* Scroll track — sits on top of the sticky bg */
.testimonials-scroll-track {
  position: relative;
  z-index: 10;
  margin-top: -100vh;
  padding: 6rem 0 6rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-left: 5vw;
  padding-right: 5vw;
}

/* Alternate cards left and right */
.testi-card:nth-child(odd) {
  align-self: flex-start;
  margin-right: auto;
}

.testi-card:nth-child(even) {
  align-self: flex-end;
  margin-left: auto;
}

/* White testimonial card */
.testi-card {
  background: #ffffff;
  color: #0a0a0c;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

@media (min-width: 767px) {
  .testi-card {
    width: 45%;
    max-width: 520px;
    padding: 2.5rem 3rem;
  }
}

.testi-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e5e5;
}

.testi-company {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  letter-spacing: -0.02em;
}

.testi-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .testi-quote {
    font-size: 1.15rem;
  }
}

.testi-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testi-author strong {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a0a0c;
}

.testi-author span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: #888;
}

/* Privacy policy page */

    body.privacy-page {
      font-family: 'Outfit', sans-serif;
      background: #fdfafc;
      color: #0f172a;
    }
    .privacy-page :is(h1, h2, h3, h4, h5, h6), .privacy-page .heading-font {
      font-family: 'Space Grotesk', sans-serif;
    }

    /* 3D Hero Banner */
    .hero-3d {
      background: linear-gradient(135deg, #130225 0%, #1e0440 40%, #3e0798 80%, #da34ba 100%);
      position: relative;
      overflow: hidden;
    }
    .hero-3d::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    /* Floating 3D Orbs */
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      pointer-events: none;
    }
    .orb-1 {
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(218,52,186,0.35) 0%, transparent 70%);
      top: -80px; right: -60px;
      animation: float1 6s ease-in-out infinite;
    }
    .orb-2 {
      width: 200px; height: 200px;
      background: radial-gradient(circle, rgba(62,7,152,0.5) 0%, transparent 70%);
      bottom: -40px; left: 10%;
      animation: float2 8s ease-in-out infinite;
    }
    @keyframes float1 {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-20px) scale(1.05); }
    }
    @keyframes float2 {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(15px) scale(0.95); }
    }

    /* 3D Card Effect */
    .privacy-page .card-3d {
      background: #ffffff;
      border-radius: 24px;
      box-shadow:
        0 2px 4px rgba(62,7,152,0.04),
        0 8px 16px rgba(62,7,152,0.06),
        0 24px 48px rgba(62,7,152,0.08),
        0 0 0 1px rgba(62,7,152,0.06);
      transform: perspective(1000px) rotateX(0deg);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .privacy-page .card-3d:hover {
      transform: perspective(1000px) rotateX(1deg) translateY(-4px);
      box-shadow:
        0 4px 8px rgba(62,7,152,0.06),
        0 16px 32px rgba(62,7,152,0.10),
        0 40px 60px rgba(62,7,152,0.12),
        0 0 0 1px rgba(62,7,152,0.08);
    }

    /* Section Number Badges */
    .section-number {
      background: linear-gradient(135deg, #3e0798, #da34ba);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-family: 'Space Grotesk', sans-serif;
      font-size: 3rem;
      font-weight: 900;
      line-height: 1;
      opacity: 0.12;
      position: absolute;
      top: 16px;
      right: 20px;
    }

    /* Policy Section Card */
    .policy-card {
      background: white;
      border-radius: 16px;
      border: 1px solid rgba(62,7,152,0.08);
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 2px 12px rgba(62,7,152,0.05);
    }
    .policy-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 4px; height: 100%;
      background: linear-gradient(180deg, #3e0798, #da34ba);
      border-radius: 4px 0 0 4px;
    }
    .policy-card:hover {
      border-color: rgba(62,7,152,0.18);
      box-shadow: 0 8px 32px rgba(62,7,152,0.10);
      transform: translateX(4px);
    }

    /* Icon Box 3D */
    .icon-box-3d {
      width: 48px; height: 48px;
      border-radius: 14px;
      background: linear-gradient(135deg, #3e0798, #da34ba);
      display: flex; align-items: center; justify-content: center;
      color: white;
      box-shadow: 0 4px 12px rgba(62,7,152,0.35), 0 1px 3px rgba(0,0,0,0.1);
      flex-shrink: 0;
    }

    /* Highlight Box */
    .highlight-box {
      background: linear-gradient(135deg, rgba(62,7,152,0.04) 0%, rgba(218,52,186,0.04) 100%);
      border: 1px solid rgba(62,7,152,0.12);
      border-radius: 16px;
    }

    /* List Item Custom */
    .custom-list li {
      padding: 8px 0;
      border-bottom: 1px solid rgba(62,7,152,0.06);
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: #4a5568;
    }
    .custom-list li:last-child {
      border-bottom: none;
    }
    .custom-list li::before {
      content: '';
      width: 8px; height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, #3e0798, #da34ba);
      margin-top: 7px;
      flex-shrink: 0;
    }

    /* Scroll Progress Bar */
    #scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 3px;
      background: linear-gradient(90deg, #3e0798, #da34ba);
      z-index: 9999;
      transition: width 0.1s ease;
    }

    /* Breadcrumb Glass */
    .breadcrumb-glass {
      background: rgba(255,255,255,0.10);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 999px;
      padding: 6px 16px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    /* TOC Sidebar */
    .toc-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 0.875rem;
      color: #6b7280;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      border: 1px solid transparent;
    }
    .toc-item:hover {
      background: rgba(62,7,152,0.06);
      color: #3e0798;
      border-color: rgba(62,7,152,0.12);
    }
    .toc-item.active {
      background: linear-gradient(135deg, rgba(62,7,152,0.08), rgba(218,52,186,0.06));
      color: #3e0798;
      font-weight: 600;
      border-color: rgba(62,7,152,0.15);
    }

    /* 3D Text Effect */
    .text-3d {
      text-shadow:
        0 1px 0 rgba(62,7,152,0.4),
        0 2px 0 rgba(62,7,152,0.3),
        0 3px 0 rgba(62,7,152,0.2),
        0 4px 0 rgba(62,7,152,0.1),
        0 5px 10px rgba(62,7,152,0.25);
    }

    /* Animate in on scroll */
    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
  
