/* ==========================================================================
   NEW COLOMBO HARBOUR SUPPLIERS (PVT) LTD
   Exact Design System matching ILM Shipping (https://ilmshipping.com/)
   ========================================================================== */

:root {
  /* Brand Palette (Harbour Navy + Logo Gold) */
  --brand-navy: #1B1838;
  --brand-dark: #111126;
  --brand-gold: #C9A45C;
  --brand-gold-hover: #AD8744;
  --page-bg: #F6F4EF;
  --surface: #FFFFFF;
  --text: #252638;
  --text-muted: #667085;

  /* Theme Design Tokens Mapped to Brand Palette */
  --radius: 1.25rem;
  --background: var(--page-bg);
  --foreground: var(--text);
  --ink: var(--brand-navy);
  --ink-soft: var(--text-muted);
  --card: var(--surface);
  --card-foreground: var(--text);
  --secondary: #ede9df;
  --secondary-foreground: var(--brand-navy);
  --muted: #f0ede5;
  --muted-foreground: var(--text-muted);
  --border: rgba(27, 24, 56, 0.08);
  --border-strong: rgba(27, 24, 56, 0.16);
  --brand: var(--brand-gold);
  --brand-hover: var(--brand-gold-hover);
  --brand-soft: #fcf9f2;
  --brand-dark: #8c6a2e;
  --navy: var(--brand-navy);
  --navy-dark: #15132d;
  --navy-deep: var(--brand-dark);
  --navy-soft: #ede9df;
  --ship: var(--brand-navy);
  --ship-soft: #ede9df;
  --logi: var(--brand-gold);
  --logi-soft: #fcf9f2;
  --ocl: #c98836;
  --ocl-soft: #faebd7;
  --calm-mist: #F6F4EF;
  --calm-sand: #f2eee3;
  --calm-navy: var(--brand-dark);
  --glass: rgba(255, 255, 255, 0.9);
  --glass-line: rgba(201, 164, 92, 0.25);
}

html {
  scroll-behavior: smooth;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  background-color: var(--background);
  color: var(--ink);
  min-height: 100vh;
}

/* Typography */
.font-display {
  font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
}

.font-sans {
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

/* Refined Header Navigation Styles */
.glass-nav-initial {
  background: rgba(246, 244, 239, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 24, 56, 0.08);
  box-shadow: 0 4px 20px -4px rgba(27, 24, 56, 0.06);
}

.glass-nav-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(201, 164, 92, 0.35);
  box-shadow: 0 10px 30px -5px rgba(27, 24, 56, 0.1);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27, 24, 56, 0.08);
}

.glass-card {
  position: relative;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.7) 40%, rgba(27, 24, 56, 0.04) 100%);
  padding: 1px;
  box-shadow: 0 10px 30px -15px rgba(27, 24, 56, 0.08);
}

.glass-card-inner {
  border-radius: 1.7rem;
  background: #ffffff;
}

/* Custom Maritime Buttons (Harbour Navy + Logo Gold) */
.btn-ink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-navy, #1B1838);
  color: #ffffff;
  padding: 0.875rem 1.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ink:hover {
  background: var(--brand-gold, #C9A45C);
  color: var(--brand-navy, #1B1838);
  gap: 0.75rem;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(201, 164, 92, 0.4);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-gold, #C9A45C);
  color: var(--brand-navy, #1B1838);
  padding: 0.875rem 1.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(201, 164, 92, 0.3);
}

.btn-gold:hover {
  background: var(--brand-gold-hover, #AD8744);
  color: var(--brand-navy, #1B1838);
  gap: 0.75rem;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(201, 164, 92, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1.5px solid var(--brand-navy, #1B1838);
  color: var(--brand-navy, #1B1838);
  padding: 0.875rem 1.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  border-color: var(--brand-gold, #C9A45C);
  background: var(--brand-navy, #1B1838);
  color: #ffffff;
  gap: 0.75rem;
  transform: translateY(-2px);
}
  gap: 0.875rem;
  transform: translateY(-2px);
}

/* Maritime Hero Slider Styles */
.hero-slider-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.hero-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  width: 100%;
  box-shadow: 0 30px 70px -15px rgba(10, 4, 25, 0.6);
}

.hero-slide,
.hero-slide-bg {
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
}

.hero-slide-bg {
  transform: scale(1.04);
  transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.hero-slide.active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Tab Progress */
.slider-tab-progress {
  width: 0%;
  transition: width 0.1s linear;
}

.slider-tab.active .slider-tab-progress {
  width: 100%;
  transition: width 5.8s linear;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide-bg, .hero-slide-content, .slider-tab-progress {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}

/* Subtle Card Hover */
.ilm-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ilm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -18px rgba(15, 17, 20, 0.12);
}

/* Accordion Smooth Height */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease;
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   Futuristic Animations, Transitions & Interactive Effects
   ========================================================================== */

/* 1. Global Scroll Progress Bar (Harbour Navy & Logo Gold) */
#scrollProgressIndicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #1B1838, #C9A45C 50%, #fef3c7 80%, #C9A45C);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(201, 164, 92, 0.7);
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.08s ease-out;
}

@keyframes scrollGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-scroll-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
    #scrollProgressIndicator {
      animation: grow-scroll-progress auto linear, scrollGlow 4s linear infinite;
      animation-timeline: scroll(), auto;
    }
  }
}

/* 2. Scroll-Driven Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Child Delays */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* 3. Futuristic Spotlight Interactive Cards (White Surface, Navy & Gold Highlights) */
.futuristic-card {
  position: relative;
  background: var(--surface, #ffffff);
  border-radius: 1.5rem;
  border: 1px solid rgba(27, 24, 56, 0.08);
  box-shadow: 0 4px 20px -4px rgba(27, 24, 56, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  overflow: hidden;
}

.futuristic-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 164, 92, 0.4),
    rgba(27, 24, 56, 0.12) 35%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.futuristic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 164, 92, 0.05),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.futuristic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 92, 0.45);
  box-shadow: 0 16px 36px -8px rgba(27, 24, 56, 0.1), 0 0 16px -2px rgba(201, 164, 92, 0.15);
}

.futuristic-card:hover::before,
.futuristic-card:hover::after {
  opacity: 1;
}

/* Futuristic Card - Midnight Navy Variant */
.futuristic-card-dark {
  position: relative;
  background: #15132d;
  border-radius: 1.5rem;
  border: 1px solid rgba(201, 164, 92, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  overflow: hidden;
  color: #ffffff;
}

.futuristic-card-dark::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 164, 92, 0.6),
    rgba(27, 24, 56, 0.3) 40%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.futuristic-card-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(201, 164, 92, 0.08),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.futuristic-card-dark:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 164, 92, 0.65);
  box-shadow: 0 20px 45px -12px rgba(17, 17, 38, 0.9), 0 0 25px -4px rgba(201, 164, 92, 0.25);
}
  border-color: rgba(210, 171, 103, 0.5);
  box-shadow: 0 20px 45px -12px rgba(10, 4, 25, 0.8), 0 0 30px -5px rgba(210, 171, 103, 0.3);
}

.futuristic-card-dark:hover::before,
.futuristic-card-dark:hover::after {
  opacity: 1;
}

/* 4. Ambient Ethereal Pulse Mesh */
@keyframes ambientDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(25px, -20px) scale(1.08);
  }
}

.ambient-orb {
  animation: ambientDrift 14s ease-in-out infinite;
  will-change: transform;
}

.ambient-orb-delayed {
  animation: ambientDrift 18s ease-in-out infinite reverse;
  will-change: transform;
}

/* 5. Holographic / Shimmer Button Sheen */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.75s ease-in-out;
  pointer-events: none;
}

.btn-shimmer:hover::after {
  left: 130%;
}

/* 6. Futuristic HUD Live Ping */
.hud-ping {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hud-ping-ring {
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  border: 1px solid var(--brand, #d2ab67);
  opacity: 0.8;
  animation: hudPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hudPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.35); opacity: 0.2; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* 6.1 Whole-Button HUD Live Ping Effect */
.btn-hud-ping {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hud-ping-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
  animation: btnHudPulse 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: 1;
}

.btn-hud-ping-ring-delayed {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1.5px solid rgba(147, 197, 253, 0.8);
  pointer-events: none;
  animation: btnHudPulse 2.4s cubic-bezier(0, 0, 0.2, 1) infinite 1.2s;
  z-index: 1;
}

@keyframes btnHudPulse {
  0% {
    inset: 0;
    opacity: 0.9;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  }
  50% {
    inset: -6px;
    opacity: 0.45;
    box-shadow: 0 0 16px rgba(147, 197, 253, 0.4);
  }
  100% {
    inset: -12px;
    opacity: 0;
    box-shadow: 0 0 24px rgba(147, 197, 253, 0);
  }
}

/* 7. View Transitions (Smooth page-to-page fade) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 90ms cubic-bezier(0.4, 0, 1, 1) both fadeOut;
}

::view-transition-new(root) {
  animation: 210ms cubic-bezier(0, 0, 0.2, 1) both fadeIn;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .futuristic-card,
  .ambient-orb,
  .ambient-orb-delayed,
  .hud-ping-ring,
  #scrollProgressIndicator {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f7f6fb;
}
::-webkit-scrollbar-thumb {
  background: #d8d3e8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d2ab67;
}

/* ==========================================================================
   Vertical Linear Gradient Text Effect
   Reference: https://codefronts.com/motion/css-text-gradient-effect/vertical-linear-gradient-text-css/
   ========================================================================== */
.vertical-gradient-text {
  /* 1. Create a vertical linear gradient (top to bottom - 180deg) */
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #fef3c7 15%,
    #C9A45C 45%,
    rgba(201, 164, 92, 0.35) 75%,
    rgba(201, 164, 92, 0.05) 100%
  );

  /* 2. Clip the background to the text container */
  -webkit-background-clip: text;
  background-clip: text;

  /* 3. Hide the text fill so the background gradient shines through */
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.footer-watermark-vertical {
  width: 100%;
  text-align: center;
  font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(1.65rem, 8.1vw, 6rem);
  white-space: nowrap;
  user-select: none;
  filter: drop-shadow(0 2px 16px rgba(201, 164, 92, 0.15));
}

@media (min-width: 1024px) {
  .footer-watermark-vertical {
    font-size: 6rem;
  }
}

/* ==========================================================================
   3D CAPABILITIES CAROUSEL
   ========================================================================== */
.capabilities-3d-stage {
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  cursor: grab;
  touch-action: none;
}

.capabilities-3d-stage.is-dragging,
.capabilities-3d-stage.is-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.capability-3d-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  max-width: 395px;
  height: 640px;
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.65s ease, 
              filter 0.65s ease,
              border-color 0.3s ease;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.capability-3d-card a {
  -webkit-user-drag: none;
}

.capability-3d-card img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.cap-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.capability-3d-card.is-active .cap-card-img {
  transform: scale(1.05);
}

.capability-3d-card:not(.is-active) .cap-card-img {
  filter: saturate(0.92) contrast(0.98);
}

/* Zero-lag live tracking while cursor is actively dragging */
.capabilities-3d-stage.is-dragging .capability-3d-card {
  transition: transform 0.08s ease-out, opacity 0.2s ease, filter 0.2s ease !important;
}

@media (max-width: 639px) {
  .capability-3d-card {
    max-width: 330px;
    height: 560px;
  }
}

.capability-3d-card.is-active {
  box-shadow: 0 25px 60px -15px rgba(27, 24, 56, 0.22), 0 0 35px rgba(201, 164, 92, 0.25);
  border-color: rgba(201, 164, 92, 0.65) !important;
}

.capability-3d-card:not(.is-active) {
  cursor: pointer;
}

.capability-3d-card:not(.is-active):hover {
  filter: brightness(0.98) !important;
  border-color: rgba(201, 164, 92, 0.4) !important;
}

.cap-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(27, 24, 56, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.cap-dot.is-active {
  width: 28px;
  background-color: #C9A45C;
  box-shadow: 0 0 10px rgba(201, 164, 92, 0.4);
}

/* ==========================================================================
   PARALLAX SECTION STYLES
   ========================================================================== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg-wrapper {
  position: absolute;
  top: -80px;
  bottom: -80px;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.parallax-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 125%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.05);
}

/* ==========================================================================
   ANIMATED CLIENT MARQUEE & CARDS
   ========================================================================== */
@keyframes clientMarqueeForward {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes clientMarqueeReverse {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.client-marquee-track-forward {
  display: flex;
  width: max-content;
  animation: clientMarqueeForward 36s linear infinite;
  will-change: transform;
}

.client-marquee-track-reverse {
  display: flex;
  width: max-content;
  animation: clientMarqueeReverse 40s linear infinite;
  will-change: transform;
}

.client-marquee-paused .client-marquee-track-forward,
.client-marquee-paused .client-marquee-track-reverse,
.client-marquee-container:hover .client-marquee-track-forward,
.client-marquee-container:hover .client-marquee-track-reverse {
  animation-play-state: paused !important;
}

.client-marquee-mask {
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.client-logo-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, 0.18), transparent);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.client-logo-card:hover::before {
  transform: translateX(200%);
}

.client-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(27, 24, 56, 0.12), 0 0 25px rgba(201, 164, 92, 0.2);
  border-color: rgba(201, 164, 92, 0.5) !important;
}

.client-logo-img {
  filter: grayscale(40%) contrast(95%);
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-card:hover .client-logo-img {
  filter: grayscale(0%) contrast(105%);
  transform: scale(1.08);
}

/* ==========================================================================
   PRECISION BRAND CUSTOM CURSOR (ILM-INSPIRED PRECISION FOLLOWER)
   ========================================================================== */
.custom-cursor-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(197, 168, 128, 0.75);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.3), 0 0 0 1px rgba(17, 17, 38, 0.15);
  background-color: transparent;
  pointer-events: none;
  will-change: transform;
  transform-origin: center center;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.custom-cursor-ring.is-hovering {
  border-color: rgba(223, 190, 153, 0.95);
  background-color: rgba(197, 168, 128, 0.14);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.5), 0 0 0 1px rgba(17, 17, 38, 0.2);
}

.custom-cursor-ring.is-clicking {
  border-color: #DFBE99;
  background-color: rgba(197, 168, 128, 0.25);
  box-shadow: 0 0 24px rgba(223, 190, 153, 0.7);
}

.custom-cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C5A880;
  box-shadow: 0 0 0 1px rgba(17, 17, 38, 0.4), 0 0 8px rgba(197, 168, 128, 0.85);
  pointer-events: none;
  will-change: transform;
  transform-origin: center center;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-cursor-dot.is-hovering {
  background-color: #DFBE99;
  box-shadow: 0 0 0 1px rgba(17, 17, 38, 0.3), 0 0 12px rgba(223, 190, 153, 1);
}

@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor [role="button"],
  body.has-custom-cursor select,
  body.has-custom-cursor .cursor-pointer,
  body.has-custom-cursor .capabilities-3d-stage {
    cursor: none !important;
  }
}

/* ==========================================================================
   BACK TO TOP BUTTON WITH CIRCULAR SCROLL PROGRESS
   ========================================================================== */
.back-to-top-btn {
  will-change: transform, opacity;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.back-to-top-btn.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.back-to-top-btn:hover #backToTopProgress {
  stroke: #DFBE99;
}


