/* Brandorth — Shared CSS (all pages) */

/* Glancyr: display/headline font (licensed) */
    @font-face {
      font-family: 'Glancyr';
      src: url('../assets/fonts/Glancyr Variable-VF.ttf') format('truetype');
      font-weight: 100 900;
      font-style: normal;
      font-display: swap;
    }
  


    /* =====================================================================
   CSS VARIABLES — BRAND TOKENS
   ===================================================================== */
    :root {
      --color-bg: #09090F;
      --color-bg-2: #0F0F1A;
      --color-bg-card: #111120;
      --color-purple: #7B5CF6;
      --color-purple-dim: #5B3FD6;
      --color-purple-glow: rgba(123, 92, 246, 0.18);
      --color-purple-soft: rgba(123, 92, 246, 0.08);
      --color-text: #F0EEF8;
      --color-muted: #8A87A8;
      --color-border: rgba(255, 255, 255, 0.07);
      --color-border-hover: rgba(123, 92, 246, 0.35);
      --heading-gradient: linear-gradient(128deg, #ffffff 6%, #eeeaff 32%, #c9bbff 62%, #8c7aff 100%);
      --accent-gradient: linear-gradient(90deg, #ffffff 0%, #d8ccff 28%, #9f85ff 58%, #83c5ff 100%);

      --font-display: 'Glancyr', sans-serif;
      --font-body: 'Manrope', sans-serif;
      --font-accent: 'Playfair Display', serif;

      --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    }

    /* =====================================================================
   RESET & BASE
   ===================================================================== */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--color-bg);
      color: var(--color-text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* =====================================================================
   SHARED TYPOGRAPHY
   ===================================================================== */
    .section {
      padding: 100px 48px;
    }

    .section-sm {
      padding: 72px 48px;
    }

    .container {
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
    }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-purple);
      margin-bottom: 16px;
    }

    .hero-title,
    .section-title {
      font-family: var(--font-display);
      font-weight: 640;
      letter-spacing: 0;
      color: var(--color-text);
      text-wrap: balance;
      overflow: visible;
    }

    .hero-title {
      font-size: clamp(44px, 7vw, 88px);
      line-height: 1.07;
      max-width: 920px;
      background: var(--heading-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 18px 32px rgba(42, 88, 170, 0.24))
              drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12));
    }

    .section-title {
      font-size: clamp(32px, 4vw, 54px);
      line-height: 1.12;
    }

    .hero-sub {
      margin-top: 24px;
      font-size: clamp(16px, 1.45vw, 18px);
      font-weight: 450;
      color: var(--color-muted);
      max-width: 620px;
      line-height: 1.72;
      text-wrap: pretty;
    }

    .hero-label,
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--color-border-hover);
      border-radius: 100px;
      padding: 6px 16px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-purple);
      margin-bottom: 28px;
      background: var(--color-purple-soft);
    }

    .hero-badge-dot {
      width: 6px;
      height: 6px;
      background: var(--color-purple);
      border-radius: 50%;
      animation: pulse-dot 2s infinite;
    }

    @keyframes pulse-dot {
      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: 0.5;
        transform: scale(1.5);
      }
    }

    .text-accent,
    .heading-accent,
    .accent-text,
    .gradient-text {
      font-family: var(--font-accent);
      font-style: italic;
      font-weight: 540;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      display: inline-block;
      line-height: 1.12;
      padding: 0.04em 0.14em 0.12em 0.02em;
      margin: -0.04em -0.1em -0.12em -0.02em;
      vertical-align: baseline;
      overflow: visible;
      filter: drop-shadow(0 10px 22px rgba(123, 92, 246, 0.18));
    }

    .section-title .heading-accent,
    .hero-title .heading-accent {
      line-height: 1.12;
    }

    .depth-gradient-heading {
      --depth-angle: 118deg;
      display: inline-block;
      background: linear-gradient(
        var(--depth-angle),
        #ffffff 0%,
        #f4f0ff 28%,
        #d9ceff 58%,
        #8f7cff 100%
      );
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      overflow: visible;
      filter: drop-shadow(0 14px 26px rgba(123, 92, 246, 0.16))
              drop-shadow(0 1px 0 rgba(255, 255, 255, 0.12));
    }

    .depth-gradient-heading--showreel { --depth-angle: 102deg; }
    .depth-gradient-heading--services { --depth-angle: 132deg; }
    .depth-gradient-heading--industries { --depth-angle: 74deg; }
    .depth-gradient-heading--portfolio { --depth-angle: 158deg; }
    .depth-gradient-heading--about { --depth-angle: 121deg; }
    .depth-gradient-heading--team { --depth-angle: 88deg; }
    .depth-gradient-heading--why { --depth-angle: 146deg; }
    .depth-gradient-heading--testimonials { --depth-angle: 66deg; }
    .depth-gradient-heading--faq { --depth-angle: 111deg; }
    .depth-gradient-heading--cta { --depth-angle: 169deg; }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
    }

    /* =====================================================================
   CUSTOM CURSOR
   ===================================================================== */
    .cursor-dot {
      width: 8px;
      height: 8px;
      background: var(--color-purple);
      border-radius: 50%;
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width 0.2s, height 0.2s, background 0.2s;
    }

    .cursor-ring {
      width: 32px;
      height: 32px;
      border: 1.5px solid rgba(123, 92, 246, 0.5);
      border-radius: 50%;
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: width 0.35s var(--ease-out-expo),
        height 0.35s var(--ease-out-expo),
        border-color 0.25s;
    }

    body.cursor-hover .cursor-dot {
      width: 12px;
      height: 12px;
    }

    body.cursor-hover .cursor-ring {
      width: 48px;
      height: 48px;
      border-color: var(--color-purple);
    }

    /* =====================================================================
   NOISE OVERLAY (subtle texture)
   ===================================================================== */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
      opacity: 0.03;
      pointer-events: none;
      z-index: 0;
    }

    /* Interactive Background Blob */
    #bg-blob {
      position: fixed;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle at center, rgba(123, 92, 246, 0.15) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
      z-index: -1;
      transform: translate(-50%, -50%);
      transition: width 0.3s, height 0.3s;
    }

    /* =====================================================================
   NAVBAR
   ===================================================================== */
    .nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 20px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: padding 0.4s var(--ease-out-expo),
        background 0.4s ease,
        backdrop-filter 0.4s ease,
        transform 0.4s var(--ease-out-expo);
    }

    .nav.scrolled {
      padding: 14px 48px;
      background: rgba(9, 9, 15, 0.72);
      backdrop-filter: blur(18px) saturate(160%);
      border-bottom: 1px solid var(--color-border);
    }

    .nav.hidden {
      transform: translateY(-100%);
    }

    .nav-logo img {
      height: 36px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--color-muted);
      transition: color 0.2s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      right: 0;
      height: 1px;
      background: var(--color-purple);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s var(--ease-out-expo);
    }

    .nav-links a:hover {
      color: var(--color-text);
    }

    .nav-links a:hover::after {
      transform: scaleX(1);
    }

    /* CTA Button — magnetic + liquid fill */
    .btn-primary {
      position: relative;
      overflow: hidden;
      padding: 10px 22px;
      border-radius: 8px;
      border: 1px solid var(--color-purple);
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 600;
      color: var(--color-text);
      cursor: pointer;
      background: transparent;
      transition: color 0.3s, border-color 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .btn-primary span {
      position: relative;
      z-index: 1;
    }

    /* -- Watery bottom-fill wave -- */
.btn-primary .btn-fill {
  position: absolute;
  bottom: 0;
  left: -25%;
  width: 150%;
  height: 220%;
  background: var(--color-purple);
  border-radius: 42% 58% 0 0 / 28% 28% 0 0;
  transform: translateY(101%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.btn-primary:hover .btn-fill {
  transform: translateY(18%);
  animation: water-wobble 2.2s ease-in-out infinite;
}

@keyframes water-wobble {
  0%,  100% { border-radius: 42% 58% 0 0 / 28% 28% 0 0; }
  33%        { border-radius: 58% 42% 0 0 / 22% 32% 0 0; }
  66%        { border-radius: 46% 54% 0 0 / 32% 22% 0 0; }
}


    .btn-large {
      padding: 16px 36px;
      font-size: 16px;
      border-radius: 10px;
    }

/* ---- shared from all pages ---- */

/* =====================================================================
   MARQUEE — infinite logo scroll
   ===================================================================== */
    .marquee-section {
      padding: 56px 0;
      overflow: hidden;
      position: relative;
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
    }

    /* Gradient fade edges */
    .marquee-section::before,
    .marquee-section::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      width: 180px;
      z-index: 2;
      pointer-events: none;
    }

    .marquee-section::before {
      left: 0;
      background: linear-gradient(to right, var(--color-bg), transparent);
    }

    .marquee-section::after {
      right: 0;
      background: linear-gradient(to left, var(--color-bg), transparent);
    }

    .marquee-track {
      display: flex;
      align-items: center;
      gap: 64px;
      width: max-content;
      animation: marquee-scroll 28s linear infinite;
    }

    .marquee-track:hover {
      animation-play-state: paused;
    }

    @keyframes marquee-scroll {
      from {
        transform: translateX(0);
      }

      to {
        transform: translateX(-50%);
      }
    }

    .marquee-track img {
      height: 32px;
      width: auto;
      opacity: 0.4;
      filter: grayscale(100%) brightness(1.8);
      transition: opacity 0.3s, filter 0.3s;
    }

    .marquee-track img:hover {
      opacity: 0.9;
      filter: grayscale(0%) brightness(1);
    }

/* =====================================================================
   VISION / MISSION
   ===================================================================== */
    .vm-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-top: 48px;
    }

    .vm-card {
      background: var(--color-bg-card);
      border: 1px solid var(--color-border);
      border-radius: 16px;
      padding: 40px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.35s var(--ease-out-expo);
    }

    .vm-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--color-purple-soft);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .vm-card:hover {
      border-color: var(--color-border-hover);
      transform: translateY(-4px);
    }

    .vm-card:hover::before {
      opacity: 1;
    }

    .vm-icon {
      width: 48px;
      height: 48px;
      background: var(--color-purple-soft);
      border: 1px solid var(--color-border-hover);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 22px;
    }

    .vm-card h3 {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-purple);
      margin-bottom: 12px;
    }

    .vm-card p {
      font-size: 17px;
      font-weight: 500;
      line-height: 1.6;
      color: var(--color-text);
    }

/* =====================================================================
   INDUSTRIES
   ===================================================================== */
    .industries-section {
      background: var(--color-bg-2);
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
    }

    .industries-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 48px;
    }

    .industry-tag {
      padding: 10px 20px;
      border: 1px solid var(--color-border);
      border-radius: 100px;
      font-size: 14px;
      font-weight: 500;
      color: var(--color-muted);
      cursor: default;
      transition: border-color 0.25s, color 0.25s,
        background 0.25s, transform 0.25s var(--ease-out-expo);
      opacity: 0;
      transform: translateY(20px) scale(0.95);
    }

    .industry-tag.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .industry-tag:hover {
      border-color: var(--color-purple);
      color: var(--color-purple);
      background: var(--color-purple-soft);
      transform: translateY(-2px) scale(1.02);
    }

/* =====================================================================
   PORTFOLIO STRIP
   ===================================================================== */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px;
    }

    .portfolio-card {
      position: relative;
      overflow: hidden;
      border-radius: 14px;
      border: 1px solid var(--color-border);
      aspect-ratio: 4/3;
      cursor: pointer;
      transform: translateY(64px);
      opacity: 0;
      transition: transform 0.7s var(--ease-out-expo),
        opacity 0.7s var(--ease-out-expo),
        border-color 0.3s;
    }

    .portfolio-card.visible {
      transform: translateY(0);
      opacity: 1;
    }

    .portfolio-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s var(--ease-out-expo);
    }

    .portfolio-card:hover img {
      transform: scale(1.06);
    }

    .portfolio-card:hover {
      border-color: var(--color-border-hover);
    }

    .portfolio-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(9, 9, 15, 0.85) 0%, transparent 60%);
      display: flex;
      align-items: flex-end;
      padding: 20px;
      opacity: 0;
      transition: opacity 0.3s;
    }

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

    .portfolio-card-overlay span {
      font-size: 14px;
      font-weight: 600;
      color: var(--color-text);
    }

/* =====================================================================
   ABOUT / TEAM
   ===================================================================== */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-img-wrap {
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--color-border);
      position: relative;
    }

    .about-img-wrap img {
      width: 100%;
      display: block;
    }

    .about-img-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, transparent 60%, rgba(123, 92, 246, 0.15));
      pointer-events: none;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 56px;
    }

    .team-card {
      text-align: center;
      transform: translateY(40px);
      opacity: 0;
      transition: transform 0.6s var(--ease-out-expo), opacity 0.6s;
    }

    .team-card.visible {
      transform: translateY(0);
      opacity: 1;
    }

    .team-card-img {
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid var(--color-border);
      margin-bottom: 14px;
      transition: border-color 0.3s, transform 0.35s var(--ease-out-expo);
    }

    .team-card:hover .team-card-img {
      border-color: var(--color-border-hover);
      transform: translateY(-4px);
    }

    .team-card-img img {
      width: 100%;
      display: block;
    }

    .team-card h4 {
      font-family: var(--font-body);
      font-size: 17px;
      font-weight: 600;
      margin-bottom: 4px;
      color: var(--color-text);
      line-height: 1.4;
    }

    .team-card p {
      font-size: 14px;
      color: #cbd5e1;
      line-height: 1.5;
    }

/* =====================================================================
   WHY CHOOSE US
   ===================================================================== */
    .why-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 72px;
      align-items: stretch;
    }

    .why-img {
      height: 100%;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--color-border);
    }

    .why-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .why-items {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .why-item {
      padding: 32px 0;
      border-bottom: 1px solid var(--color-border);
      display: flex;
      gap: 20px;
      opacity: 0;
      transform: translateX(-24px);
      transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
    }

    .why-item:first-child {
      padding-top: 0;
    }

    .why-item:last-of-type {
      border-bottom: none;
    }

    .why-item.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .why-num {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      color: var(--color-purple);
      min-width: 28px;
      padding-top: 4px;
    }

    .why-item h3 {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .why-item p {
      font-size: 15px;
      color: var(--color-muted);
      line-height: 1.7;
    }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
    .testimonials-section {
      background: var(--color-bg);
      padding: 100px 0;
    }

    .testimonials-container-card {
      background: #1a0b3c;
      /* Dark purple from about-us */
      border-radius: 40px;
      padding: 64px 64px 80px 64px;

      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 48px;
      align-items: center;
      position: relative;
      overflow: visible;
    }



    .testimonial-left {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .testimonial-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(123, 92, 246, 0.2);
      border: 1px solid rgba(123, 92, 246, 0.3);
      padding: 6px 16px;
      border-radius: 100px;
      font-size: 13px;
      font-weight: 600;
      color: #c4b5fd;
      width: fit-content;
    }

    .testimonial-left h2 {
      font-family: var(--font-display);
      font-size: 56px;
      font-weight: 640;
      line-height: 1.1;
      letter-spacing: 0;
      text-wrap: balance;
      margin: 0;
    }

    .testimonial-left h2 span:not(.heading-accent) {
      display: block;
      font-family: var(--font-accent);
      font-style: italic;
      font-weight: 540;
      background: inherit;
      -webkit-background-clip: inherit;
      background-clip: inherit;
      color: inherit;
      -webkit-text-fill-color: inherit;
    }

    .testimonial-left h2 .heading-accent {
      display: inline-block;
    }



    .testimonial-left p {
      font-size: 16px;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.7);
      max-width: 320px;
      margin: 0;
    }

    .trusted-by-text {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      margin-top: 12px;
    }

    /* Overlapping Avatars */
    .testimonial-avatars-row {
      display: flex;
      align-items: center;
      min-height: 60px;
    }

    .testimonial-avatar-circle {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: 3px solid #1a0b3c;
      margin-left: -18px;
      overflow: hidden;
      background: #2d1b5d;
    }

    .testimonial-avatar-circle:first-child {
      margin-left: 0;
    }

    .testimonial-avatar-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 32%;
      display: block;
    }

    .testimonial-avatar-plus {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: 3px solid #1a0b3c;
      margin-left: -18px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1a0b3c;
      font-weight: 800;
      font-size: 18px;
    }

    /* Right side: Cards */
    .testimonial-right {
      position: relative;
      min-width: 0;
      overflow: hidden;
      padding: 16px 0 72px;
    }

    .testimonial-right::before,
    .testimonial-right::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 72px;
      width: 88px;
      pointer-events: none;
      z-index: 4;
    }

    .testimonial-right::before {
      left: 0;
      background: linear-gradient(to right, #1a0b3c 0%, rgba(26, 11, 60, 0) 100%);
    }

    .testimonial-right::after {
      right: 0;
      background: linear-gradient(to left, #1a0b3c 0%, rgba(26, 11, 60, 0) 100%);
    }


    .testimonial-slider {
      display: flex;
      gap: 24px;
      width: max-content;
      overflow: visible;
      padding: 0;
      margin: 0;
      scrollbar-width: none; /* Hide scrollbar Firefox */
      will-change: transform;
      transform: translateX(var(--testimonial-offset, 0px));
      transition: transform 0.55s var(--ease-out-expo);
    }

    .testimonial-slider::-webkit-scrollbar {
      display: none; /* Hide scrollbar Chrome/Safari */
    }

    .testimonial-mini-card {
      flex: 0 0 360px;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(12px);
      border-radius: 24px;
      padding: 32px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, background 0.3s, box-shadow 0.3s;
      opacity: 1; /* Fixed visibility */
    }



    .testimonials-container-card.reveal-active .testimonial-mini-card {
      animation: slideInUp 0.8s var(--ease-out-expo) forwards;
    }

    /* Staggered animation for cards */
    .testimonial-mini-card:nth-child(2) { animation-delay: 0.1s; }
    .testimonial-mini-card:nth-child(3) { animation-delay: 0.2s; }
    .testimonial-mini-card:nth-child(4) { animation-delay: 0.3s; }

    @keyframes slideInUp {
      from { opacity: 0; transform: translateY(40px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .testimonial-nav-btns {
      display: flex;
      gap: 16px;
      margin-top: 8px;
      justify-content: flex-start;
      position: relative;
      z-index: 10;
    }




    .nav-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s var(--ease-out-expo);
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }

    .nav-btn:hover {
      background: #7b5cf6;
      border-color: #7b5cf6;
      transform: scale(1.1);
    }


    .testimonial-mini-card:hover {
      transform: translateY(-6px) scale(1.01);
      border-color: rgba(123, 92, 246, 0.4);
      background: rgba(255, 255, 255, 0.12);
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    }



    .mini-card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .mini-card-info h4 {
      font-size: 18px;
      color: #fff;
      margin: 0;
    }

    .mini-card-info p {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.5);
      margin: 4px 0 0;
    }

    .mini-card-initial {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #4c1d95;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
      font-size: 18px;
    }

    .mini-card-stars {
      display: flex;
      gap: 4px;
      color: #F4B942;
      font-size: 14px;
    }

    .mini-card-quote {
      font-size: 15px;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.8);
      margin: 0;
    }

    @media (max-width: 991px) {
      .testimonials-container-card {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 48px;
      }

      .testimonial-left {
        align-items: center;
        text-align: center;
      }

      .testimonial-left p {
        max-width: 100%;
      }

      .testimonial-left h2 {
        font-size: 42px;
      }
    }

/* =====================================================================
   FAQ
   ===================================================================== */
    .faq-list {
      margin-top: 48px;
    }

    .faq-item {
      border-bottom: 1px solid var(--color-border);
    }

    .faq-question {
      width: 100%;
      background: transparent;
      border: none;
      padding: 24px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      cursor: pointer;
      font-family: var(--font-body);
      font-size: 17px;
      font-weight: 600;
      color: var(--color-text);
      text-align: left;
      transition: color 0.2s;
    }

    .faq-question:hover {
      color: var(--color-purple);
    }

    .faq-icon {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border: 1px solid var(--color-border);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      color: var(--color-muted);
      transition: transform 0.3s var(--ease-out-expo),
        background 0.25s,
        border-color 0.25s,
        color 0.25s;
    }

    .faq-item.open .faq-icon {
      transform: rotate(45deg);
      background: var(--color-purple-soft);
      border-color: var(--color-purple);
      color: var(--color-purple);
    }

    .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
    }

    .faq-answer-inner {
      overflow: hidden;
      font-size: 15px;
      line-height: 1.8;
      color: var(--color-muted);
      max-width: 720px;
      padding-bottom: 0;
    }

    .faq-item.open .faq-answer {
      grid-template-rows: 1fr;
    }

    .faq-item.open .faq-answer-inner {
      padding-bottom: 24px;
    }

/* =====================================================================
   CTA BANNER
   ===================================================================== */
    .cta-section {
      padding: 80px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, rgba(123, 92, 246, 0.12) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    .cta-orbit-layer {
      position: absolute;
      inset: -20%;
      z-index: 0;
      opacity: 0.5;
      pointer-events: none;
      overflow: hidden;
    }

    .cta-orbit {
      position: absolute;
      top: 50%;
      left: 50%;
      width: var(--orbit-width);
      height: var(--orbit-height);
      border: 1px solid rgba(196, 181, 253, 0.14);
      border-radius: 50%;
      transform: translate(-50%, -50%) rotate(var(--orbit-angle, 0deg));
      animation: cta-particle-orbit var(--orbit-speed, 22s) linear infinite;
    }

    .cta-orbit::before,
    .cta-orbit::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 100%;
      width: var(--particle-size, 6px);
      height: var(--particle-size, 6px);
      border-radius: 50%;
      background: #c4b5fd;
      box-shadow:
        0 0 12px rgba(196, 181, 253, 0.85),
        0 0 28px rgba(123, 92, 246, 0.45);
      transform: translate(-50%, -50%);
    }

    .cta-orbit::after {
      left: 0;
      width: calc(var(--particle-size, 6px) * 0.7);
      height: calc(var(--particle-size, 6px) * 0.7);
      background: #7B5CF6;
      box-shadow:
        0 0 10px rgba(123, 92, 246, 0.75),
        0 0 24px rgba(123, 92, 246, 0.35);
    }

    .cta-orbit:nth-child(2) {
      animation-direction: reverse;
    }

    .cta-orbit:nth-child(3) {
      border-color: rgba(123, 92, 246, 0.16);
    }

    @keyframes cta-particle-orbit {
      from {
        transform: translate(-50%, -50%) rotate(var(--orbit-angle, 0deg));
      }

      to {
        transform: translate(-50%, -50%) rotate(calc(var(--orbit-angle, 0deg) + 360deg));
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .cta-orbit {
        animation: none;
      }
    }

    .cta-inner {
      max-width: 640px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .cta-inner .section-title {
      margin-bottom: 16px;
    }

    .cta-eyebrow {
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-purple);
      margin-bottom: 16px;
    }

    .cta-sub {
      font-size: 17px;
      color: var(--color-muted);
      margin-bottom: 36px;
      line-height: 1.7;
    }

/* =====================================================================
   FOOTER
   ===================================================================== */
    .footer {
      background:
        radial-gradient(ellipse 90% 55% at 50% -5%, rgba(124, 58, 237, 0.45) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 95% 110%, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 35% 30% at 5% 100%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
        linear-gradient(160deg, #120422 0%, #1c073a 45%, #120422 100%);
      border-top: 1px solid rgba(124, 58, 237, 0.25);
      padding: 64px 48px 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1.2fr;
      gap: 64px;
      padding-bottom: 48px;
      border-bottom: 1px solid var(--color-border);
    }

    .footer-brand p {
      font-size: 14px;
      color: var(--color-muted);
      line-height: 1.8;
      margin: 16px 0 24px;
      max-width: 320px;
    }

    .footer-socials {
      display: flex;
      gap: 10px;
    }

    .footer-social-btn {
      width: 36px;
      height: 36px;
      border: 1px solid var(--color-border);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      transition: border-color 0.25s, background 0.25s;
    }

    .footer-social-btn:hover {
      border-color: var(--color-purple);
      background: var(--color-purple-soft);
    }

    .footer-col h4 {
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-muted);
      margin-bottom: 18px;
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-col ul a {
      font-size: 14px;
      color: var(--color-muted);
      transition: color 0.2s;
    }

    .footer-col ul a:hover {
      color: var(--color-text);
    }

    .footer-contact {
      font-size: 14px;
      color: var(--color-muted);
      line-height: 1.9;
    }

    .footer-contact a {
      transition: color 0.2s;
    }

    .footer-contact a:hover {
      color: var(--color-purple);
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 32px;
      font-size: 13px;
      color: var(--color-muted);
    }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
    @media (max-width: 900px) {
      .nav {
        padding: 16px 24px;
      }

      .section {
        padding: 72px 24px;
      }

      .vm-grid,
      .tab-panel.active,
      .about-grid,
      .why-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .team-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .portfolio-grid {
        grid-template-columns: 1fr 1fr;
      }

      .testimonials-shell,
      .testimonial-board {
        grid-template-columns: 1fr;
      }

      .testimonials-intro {
        position: static;
      }

      .proof-metrics {
        grid-template-columns: 1fr;
      }

      .testimonial-card,
      .testimonial-card.featured {
        min-height: auto;
        grid-column: auto;
      }

      .featured .testimonial-quote {
        font-size: 26px;
      }

      .testimonial-card.featured::after {
        position: static;
        align-self: flex-start;
        order: -1;
      }

      .brand-logos {
        grid-template-columns: repeat(2, 1fr);
      }

      .nav-links {
        display: none;
      }
    }
