/* ==========================================================
   1. Global Settings & Scrollbars
   ========================================================== */
   ::-webkit-scrollbar {
    width: 4px;
    display: none;
  }
  textarea::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
  textarea::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
  }
  
  /* ==========================================================
     2. SVG Text Line Animation Setup
     ========================================================== */
  .text-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s ease-in-out forwards, filling 3s ease-in forwards;
  }
  .text-line text {
    fill: transparent;
  }
  @keyframes dash {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes filling {
    0%, 60% {
      fill: transparent;
    }
    100% {
      fill: var(--primary-color);
    }
  }
  
  /* ==========================================================
     3. General Animations & Intersections
     ========================================================== */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.16, 1, .3, 1), transform 0.8s cubic-bezier(.16, 1, .3, 1);
    will-change: opacity, transform;
  }
  .faded-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* ==========================================================
     4. Masonry Stagger Logic (3 Cols Mobile / 5 Cols Desktop)
     ========================================================== */
  /* .stagger-wrapper:nth-child(n) {
    transform: none;
  }
  .stagger-wrapper:nth-child(3n+1) {
    transform: translateY(-1rem);
  }
  .stagger-wrapper:nth-child(3n+2) {
    transform: translateY(1rem);
  }
  .stagger-wrapper:nth-child(3n+3) {
    transform: translateY(-1rem);
  }
  
  @media (min-width: 768px) {
    .stagger-wrapper:nth-child(3n+1),
    .stagger-wrapper:nth-child(3n+2),
    .stagger-wrapper:nth-child(3n+3) {
      transform: none;
    }
    .stagger-wrapper:nth-child(5n+1) {
      transform: translateY(-3rem);
    }
    .stagger-wrapper:nth-child(5n+2) {
      transform: translateY(-1rem);
    }
    .stagger-wrapper:nth-child(5n+3) {
      transform: translateY(2rem);
    }
    .stagger-wrapper:nth-child(5n+4) {
      transform: translateY(-1rem);
    }
    .stagger-wrapper:nth-child(5n+5) {
      transform: translateY(-3rem);
    }
  } */
  
  /* ==========================================================
     5. Interactive Cursor Pool (GPU Accelerated)
     ========================================================== */
  #interactive-area {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    cursor: none;
    background: #050505;
    isolation: isolate;
    z-index: 20;
  }
  
  #cursor-pool {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
  }
  
  .cursor-image {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(110px, 12vw, 170px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 2px solid white;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65) rotate(var(--rotate, 0deg));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    will-change: transform, opacity;
    animation: cursorTrail 900ms cubic-bezier(.16, 1, .3, 1) forwards;
  }
  
  @keyframes cursorTrail {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.55) rotate(var(--rotate, 0deg));
    }
    12% {
      opacity: 1;
    }
    45% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1) rotate(var(--rotate, 0deg));
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -65%) scale(0.78) rotate(var(--rotate, 0deg));
    }
  }
  
  .center-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    font-size: 24px;
    letter-spacing: 2px;
    pointer-events: none;
    user-select: none;
  }
  
  @media (max-width: 767px) {
    #interactive-area {
      cursor: auto;
    }
    .center-logo {
      font-size: 16px;
      text-align: center;
    }
    .cursor-image {
      width: 105px;
    }
  }
  
  /* ==========================================================
     6. Toolkit / Services Section & Card Layouts
     ========================================================== */
  .service-card {
    min-width: 450px;
  }
  .card-odd {
    height: 450px;
  }
  .card-even {
    height: 550px;
  }
  
  .heading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    margin-bottom: -50px;
    text-align: center;
    width: 100%;
  }
  
  .heading-container h2 {
    position: relative;
    z-index: 10;
    line-height: 1.1;
  }
  
  .overlap-sub {
    background: #EC4D20;
    color: white;
    width: max-content;
    max-width: 95%;
    padding: 5px 14px;
    margin-top: -80px;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: rotate(-3deg);
    font-weight: 600;
    z-index: 50;
    box-shadow: 0 10px 25px rgba(236, 77, 32, 0.4);
    text-align: center;
    position: relative;
  }
  
  .scroll-container::-webkit-scrollbar {
    display: none;
  }
  

  /* ==========================================================
     8. Testimonials Pagination
     ========================================================== */
  .swiper-pagination-bullet {
    background: #52525b !important;
    opacity: 1;
  }
  .swiper-pagination-bullet-active {
    background: #ec4d20 !important;
    width: 24px;
    border-radius: 4px;
    transition: width 0.3s ease;
  }
  
  /* ==========================================================
     9. Section Isolation & Stacking Order Layering
     ========================================================== */
  #selected-work {
    position: relative;
    z-index: 10;
  }
  #interactive-area {
    position: relative;
    z-index: 20;
  }
  #process {
    position: relative;
    z-index: 30;
    background-color: #050505;
  }
  #achievements-section {
    position: relative;
    z-index: 40;
  }

  @media (max-width: 1023px) {
    #process {
      height: auto !important;
      min-height: auto !important;
      padding: 5rem 1.5rem !important;
    }
    #process-cards-wrapper {
      position: relative !important;
      height: auto !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 1.5rem !important;
    }
    #process-cards-wrapper .process-card {
      position: relative !important;
      inset: auto !important;
      height: auto !important;
      min-height: 240px !important;
    }
  }

  .faq-toggle.active,
  .faq-toggle.active .text-white,
  .faq-toggle.active .font-bold {
    background: linear-gradient(90deg, #19110c 0%, #1a0701 100%);
    color: #EC4D20 !important;
  }
  .faq-toggle.active .text-white { color: #EC4D20 !important; }
  .faq-toggle.active .font-bold { color: #EC4D20 !important; }
  .faq-toggle.active .faq-arrow {
    border-color: #EC4D20 !important;
    color: #EC4D20 !important;
  }
  /* Optional subtle highlight for number */
  .faq-toggle.active .w-9 {
    background: rgba(236,77,32,0.15);
    border-color: #EC4D20 !important;
    color: #fff !important;
  }
  .faq-toggle .w-9 {
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }



  .client-box {
    height: 110px;
    width: 150px;
    background: #ffffff11;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.04);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  }

  .client-box img {
    max-width: 100%;
    width: 120px;
    max-height: 80px; 
    object-fit: contain;
    filter: saturate(0);
    opacity: .8;
    transition: filter 0.4s ease, opacity 0.4s ease;
  }

  /* Hover Effects remain active */
  .client-box:hover {
    transform: translateY(-8px) scale(1.02);
    background: #ec4c20d5;
    box-shadow: 0 0 40px #ec4c207a;
  }

  .client-box:hover img {
    filter: saturate(1);
    opacity: 1;
  }

  /* Mobile Sizing Adjustments */
  @media(max-width:768px) {
    .client-box {
      width: 100%;
      max-width: 120px;
      height: 85px;
      padding: 12px;
    }
  }
