/* Ready CTA wide centered */
.cta-container { display:flex; justify-content:center; align-items:center; }
.cta-card { width:100%; max-width:none; }
@media (min-width: 768px){
  .cta-card { padding-inline:3rem; }
}
/* removed custom CTA cap to allow full max-w-7xl */
/* remove older small gooal-dot style; replaced with larger gradient circles inline */
.audience-card { position: relative; }
.audience-card .bottom-left-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}
/* ================================================================
   GOOLA FINANCIAL CENTER - MAIN STYLESHEET
   Organized and optimized CSS for better maintainability
   ================================================================ */

/* ================================================================
   1. BASE STYLES & RESETS
   ================================================================ */

/* Font family for all elements */
* { 
  font-family: 'Heebo', sans-serif !important; 
}

/* Selective reset for html and body */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
}

/* RTL Support */
html[dir="rtl"] {
  direction: rtl !important;
}

html[dir="rtl"] body,
html[dir="rtl"] nav,
html[dir="rtl"] .text-right,
html[dir="rtl"] .bg-white\/10,
html[dir="rtl"] .absolute.inset-0.z-10.flex,
html[dir="rtl"] nav .flex {
  direction: rtl !important;
}

html[dir="rtl"] .text-center {
  text-align: center !important;
}

html[dir="rtl"] .group-hover\:translate-x-1 {
  transform: translateX(-0.25rem) !important;
}

/* ================================================================
   2. ANIMATIONS
   ================================================================ */

/* Animation Keyframes */
@keyframes float { 
  0%, 100% { transform: translateY(0px) } 
  50% { transform: translateY(-10px) } 
}

@keyframes slide-up { 
  0% { opacity: 0; transform: translateY(30px) } 
  100% { opacity: 1; transform: translateY(0) } 
}

@keyframes slide-in-right { 
  0% { opacity: 0; transform: translateX(30px) } 
  100% { opacity: 1; transform: translateX(0) } 
}

@keyframes slide-in-left { 
  0% { opacity: 0; transform: translateX(-30px) } 
  100% { opacity: 1; transform: translateX(0) } 
}

@keyframes pulse-soft { 
  0%, 100% { transform: scale(1) } 
  50% { transform: scale(1.05) } 
}

@keyframes float-slow { 
  0%, 100% { 
    transform: translate(0, 0px) rotate(0deg) scale(1);
    filter: blur(0px);
  } 
  25% { 
    transform: translate(-10px, -8px) rotate(2deg) scale(1.05);
  }
  50% { 
    transform: translate(-15px, -20px) rotate(5deg) scale(1.1);
    filter: blur(1px);
  }
  75% {
    transform: translate(-5px, -10px) rotate(3deg) scale(1.05);
  }
}

@keyframes float-reverse { 
  0%, 100% { 
    transform: translate(0, 0px) rotate(0deg) scale(1);
    opacity: 0.6;
  } 
  25% {
    transform: translate(10px, -10px) rotate(-2deg) scale(0.95);
    opacity: 0.7;
  }
  50% { 
    transform: translate(20px, -25px) rotate(-5deg) scale(0.9);
    opacity: 0.8;
  }
  75% {
    transform: translate(8px, -15px) rotate(-2deg) scale(0.95);
    opacity: 0.7;
  }
}

/* New 3D floating animation */
@keyframes float-3d {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translate3d(-10px, -10px, 20px) rotateX(5deg) rotateY(-5deg);
  }
  50% {
    transform: translate3d(10px, -20px, 40px) rotateX(-5deg) rotateY(10deg);
  }
  75% {
    transform: translate3d(-5px, -15px, 20px) rotateX(3deg) rotateY(-3deg);
  }
}

/* Morphing gradient animation */
@keyframes morph-gradient {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background-position: 0% 50%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    background-position: 100% 50%;
  }
}

@keyframes checkPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Advanced Animation Classes */
.animate-float { animation: float 4s ease-in-out infinite }
.animate-float-slow { animation: float-slow 6s ease-in-out infinite }
.animate-float-reverse { animation: float-reverse 8s ease-in-out infinite }
.animate-float-3d { animation: float-3d 10s ease-in-out infinite }
.animate-morph { animation: morph-gradient 8s ease-in-out infinite }
.animate-slide-up { animation: slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards }
.animate-slide-in-right { animation: slide-in-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards }
.animate-slide-in-left { animation: slide-in-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards }
.animate-pulse-soft { animation: pulse-soft 3s ease-in-out infinite }

/* Stagger animation for lists */
.stagger-children > * {
  opacity: 0;
  animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Magnetic button effect */
.magnetic-button {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Ripple effect for clicks */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

/* Visually hidden utility: keep text for semantics/filtering, hide from view */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* Smooth scroll snap for sections */
.scroll-snap-start { scroll-snap-align: start; }
.scroll-snap-center { scroll-snap-align: center; }

/* Enhanced hover state for interactive elements */
.interactive {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive:hover {
  transform: translateY(-2px);
}

/* Glow on focus for accessibility */
.focus-glow:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(99, 102, 241, 0.1),
    0 0 0 6px rgba(99, 102, 241, 0.05);
}

/* Skeleton loading animation */
@keyframes skeleton-loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    #f1f5f9 25%,
    #e2e8f0 50%,
    #f1f5f9 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

/* Parallax layers */
.parallax-layer {
  will-change: transform;
  transform: translateZ(0);
}

.parallax-slow { transform: translateY(calc(var(--scroll) * -0.2px)); }
.parallax-medium { transform: translateY(calc(var(--scroll) * -0.5px)); }
.parallax-fast { transform: translateY(calc(var(--scroll) * -0.8px)); }

/* ================================================================
   3. TYPOGRAPHY
   ================================================================ */

/* Hero Headlines - Original Blue-Purple Gradient */
.headline-hero {
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-size: clamp(3rem, 7vw, 4.5rem);
  background: linear-gradient(90deg, hsl(222 84% 5%) 0%, hsl(194 63% 64% / .90) 50%, hsl(222 84% 5%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 25px 50px rgb(0 0 0 / .25));
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero text glow effect */
.headline-hero::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6366f1, #a855f7, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

/* Section Headlines - Original Blue-Purple Typography */
.headline-section {
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  letter-spacing: -0.015em;
  background: linear-gradient(90deg, hsl(222 84% 5%) 0%, hsl(259 64% 27% / .90) 50%, hsl(222 84% 5%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 10px rgb(0 0 0 / .10));
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Section headline underline effect */
.headline-section::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #7c3aed, #2563eb, transparent);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.headline-section:hover::after {
  width: 120%;
}

/* Taglines - Refined Typography */
.headline-tagline {
  font-family: 'Heebo', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: #475569;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-top: .25rem;
}

/* Enhanced text hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

/* Body text improvements */
p {
  font-size: clamp(0.975rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: #334155;
  font-weight: 400;
}

/* Lead paragraph style */
.lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.8;
  color: #475569;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Small text */
.text-sm {
  font-size: clamp(0.875rem, 1.2vw, 0.975rem);
  line-height: 1.6;
}

.headline-accent { 
  color: hsl(0 67% 58%); 
  font-weight: 600; 
}

/* Hero Section Text Layout */
.headline-main {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
}

.hero-subtitle {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  font-size: clamp(2.5rem, 5vw, 4.8rem) !important;
}

/* Gradient Text */
.gradient-text { 
  background: linear-gradient(90deg, hsl(222 84% 5%) 0%, hsl(259 64% 27% / .90) 50%, hsl(222 84% 5%) 100%); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
  filter: drop-shadow(0 8px 10px rgb(0 0 0 / .10));
}

/* ================================================================
   4. COMPONENTS & EFFECTS
   ================================================================ */

/* Glass Effect */
.glass-light { 
  background: rgba(255, 255, 255, 0.8); 
  backdrop-filter: blur(20px); 
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Navigation Glass - Ultra Modern Design */
.nav-glass {
  background:
    radial-gradient(ellipse at 70% -10%, rgba(120,119,198,0.15), transparent 50%),
    radial-gradient(ellipse at 30% -10%, rgba(59,130,246,0.12), transparent 45%),
    radial-gradient(ellipse at 90% 50%, rgba(147,51,234,0.08), transparent 40%),
    linear-gradient(180deg, 
      rgba(255,255,255,0.98) 0%, 
      rgba(248,250,252,0.95) 40%, 
      rgba(241,245,249,0.92) 70%,
      rgba(236,238,242,0.90) 100%);
  backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow: 
    0 1px 3px rgba(0,0,0,0.05),
    0 4px 20px -4px rgba(15,23,42,0.12), 
    0 12px 40px -12px rgba(30,58,138,0.15),
    inset 0 1px 0 rgba(255,255,255,0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-glass:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, 
      rgba(255,255,255,0.4) 0%, 
      rgba(255,255,255,0) 10%, 
      rgba(255,255,255,0) 90%, 
      rgba(255,255,255,0.4) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,0.5) 0%,
      transparent 100%);
  mix-blend-mode: overlay;
  opacity: .7;
}

/* Navigation hover states */
.nav-glass .text-slate-800 { 
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); 
  position: relative;
}

.nav-glass a {
  position: relative;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-glass a:hover { 
  text-decoration: none; 
  color: #6b46c1;
  transform: translateY(-1px);
}

/* Animated underline effect */
.nav-glass .hidden.lg\\:flex a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6b46c1 0%, #3b82f6 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-glass .hidden.lg\\:flex a:hover::after {
  width: 100%;
}

/* Logo hover effect */
.nav-glass a:first-child img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-glass a:first-child:hover img {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(107,70,193,0.3));
}

/* Audience Card Icons - Modern Glass Design */
.aud-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(241, 245, 249, 0.85) 100%);
  backdrop-filter: blur(10px);
  box-shadow:
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 4px 12px -2px rgba(0, 0, 0, 0.1),
    0 8px 24px -4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #6366f1;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.aud-icon:before {
  content: "";
  position: absolute;
  inset: -50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.4), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.3), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2), transparent 50%);
  opacity: 0;
  transform: rotate(0deg);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.aud-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  stroke-width: 2;
  stroke: currentColor;
  z-index: 1;
  transition: all 0.3s ease;
}

.aud-icon:hover {
  transform: translateY(-6px) scale(1.05) rotateZ(-5deg);
  color: #7c3aed;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(237, 233, 254, 0.9) 100%);
  box-shadow:
    0 4px 8px -2px rgba(0, 0, 0, 0.08),
    0 8px 20px -4px rgba(99, 102, 241, 0.3),
    0 16px 32px -8px rgba(168, 85, 247, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aud-icon:hover:before {
  opacity: 1;
  transform: rotate(180deg);
}

.aud-icon:hover svg {
  transform: scale(1.1) rotateZ(5deg);
  filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.3));
}

.aud-icon:active {
  transform: translateY(-2px) scale(0.98);
}

/* Audience card enhancements */
.group.cursor-pointer.transform {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.group.cursor-pointer.transform .bg-white {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(10px);
}

.group.cursor-pointer.transform:hover .bg-white {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(248, 250, 252, 0.98) 100%);
}

/* Image overlay gradient for audience/business cards - lighter base, no purple on hover */
.group.cursor-pointer .relative.overflow-hidden .absolute.inset-0 {
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.10) 40%,
    transparent 100%);
  transition: opacity 0.4s ease, background 0.4s ease;
}

/* Remove purple hover layer; keep a very subtle darkening only */
.group.cursor-pointer:hover .relative.overflow-hidden .absolute.inset-0 {
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.08) 40%,
    transparent 100%);
}

/* System slideshow quality enhancements */
.system-slideshow {background:linear-gradient(135deg,#fafafa,#f1f5f9);}
.system-slideshow img {width:100%;height:100%;object-fit:contain;object-position:center;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;backface-visibility:hidden;transform:translateZ(0);}
.system-slideshow .slide {position:absolute;inset:0;opacity:0;transition:opacity 1s ease;}
.system-slideshow .slide.active {opacity:1;}

/* Contact Section - Premium Glass Design */
.contact-col-bg {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.92) 0%, 
    rgba(249, 250, 251, 0.88) 50%, 
    rgba(243, 244, 246, 0.85) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 0.5px 0 1px rgba(255, 255, 255, 0.8) inset,
    0 8px 32px -8px rgba(0, 0, 0, 0.1),
    0 16px 64px -16px rgba(99, 102, 241, 0.15);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

 .contact-col-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.12), transparent 40%),
    radial-gradient(ellipse at 80% 100%, rgba(168, 85, 247, 0.08), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06), transparent 60%);
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0.7;
}

/* Animated gradient border for contact cards */
.contact-col-bg:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 0.5px 0 1px rgba(255, 255, 255, 0.9) inset,
    0 12px 40px -8px rgba(0, 0, 0, 0.12),
    0 24px 80px -16px rgba(99, 102, 241, 0.2);
}


/* Form Input Styling - Modern Design */
.contact-col-bg input,
.contact-col-bg select,
.contact-col-bg textarea {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-col-bg input:focus,
.contact-col-bg select:focus,
.contact-col-bg textarea:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 
    0 0 0 3px rgba(99, 102, 241, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Form Labels - Enhanced Typography */
.contact-col-bg label {
  font-weight: 600;
  color: #1e293b;
  letter-spacing: 0.025em;
  transition: color 0.3s ease;
}

.contact-col-bg label:has(+ input:focus),
.contact-col-bg label:has(+ select:focus),
.contact-col-bg label:has(+ textarea:focus) {
  color: #6366f1;
}

/* Shadows */
.shadow-glow { 
  box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15);
}

/* Hover Effects */
.hover-lift { 
  transition: all 0.3s ease;
}

.hover-lift:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

/* Background Patterns */
.pattern-dots { 
  background-image: radial-gradient(circle, #e5e7eb 1px, transparent 1px); 
  background-size: 20px 20px;
}

.pattern-grid { 
  background-image: linear-gradient(rgba(156, 163, 175, 0.1) 1px, transparent 1px), 
                    linear-gradient(90deg, rgba(156, 163, 175, 0.1) 1px, transparent 1px); 
  background-size: 20px 20px;
}

/* Badge Styling */
.inline-flex.items-center.gap-2.rounded-full { 
  display: none; 
}

.hero-pill { 
  display: inline-flex !important; 
}

/* ================================================================
   5. NAVIGATION & MOBILE MENU
   ================================================================ */

/* Hide mobile menu completely */
/* Disabled global hide rules to allow mobile menu to function */
nav [x-show="__never"],
nav div.lg\:hidden.absolute.top-full.__never,
nav button.lg\:hidden.__never {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

@media (max-width: 1023px) {
  /* Disabled mobile-specific hide rules to restore hamburger and drawer */
  nav [x-show="__never"],
  nav .lg\:hidden.absolute.__never {
    display: none !important;
  }
}

/* ================================================================
   6. SECTION-SPECIFIC STYLES
   ================================================================ */

/* Hero Section Glass Cards - Advanced Glassmorphism */
.backdrop-blur-lg.bg-gradient-to-br.from-white\/10.to-white\/5,
.backdrop-blur-lg.bg-gradient-to-br.from-white\/15.to-white\/5 {
  overflow: hidden !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.05) 100%
  ) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated gradient border */
.backdrop-blur-lg.bg-gradient-to-br.from-white\/15.to-white\/5::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg,
    #6366f1, #a855f7, #ec4899, #3b82f6, #6366f1
  );
  background-size: 400% 400%;
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  animation: gradient-rotate 8s linear infinite;
}

@keyframes gradient-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.backdrop-blur-lg.bg-gradient-to-br.from-white\/15.to-white\/5:hover::before {
  opacity: 0.4;
}

.backdrop-blur-lg.bg-gradient-to-br.from-white\/15.to-white\/5:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Hero card icon containers */
.hero-icon-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #3b82f6 100%);
  box-shadow: 
    0 4px 15px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-icon-gradient:hover {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 
    0 6px 20px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Key Benefits Cards */
.bg-white\/10.rounded-full {
  overflow: hidden;
  max-width: 100%;
  width: auto;
  min-width: 0;
  box-sizing: border-box;
}

.bg-white\/10.rounded-full span {
  word-break: keep-all !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: white !important;
}

.bg-white\/10 svg {
  color: rgb(74 222 128) !important;
  flex-shrink: 0 !important;
}

/* Key Benefits Container */
.flex.flex-col.lg\:flex-row.gap-2.lg\:gap-4 {
  overflow: hidden;
  flex-wrap: nowrap;
  width: 100%;
}

/* Professional Managers Layout */
.professional-managers-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* CTA/Smart Finance Section */
.smart-finance-grid .bg-white.rounded-3xl {
  height: 100% !important;
  text-align: center !important;
  border: 2px solid rgba(230,230,240,0.5) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
  background: rgba(255,255,255,0.95) !important;
}

.smart-finance-grid .bg-white.rounded-3xl:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
  border-color: rgba(200,210,230,0.8) !important;
}

.smart-finance-grid h3 {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
}

.smart-finance-grid ul { 
  text-align: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
}

.smart-finance-grid ul li { 
  justify-content: center !important; 
  text-align: center !important; 
  width: 100% !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* CTA Section Gradients */
.smart-finance-grid div.card-overlay {
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.95) 0%, 
    rgba(248,250,252,0.98) 50%, 
    rgba(241,245,249,0.95) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border-radius: 1.5rem !important;
}



.smart-finance-grid div.title-underline,
body section.relative .smart-finance-grid .bg-white.rounded-3xl .relative.z-10 .text-center.mb-6 .title-underline {
  background: linear-gradient(90deg, 
    hsl(259 64% 40%) 0%, 
    hsl(240 60% 50%) 30%, 
    hsl(200 100% 65%) 60%, 
    hsl(200 100% 70%) 80%,
    transparent 100%) !important;
  height: 3px !important;
  border-radius: 2px !important;
}

/* CTA Buttons */
.smart-finance-grid .bg-white a[href="#contact"],
.smart-finance-grid a.block.w-full,
.smart-finance-grid a.btn-brand,
body section.relative .smart-finance-grid .bg-white.rounded-3xl .relative.z-10 a.block.w-full.text-center {
  background: linear-gradient(135deg, 
    hsl(259 64% 20%) 0%, 
    hsl(240 60% 30%) 50%, 
    hsl(200 80% 40%) 100%) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25) !important;
  text-decoration: none !important;
}

.smart-finance-grid .bg-white a[href="#contact"]:hover,
.smart-finance-grid a.block.w-full:hover,
.smart-finance-grid a.btn-brand:hover,
body section.relative .smart-finance-grid .bg-white.rounded-3xl .relative.z-10 a.block.w-full.text-center:hover {
  background: linear-gradient(135deg, 
    hsl(259 64% 25%) 0%, 
    hsl(240 60% 35%) 50%, 
    hsl(200 80% 45%) 100%) !important;
  transform: translateY(-2px) scale(1.02) !important;
  color: white !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}

/* ================================================================
   7. RESPONSIVE DESIGN
   ================================================================ */

/* Mobile (up to 640px) - Enhanced Responsive Design */
@media (max-width: 640px) {
  /* Typography adjustments */
  .headline-hero {
    font-size: clamp(2.25rem, 9vw, 3.5rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
  }
  
  .headline-section {
    font-size: clamp(1.875rem, 8vw, 3rem) !important;
    line-height: 1.2 !important;
  }
  
  .headline-tagline {
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
  }
  
  .text-lg { 
    font-size: 1.125rem !important; 
    line-height: 1.6 !important; 
  }
  
  .text-xl { 
    font-size: 1.25rem !important; 
    line-height: 1.6 !important; 
  }
  
  h1 { font-size: clamp(2.25rem, 9vw, 3.5rem) !important; }
  h2 { font-size: clamp(2rem, 8vw, 3.25rem) !important; }
  h3 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  
  /* Hero adjustments */
  .backdrop-blur-lg {
    padding: 1.25rem !important;
    margin: 0 0.5rem !important;
    border-radius: 1rem !important;
  }
  
  .backdrop-blur-lg.bg-gradient-to-br.from-white\/15.to-white\/5 {
    backdrop-filter: blur(10px) !important;
  }
  
  /* Button adjustments */
  .btn-primary-gradient,
  .btn-secondary {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    width: 100% !important;
    justify-content: center !important;
  }
  
  /* Card adjustments */
  .bg-white\/10 {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
  }
  
  /* Navigation adjustments */
  .nav-glass {
    backdrop-filter: blur(16px) !important;
    padding: 0.75rem 0 !important;
  }
  
  /* Form adjustments */
  .contact-col-bg {
    padding: 1.5rem !important;
    margin: 0 !important;
    border-radius: 1.25rem !important;
  }
  
  .contact-col-bg input,
  .contact-col-bg select,
  .contact-col-bg textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 0.875rem 1rem !important;
  }
  
  /* Spacing adjustments */
  .pt-24 { 
    padding-top: 4.5rem !important; 
  }
  
  .py-24 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  
  /* Hide complex animations on mobile for performance */
  .animate-float-3d,
  .animate-morph {
    animation: none !important;
  }
  
  /* Floating elements size reduction */
  .absolute[class*="animate-"] {
    transform: scale(0.7) !important;
  }
  
  /* Grid adjustments */
  .grid {
    gap: 1rem !important;
  }
  
  /* Audience cards mobile optimization */
  .group.cursor-pointer.transform .h-\\[500px\\] {
    height: 420px !important;
  }
  
  .group.cursor-pointer.transform .h-full {
    height: 320px !important;
  }
}

/* Extra Small Mobile (up to 480px) - Ultra Compact Design */
@media (max-width: 480px) {
  .headline-hero {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
    letter-spacing: -0.01em !important;
  }
  
  .headline-section {
    font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
  }
  
  /* Hero cards stack vertically */
  .backdrop-blur-lg {
    padding: 1rem !important;
    margin: 0 0.25rem !important;
  }
  
  .bg-white\/10 {
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    direction: rtl !important;
    line-height: 1.3 !important;
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Buttons stack vertically */
  .flex.flex-wrap.justify-center.gap-4 {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  /* Form elements full width */
  .grid.sm\\:grid-cols-2 {
    grid-template-columns: 1fr !important;
  }
  
  /* Reduce icon sizes */
  .aud-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  .hero-icon-gradient {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  /* Testimonial cards smaller */
  .testimonial-card {
    flex: 0 0 260px !important;
    padding: 1rem !important;
  }
  
  /* Footer adjustments */
  footer .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Tablet & Small Desktop (up to 1023px) */
@media (max-width: 1023px) {
  .bg-white\/10 {
    padding: clamp(0.5rem, 2vw, 1rem) clamp(0.75rem, 3vw, 1.5rem) !important;
    font-size: clamp(0.75rem, 3vw, 1rem) !important;
    border-radius: clamp(0.5rem, 2vw, 1rem) !important;
    flex-direction: row !important;
    gap: clamp(0.25rem, 1vw, 0.5rem) !important;
    min-height: clamp(2rem, 6vw, 3rem) !important;
    width: auto !important;
    max-width: clamp(180px, 70vw, 280px) !important;
    white-space: nowrap !important;
    justify-content: center !important;
  }
  
  .bg-white\/10 span {
    font-size: 1.25rem !important;
    text-align: center !important;
  }
  
  .bg-white\/10 svg {
    width: 4.08rem !important;
    height: 4.08rem !important;
    animation: checkPulse 2s ease-in-out infinite !important;
  }
  
  .flex.flex-col {
    flex-direction: column !important;
    align-items: center !important;
    gap: clamp(0.5rem, 2vw, 1rem) !important;
  }
  
  .backdrop-blur-lg {
    padding: clamp(1rem, 4vw, 3rem) !important;
    margin: clamp(0.5rem, 2vw, 1rem) !important;
    max-width: calc(100vw - clamp(1rem, 4vw, 2rem)) !important;
    min-height: auto !important;
    margin-top: 5px !important;
  }
  
  .mobile-hide { display: none !important; }
  .mobile-show { display: inline !important; }
  
  .headline-main {
    font-size: clamp(1.75rem, 7vw, 4rem) !important;
    line-height: 1.3 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  
  .headline-sub {
    font-size: clamp(1.5rem, 6vw, 5rem) !important;
    line-height: 1.3 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  
  .min-h-screen {
    min-height: 100vh !important;
    min-height: 100dvh !important;
  }
  
  .hero-content-container {
    padding: clamp(1rem, 4vw, 2rem) !important;
    padding-top: clamp(4rem, 8vh, 6rem) !important;
    padding-bottom: clamp(1rem, 4vh, 3rem) !important;
  }
  
  .group.inline-flex {
    font-size: 1.25rem !important;
    padding: clamp(0.6rem, 3vw, 0.9rem) clamp(1.2rem, 4.8vw, 1.8rem) !important;
    margin-top: clamp(0.5rem, 2vw, 1rem) !important;
  }
  
  nav.glass-light {
    backdrop-filter: blur(10px) !important;
  }
  
  nav .max-w-7xl {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }
  
  nav img {
    height: 3.5rem !important;
  }
  
  .absolute.inset-0.z-10 {
    padding-top: 4rem !important;
  }
  
  .lg\:hidden {
    display: none !important;
  }
  
  .professional-managers-flex {
    gap: 1.5rem;
    padding: 0 1rem;
  }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  nav button.lg\:hidden {
    display: none !important;
  }
  
  .bg-white\/10 {
    padding: clamp(0.75rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem) !important;
    font-size: 1rem !important;
    border-radius: clamp(0.75rem, 2.5vw, 1.25rem) !important;
    flex-direction: row !important;
    gap: clamp(0.5rem, 1.5vw, 1rem) !important;
    min-height: clamp(3rem, 8vw, 4rem) !important;
    width: 100% !important;
    max-width: clamp(250px, 80vw, 350px) !important;
  }
  
  .bg-white\/10 span {
    font-size: clamp(1rem, 4vw, 1.8rem) !important;
  }
  
  .bg-white\/10 svg {
    width: clamp(1.5rem, 5vw, 2.5rem) !important;
    height: clamp(1.5rem, 5vw, 2.5rem) !important;
  }
  
  .headline-main {
    font-size: clamp(2.1rem, 8.4vw, 4.8rem) !important;
  }
  
  .headline-sub {
    font-size: clamp(1.8rem, 7.2vw, 6rem) !important;
  }
  
  /* Key Benefits - fit all 3 cards in one row */
  .flex.flex-col.lg\:flex-row.gap-2.lg\:gap-4 {
    justify-content: space-between !important;
    max-width: 100%;
    flex-wrap: nowrap !important;
    gap: 0.75rem;
    padding: 0;
    display: flex !important;
    width: 100%;
  }
  
  .bg-white\/10.rounded-full {
    flex: 1 1 30%;
    min-width: 0;
    max-width: 32%;
    overflow: hidden;
    padding: 0.5rem 1rem !important;
    box-sizing: border-box;
  }
  
  .bg-white\/10.rounded-full span {
    font-size: 0.95rem !important;
    line-height: 1.3rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
  
  /* Headlines - keep on single line */
  .headline-box {
    min-width: fit-content;
    max-width: 100%;
    overflow: hidden;
  }
  
  .headline-main,
  .hero-subtitle {
    display: inline-block;
    min-width: max-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Glass card width adjustment */
  .backdrop-blur-lg.bg-gradient-to-br.from-white\/10.to-white\/5 {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 1rem 1.2rem !important;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .professional-managers-flex {
    max-width: 1400px;
  }
}

/* Extra Large Desktop (1280px and up) */
@media (min-width: 1280px) {
  .smart-finance-grid { 
    gap: 1rem !important; 
  }
}

/* ================================================================
   8. UTILITY CLASSES
   ================================================================ */

/* Performance Optimizations */
img {
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
}

/* Padding adjustment for smart finance cards */
.smart-finance-grid .bg-white.rounded-3xl .p-6 { 
  padding: 1.25rem; 
}

/* ================================================================
   8.5 FOOTER DESIGN
   ================================================================ */

/* Modern Footer Gradient */
.footer-gradient {
  background: linear-gradient(135deg,
    #1a1a2e 0%,
    #0f172a 25%,
    #1e293b 50%,
    #0f172a 75%,
    #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.footer-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(99, 102, 241, 0.5) 25%,
    rgba(168, 85, 247, 0.5) 50%,
    rgba(59, 130, 246, 0.5) 75%,
    transparent
  );
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Footer content styling */
.footer-content h3 {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: 0.025em;
}

/* Footer links hover effect */
footer a {
  position: relative;
  transition: all 0.3s ease;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

/* Social media icons enhancement */
.social-icon {
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.social-icon:hover::before {
  width: 100%;
  height: 100%;
}

/* ================================================================
   9. ACCESSIBILITY
   ================================================================ */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================================
   10. REUSABLE CTA BUTTONS
   ================================================================ */
/* Original button styles with blue-purple gradient */
.btn-primary-gradient {
  background: linear-gradient(90deg, hsl(259 64% 20%) 0%, hsl(240 60% 30%) 50%, hsl(200 80% 40%) 100%);
  color: #fff !important;
  position: relative;
  overflow: hidden;
  transition: all .35s ease;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.35), 0 4px 12px -4px rgba(37,99,235,.45);
}



.btn-primary-gradient:hover { 
  filter: brightness(1.08); 
  transform: translateY(-2px) scale(1.03); 
  text-decoration:none; 
}
.btn-primary-gradient:active { 
  transform: translateY(0) scale(.97); 
  box-shadow:0 4px 14px -4px rgba(0,0,0,.4); 
}
.btn-primary-gradient svg { 
  stroke: currentColor; 
}

/* Secondary button style */
.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #374151 !important;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.15);
}

/* Enhanced Color palette variables for vibrant design */
:root {
  /* Primary Gradients - Blue to Purple Spectrum */
  --primary-gradient-start: #6366f1;
  --primary-gradient-mid: #a855f7;
  --primary-gradient-end: #3b82f6;
  
  /* Green Spectrum - Fresh & Natural */
  --green-start: #10b981;
  --green-mid: #14b8a6;
  --green-end: #06b6d4;
  
  /* Warm Spectrum - Dynamic & Energetic */
  --warm-start: #f59e0b;
  --warm-mid: #ef4444;
  --warm-end: #dc2626;
  
  /* Text & Background Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  /* Vibrant Accent Colors */
  --accent-purple: #7c3aed;
  --accent-blue: #2563eb;
  --accent-indigo: #4338ca;
  --accent-pink: #ec4899;
  --accent-teal: #14b8a6;
  --accent-orange: #f59e0b;
  --accent-red: #ef4444;
  --accent-green: #10b981;
}

/* Hero icons — match footer social gradient */
.hero-social-gradient {
  background: linear-gradient(90deg, hsl(259 64% 20%) 0%, hsl(240 60% 30%) 50%, hsl(200 80% 40%) 100%) !important;
}

/* Arrow-enhanced variant */
.btn-primary-gradient.btn-with-arrow { display:inline-flex; align-items:center; gap:.6rem; font-weight:600; letter-spacing:.25px; }
.btn-primary-gradient.btn-with-arrow .arrow-icon { display:inline-flex; align-items:center; justify-content:center; transition:transform .35s ease; }
/* In RTL the arrow should point left (←) but animate slightly */
html[dir="rtl"] .btn-primary-gradient.btn-with-arrow:hover .arrow-icon { transform:translateX(-4px); }
html[dir="rtl"] .btn-primary-gradient.btn-with-arrow:active .arrow-icon { transform:translateX(-1px); }

/* ================================================================
   11. UNIQUE APPROACH SECTION CARDS - MODERN GLASSMORPHISM
   ================================================================ */
/* Base card reset */
.approach-card { 
  position: relative; 
  border-radius: 1.5rem; 
  padding: 2rem; 
  overflow: hidden; 
  display: flex; 
  flex-direction: column; 
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Vision & Mission cards - Blue-Purple gradient glass effect */
.approach-card.vision {
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.95) 0%,
    rgba(79, 70, 229, 0.9) 25%,
    rgba(67, 56, 202, 0.85) 50%,
    rgba(59, 130, 246, 0.9) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  box-shadow:
    0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.66) inset,
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 8px 32px rgba(99, 102, 241, 0.3),
    0 16px 48px rgba(59, 130, 246, 0.2);
  color: #fff;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-card.mission {
  /* Match Vision card gradient/colors exactly */
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.95) 0%,
    rgba(79, 70, 229, 0.9) 25%,
    rgba(67, 56, 202, 0.85) 50%,
    rgba(59, 130, 246, 0.9) 100%);
  backdrop-filter: blur(20px) saturate(200%);
  box-shadow:
    0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.66) inset,
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 8px 32px rgba(99, 102, 241, 0.3),
    0 16px 48px rgba(59, 130, 246, 0.2);
  color: #fff;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Multi-layer glass effect */
.approach-card.vision:before,
.approach-card.mission:before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.3), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 255, 255, 0.15), transparent 50%),
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2), transparent 40%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Animated shimmer effect */
.approach-card.vision::after,
.approach-card.mission::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.8s;
}

.approach-card.vision:hover::after,
.approach-card.mission:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* Hover effects */
.approach-card.vision:hover,
.approach-card.mission:hover {
  transform: translateY(-8px) rotateX(-2deg);
  box-shadow:
    0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.66) inset,
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 16px 48px rgba(99, 102, 241, 0.4),
    0 24px 64px rgba(147, 51, 234, 0.3);
}

.approach-card.vision h3,
.approach-card.mission h3 { 
  color: #fff; 
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.approach-card.vision p,
.approach-card.mission p { 
  color: rgba(255, 255, 255, 0.95); 
  line-height: 1.6;
}

/* Icon wrapper with glass effect */
.approach-card .icon-wrap { 
  width: 3rem; 
  height: 3rem; 
  border-radius: 1rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 24px -8px rgba(17, 24, 39, 0.45),
    0 6px 12px -6px rgba(17, 24, 39, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 16px rgba(17, 24, 39, 0.30));
}

/* 360° ambient halo around the icon */
.approach-card .icon-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(79,70,229,0.30) 0%, rgba(79,70,229,0.16) 45%, rgba(79,70,229,0.08) 60%, rgba(79,70,229,0.00) 75%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

/* Use Vision card colors for both icons (Vision + Mission) */
.approach-card.vision .icon-wrap,
.approach-card.mission .icon-wrap {
  /* Flat brand tone to avoid side banding; halo handled by ::before */
  background-color: #4f46e5; /* match principles */
  background-image: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(255,255,255,0.25); color:#fff;
}

/* Soft ambient shadow beneath icon to create separation from card */
.approach-card .icon-wrap::after { content:""; display:none; }

.approach-card:hover .icon-wrap {
  box-shadow:
    0 14px 28px -10px rgba(17, 24, 39, 0.50),
    0 10px 16px -8px rgba(17, 24, 39, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.approach-card:hover .icon-wrap {
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 
    0 6px 16px -2px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.approach-card .icon-wrap svg { 
  stroke: #ffffff; /* solid white like hero icons */
  filter: none;
}

/* Technology benefits card inside technology section styled like mission/vision */
.tech-benefits-card { padding:1.75rem 1.75rem 1.25rem; }
.tech-benefits-card h4 { color:#fff; }
.tech-benefits-card p { color:rgba(255,255,255,.85); }
.tech-benefits-card svg { stroke:currentColor; color:#fff; opacity:.92; }
.tech-benefits-card .feature-item { position:relative; }
.tech-benefits-card .feature-item:before { content:""; position:absolute; inset:-6px -8px -6px -8px; background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.03)); border-radius:1rem; opacity:0; transition:.35s; }
.tech-benefits-card .feature-item:hover:before { opacity:1; }

@media (max-width: 640px){
  .approach-card { min-height:auto; }
}

/* ================================================================
   12. PROCESS (HOW IT WORKS) - ADVANCED 3D TIMELINE
   ================================================================ */
   
/* Timeline Container */
.process-timeline {
  position: relative;
  padding: 4rem 0;
  overflow: visible;
}

/* Timeline Path Container */
.timeline-path-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 200px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.timeline-path {
  width: 100%;
  height: 100%;
}

.timeline-curve {
  animation: draw-path 3s ease-out forwards;
}

@keyframes draw-path {
  from {
    stroke-dashoffset: 2000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Process Cards Container */
.process-cards-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  z-index: 2;
  padding: 0 1rem;
}

/* Process Item */
.process-item {
  position: relative;
  perspective: 1000px;
  animation: fade-in-up 0.8s ease-out forwards;
  opacity: 0;
}

.process-item.step-1 { animation-delay: 0.2s; }
.process-item.step-2 { animation-delay: 0.4s; }
.process-item.step-3 { animation-delay: 0.6s; }

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3D Card Structure */
.process-card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.process-item:hover .process-card-3d {
  transform: rotateY(8deg) rotateX(-5deg) translateZ(20px);
}

/* Card Face */
.card-face {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 
    0 10px 40px -10px rgba(67, 56, 202, 0.15),
    0 0 0 1px rgba(67, 56, 202, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-face::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.process-item:hover .card-face::before {
  opacity: 1;
}

/* Card Shadow */
.card-shadow {
  position: absolute;
  inset: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.2), rgba(99, 102, 241, 0.1));
  filter: blur(20px);
  transform: translateZ(-40px);
  opacity: 0.4;
  transition: all 0.4s ease;
}

.process-item:hover .card-shadow {
  inset: 10px;
  opacity: 0.6;
  filter: blur(30px);
}

/* Card Number Main (centered) */
.card-number-main {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-number-main .number-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  border-radius: 24px;
  box-shadow: 
    0 15px 40px -5px rgba(67, 56, 202, 0.5),
    inset 0 -3px 0 rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  transition: all 0.3s ease;
}

.number-ring {
  position: absolute;
  inset: -10px;
  border: 3px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  transform: rotate(8deg);
  animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% {
    transform: rotate(8deg) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: rotate(8deg) scale(1.1);
    opacity: 0.2;
  }
}

.process-item:hover .card-number-main .number-bg {
  transform: rotate(0deg) scale(1.1);
}

/* Remove icon styles as they're no longer needed */

/* Card Content */
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.3;
  background: linear-gradient(135deg, #1e293b 0%, #4338ca 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  text-align: center;
}

.process-item:hover .card-title {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.card-content {
  margin-bottom: 1.5rem;
}

.card-text {
  color: #64748b;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Progress Indicator */
.card-footer {
  position: relative;
  margin-top: auto;
}

.progress-indicator {
  position: relative;
  height: 6px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #4338ca 0%, #6366f1 50%, #a855f7 100%);
  border-radius: 3px;
  width: 0;
  transition: width 1.5s ease-out;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.process-item:hover .step-1-progress { width: 33%; }
.process-item:hover .step-2-progress { width: 66%; }
.process-item:hover .step-3-progress { width: 100%; }

/* Remove navigation dots styles as they're no longer needed */

/* Finance Section Icons - Same style as principle icons */
.smart-finance-grid .principle-icon-main,
.hero-value-proposition .principle-icon-main {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smart-finance-grid .principle-icon-main .icon-bg,
.hero-value-proposition .principle-icon-main .icon-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: white;
  border-radius: 50%;
  box-shadow: 
    0 12px 35px -5px rgba(67, 56, 202, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.smart-finance-grid .principle-icon-main .icon-bg svg,
.hero-value-proposition .principle-icon-main .icon-bg svg {
  stroke: white;
  width: 36px;
  height: 36px;
}

.smart-finance-grid .principle-icon-main .icon-ring,
.hero-value-proposition .principle-icon-main .icon-ring {
  position: absolute;
  inset: -8px;
  border: 2.5px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  transform: rotate(0deg);
  animation: pulse-ring 3s ease-in-out infinite;
}

.smart-finance-grid .bg-white:hover .principle-icon-main .icon-bg,
.hero-value-proposition .backdrop-blur-lg:hover .principle-icon-main .icon-bg {
  transform: rotate(0deg) scale(1.08);
}

/* Hero Icons - Smaller size */
.hero-value-proposition .principle-icon-main.hero-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem auto;
}

.hero-value-proposition .principle-icon-main.hero-icon .icon-bg svg {
  width: 28px;
  height: 28px;
}

.hero-value-proposition .principle-icon-main.hero-icon .icon-ring {
  inset: -6px;
  border-width: 2px;
}

/* Service cards hover effects */
.bg-white:hover .investment-bullets,
.bg-white:hover .tax-bullets,
.bg-white:hover .insurance-bullets,
.bg-white:hover .mortgage-bullets,
.bg-white:hover .planning-bullets,
.bg-white:hover .retirement-bullets,
.bg-white:hover .business-bullets,
.bg-white:hover .organizations-bullets {
  opacity: 0;
}

.bg-white:hover .investment-cta,
.bg-white:hover .tax-cta,
.bg-white:hover .insurance-cta,
.bg-white:hover .mortgage-cta,
.bg-white:hover .planning-cta,
.bg-white:hover .retirement-cta,
.bg-white:hover .business-cta,
.bg-white:hover .organizations-cta {
  opacity: 1;
}

/* Hero icon ring animations */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}



/* Highlight state for navigation */
.process-item.highlight .card-face {
  animation: highlight-pulse 1s ease-out;
}

@keyframes highlight-pulse {
  0%, 100% {
    box-shadow: 
      0 10px 40px -10px rgba(67, 56, 202, 0.15),
      0 0 0 1px rgba(67, 56, 202, 0.05);
  }
  50% {
    box-shadow: 
      0 20px 60px -10px rgba(67, 56, 202, 0.3),
      0 0 0 3px rgba(67, 56, 202, 0.1);
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .process-cards-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .card-face {
    padding: 2rem;
  }
  
  .card-title {
    font-size: 1.25rem;
  }
  
  .timeline-path-container {
    display: none;
  }
}

/* ================================================================
   12.5 PARTNER CARDS
   ================================================================ */
/* Partner card with colorful hover effects */
.partner-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg,
    #10b981 0%,
    #06b6d4 20%,
    #3b82f6 40%,
    #8b5cf6 60%,
    #ec4899 80%,
    #ef4444 100%);
  border-radius: 1rem;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

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

.partner-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 10px 30px -5px rgba(0, 0, 0, 0.15),
    0 0 40px -10px rgba(99, 102, 241, 0.3);
}

/* Different hover colors for different sections */
[x-show*="'banks'"] .partner-card:nth-child(3n+1):hover::before {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

[x-show*="'banks'"] .partner-card:nth-child(3n+2):hover::before {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

[x-show*="'banks'"] .partner-card:nth-child(3n):hover::before {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

/* ================================================================
   13. AUDIENCE CARDS - ADVANCED 3D DESIGN
   ================================================================ */

/* Card Wrapper */
.audience-card-wrapper {
  position: relative;
  perspective: 1200px;
  height: 500px;
}

/* 3D Card Container */
.audience-card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.audience-card-wrapper:hover .audience-card-3d {
  transform: rotateY(180deg);
}

/* Card Inner Container */
.audience-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Front Face */
.audience-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 20px 60px -15px rgba(67, 56, 202, 0.15),
    0 0 0 1px rgba(67, 56, 202, 0.05);
  transition: all 0.6s ease;
}

/* Back Face */
.audience-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: white;
}

/* Back Overlay */
.back-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.85) 0%, rgba(99, 102, 241, 0.85) 100%);
  z-index: 1;
}

/* Image Container */
.card-image-container {
  position: relative;
  height: 55%;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.audience-card-wrapper:hover .card-image {
  transform: scale(1.1);
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.3) 90%,
    rgba(0, 0, 0, 0.5) 100%
  );
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.audience-card-wrapper:hover .image-overlay {
  opacity: 1;
}

/* Badge */
.card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  animation: slide-down 0.6s ease-out 0.3s forwards;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Content Wrapper */
.card-content-wrapper {
  position: relative;
  height: 45%;
  padding: 2rem;
  background: linear-gradient(to bottom, white 0%, #f9fafb 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Card Header */
.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4338ca 0%, #6366f1 50%, transparent 100%);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.audience-card-wrapper:hover .title-underline {
  width: 100px;
}

/* Card Description */
.card-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Feature Tags */
.card-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  justify-content: center;
}

.feature-tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  color: #4338ca;
  border-radius: 15px;
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.audience-card-wrapper:hover .feature-tag {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.audience-card-wrapper:hover .card-glow {
  opacity: 1;
  animation: rotate-glow 15s linear infinite;
}

@keyframes rotate-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15%;
  pointer-events: none;
  overflow: hidden;
}

.float-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.dot-1 {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  bottom: 20%;
  left: 15%;
  animation: random-float-1 8s ease-in-out infinite;
}

.dot-2 {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  bottom: 40%;
  right: 20%;
  animation: random-float-2 10s ease-in-out infinite;
  animation-delay: -3s;
}

.dot-3 {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #a855f7, #4338ca);
  bottom: 15%;
  left: 50%;
  animation: random-float-3 12s ease-in-out infinite;
  animation-delay: -6s;
}

/* Unique positions for soldiers card */
[data-audience="soldiers"] .dot-1 {
  bottom: 30%;
  left: 20%;
  animation: random-float-1-alt 9s ease-in-out infinite;
}
[data-audience="soldiers"] .dot-2 {
  bottom: 50%;
  right: 15%;
  animation: random-float-2-alt 11s ease-in-out infinite;
  animation-delay: -2s;
}
[data-audience="soldiers"] .dot-3 {
  bottom: 20%;
  left: 60%;
  animation: random-float-3-alt 13s ease-in-out infinite;
  animation-delay: -5s;
}

/* Unique positions for families card */
[data-audience="families"] .dot-1 {
  bottom: 25%;
  left: 10%;
  animation: random-float-1-rev 7s ease-in-out infinite;
  animation-delay: -1s;
}
[data-audience="families"] .dot-2 {
  bottom: 60%;
  right: 25%;
  animation: random-float-2-rev 9s ease-in-out infinite;
  animation-delay: -4s;
}
[data-audience="families"] .dot-3 {
  bottom: 15%;
  left: 45%;
  animation: random-float-3-rev 11s ease-in-out infinite;
  animation-delay: -7s;
}

/* Unique positions for retirement card */
[data-audience="retirement"] .dot-1 {
  bottom: 40%;
  left: 25%;
  animation: random-float-1-mix 10s ease-in-out infinite;
  animation-delay: -2s;
}
[data-audience="retirement"] .dot-2 {
  bottom: 20%;
  right: 10%;
  animation: random-float-2-mix 8s ease-in-out infinite;
  animation-delay: -5s;
}
[data-audience="retirement"] .dot-3 {
  bottom: 35%;
  left: 55%;
  animation: random-float-3-mix 14s ease-in-out infinite;
  animation-delay: -3s;
}

.audience-card-wrapper:hover .float-dot {
  opacity: 0.8;
}

@keyframes random-float-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(30px, -5px) scale(1.1) rotate(90deg);
  }
  50% {
    transform: translate(-25px, -10px) scale(0.9) rotate(180deg);
  }
  75% {
    transform: translate(15px, -15px) scale(1.05) rotate(270deg);
  }
}

@keyframes random-float-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(-30px, -8px) scale(0.95) rotate(-120deg);
  }
  66% {
    transform: translate(20px, -12px) scale(1.15) rotate(-240deg);
  }
}

@keyframes random-float-3 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  20% {
    transform: translate(-15px, -10px) scale(1.1) rotate(72deg);
  }
  40% {
    transform: translate(25px, -5px) scale(0.85) rotate(144deg);
  }
  60% {
    transform: translate(-10px, -15px) scale(1) rotate(216deg);
  }
  80% {
    transform: translate(10px, -8px) scale(1.05) rotate(288deg);
  }
}

/* Alternative animations for soldiers card */
@keyframes random-float-1-alt {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(-20px, -15px) scale(1.15) rotate(-90deg);
  }
  50% {
    transform: translate(35px, -8px) scale(0.95) rotate(-180deg);
  }
  75% {
    transform: translate(-10px, -20px) scale(1.05) rotate(-270deg);
  }
}

@keyframes random-float-2-alt {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(25px, -10px) scale(1.1) rotate(120deg);
  }
  66% {
    transform: translate(-30px, -5px) scale(0.9) rotate(240deg);
  }
}

@keyframes random-float-3-alt {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  20% {
    transform: translate(20px, -12px) scale(0.9) rotate(-60deg);
  }
  40% {
    transform: translate(-15px, -18px) scale(1.1) rotate(-120deg);
  }
  60% {
    transform: translate(10px, -5px) scale(0.95) rotate(-180deg);
  }
  80% {
    transform: translate(-25px, -10px) scale(1.05) rotate(-240deg);
  }
}

/* Reverse animations for families card */
@keyframes random-float-1-rev {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(15px, -12px) scale(0.9) rotate(45deg);
  }
  50% {
    transform: translate(-20px, -5px) scale(1.1) rotate(90deg);
  }
  75% {
    transform: translate(25px, -18px) scale(1) rotate(135deg);
  }
}

@keyframes random-float-2-rev {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(-15px, -15px) scale(0.85) rotate(-60deg);
  }
  66% {
    transform: translate(30px, -8px) scale(1.2) rotate(-120deg);
  }
}

@keyframes random-float-3-rev {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  20% {
    transform: translate(-30px, -5px) scale(1.05) rotate(30deg);
  }
  40% {
    transform: translate(15px, -15px) scale(0.9) rotate(60deg);
  }
  60% {
    transform: translate(-5px, -10px) scale(1.1) rotate(90deg);
  }
  80% {
    transform: translate(20px, -8px) scale(0.95) rotate(120deg);
  }
}

/* Mixed animations for retirement card */
@keyframes random-float-1-mix {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(-35px, -8px) scale(1.05) rotate(180deg);
  }
  50% {
    transform: translate(10px, -15px) scale(0.85) rotate(360deg);
  }
  75% {
    transform: translate(-15px, -5px) scale(1.1) rotate(540deg);
  }
}

@keyframes random-float-2-mix {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(20px, -20px) scale(1.15) rotate(90deg);
  }
  66% {
    transform: translate(-25px, -10px) scale(0.95) rotate(180deg);
  }
}

@keyframes random-float-3-mix {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  20% {
    transform: translate(30px, -15px) scale(0.95) rotate(-45deg);
  }
  40% {
    transform: translate(-20px, -8px) scale(1.15) rotate(-90deg);
  }
  60% {
    transform: translate(15px, -12px) scale(0.9) rotate(-135deg);
  }
  80% {
    transform: translate(-10px, -5px) scale(1.05) rotate(-180deg);
  }
}

/* Back Face Content */
.back-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.back-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

.back-title::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.services-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.services-list li:hover {
  padding-right: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #4338ca;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  gap: 0.75rem;
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(3px);
}

/* Animation on load */
@keyframes slide-down {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .audience-card-wrapper {
    height: 450px;
  }
  
  .card-title {
    font-size: 1.25rem;
  }
  
  .card-description {
    font-size: 0.8rem;
  }
  
  .card-content-wrapper {
    padding: 1.5rem;
  }
}

/* ================================================================
   14. BUSINESS FLIP CARDS - HORIZONTAL DESIGN WITH 3D FLIP
   ================================================================ */

/* Business Flip Card Wrapper */
.business-flip-card-wrapper {
  position: relative;
  perspective: 1000px;
  height: 352px;
}

/* 3D Container */
.business-flip-card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.business-flip-card-wrapper:hover .business-flip-card-3d {
  transform: rotateX(180deg);
}

/* Card Inner */
.business-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Common styles for both faces */
.business-flip-card-front,
.business-flip-card-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Front Face */
.business-flip-card-front {
  height: 352px;
  background: #ffffff;
  display: flex;
  transform: rotateX(0deg);
}

/* Back Face */
.business-flip-card-back {
  height: 352px;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  background-size: cover;
  background-position: center;
  transform: rotateX(-180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
}

/* Back Content */
.business-back-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.business-back-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  font-family: 'serif';
}

.business-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.business-services-list li {
  padding-right: 1.25rem;
  position: relative;
  font-size: 0.875rem;
  opacity: 0.9;
  white-space: nowrap;
}

.business-services-list li::before {
  content: "◈";
  position: absolute;
  right: 0;
  color: rgba(255, 255, 255, 0.7);
}

.business-back-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.business-back-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  gap: 0.75rem;
}

/* ================================================================
   14B. BUSINESS ENHANCED CARDS - SIMPLE HORIZONTAL DESIGN (OLD)
   ================================================================ */

/* Business Enhanced Card */
.business-enhanced-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.5s ease;
  height: 100%;
}

.business-enhanced-card:hover {
  transform: translateY(-5px);
}

/* Card Inner Container */
.business-card-inner {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  height: 320px;
  box-shadow: 
    0 10px 30px -10px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.business-enhanced-card:hover .business-card-inner {
  box-shadow: 
    0 20px 50px -15px rgba(67, 56, 202, 0.15),
    0 0 0 1px rgba(67, 56, 202, 0.1);
}

/* Content Area */
.business-content-area {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 3rem;
}

/* Title */
.business-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-family: 'serif';
  line-height: 1.2;
  white-space: nowrap;
  position: relative;
}

/* Title Underline */
.business-card-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4338ca 0%, #6366f1 100%);
  border-radius: 1.5px;
  transition: width 0.4s ease;
}

.business-enhanced-card:hover .business-card-title::after {
  width: 100px;
}

/* Description */
.business-card-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  margin-top: 1rem;
}

/* Features Grid */
.business-features-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.business-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.3;
}

.feature-bullet {
  color: #6366f1;
  font-size: 1rem;
  line-height: 1;
}

/* Image Area */
.business-image-area {
  position: relative;
  width: 35%;
  overflow: hidden;
}

.business-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.business-enhanced-card:hover .business-card-image {
  transform: scale(1.05);
}

/* Image Overlay */
.business-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 50%
  );
  opacity: 0.8;
}

/* Hover Effects Container */
.business-hover-effects {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12%;
  pointer-events: none;
  overflow: hidden;
}

/* Float Elements */
.business-float-element {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  border-radius: 50%;
  opacity: 0.6;
}

.business-float-element.float-1 {
  bottom: 20%;
  left: 15%;
  animation: simple-float-1 8s ease-in-out infinite;
}

.business-float-element.float-2 {
  bottom: 40%;
  right: 20%;
  width: 8px;
  height: 8px;
  animation: simple-float-2 10s ease-in-out infinite;
  animation-delay: -3s;
}

.business-float-element.float-3 {
  bottom: 30%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  animation: simple-float-3 12s ease-in-out infinite;
  animation-delay: -6s;
}

.business-enhanced-card:hover .business-float-element {
  opacity: 0.8;
}

/* Simple Float Animations */
@keyframes simple-float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -5px); }
}

@keyframes simple-float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, -8px); }
}

@keyframes simple-float-3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(10px, -10px); }
  66% { transform: translate(-20px, -5px); }
}



/* Responsive */
@media (max-width: 768px) {
  .business-flip-card-wrapper {
    height: 387px; /* 352 * 1.1 for mobile */
  }
  
  .business-flip-card-front {
    flex-direction: column-reverse;
    height: auto;
  }
  
  .business-content-area {
    padding: 2rem;
  }
  
  .business-image-area {
    width: 100%;
    height: 200px;
  }
  
  .business-card-title {
    font-size: 1.5rem;
  }
  
  .business-flip-card-wrapper:hover {
    height: auto;
  }
  
  .business-flip-card-back {
    position: relative;
    top: 0;
    transform: rotateX(0);
  }
}

/* ================================================================
   14B. BUSINESS CARDS - HORIZONTAL DESIGN (business-h) - OLD UNUSED
   ================================================================ */

/* Business Horizontal Card Wrapper */
.business-h-card-wrapper {
  position: relative;
  cursor: pointer;
  transition: transform 0.6s ease;
}

.business-h-card-wrapper:hover {
  transform: translateY(-5px);
}

/* Business Horizontal Card */
.business-h-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  height: 320px;
  box-shadow: 
    0 10px 40px -10px rgba(67, 56, 202, 0.08),
    0 0 0 1px rgba(67, 56, 202, 0.04);
  transition: all 0.4s ease;
}

.business-h-card-wrapper:hover .business-h-card {
  box-shadow: 
    0 20px 60px -15px rgba(67, 56, 202, 0.15),
    0 0 0 1px rgba(67, 56, 202, 0.08),
    inset 0 0 0 2px rgba(99, 102, 241, 0.1);
}

/* Content Section */
.business-h-content {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* Header */
.business-h-header {
  margin-bottom: 1.5rem;
}

.business-h-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-family: 'serif';
  transition: all 0.3s ease;
}

.business-h-card-wrapper:hover .business-h-title {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.business-h-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4338ca 0%, #6366f1 100%);
  border-radius: 1.5px;
  transition: width 0.4s ease;
}

.business-h-card-wrapper:hover .business-h-underline {
  width: 100px;
}

/* Description */
.business-h-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Features */
.business-h-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.business-h-features li {
  font-size: 0.875rem;
  color: #475569;
  padding-right: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.business-h-features li::before {
  content: "◈";
  position: absolute;
  right: 0;
  color: #6366f1;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.business-h-card-wrapper:hover .business-h-features li {
  padding-right: 2rem;
  color: #334155;
}

.business-h-card-wrapper:hover .business-h-features li::before {
  right: 0.5rem;
  transform: scale(1.2) rotate(45deg);
}

/* CTA Button */
.business-h-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px -3px rgba(67, 56, 202, 0.3);
}

.business-h-cta:hover {
  transform: translateX(-3px);
  box-shadow: 0 6px 20px -3px rgba(67, 56, 202, 0.4);
  gap: 0.75rem;
}

.business-h-cta svg {
  transition: all 0.3s ease;
}

.business-h-cta:hover svg {
  transform: translateX(3px);
}

/* Image Section */
.business-h-image {
  position: relative;
  width: 40%;
  overflow: hidden;
}

.business-h-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.business-h-card-wrapper:hover .business-h-img {
  transform: scale(1.08);
}

/* Image Overlay */
.business-h-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(67, 56, 202, 0.1) 0%,
    rgba(99, 102, 241, 0.05) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.business-h-card-wrapper:hover .business-h-overlay {
  opacity: 1;
}

/* Badge */
.business-h-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.business-h-card-wrapper:hover .business-h-badge {
  transform: translateY(0);
  opacity: 1;
}

.business-h-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4338ca;
}

/* Glow Effect */
.business-h-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: all 0.6s ease;
  pointer-events: none;
}

.business-h-card-wrapper:hover .business-h-glow {
  opacity: 1;
  transform: translate(50px, 50px);
}

/* Floating Elements */
.business-h-floating {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 15%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.business-h-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.business-h-floating .dot-1,
.business-h-floating .dot-2 {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
}

.business-h-card-wrapper:hover .business-h-dot {
  opacity: 0.7;
}

/* Unique positions for each card */
[data-business="business"] .dot-1 {
  bottom: 20%;
  left: 15%;
  animation: business-h-float-1 10s ease-in-out infinite;
}

[data-business="business"] .dot-2 {
  bottom: 40%;
  right: 60%;
  width: 8px;
  height: 8px;
  animation: business-h-float-2 12s ease-in-out infinite;
  animation-delay: -3s;
}

[data-business="organizations"] .dot-1 {
  bottom: 30%;
  left: 25%;
  animation: business-h-float-1 11s ease-in-out infinite;
  animation-delay: -2s;
}

[data-business="organizations"] .dot-2 {
  bottom: 50%;
  right: 65%;
  width: 12px;
  height: 12px;
  animation: business-h-float-2 9s ease-in-out infinite;
  animation-delay: -5s;
}

[data-business="partners"] .dot-1 {
  bottom: 25%;
  left: 20%;
  animation: business-h-float-1 13s ease-in-out infinite;
  animation-delay: -1s;
}

[data-business="partners"] .dot-2 {
  bottom: 45%;
  right: 55%;
  width: 9px;
  height: 9px;
  animation: business-h-float-2 10s ease-in-out infinite;
  animation-delay: -4s;
}

/* Float animations */
@keyframes business-h-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -5px) scale(1.1); }
  50% { transform: translate(-15px, -8px) scale(0.9); }
  75% { transform: translate(10px, -3px) scale(1.05); }
}

@keyframes business-h-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, -6px) scale(0.95); }
  66% { transform: translate(15px, -10px) scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
  .business-h-card {
    flex-direction: column-reverse;
    height: auto;
  }
  
  .business-h-content {
    padding: 2rem;
  }
  
  .business-h-image {
    width: 100%;
    height: 200px;
  }
  
  .business-h-title {
    font-size: 1.5rem;
  }
}

/* ================================================================
   15. BUSINESS CARDS - HORIZONTAL 3D DESIGN (OLD - UNUSED)
   ================================================================ */

/* Business Card Wrapper */
.business-card-wrapper {
  position: relative;
  perspective: 1200px;
  height: 350px;
}

/* 3D Container */
.business-card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-card-wrapper:hover .business-card-3d {
  transform: rotateY(-5deg) rotateX(2deg) translateZ(10px);
}

/* Card Inner */
.business-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Main Card */
.business-card-main {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  box-shadow: 
    0 20px 60px -15px rgba(67, 56, 202, 0.12),
    0 0 0 1px rgba(67, 56, 202, 0.03);
  transition: all 0.6s ease;
}

.business-card-wrapper:hover .business-card-main {
  box-shadow: 
    0 30px 80px -20px rgba(67, 56, 202, 0.18),
    0 0 0 1px rgba(67, 56, 202, 0.08);
}

/* Content Section */
.business-content-section {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

/* Business Header */
.business-header {
  margin-bottom: 1.5rem;
}

.business-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-family: 'serif';
}

.business-title-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4338ca 0%, #6366f1 60%, transparent 100%);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.business-card-wrapper:hover .business-title-line {
  width: 120px;
}

/* Business Description */
.business-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Business Features */
.business-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  space-y: 0.75rem;
}

.business-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #475569;
  transition: all 0.3s ease;
}

.feature-icon {
  color: #6366f1;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.business-card-wrapper:hover .business-features li {
  padding-right: 0.5rem;
}

.business-card-wrapper:hover .feature-icon {
  transform: scale(1.2);
}

/* Business Action */
.business-action {
  margin-top: auto;
}

.business-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -5px rgba(67, 56, 202, 0.3);
}

.business-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(67, 56, 202, 0.4);
  gap: 0.75rem;
}

.cta-icon {
  transition: all 0.3s ease;
}

.business-cta:hover .cta-icon {
  transform: rotate(45deg);
}

/* Image Section */
.business-image-section {
  position: relative;
  width: 35%;
  overflow: hidden;
}

.business-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.business-card-wrapper:hover .business-image {
  transform: scale(1.05);
}

/* Image Overlay */
.image-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 30%
  );
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* Image Frame */
.image-frame {
  position: absolute;
  inset: 2rem;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  opacity: 0;
  transition: all 0.6s ease;
}

.business-card-wrapper:hover .image-frame {
  opacity: 1;
  inset: 1rem;
}

/* Business Glow */
.business-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(99, 102, 241, 0.08) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.business-card-wrapper:hover .business-glow {
  opacity: 1;
  animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Floating Elements */
.business-floating {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  pointer-events: none;
  overflow: hidden;
}

.business-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  transition: opacity 0.6s ease;
}

.business-floating .dot-1 {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  bottom: 20%;
  left: 10%;
  animation: business-float-1 10s ease-in-out infinite;
}

.business-floating .dot-2 {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  bottom: 40%;
  right: 15%;
  animation: business-float-2 12s ease-in-out infinite;
  animation-delay: -4s;
}

.business-card-wrapper:hover .business-dot {
  opacity: 0.8;
}

/* Unique animations for each business card */
[data-business="business"] .dot-1 {
  bottom: 30%;
  left: 8%;
  animation: business-float-1 11s ease-in-out infinite;
}

[data-business="business"] .dot-2 {
  bottom: 50%;
  right: 12%;
  animation: business-float-2 13s ease-in-out infinite;
  animation-delay: -3s;
}

[data-business="organizations"] .dot-1 {
  bottom: 25%;
  left: 15%;
  animation: business-float-1-alt 9s ease-in-out infinite;
  animation-delay: -2s;
}

[data-business="organizations"] .dot-2 {
  bottom: 45%;
  right: 18%;
  animation: business-float-2-alt 14s ease-in-out infinite;
  animation-delay: -5s;
}

[data-business="partners"] .dot-1 {
  bottom: 35%;
  left: 12%;
  animation: business-float-1-rev 12s ease-in-out infinite;
  animation-delay: -1s;
}

[data-business="partners"] .dot-2 {
  bottom: 40%;
  right: 10%;
  animation: business-float-2-rev 10s ease-in-out infinite;
  animation-delay: -6s;
}

/* Float animations */
@keyframes business-float-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(25px, -5px) scale(1.1);
  }
  50% {
    transform: translate(-20px, -10px) scale(0.9);
  }
  75% {
    transform: translate(15px, -3px) scale(1.05);
  }
}

@keyframes business-float-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, -8px) scale(0.95);
  }
  66% {
    transform: translate(20px, -12px) scale(1.1);
  }
}

@keyframes business-float-1-alt {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-15px, -7px) scale(1.05);
  }
  50% {
    transform: translate(30px, -5px) scale(0.95);
  }
  75% {
    transform: translate(-10px, -10px) scale(1);
  }
}

@keyframes business-float-2-alt {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -10px) scale(1.1);
  }
  66% {
    transform: translate(-25px, -6px) scale(0.9);
  }
}

@keyframes business-float-1-rev {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(10px, -8px) scale(0.9);
  }
  50% {
    transform: translate(-15px, -12px) scale(1.1);
  }
  75% {
    transform: translate(20px, -5px) scale(1);
  }
}

@keyframes business-float-2-rev {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-20px, -5px) scale(1.05);
  }
  66% {
    transform: translate(15px, -10px) scale(0.95);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .business-card-wrapper {
    height: auto;
  }
  
  .business-card-main {
    flex-direction: column-reverse;
    height: auto;
  }
  
  .business-content-section {
    padding: 2rem;
  }
  
  .business-image-section {
    width: 100%;
    height: 200px;
  }
  
  .business-title {
    font-size: 1.5rem;
  }
}

/* ================================================================
   15. TESTIMONIALS SLIDER
   ================================================================ */

/* Principles 3D Container */
.principles-3d-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Principle 3D Item */
.principle-3d-item {
  position: relative;
  perspective: 1000px;
  animation: fade-in-up 0.8s ease-out forwards;
  opacity: 0;
}

.principle-3d-item[data-principle="1"] { animation-delay: 0.1s; }
.principle-3d-item[data-principle="2"] { animation-delay: 0.2s; }
.principle-3d-item[data-principle="3"] { animation-delay: 0.3s; }
.principle-3d-item[data-principle="4"] { animation-delay: 0.4s; }

/* 3D Card Structure */
.principle-card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.principle-3d-item:hover .principle-card-3d {
  transform: rotateY(10deg) rotateX(-8deg) translateZ(15px);
}

/* Card Face */
.principle-card-face {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 
    0 8px 32px -8px rgba(67, 56, 202, 0.12),
    0 0 0 1px rgba(67, 56, 202, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.4s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.principle-card-face::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.08) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.principle-3d-item:hover .principle-card-face::before {
  opacity: 1;
}

.principle-3d-item:hover .principle-card-face {
  box-shadow: 
    0 15px 50px -10px rgba(67, 56, 202, 0.2),
    0 0 0 1px rgba(67, 56, 202, 0.1);
}

/* Card Shadow */
.principle-card-shadow {
  position: absolute;
  inset: 15px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.15), rgba(99, 102, 241, 0.08));
  filter: blur(15px);
  transform: translateZ(-30px);
  opacity: 0.3;
  transition: all 0.4s ease;
}

.principle-3d-item:hover .principle-card-shadow {
  inset: 8px;
  opacity: 0.5;
  filter: blur(25px);
}

/* Principle Icon (same style as process numbers) */
.principles-3d-container .principle-icon-main {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.principles-3d-container .principle-icon-main .icon-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  color: white;
  border-radius: 50%;
  box-shadow: 
    0 12px 35px -5px rgba(67, 56, 202, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.principles-3d-container .principle-icon-main .icon-bg svg {
  stroke: white;
  width: 36px;
  height: 36px;
}

.principles-3d-container .principle-icon-main .icon-ring {
  position: absolute;
  inset: -8px;
  border: 2.5px solid rgba(99, 102, 241, 0.2);
  border-radius: 50%;
  transform: rotate(0deg);
  animation: pulse-ring 3s ease-in-out infinite;
}

.principle-3d-item:hover .principle-icon-main .icon-bg {
  transform: rotate(0deg) scale(1.08);
}

/* Principle Title */
.principle-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  line-height: 1.3;
  background: linear-gradient(135deg, #1e293b 0%, #4338ca 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.principle-3d-item:hover .principle-title {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .principles-3d-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  
  .principle-card-face {
    padding: 1.5rem 1rem;
    min-height: 180px;
  }
  
  .principles-3d-container .principle-icon-main {
    width: 65px;
    height: 65px;
  }
  
  .principles-3d-container .principle-icon-main .icon-bg svg {
    width: 30px;
    height: 30px;
  }
  
  .principle-title {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .principles-3d-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Keep existing styles for other elements */
.principle-icon-sm {
  width:64px; height:64px;
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.principle-icon-sm::before,
.principle-icon-sm::after { display: none !important; content: none !important; }

/* Unified brand glass utility for cards */
.brand-glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.92) 60%, rgba(241,245,249,0.88) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 24px -10px rgba(15,23,42,.18), 0 2px 8px -2px rgba(15,23,42,.08);
  backdrop-filter: blur(10px);
}
.testimonials-slider { position:relative; overflow:hidden; direction:rtl; margin-inline:calc(50% - 50vw); padding:0 5vw; width:100vw; }
.testimonials-slider.full-bleed-row { padding-block:1.25rem 1rem; }
.slider-track { display:flex; gap:1.9rem; will-change:transform; align-items:stretch; }
.testimonial-card { flex:0 0 370px; background:#ffffff; border-radius:1.25rem; padding:1.4rem 1.4rem 1.2rem; box-shadow:0 1px 8px rgba(15,23,42,.05); border:1px solid #eef2f7; position:relative; display:flex; flex-direction:column; }
.testimonial-card.floating { }
.testimonial-card:before { display: none; }
@media (max-width:640px){ .testimonial-card{ flex-basis:260px; padding:1.2rem 1.1rem 1rem; } }
.testimonial-card .rating { display:flex; gap:.25rem; margin-bottom:.75rem; }
.testimonial-card .rating .star { color:#fbbf24; filter:drop-shadow(0 2px 4px rgba(251,191,36,.35)); width:16px; height:16px; }
.testimonial-card .quote { font-size:.8rem; line-height:1.55; color:#334155; margin-bottom:.9rem; font-weight:500; flex-grow:1; }
.testimonial-card .person { display:flex; align-items:center; gap:.75rem; }
.testimonial-card .avatar { width:2.6rem; height:2.6rem; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; color:#fff; letter-spacing:.5px; font-size:.8rem; position:relative; }
.testimonial-card .avatar:after { content:""; position:absolute; inset:-3px; border-radius:inherit; padding:2px; background:linear-gradient(135deg,#7e22ce,#0ea5e9); -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask-composite:exclude; }
.testimonial-card .name { font-weight:600; font-size:.85rem; color:#0f172a; }
.testimonial-card .role { font-size:.65rem; color:#64748b; margin-top:.15rem; }
.testimonial-card { transition:transform .55s cubic-bezier(.4,0,.2,1), box-shadow .55s; }
.testimonial-card:hover { transform:translateY(-2px); box-shadow:0 4px 12px -1px rgba(0, 0, 0, 0.1), 0 2px 6px -1px rgba(0, 0, 0, 0.06); }

/* Unified gallery rail wrapper for both sections */
.gallery-rail { background:transparent; border-radius:1.25rem; box-shadow:none; overflow:visible; position:relative; }

/* Divider under galleries (outside the rail but within the relative wrapper) */
.gallery-divider { position:absolute; left:35%; right:35%; bottom:-18px; height:3px; background:linear-gradient(90deg, rgba(124,58,237,.9) 0%, rgba(6,182,212,.9) 50%, rgba(124,58,237,.9) 100%); border-radius:2px; opacity:.95; z-index:2; pointer-events:none; }
.gallery-divider::after { content:""; position:absolute; left:50%; top:50%; width:12px; height:12px; border-radius:50%; background:linear-gradient(135deg, #3b82f6, #9333ea); box-shadow:0 0 8px rgba(59,130,246,.35); transform:translate(-50%,-50%); animation:divider-dot-drift 9s ease-in-out infinite; }

@keyframes divider-dot-drift {
  0%   { transform: translate(-50%,-50%) translateX(-42px) translateY(-3px); opacity:.95; }
  25%  { transform: translate(-50%,-50%) translateX(-14px) translateY(3px); }
  50%  { transform: translate(-50%,-50%) translateX(0px) translateY(-2px); opacity:1; }
  75%  { transform: translate(-50%,-50%) translateX(18px) translateY(4px); }
  100% { transform: translate(-50%,-50%) translateX(42px) translateY(-2px); opacity:.95; }
}
.gallery-rail:before { display:none; }

/* category accents */
.testimonial-card.agent .avatar { background:linear-gradient(135deg,#2563eb,#7e22ce); }
.testimonial-card.advisor .avatar { background:linear-gradient(135deg,#9333ea,#db2777); }
.testimonial-card.accountant .avatar { background:linear-gradient(135deg,#6366f1,#06b6d4); }
.testimonial-card.executive .avatar { background:linear-gradient(135deg,#7e22ce,#0891b2); }
.testimonial-card.business .avatar { background:linear-gradient(135deg,#1d4ed8,#10b981); }
.testimonial-card.org .avatar { background:linear-gradient(135deg,#6366f1,#0ea5e9); }
.testimonial-card.client .avatar { background:linear-gradient(135deg,#7e22ce,#2563eb); }
.testimonial-card.entrepreneur .avatar { background:linear-gradient(135deg,#0ea5e9,#6366f1); }

/* Edge fade masks - disabled for cleaner look */
.testimonials-slider .fade-edge { display: none; }
/* Remove the floating shadow effect */
.testimonials-slider:after { display: none; }
.testimonials-slider .slider-track { padding-block:.35rem .55rem; }
.testimonial-card { background:#fff; }
@media (max-width:1024px){ .testimonials-slider .fade-edge{ width:8rem; } }
@media (max-width:640px){ .testimonials-slider .fade-edge{ width:5rem; } }

/* Manual carousel additions */
.testimonials-slider { scroll-behavior:smooth; }
.testimonials-slider .nav-arrow { position:absolute; top:50%; transform:translateY(-50%); width:3rem; height:3rem; border-radius:50%; background:linear-gradient(135deg,rgba(124,58,237,.85),rgba(6,182,212,.85)); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px -10px rgba(15,23,42,.35); border:1px solid rgba(255,255,255,.3); backdrop-filter:blur(4px); cursor:pointer; transition:.35s; z-index:5; }
.testimonials-slider .nav-arrow.prev { right:0.75rem; }
.testimonials-slider .nav-arrow.next { left:0.75rem; }
.testimonials-slider .nav-arrow[disabled], .testimonials-slider .nav-arrow[aria-disabled="true"] { opacity:.35; cursor:default; filter:grayscale(.3); }
.testimonials-slider .nav-arrow:not([disabled]):hover { transform:translateY(-50%) scale(1.08); box-shadow:0 16px 38px -12px rgba(15,23,42,.4); }

.carousel-dots { position:absolute; bottom:.25rem; left:50%; transform:translateX(-50%); display:flex; gap:.5rem; z-index:6; }
.carousel-dots button { width:11px; height:11px; border-radius:50%; background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.9),rgba(203,213,225,.85)); box-shadow:0 2px 4px -1px rgba(15,23,42,.4); border:1px solid rgba(255,255,255,.6); cursor:pointer; position:relative; transition:.35s; }
.carousel-dots button.active { background:linear-gradient(135deg,#7e22ce,#0ea5e9); box-shadow:0 4px 10px -2px rgba(15,23,42,.55); }
.carousel-dots button:not(.active):hover { background:linear-gradient(135deg,#818cf8,#67e8f9); }

/* Video card */
.testimonial-card .video-thumb { position:relative; aspect-ratio:16/9; border-radius:1.1rem; overflow:hidden; margin:-.2rem -.2rem .9rem; background:#0f172a; display:block; }
.testimonial-card .video-thumb img { width:100%; height:100%; object-fit:cover; filter:brightness(.9) saturate(1.05); transition:transform .8s cubic-bezier(.4,0,.2,1), filter .6s; }
.testimonial-card .video-thumb button { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; width:100%; height:100%; background:linear-gradient(135deg,rgba(15,23,42,.25),rgba(15,23,42,.55)); cursor:pointer; border:none; }
.testimonial-card .video-thumb button:hover img { transform:scale(1.06); filter:brightness(1) saturate(1.15); }
.testimonial-card.partner .avatar { background:linear-gradient(135deg,#0ea5e9,#7e22ce); }

/* ================================================================
   18. TESTIMONIALS GALLERY STYLES
   ================================================================ */

/* Navigation buttons for galleries */
.nav-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: white;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.nav-btn:hover {
  background-color: #faf5ff;
  border-color: #ddd6fe;
  color: #7c3aed;
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Loading state for page transitions */
.gallery-loading {
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* Enhanced testimonial card animations */
.testimonial-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Avatar icon styling - replacement for initials */
.avatar-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6b46c1 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-left: 12px;
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
  transition: all 0.3s ease;
}

.avatar-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(107, 70, 193, 0.4);
}

/* Same gradient for all testimonial types - consistent with page branding */
.video-card .avatar-icon,
.testimonial-card.client .avatar-icon,
.testimonial-card.partner .avatar-icon,
.testimonial-card.agent .avatar-icon,
.testimonial-card.advisor .avatar-icon,
.testimonial-card.business .avatar-icon,
.testimonial-card.executive .avatar-icon,
.testimonial-card.accountant .avatar-icon,
.testimonial-card.org .avatar-icon {
  background: linear-gradient(135deg, #6b46c1 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.video-card .avatar-icon:hover,
.testimonial-card.client .avatar-icon:hover,
.testimonial-card.partner .avatar-icon:hover,
.testimonial-card.agent .avatar-icon:hover,
.testimonial-card.advisor .avatar-icon:hover,
.testimonial-card.business .avatar-icon:hover,
.testimonial-card.executive .avatar-icon:hover,
.testimonial-card.accountant .avatar-icon:hover,
.testimonial-card.org .avatar-icon:hover {
  box-shadow: 0 6px 16px rgba(107, 70, 193, 0.4);
}

/* Page indicators styling */
.page-indicator {
  transition: all 0.3s ease;
}

.page-indicator:hover {
  transform: scale(1.2);
}

/* Grid responsive adjustments */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Smooth transitions for page changes */
.gallery-transition {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.gallery-fade-enter {
  opacity: 0;
  transform: translateY(20px);
}

.gallery-fade-enter-active {
  opacity: 1;
  transform: translateY(0);
}

/* Remove old horizontal scrollbar styles */

/* ================================================================
   19. FINANCIAL PARTNERS SECTION
   ================================================================ */

/* Hover lift effect for logo cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Logo container styling */
.hover-lift .group {
  transition: all 0.3s ease;
}

/* Grayscale to color effect */
.filter.grayscale {
  filter: grayscale(100%);
}

.group:hover .filter.grayscale {
  filter: grayscale(0%);
}

/* Service cards - horizontal layout with plain color icons */
.service-card { display:flex; align-items:stretch; min-height:14rem; background:linear-gradient(135deg,#ffffff,#f9fafb); border:1px solid #e6eef6; box-shadow:0 16px 40px -18px rgba(15,23,42,.18),0 6px 18px -10px rgba(15,23,42,.12); transition:transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; border-radius:1rem; overflow:hidden; }
.service-card:hover { transform:translateY(-4px); box-shadow:0 22px 56px -18px rgba(15,23,42,.22),0 10px 22px -10px rgba(15,23,42,.14); }
.service-media { position:relative; width:44%; min-height:14rem; overflow:hidden; }
.service-media img { width:100%; height:100%; object-fit:cover; transition:transform .7s ease; }
.service-card:hover .service-media img { transform:scale(1.07); }
.service-content { width:56%; padding:1.1rem 1.25rem 1rem; display:flex; flex-direction:column; justify-content:center; }
.service-title { font-size:1.125rem; font-weight:700; color:#0f172a; margin-bottom:.35rem; }
.service-desc { color:#475569; font-size:.95rem; line-height:1.6; margin-bottom:.85rem; }
.service-features { display:flex; gap:1rem; flex-wrap:wrap; align-items:center; border-top:1px solid #edf2f7; padding-top:.75rem; }
.service-feature { display:flex; align-items:center; gap:.45rem; font-size:.9rem; color:#374151; }
.service-feature svg { width:20px; height:20px; }
@media (max-width:768px){ .service-card { flex-direction:column; min-height:auto; } .service-media { width:100%; height:11rem; min-height:11rem; } .service-content{ width:100%; } }

/* Align divider and icons row at uniform height for service cards */
.service-body { display:flex; flex-direction:column; height: 12rem; }
.service-body .service-desc { margin-bottom:auto !important; }

/* ================================================================
   DESIGN OPTIONS DEMO CARDS
   ================================================================ */
/* Option 1: Vertical card */
.card-vertical { background:#fff; border:1px solid #e5eaf1; border-radius:1rem; overflow:hidden; box-shadow:0 10px 24px -14px rgba(15,23,42,.18); transition:.35s; }
.card-vertical:hover { transform:translateY(-4px); box-shadow:0 18px 40px -14px rgba(15,23,42,.22); }
.card-vertical .demo-media { position:relative; height:11rem; overflow:hidden; }
.card-vertical .demo-media img { width:100%; height:100%; object-fit:cover; transition:transform .7s ease; }
.card-vertical:hover .demo-media img { transform:scale(1.06); }
.card-vertical .demo-overlay { position:absolute; inset:auto 0 0 0; padding:.9rem 1rem; background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.55)); color:#fff; font-weight:700; }
.card-vertical .demo-body { padding:1rem; }
.demo-icons-row { display:flex; gap:.75rem; align-items:center; margin-top:.35rem; }
.demo-icons-row svg { width:18px; height:18px; }

/* Option 2: Color strip card */
.card-strip { position:relative; background:#fff; border:1px solid #e5eaf1; border-radius:1rem; padding:1rem 1rem 1rem 1.25rem; display:flex; align-items:center; gap:.85rem; box-shadow:0 10px 24px -14px rgba(15,23,42,.18); transition:.35s; }
.card-strip:before { content:""; position:absolute; left:0; top:0; bottom:0; width:6px; border-radius:1rem 0 0 1rem; background:linear-gradient(180deg,#6366f1,#8b5cf6,#3b82f6); }
.card-strip .strip-icon svg { width:28px; height:28px; }
.card-strip:hover { transform:translateY(-4px); box-shadow:0 18px 40px -14px rgba(15,23,42,.22); }

/* Option 3: Media-full card */
.card-media { background:#fff; border:1px solid #e5eaf1; border-radius:1rem; overflow:hidden; box-shadow:0 10px 24px -14px rgba(15,23,42,.18); transition:.35s; }
.card-media .media { position:relative; height:11rem; }
.card-media .media img { width:100%; height:100%; object-fit:cover; transition:transform .7s ease; }
.card-media:hover .media img { transform:scale(1.06); }
.card-media .media .ov { position:absolute; inset:auto 0 0 0; background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.6)); color:#fff; padding:.85rem 1rem; font-weight:700; }
.card-media .mini { padding:.8rem 1rem 1rem; display:flex; align-items:center; gap:.75rem; color:#475569; font-size:.9rem; }
.card-media .mini svg { width:18px; height:18px; }
.card-media:hover { transform:translateY(-4px); box-shadow:0 18px 40px -14px rgba(15,23,42,.22); }

/* Option 4: Tile icon minimal */
.tile-icon { background:#fff; border:1px solid #e5eaf1; border-radius:1rem; padding:1.1rem; text-align:center; box-shadow:0 10px 24px -14px rgba(15,23,42,.18); transition:.35s; }
.tile-icon .icon { margin-inline:auto; margin-bottom:.6rem; }
.tile-icon .icon svg { width:34px; height:34px; }
.tile-icon .t { font-weight:700; color:#0f172a; margin-bottom:.25rem; }
.tile-icon .d { color:#475569; font-size:.92rem; }
.tile-icon:hover { transform:translateY(-4px); box-shadow:0 18px 40px -14px rgba(15,23,42,.22); }

/* Tab button active state styling */
.tab-active {
  background: linear-gradient(90deg, #6b46c1 0%, #8b5cf6 50%, #3b82f6 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ================================================================
   BLOG SECTION ENHANCEMENTS
   ================================================================ */

/* Enhanced article card styles with gradient overlays */
.article-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.article-card-image img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1.1) contrast(1.05);
  mix-blend-mode: normal;
}

.article-card-image .gradient-overlay {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: multiply;
  backdrop-filter: blur(1px);
}

/* Background gradient for transparent images */
.article-card-image > div:first-child {
  transition: all 0.4s ease;
}

/* Hover effects for better visual feedback */
.glass-light:hover .article-card-image img {
  transform: scale(1.08);
  filter: brightness(1.2) contrast(1.1);
}

.glass-light:hover .article-card-image .gradient-overlay {
  backdrop-filter: blur(2px);
}

.glass-light:hover .article-card-image > div:first-child {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Author profile image specific styling */
.author-profile-card img {
  object-position: center top;
  filter: brightness(1.05) contrast(1.05) saturate(1.1);
  /* Ensure PNG transparency works well with gradient backgrounds */
  background-blend-mode: normal;
}

/* Enhanced gradient backgrounds for transparent images */
.author-profile-card .article-card-image > div:first-child {
  opacity: 0.8;
  background-size: 200% 200%;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion:reduce){
  .slider-track { transform:none !important; }
  .article-card-image img { transition: none !important; }
  .article-card-image .gradient-overlay { transition: none !important; }
}