
/* ============================================
   COMPACT HEADER
   ============================================ */

.finance-services-hero-header-ss2 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.finance-hero-badge-ss2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 107, 53, 0.1) 0%, 
      rgba(29, 154, 146, 0.1) 100%
    );
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FF6B35;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
  animation: heroBadge-ss2-float 3s ease-in-out infinite;
}

@keyframes heroBadge-ss2-float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-6px); 
    }
}

.badge-dot-ss2 {
  width: 8px;
  height: 8px;
  background: #FF6B35;
  border-radius: 50%;
  animation: badge-dot-ss2-pulse 2s ease-in-out infinite;
}

@keyframes badge-dot-ss2-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
  }
}

.finance-hero-badge-ss2 i {
  font-size: 1rem;
}

.finance-hero-title-ss2 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.finance-gradient-text-ss2 {
  background: linear-gradient(135deg, 
    #FF6B35 0%, 
    #FF8F6B 30%,
    #1D9A92 70%,
    #157A74 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-ss2-shift 5s ease infinite;
}

@keyframes gradient-ss2-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.finance-hero-subtitle-ss2 {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
}



/* ============================================
   SERVICE CARDS - COMPACT DESIGN
   ============================================ */

.finance-service-item-ss2 {
  position: relative;
  padding: 28px 24px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(255, 255, 255, 0.95) 100%
    );
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.finance-card-overlay-ss2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Different overlays for each card */
.finance-service-item-ss2[data-service-ss2="onpage"] .finance-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(255, 107, 53, 0.2) 0%, 
    transparent 70%
  );
}

.finance-service-item-ss2[data-service-ss2="offpage"] .finance-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(29, 154, 146, 0.2) 0%, 
    transparent 70%
  );
}

.finance-service-item-ss2[data-service-ss2="local"] .finance-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(139, 92, 246, 0.2) 0%, 
    transparent 70%
  );
}

.finance-service-item-ss2[data-service-ss2="technical"] .finance-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(59, 130, 246, 0.2) 0%, 
    transparent 70%
  );
}

.finance-card-shine-ss2 {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.finance-service-item-ss2:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(0, 0, 0, 0.12),
    0 0 0 2px rgba(255, 255, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.finance-service-item-ss2:hover .finance-card-overlay-ss2 {
  opacity: 1;
}

.finance-service-item-ss2:hover .finance-card-shine-ss2 {
  left: 150%;
}

/* ============================================
   SERVICE HEADER
   ============================================ */

.finance-service-header-ss2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.finance-icon-container-ss2 {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 -1px 4px rgba(0, 0, 0, 0.1);
}

.finance-icon-orange-ss2 {
  background: linear-gradient(135deg, #FF6B35 0%, #FF4444 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.finance-icon-teal-ss2 {
  background: linear-gradient(135deg, #1D9A92 0%, #00D4FF 100%);
  box-shadow: 0 6px 20px rgba(29, 154, 146, 0.4);
}

.finance-icon-purple-ss2 {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.finance-icon-blue-ss2 {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.finance-icon-glow-ss2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  opacity: 0.5;
  filter: blur(10px);
  animation: icon-glow-ss2-pulse 3s ease-in-out infinite;
}

@keyframes icon-glow-ss2-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.finance-service-item-ss2:hover .finance-icon-container-ss2 {
  transform: scale(1.1) rotate(-8deg);
}

.finance-service-badge-ss2 {
  padding: 4px 12px;
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.15) 0%, 
    rgba(29, 154, 146, 0.15) 100%
  );
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #FF6B35;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SERVICE CONTENT
   ============================================ */

.finance-service-name-ss2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.finance-service-text-ss2 {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ============================================
   COMPACT FEATURE LIST
   ============================================ */

.finance-feature-compact-list-ss2 {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.finance-feature-compact-list-ss2 li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.finance-feature-compact-list-ss2 li i {
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Different colors for each card */
.finance-service-item-ss2[data-service-ss2="onpage"] .finance-feature-compact-list-ss2 li i {
  color: #FF6B35;
}

.finance-service-item-ss2[data-service-ss2="offpage"] .finance-feature-compact-list-ss2 li i {
  color: #1D9A92;
}

.finance-service-item-ss2[data-service-ss2="local"] .finance-feature-compact-list-ss2 li i {
  color: #8B5CF6;
}

.finance-service-item-ss2[data-service-ss2="technical"] .finance-feature-compact-list-ss2 li i {
  color: #3B82F6;
}

.finance-service-item-ss2:hover .finance-feature-compact-list-ss2 li {
  transform: translateX(4px);
}

.finance-service-item-ss2:hover .finance-feature-compact-list-ss2 li i {
  transform: scale(1.2);
}

/* ============================================
   CTA LINK
   ============================================ */

.finance-cta-link-ss2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.08) 0%, 
    rgba(29, 154, 146, 0.08) 100%
  );
  border: 2px solid rgba(255, 107, 53, 0.25);
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #FF6B35;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.finance-cta-link-ss2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.15) 0%, 
    rgba(29, 154, 146, 0.15) 100%
  );
  transition: left 0.5s ease;
}

.finance-cta-link-ss2:hover::before {
  left: 100%;
}

.finance-cta-link-ss2:hover {
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.12) 0%, 
    rgba(29, 154, 146, 0.12) 100%
  );
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2);
}

.finance-cta-link-ss2 i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.finance-cta-link-ss2:hover i {
  transform: translateX(4px);
}

/* ============================================
   FLOATING DECORATIONS
   ============================================ */

.finance-floating-elements-ss2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.finance-float-orb-ss2 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(80px);
}

.finance-orb-1-ss2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, 
    rgba(255, 107, 53, 0.4) 0%, 
    transparent 70%
  );
  top: -150px;
  right: -150px;
  animation: orb-1-ss2-float 20s ease-in-out infinite;
}

.finance-orb-2-ss2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, 
    rgba(29, 154, 146, 0.4) 0%, 
    transparent 70%
  );
  bottom: -120px;
  left: -120px;
  animation: orb-2-ss2-float 18s ease-in-out infinite;
}

.finance-orb-3-ss2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, 
    rgba(139, 92, 246, 0.3) 0%, 
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orb-3-ss2-float 15s ease-in-out infinite;
}

@keyframes orb-1-ss2-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(40px, -40px) rotate(120deg); }
  66% { transform: translate(-40px, 40px) rotate(240deg); }
}

@keyframes orb-2-ss2-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-35px, 35px) rotate(-120deg); }
  66% { transform: translate(35px, -35px) rotate(-240deg); }
}

@keyframes orb-3-ss2-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* ============================================
   RESPONSIVE DESIGN - MAINTAIN SCREEN FIT
   ============================================ */

@media (max-width: 1400px) {
  .finance-services-grid-ss2 {
    gap: 18px;
  }
  
  .finance-service-item-ss2 {
    padding: 24px 20px;
  }
}

@media (max-width: 1200px) {
  .finance-services-showcase-ss2 {
    padding: 50px 20px;
  }
  
  .finance-hero-title-ss2 {
    font-size: 2.25rem;
  }
  
  .finance-services-grid-ss2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .finance-services-hero-header-ss2 {
    margin-bottom: 35px;
  }
}

@media (max-width: 968px) {
  .finance-services-showcase-ss2 {
    min-height: auto;
    max-height: none;
    padding: 60px 20px;
  }
  
  .finance-hero-title-ss2 {
    font-size: 2rem;
  }
  
  .finance-services-grid-ss2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .finance-service-item-ss2 {
    padding: 22px 18px;
  }
  
  .finance-icon-container-ss2 {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .finance-service-name-ss2 {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .finance-services-showcase-ss2 {
    padding: 50px 16px;
  }
  
  .finance-hero-title-ss2 {
    font-size: 1.875rem;
  }
   
  .finance-service-item-ss2 {
    padding: 20px;
  }
  
  .finance-icon-container-ss2 {
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
  }
}

@media (max-width: 480px) {
  .finance-hero-title-ss2 {
    font-size: 1.625rem;
  }
  
  .finance-hero-badge-ss2 {
    font-size: 0.75rem;
    padding: 7px 16px;
  }
  
  .finance-service-item-ss2 {
    padding: 18px;
  }
  
  .finance-service-name-ss2 {
    font-size: 1.0625rem;
  }
  
  .finance-service-text-ss2 {
    font-size: 0.8125rem;
  }
  
  .finance-feature-compact-list-ss2 li {
    font-size: 0.75rem;
  }
  
  .finance-cta-link-ss2 {
    padding: 9px 18px;
    font-size: 0.8125rem;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .finance-service-item-ss2 {
    animation: service-ss2-fadeInUp 0.7s ease forwards;
    opacity: 0;
  }
  
  .finance-service-item-ss2:nth-child(1) { animation-delay: 0.1s; }
  .finance-service-item-ss2:nth-child(2) { animation-delay: 0.2s; }
  .finance-service-item-ss2:nth-child(3) { animation-delay: 0.3s; }
  .finance-service-item-ss2:nth-child(4) { animation-delay: 0.4s; }
  
  @keyframes service-ss2-fadeInUp {
    from {
      opacity: 0;
      transform: translateY(25px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.finance-service-item-ss2:focus-visible,
.finance-cta-link-ss2:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 4px;
}