
.why-legal-section {
  padding: 2.4rem 2rem 0rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
  min-height: fit-content;
}
.why-legal-container {
  max-width: 1250px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
  margin-top: -19px;
  margin-bottom: 32px;
}
.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: 
    linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 143, 107, 0.1) 50%, rgba(29, 154, 146, 0.15) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid;
  border-image: linear-gradient(135deg, rgba(255, 107, 53, 0.4), rgba(29, 154, 146, 0.4)) 1;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  background-clip: padding-box;
  color: #FF6B35;
  margin-bottom: 16px;
  box-shadow: 
    0 4px 20px rgba(255, 107, 53, 0.2),
    0 0 30px rgba(29, 154, 146, 0.1);
  animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.badge-icon {
  font-size: 1rem;
  filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.3));
  animation: rotate 4s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}
.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-weight: 400;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 12px;
}
.gradient-text {
    background: linear-gradient(135deg, #FF6B35, #1D9A92);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.gradient-text::after {
  content: '';
  position: absolute;
  bottom: -2px!important;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    #FF6B35 0%, 
    #FF8F6B 25%,
    #1D9A92 75%,
    #157A74 100%
  );
  border-radius: 2px;
  animation: underlineExpand 2s ease-in-out infinite;
}
@keyframes underlineExpand {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(0.7); }
}
/* ============================================
   FEATURES GRID - UNIQUE COLORED ICONS
   ============================================ */
.feature-card {
  position: relative;
  padding: 28px 24px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.02);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.feature-card:nth-child(1) .card-glow {
  background: radial-gradient(circle at 50% 0%, 
    rgba(255, 107, 53, 0.25) 0%, 
    transparent 70%
  );
}
.feature-card:nth-child(2) .card-glow {
  background: radial-gradient(circle at 50% 0%, 
    rgba(255, 193, 7, 0.25) 0%, 
    transparent 70%
  );
}
.feature-card:nth-child(3) .card-glow {
  background: radial-gradient(circle at 50% 0%, 
    rgba(29, 154, 146, 0.25) 0%, 
    transparent 70%
  );
}
.feature-card:nth-child(4) .card-glow {
  background: radial-gradient(circle at 50% 0%, 
    rgba(139, 92, 246, 0.25) 0%, 
    transparent 70%
  );
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 12px 36px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(255, 255, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.feature-card:hover .card-glow {
  opacity: 1;
}
.feature-icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}
.icon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    color: white;
    transition: all 0.4s ease;
    z-index: 2;
    left: 0% !important;
}
.icon-ring {
    position: absolute;
    top: 50%;
    left: 50% !important;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    animation: ringPulse 2s ease-in-out infinite;
}
.feature-card:nth-child(1) .icon-inner {
  background: linear-gradient(135deg, #FF6B35 0%, #FF4444 100%);
  box-shadow: 
    0 6px 20px rgba(255, 107, 53, 0.5),
    0 0 0 4px rgba(255, 107, 53, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.feature-card:nth-child(1):hover .icon-inner {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 
    0 10px 28px rgba(255, 68, 68, 0.6),
    0 0 0 6px rgba(255, 107, 53, 0.2);
}
.feature-card:nth-child(1) .icon-ring {
  border: 3px solid rgba(255, 107, 53, 0.4);
}
.feature-card:nth-child(2) .icon-inner {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  box-shadow: 
    0 6px 20px rgba(255, 215, 0, 0.5),
    0 0 0 4px rgba(255, 215, 0, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.feature-card:nth-child(2):hover .icon-inner {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 
    0 10px 28px rgba(255, 165, 0, 0.6),
    0 0 0 6px rgba(255, 215, 0, 0.2);
}
.feature-card:nth-child(2) .icon-ring {
  border: 3px solid rgba(255, 215, 0, 0.4);
}
.feature-card:nth-child(3) .icon-inner {
  background: linear-gradient(135deg, #1D9A92 0%, #00D4FF 100%);
  box-shadow: 
    0 6px 20px rgba(29, 154, 146, 0.5),
    0 0 0 4px rgba(29, 154, 146, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.feature-card:nth-child(3):hover .icon-inner {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 
    0 10px 28px rgba(0, 212, 255, 0.6),
    0 0 0 6px rgba(29, 154, 146, 0.2);
}
.feature-card:nth-child(3) .icon-ring {
  border: 3px solid rgba(29, 154, 146, 0.4);
}
.feature-card:nth-child(4) .icon-inner {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  box-shadow: 
    0 6px 20px rgba(139, 92, 246, 0.5),
    0 0 0 4px rgba(139, 92, 246, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.feature-card:nth-child(4):hover .icon-inner {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 
    0 10px 28px rgba(99, 102, 241, 0.6),
    0 0 0 6px rgba(139, 92, 246, 0.2);
}
.feature-card:nth-child(4) .icon-ring {
  border: 3px solid rgba(139, 92, 246, 0.4);
}
@keyframes ringPulse {
  0%, 100% {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  50% {
    width: 120%;
    height: 120%;
    opacity: 0;
  }
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: all 0.3s ease;
}
.feature-card p {
  font-size: 0.875rem;
  color: #000000;
  line-height: 1.5;
  margin-bottom: auto;
  flex-grow: 1;
}
.feature-stats {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card:nth-child(1) .stat-number {
  background: linear-gradient(135deg, #FF6B35 0%, #FF4444 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card:nth-child(2) .stat-number {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card:nth-child(3) .stat-number {
  background: linear-gradient(135deg, #1D9A92 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feature-card:nth-child(4) .stat-number {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stats-dashboard {
  margin-bottom: 36px;
}
.dashboard-card {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(254, 251, 248, 0.95) 50%,
      rgba(255, 247, 242, 0.98) 100%
    );
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 32px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 12px 36px rgba(255, 107, 53, 0.08),
    0 0 60px rgba(29, 154, 146, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 20px rgba(255, 143, 107, 0.02);
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, 
    rgba(255, 107, 53, 0.2) 0%, 
    rgba(29, 154, 146, 0.2) 100%
  ) 1;
}
.dashboard-header h4 {
  font-size: 1.375rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.2) 0%, 
    rgba(5, 150, 105, 0.15) 100%
  );
  border: 2px solid rgba(16, 185, 129, 0.4);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.metric-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(255, 250, 247, 0.95) 100%
    );
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all 0.4s ease;
}
.metric-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.8);
}
.metric-item:nth-child(1) .metric-icon {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8F6B 100%);
  box-shadow: 
    0 5px 16px rgba(255, 107, 53, 0.4),
    0 0 0 3px rgba(255, 107, 53, 0.1);
}
.metric-item:nth-child(1):hover {
  box-shadow: 
    0 10px 28px rgba(255, 107, 53, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.metric-item:nth-child(2) .metric-icon {
  background: linear-gradient(135deg, #1D9A92 0%, #4FBFB7 100%);
  box-shadow: 
    0 5px 16px rgba(29, 154, 146, 0.4),
    0 0 0 3px rgba(29, 154, 146, 0.1);
}
.metric-item:nth-child(2):hover {
  box-shadow: 
    0 10px 28px rgba(29, 154, 146, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.metric-item:nth-child(3) .metric-icon {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  box-shadow: 
    0 5px 16px rgba(139, 92, 246, 0.4),
    0 0 0 3px rgba(139, 92, 246, 0.1);
}
.metric-item:nth-child(3):hover {
  box-shadow: 
    0 10px 28px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.metric-item:nth-child(4) .metric-icon {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  box-shadow: 
    0 5px 16px rgba(245, 158, 11, 0.4),
    0 0 0 3px rgba(245, 158, 11, 0.1);
}
.metric-item:nth-child(4):hover {
  box-shadow: 
    0 10px 28px rgba(245, 158, 11, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.metric-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}
.metric-item:hover .metric-icon {
  transform: scale(1.1) rotate(-5deg);
}
.metric-content {
  flex: 1;
}
.metric-value {
  display: flex;
  align-items: baseline;
  margin-bottom: 5px;
}
.counter {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}
.metric-item:nth-child(1) .counter,
.metric-item:nth-child(1) .metric-suffix {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8F6B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-item:nth-child(2) .counter,
.metric-item:nth-child(2) .metric-suffix {
  background: linear-gradient(135deg, #1D9A92 0%, #4FBFB7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-item:nth-child(3) .counter,
.metric-item:nth-child(3) .metric-suffix {
  background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-item:nth-child(4) .counter,
.metric-item:nth-child(4) .metric-suffix {
  background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-suffix {
  font-size: 1.25rem;
  font-weight: 800;
  margin-left: 3px;
}
.metric-title {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.metric-bar {
  height: 5px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  border-radius: 10px;
  width: var(--width);
  animation: fillBar 2s ease forwards;
  position: relative;
  overflow: hidden;
}
.metric-item:nth-child(1) .metric-fill {
  background: linear-gradient(90deg, #FF6B35 0%, #FF8F6B 100%);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}
.metric-item:nth-child(2) .metric-fill {
  background: linear-gradient(90deg, #1D9A92 0%, #4FBFB7 100%);
  box-shadow: 0 0 10px rgba(29, 154, 146, 0.5);
}
.metric-item:nth-child(3) .metric-fill {
  background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}
.metric-item:nth-child(4) .metric-fill {
  background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}
.metric-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%
  );
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes fillBar {
  from { width: 0; }
  to { width: var(--width); }
}
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 48px 56px;
  background: 
    linear-gradient(135deg, 
      rgba(15, 23, 42, 0.97) 0%, 
      rgba(30, 41, 59, 0.95) 30%,
      rgba(51, 65, 85, 0.97) 70%,
      rgba(30, 41, 59, 0.98) 100%
    );
  backdrop-filter: blur(10px);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 0 100px rgba(255, 107, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  margin-top: -23px!important;
  margin-bottom: 11px;
}
/* Sophisticated overlay effects */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(255, 107, 53, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(29, 154, 146, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  opacity: 1;
}
/* Subtle animated grid pattern */
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.cta-content h3 {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
/* Gradient accent for heading */
.cta-content h3::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #FF6B35 0%, #1D9A92 100%);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}
.cta-content p {
  font-size: 1.0625rem;
  color: #cbd5e1;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
/* Highlighted text in paragraph */
.cta-highlight {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(135deg, #FF8F6B 0%, #4FBFB7 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-actions {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
/* Primary Button - Premium Gradient */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: auto;
  font-family: 'Figtree', sans-serif;
  letter-spacing: 0.3px;
}
.cta-button span, .cta-button i {
  position: relative;
  z-index: 1;
}
.cta-button.primary {
  background: linear-gradient(135deg, 
    #FF6B35 0%, 
    #FF8F6B 25%,
    #FF7A52 50%,
    #1D9A92 100%
  );
  background-size: 200% auto;
  color: white;
  box-shadow: 
    0 8px 24px rgba(255, 107, 53, 0.4),
    0 0 40px rgba(255, 107, 53, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  transition: left 0.6s ease;
}

.cta-button.primary:hover::before {
  left: 100%;
}

.cta-button.primary:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 36px rgba(255, 107, 53, 0.5),
    0 0 60px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-button.primary:active {
  transform: translateY(-1px) scale(1);
}

/* Secondary Button - Glass Morphism */
.cta-button.secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cta-button.secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.1) 0%, 
    rgba(29, 154, 146, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 14px;
}

.cta-button.secondary:hover::after {
  opacity: 1;
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 28px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button.secondary:active {
  transform: translateY(-1px);
}

/* Button Icons */
.cta-button i {
  transition: transform 0.3s ease;
  font-size: 12px;
}
.cta-button.primary:hover i {
  transform: translateX(4px);
}

.cta-button.secondary:hover i {
  transform: scale(1.1);
}
/* Stats Badge (optional enhancement) */
.cta-stats {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6ee7b7;
}
.cta-stats i {
  font-size: 0.875rem;
}
/* Decorative elements */
.cta-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  filter: blur(40px);
}
.cta-decoration-2 {
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(29, 154, 146, 0.15) 0%, transparent 70%);
}
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(100px);
}

.shape-1 {
  width: 450px;
  height: 450px;
  background: 
    radial-gradient(circle, 
      rgba(255, 107, 53, 0.6) 0%, 
      rgba(255, 143, 107, 0.4) 50%,
      transparent 100%
    );
  top: -180px;
  right: -180px;
  animation: float1 20s ease-in-out infinite;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: 
    radial-gradient(circle, 
      rgba(29, 154, 146, 0.6) 0%, 
      rgba(79, 191, 183, 0.4) 50%,
      transparent 100%
    );
  bottom: -130px;
  left: -130px;
  animation: float2 18s ease-in-out infinite;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: 
    radial-gradient(circle, 
      rgba(139, 92, 246, 0.5) 0%, 
      rgba(167, 139, 250, 0.3) 50%,
      transparent 100%
    );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 15s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(40px, -40px) rotate(120deg); }
  66% { transform: translate(-40px, 40px) rotate(240deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-35px, 35px) rotate(-120deg); }
  66% { transform: translate(35px, -35px) rotate(-240deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
  @media (min-width: 320px) and (max-width: 767px) {
    .section {
      padding: 32px 0.7rem!important;
    }
   .why-legal-container {
      grid-template-columns: 1fr !important;
      gap: 3rem !important;
      margin-top: 18px !important;
    }
    .section-header {
        margin-top: -21px !important;
        margin-bottom: 82px !important;
    }
    .section-title {
      font-size: 1.875rem !important;
    }
    .section-description {
      font-size: 1.125rem !important;
      margin-top: -8px !important;
      margin-bottom: 58px !important;
    }
    
    .header-badge {
      font-size: 0.75rem !important;
      padding: 7px 16px !important;
    }
    .features-grid {
      gap: 15px !important;
      margin-bottom: -75px !important;
      margin-top: -164px !important;
    }
    .feature-card {
      padding: 24px 20px;
    }
    
    .feature-icon {
      width: 56px;
      height: 56px;
    }
    
    .icon-inner {
      font-size: 1.375rem;
    }
    
    .feature-card h3 {
      font-size: 1.0625rem;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }

    .dashboard-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 20px;
    }

    .dashboard-card {
      padding: 18px !important;
      margin-top: 50px !important;
      margin-bottom: -50px !important;
    }
    .metric-icon {
      width: 44px;
      height: 44px;
      font-size: 1.125rem;
    }
    .metrics-grid {
      grid-template-columns: 1fr !important;
      gap: 24px !important;
    }   
    .counter {
      font-size: 1.375rem;
    }
    .cta-content h3 {
      font-size: 1.1875rem;
    }   
    .cta-button {
      padding: 12px 20px;
      font-size: 0.8125rem;
      width: 250px !important;
      justify-content: center;
    }   
    .cta-content h3::before {
      display: none;
    }
    .cta-stats {
        margin-top: 19px !important;
    }
     .dashboard-header h4 {
      font-size: 1.1875rem;
    }
    .cta-banner {
      flex-direction: column !important;
      text-align: center !important;
      padding: 28px 24px !important;
      margin-top: 1px !important;
      margin-bottom: 0px !important;
      border-radius: 20px !important;
    }
  }
  @media (min-width: 768px) and (max-width: 1023px) {
     .cta-actions {
      grid-template-columns: repeat(2, 1fr) !important;
      width: 70% !important;
      margin-top: -10px !important;
    }
    .cta-content h3::before {
      display: none;
    }
    .section {
        padding: 2rem 1.5rem !important;
    }
    .section-description {
        margin-top: -4px !important;
    }
    .section-title {
      margin-bottom: 1rem !important;
      font-size: 2.25rem !important;
    }
    .why-legal-container {
      grid-template-columns: 1fr !important;
      gap: 3rem !important;
      margin-top: 35px !important;
    }
    .features-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      margin-top: -105px !important;
      margin-bottom: -77px !important;
    }
    .metrics-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 24px !important;
    }
    .section-header {
      text-align: center !important;
      max-width: 900px !important;
      margin: 0 auto 5rem !important;
      margin-top: -35px !important;
    }
    .dashboard-card {
        padding: 24px !important;
        margin-top: 61px !important;
        margin-bottom: -44px !important;
    }
    .cta-banner {
      flex-direction: column !important;
      text-align: center !important;
      padding: 28px 24px !important;
      margin-bottom: 0px !important;
      margin-top: -11px !important;
    }
    .cta-content {
      margin-bottom: -6px !important; 
      max-width: 100% !important;
    }    
    .metric-item {
      padding: 16px;
    }    
    .counter {
      font-size: 1.5rem;
    }
    
    .cta-content h3 {
      font-size: 1.375rem;
    }    
    .cta-content p {
      font-size: 0.875rem;
    }
  }
  @media only screen 
      and (min-device-width: 1024px) 
      and (max-device-width: 1366px) 
      and (-webkit-min-device-pixel-ratio: 1.5) {
      .why-legal-container {
          grid-template-columns: 1fr !important;
          gap: 3rem !important;
          margin-top: 35px !important;
          max-width: 983px;
      }
      .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: -45px !important;
        margin-bottom: 0px !important;
      }
      .section-header {
        margin-top: -47px !important ;
        margin-bottom: 26px !important;
      }
      .section-title {
        margin-bottom: 1rem !important;
      }
      .cta-banner {
          margin-top: -42px !important;
          margin-bottom: 40px !important;
      }
      .why-legal-section {
         padding: 2.4rem 0rem 0rem;
      }
    }
     /* ✅ 1250px Compact Desktop */
  @media only screen 
    and (min-width: 1200px) 
    and (max-width: 1280px){
     .why-legal-container {
        grid-template-columns: 1fr 1fr !important;
    }
    }
/* ============================================
   SMOOTH SCROLL ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .metric-item,
  .dashboard-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
  }
  
  .feature-card:nth-child(1) { animation-delay: 0.1s; }
  .feature-card:nth-child(2) { animation-delay: 0.15s; }
  .feature-card:nth-child(3) { animation-delay: 0.2s; }
  .feature-card:nth-child(4) { animation-delay: 0.25s; }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    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;
  }
}
.cta-button:focus-visible,
.feature-card:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 4px;
}



/* ============================================
   WEB TOOLS SHOWCASE - PREMIUM DESIGN
   ============================================ */
.legal-tools-wrapper-sil4 {
  max-width: 1250px;
  margin: -26px auto;
  position: relative;
  z-index: 2;
  margin-top: -45px;
  margin-bottom: -47px;
}
.legal-tools-section-sil4 {
  padding: 80px 20px;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(29, 154, 146, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fefcfb 50%, #fff9f6 100%);
  position: relative;
  overflow: hidden;
}
/* ============================================
   SECTION HEADER
   ============================================ */
.tools-header-section-sil4 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.tools-display-grid-sil4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 34px;
  margin-top: -25px;
}
.logo-backdrop-sil4 {
  width: 55px;
  height: 55px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: white;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.tools-header-badge-sil4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 107, 53, 0.12) 0%, 
      rgba(29, 154, 146, 0.12) 100%
    );
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FF6B35;
  margin-bottom: 18px;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
  animation: headerBadgeFloat-sil4 3s ease-in-out infinite;
}

@keyframes headerBadgeFloat-sil4 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.badge-shimmer-sil4 {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent
  );
  animation: shimmer-sil4 3s infinite;
}

@keyframes shimmer-sil4 {
  0% { left: -100%; }
  100% { left: 200%; }
}

.tools-header-badge-sil4 i {
  font-size: 1rem;
}

.tools-main-heading-sil4 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.tools-gradient-text-sil4 {
  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: toolsGradientShift-sil4 5s ease infinite;
}

@keyframes toolsGradientShift-sil4 {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.tools-description-text-sil4 {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #64748b;
}

/* ============================================
   TOOL CARDS
   ============================================ */
.tool-item-card-sil4 {
  position: relative;
  padding: 32px 28px;
  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;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.tool-card-overlay-sil4 {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.tool-card-glow-sil4 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glow-orange-sil4 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(255, 107, 53, 0.2) 0%, 
    transparent 70%
  );
}

.glow-teal-sil4 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(29, 154, 146, 0.2) 0%, 
    transparent 70%
  );
}

.glow-blue-sil4 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(59, 130, 246, 0.2) 0%, 
    transparent 70%
  );
}

.glow-purple-sil4 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(139, 92, 246, 0.2) 0%, 
    transparent 70%
  );
}

.glow-indigo-sil4 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(99, 102, 241, 0.2) 0%, 
    transparent 70%
  );
}

.glow-green-sil4 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(16, 185, 129, 0.2) 0%, 
    transparent 70%
  );
}

.tool-item-card-sil4:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 60px 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);
}

.tool-item-card-sil4:hover .tool-card-overlay-sil4 {
  left: 200%;
}

.tool-item-card-sil4:hover .tool-card-glow-sil4 {
  opacity: 1;
}

/* ============================================
   TOOL LOGO
   ============================================ */
.tool-logo-container-sil4 {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.backdrop-orange-sil4 {
  background: linear-gradient(135deg, #FF6B35 0%, #FF4444 100%);
}

.backdrop-teal-sil4 {
  background: linear-gradient(135deg, #1D9A92 0%, #00D4FF 100%);
}

.backdrop-blue-sil4 {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.backdrop-purple-sil4 {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}

.backdrop-indigo-sil4 {
  background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

.backdrop-green-sil4 {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.logo-backdrop-sil4::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  background: inherit;
  filter: blur(15px);
  opacity: 0.5;
  z-index: -1;
  transition: opacity 0.5s ease;
}

.tool-item-card-sil4:hover .logo-backdrop-sil4 {
  transform: scale(1.15) rotate(-10deg);
}

.tool-item-card-sil4:hover .logo-backdrop-sil4::before {
  opacity: 0.8;
}

/* ============================================
   TOOL CONTENT
   ============================================ */
.tool-name-sil4 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: -0.01em;
}

.tool-description-sil4 {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 20px;
  min-height: 48px;
}
/* ============================================
   FEATURE TAGS
   ============================================ */
.tool-features-sil4 {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.feature-tag-sil4 {
  padding: 6px 14px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 107, 53, 0.08) 0%, 
      rgba(29, 154, 146, 0.08) 100%
    );
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FF6B35;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.tool-item-card-sil4:hover .feature-tag-sil4 {
  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: translateY(-2px);
}

/* ============================================
   TOOL STATUS
   ============================================ */

.tool-status-sil4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #10B981;
  margin-top: auto;
}

.status-dot-sil4 {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: statusPulse-sil4 2s ease-in-out infinite;
}

@keyframes statusPulse-sil4 {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

/* ============================================
   TOOLS STATISTICS
   ============================================ */
.tools-statistics-sil4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(254, 249, 246, 0.95) 100%
    );
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 2px solid rgba(255, 107, 53, 0.15);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.stat-item-sil4 {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(255, 255, 255, 0.95) 100%
    );
  border-radius: 18px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: all 0.4s ease;
}

.stat-item-sil4:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.25);
}
.stat-icon-sil4 {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, #FF6B35 0%, #1D9A92 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 
    0 6px 20px rgba(255, 107, 53, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}
.stat-content-sil4 {
  flex: 1;
}

.stat-number-sil4 {
  font-size: 1.875rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FF6B35 0%, #1D9A92 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label-sil4 {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 600;
}
/* ============================================
   FLOATING ELEMENTS
   ============================================ */

.tools-floating-elements-sil4 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.float-shape-sil4 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(80px);
}

.shape-1-sil4 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, 
    rgba(255, 107, 53, 0.3) 0%, 
    transparent 70%
  );
  top: -150px;
  right: -150px;
  animation: floatShape1-sil4 20s ease-in-out infinite;
}

.shape-2-sil4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, 
    rgba(29, 154, 146, 0.3) 0%, 
    transparent 70%
  );
  bottom: -120px;
  left: -120px;
  animation: floatShape2-sil4 18s ease-in-out infinite;
}

@keyframes floatShape1-sil4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(40px, -40px) rotate(120deg); }
  66% { transform: translate(-40px, 40px) rotate(240deg); }
}

@keyframes floatShape2-sil4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-35px, 35px) rotate(-120deg); }
  66% { transform: translate(35px, -35px) rotate(-240deg); }
}
 /* RESPONSIVE */
@media (min-width: 320px) and (max-width: 767px) {
  .tools-display-grid-sil4 {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: -30px;
    margin-bottom: 44px;
  } 
  .tools-statistics-sil4 {
    grid-template-columns: 1fr;
    padding: 28px;
    margin-top: -10px;
    margin-bottom: -5px;
  }  
  .tools-main-heading-sil4 {
    font-size: 1.75rem;
    margin-bottom: 6px;
  }  
  .tools-header-badge-sil4 {
    font-size: 0.75rem;
    padding: 7px 18px;
    margin-top: 40px;
  }  
  .legal-tools-wrapper-sil4 {
    margin-top: -45px;
    margin-bottom: -2px;
  } 
  .legal-tools-section-sil4 {
    padding: 38px 14px;
  }  
  .tool-item-card-sil4 {
    padding: 38px 20px;
  }
  
  .logo-backdrop-sil4 {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
  
  .tool-name-sil4 {
    font-size: 1.125rem;
  }
  
  .feature-tag-sil4 {
    font-size: 0.6875rem;
    padding: 5px 12px;
  }
  
  .stat-icon-sil4 {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .stat-number-sil4 {
    font-size: 1.5rem;
  }
  
  .stat-label-sil4 {
    font-size: 0.8125rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
 
  .legal-tools-wrapper-sil4 {
    margin-top: -32px !important;
    margin-bottom: -22px !important;
  }
  .tools-header-badge-sil4 {
    margin-top: 20px !important;
  }
  
  .tools-display-grid-sil4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    margin-top: -30px !important;
    margin-bottom: 40px !important;
  }
   .legal-tools-section-sil4 {
    padding: 70px 20px;
  }
  .tools-header-section-sil4 {
    margin-bottom: 50px;
    margin-top: -52px;
  }
  .tools-statistics-sil4 {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 28px !important;
    margin-top: -10px !important;
    margin-bottom: -30px !important;
  }
  .tools-main-heading-sil4 {
    font-size: 2rem;
  }
  .tools-description-text-sil4 {
    font-size: 1rem;
  }
  .tool-item-card-sil4 {
    padding: 28px 24px;
  }
  .logo-backdrop-sil4 {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }
  
  .tool-name-sil4 {
    font-size: 1.25rem;
  }
  
  .tool-description-sil4 {
    font-size: 0.875rem;
    min-height: auto;
  }
  
  .stat-item-sil4 {
    padding: 16px;
  }
}
/*iPad Pro ONLY - 1024x1366 (Portrait and Landscape) */
    @media only screen 
      and (min-device-width: 1024px) 
      and (max-device-width: 1366px) 
      and (-webkit-min-device-pixel-ratio: 1.5) {
        .tools-statistics-sil4 {
          grid-template-columns: repeat(2, 1fr) !important;
          padding: 28px !important;
          margin-top: 40px !important;
          margin-bottom: 7px !important;
        }
      }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .tool-item-card-sil4 {
    animation: toolCardFadeIn-sil4 0.7s ease forwards;
    opacity: 0;
    animation-play-state: paused;
  }
  
  .tool-item-card-sil4:nth-child(1) { animation-delay: 0.1s; }
  .tool-item-card-sil4:nth-child(2) { animation-delay: 0.15s; }
  .tool-item-card-sil4:nth-child(3) { animation-delay: 0.2s; }
  .tool-item-card-sil4:nth-child(4) { animation-delay: 0.25s; }
  .tool-item-card-sil4:nth-child(5) { animation-delay: 0.3s; }
  .tool-item-card-sil4:nth-child(6) { animation-delay: 0.35s; }
  
  @keyframes toolCardFadeIn-sil4 {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    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;
  }
}

.tool-item-card-sil4:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 4px;
}



/* ============================================
   COMPACT HEADER
   ============================================ */
.legal-services-showcase-ss2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}
.legal-services-wrapper-ss2 {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-top: -24px;
  margin-bottom: -26px;
}
.legal-services-hero-header-ss2 {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
.legal-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);
  }
}

.legal-hero-badge-ss2 i {
  font-size: 1rem;
}

.legal-hero-title-ss2 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.legal-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; }
}

.legal-hero-subtitle-ss2 {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 650px;
  margin: 0 auto;
}
/* ============================================
   SERVICE CARDS - COMPACT DESIGN
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 6px;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.service-card:nth-child(1) {
    border: 2px solid rgba(102, 126, 234, 0.3);
}
.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.95) 100%);
    backdrop-filter: blur(30px);
    border-radius: 28px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(29, 154, 146, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    min-height: 250px;
    max-height: 420px auto;
    display: flex;
    flex-direction: column;
}
/* Combined Aurora + Popular Badge Style */
.service-card:nth-child(1):hover {
    border-color: rgba(102, 126, 234, 0.6);
}
/* Card 2 - Teal Border */
.service-card:nth-child(2) {
    border: 2px solid rgba(29, 154, 146, 0.3);
}
.service-card:nth-child(2):hover {
    border-color: rgba(29, 154, 146, 0.6);
}
/* Card 3 - Orange Border */
.service-card:nth-child(3) {
    border: 2px solid rgba(255, 107, 53, 0.3);
}
.service-card:nth-child(3):hover {
    border-color: rgba(255, 107, 53, 0.6);
}
/* Card 4 - Blue Border */
.service-card:nth-child(4) {
    border: 2px solid rgba(79, 70, 229, 0.3);
}
.service-card:nth-child(4):hover {
    border-color: rgba(79, 70, 229, 0.6);
}
/* Simple hover effect - no animations */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(29, 154, 146, 0.2);
    border-color: rgba(29, 154, 146, 0.4);
}
.legal-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;
}
.card-content {
  position: relative;
  z-index: 1;
}
.legal-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 */
.legal-service-item-ss2[data-service-ss2="onpage"] .legal-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(255, 107, 53, 0.2) 0%, 
    transparent 70%
  );
}

.legal-service-item-ss2[data-service-ss2="offpage"] .legal-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(29, 154, 146, 0.2) 0%, 
    transparent 70%
  );
}

.legal-service-item-ss2[data-service-ss2="local"] .legal-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(139, 92, 246, 0.2) 0%, 
    transparent 70%
  );
}

.legal-service-item-ss2[data-service-ss2="technical"] .legal-card-overlay-ss2 {
  background: radial-gradient(circle at 50% 0%, 
    rgba(59, 130, 246, 0.2) 0%, 
    transparent 70%
  );
}

.legal-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;
}

.legal-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);
}

.legal-service-item-ss2:hover .legal-card-overlay-ss2 {
  opacity: 1;
}

.legal-service-item-ss2:hover .legal-card-shine-ss2 {
  left: 150%;
}

/* ============================================
   SERVICE HEADER
   ============================================ */

.legal-service-header-ss2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.legal-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);
}

.legal-icon-orange-ss2 {
  background: linear-gradient(135deg, #FF6B35 0%, #FF4444 100%);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.legal-icon-teal-ss2 {
  background: linear-gradient(135deg, #1D9A92 0%, #00D4FF 100%);
  box-shadow: 0 6px 20px rgba(29, 154, 146, 0.4);
}

.legal-icon-purple-ss2 {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.legal-icon-blue-ss2 {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
 /* Icon Styling */
.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.4s ease;
    border: none;
}
/* Card 1 - Purple/Violet */
.service-card:nth-child(1) .icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}
.service-card:nth-child(1):hover .icon-wrapper {
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
    transform: rotate(5deg) scale(1.15);
}
/* Card 2 - Teal/Cyan */
.service-card:nth-child(2) .icon-wrapper {
    background: linear-gradient(135deg, #1D9A92 0%, #25BFB7 100%);
    box-shadow: 0 4px 20px rgba(29, 154, 146, 0.4);
}
.service-card:nth-child(2):hover .icon-wrapper {
    box-shadow: 0 6px 30px rgba(29, 154, 146, 0.6);
    transform: rotate(5deg) scale(1.15);
}
/* Card 3 - Orange/Coral */
.service-card:nth-child(3) .icon-wrapper {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}
.service-card:nth-child(3):hover .icon-wrapper {
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
    transform: rotate(5deg) scale(1.15);
}
/* Card 4 - Blue/Indigo */
.service-card:nth-child(4) .icon-wrapper {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}
.service-card:nth-child(4):hover .icon-wrapper {
    box-shadow: 0 6px 30px rgba(79, 70, 229, 0.6);
    transform: rotate(5deg) scale(1.15);
}
.icon-wrapper i {
    font-size: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.service-card:hover .icon-wrapper i {
    transform: scale(1.1);
}

.legal-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); }
}

.legal-service-item-ss2:hover .legal-icon-container-ss2 {
  transform: scale(1.1) rotate(-8deg);
}

.legal-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
   ============================================ */

.legal-service-name-ss2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.legal-service-text-ss2 {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ============================================
   COMPACT FEATURE LIST
   ============================================ */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-bottom: 10px;
}
/* Features List - 2 Column Grid */
.features-list li {
    padding: 4px 0;
    font-size: 15px;
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.features-list li:hover {
    transform: translateX(4px);
    color: #1F2937;
}
.features-list i {
    color: #1D9A92;
    font-size: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.features-list li:hover i {
    transform: scale(1.2);
    color: #FF6B35;
}
.legal-feature-compact-list-ss2 {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.legal-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;
}

.legal-feature-compact-list-ss2 li i {
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Different colors for each card */
.legal-service-item-ss2[data-service-ss2="onpage"] .legal-feature-compact-list-ss2 li i {
  color: #FF6B35;
}

.legal-service-item-ss2[data-service-ss2="offpage"] .legal-feature-compact-list-ss2 li i {
  color: #1D9A92;
}

.legal-service-item-ss2[data-service-ss2="local"] .legal-feature-compact-list-ss2 li i {
  color: #8B5CF6;
}

.legal-service-item-ss2[data-service-ss2="technical"] .legal-feature-compact-list-ss2 li i {
  color: #3B82F6;
}

.legal-service-item-ss2:hover .legal-feature-compact-list-ss2 li {
  transform: translateX(4px);
}

.legal-service-item-ss2:hover .legal-feature-compact-list-ss2 li i {
  transform: scale(1.2);
}

/* ============================================
   CTA LINK
   ============================================ */
/* Card 1 - Purple Button */
.service-card:nth-child(1) .cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.service-card:nth-child(1) .cta-button:hover {
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}
/* Card 2 - Teal Button */
.service-card:nth-child(2) .cta-button {
    background: linear-gradient(135deg, #1D9A92 0%, #25BFB7 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(29, 154, 146, 0.3);
}
.service-card:nth-child(2) .cta-button:hover {
    box-shadow: 0 6px 25px rgba(29, 154, 146, 0.5);
    transform: translateY(-2px);
}
/* Card 3 - Orange Button */
.service-card:nth-child(3) .cta-button {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C61 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}
.service-card:nth-child(3) .cta-button:hover {
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}
/* Card 4 - Blue Button */
.service-card:nth-child(4) .cta-button {
    background: linear-gradient(135deg, #4F46E5 0%, #6366F1 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.service-card:nth-child(4) .cta-button:hover {
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}
/* Shine effect on hover */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.cta-button:hover::before {
    left: 100%;
}
.cta-button:hover i {
    transform: translateX(4px);
}
/* Active state */
.cta-button:active {
    transform: translateY(0);
}
.legal-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;
}

.legal-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;
}

.legal-cta-link-ss2:hover::before {
  left: 100%;
}

.legal-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);
}

.legal-cta-link-ss2 i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.legal-cta-link-ss2:hover i {
  transform: translateX(4px);
}

/* ============================================
   FLOATING DECORATIONS
   ============================================ */

.legal-floating-elements-ss2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.legal-float-orb-ss2 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(80px);
}

.legal-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;
}

.legal-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;
}

.legal-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 (min-width: 320px) and (max-width: 767px) {
  .legal-hero-title-ss2 {
    font-size: 1.625rem;
  }
  .legal-hero-badge-ss2 {
    font-size: 0.75rem;
    padding: 7px 16px;
  }
  .legal-service-item-ss2 {
    padding: 18px;
  }
  .legal-service-name-ss2 {
    font-size: 1.0625rem;
  }
  .legal-service-text-ss2 {
    font-size: 0.8125rem;
  }
  .legal-feature-compact-list-ss2 li {
    font-size: 0.75rem;
  }
  .legal-cta-link-ss2 {
    padding: 9px 18px;
    font-size: 0.8125rem;
    padding-left: 12px;
    padding-right: 12px;
  }
  .legal-services-showcase-ss2 {
    padding: 40px 14px !important;
    margin-top: 18px !important;
  }
  .legal-hero-subtitle-ss2 {
    font-size: 0.9375rem !important;
    margin-bottom: -16px !important;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 21px !important;
  }
  .service-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  .service-card .cta-button {
    margin: 10px auto 0 auto !important;
    width: fit-content !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .legal-hero-title-ss2 {
    font-size: 2.25rem;
  }
  .legal-services-grid-ss2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .legal-services-hero-header-ss2 {
    margin-bottom: 35px ;
    margin-top: -30px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-bottom: -30px !important;
  }
  .legal-services-showcase-ss2 {
    min-height: auto !important;
    max-height: none !important;
    padding: 60px 20px !important;
    margin-top: 6px !important;
    margin-bottom: 0px !important;
  }
  .legal-services-wrapper-ss2 {
    margin-top: -32px !important;
    margin-bottom: -22px !important;
  }
  .legal-service-item-ss2 {
    padding: 22px 18px;
  }
  .legal-service-name-ss2 {
    font-size: 1.125rem;
  }
  .legal-icon-container-ss2 {
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
  }
}

@media only screen 
      and (min-device-width: 1024px) 
      and (max-device-width: 1366px) 
      and (-webkit-min-device-pixel-ratio: 1.5) {
        .services-grid {
          grid-template-columns: repeat(2, 1fr) !important;
        }
        .legal-services-wrapper-ss2 {
          margin-top: -19px !important;
          margin-bottom: -24px !important;
          max-width: 983px;
        }
      }
      /* ✅ 1250px Compact Desktop */
  @media only screen 
    and (min-width: 1200px) 
    and (max-width: 1280px){
      .services-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 10px;
    }
    .service-card {
      padding: 28px 15px !important;
    }
  }
/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .legal-service-item-ss2 {
    animation: service-ss2-fadeInUp 0.7s ease forwards;
    opacity: 0;
  }
  
  .legal-service-item-ss2:nth-child(1) { animation-delay: 0.1s; }
  .legal-service-item-ss2:nth-child(2) { animation-delay: 0.2s; }
  .legal-service-item-ss2:nth-child(3) { animation-delay: 0.3s; }
  .legal-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;
  }
}

.legal-service-item-ss2:focus-visible,
.legal-cta-link-ss2:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 4px;
}

/* ============================================
WEB PROCESS TIMELINE - UNIQUE DESIGN
============================================ */
.legal-process-section-spw3 {
  min-height: 100vh;
  padding: 70px 20px;
  background: 
    radial-gradient(circle at 15% 20%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(29, 154, 146, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #fefcfb 50%, #fff8f5 100%);
  position: relative;
  overflow: hidden;
}
.legal-process-wrapper-spw3 {
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-top: -38px;
  margin-bottom: -39px;
}
/* ============================================
   TIMELINE HEADER
   ============================================ */
.legal-timeline-header-spw3 {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.timeline-badge-spw3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 107, 53, 0.12) 0%, 
      rgba(29, 154, 146, 0.12) 100%
    );
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FF6B35;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
  animation: badgeFloat-spw3 3s ease-in-out infinite;
}
@keyframes badgeFloat-spw3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.badge-glow-spw3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  background: inherit;
  filter: blur(10px);
  opacity: 0.5;
  z-index: -1;
}
.timeline-badge-spw3 i {
  font-size: 1rem;
}
.timeline-main-title-spw3 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.timeline-gradient-spw3 {
  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: gradientShift-spw3 5s ease infinite;
}
@keyframes gradientShift-spw3 {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.timeline-subtitle-spw3 {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
}
.timeline-container-spw3 {
  position: relative;
  padding: 20px 0;
}
.timeline-spine-spw3 {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: 
    linear-gradient(180deg, 
      rgba(255, 107, 53, 0.2) 0%, 
      rgba(29, 154, 146, 0.2) 100%
    );
  border-radius: 10px;
  transform: translateX(-50%);
  z-index: 1;
}
.spine-progress-spw3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, 
    #FF6B35 0%, 
    #FF8F6B 30%,
    #1D9A92 70%,
    #157A74 100%
  );
  border-radius: 10px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}
.timeline-item-spw3 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: itemFadeIn-spw3 0.7s ease forwards;
}
.timeline-item-spw3:nth-child(1) { animation-delay: 0.1s; }
.timeline-item-spw3:nth-child(2) { animation-delay: 0.2s; }
.timeline-item-spw3:nth-child(3) { animation-delay: 0.3s; }
.timeline-item-spw3:nth-child(4) { animation-delay: 0.4s; }
@keyframes itemFadeIn-spw3 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Left Side Items */
.timeline-left-spw3 .timeline-content-spw3 {
  padding-right: 40px;
}
/* Right Side Items */
.timeline-right-spw3 .timeline-content-spw3 {
  text-align: left;
  padding-left: 40px;
}
.timeline-node-spw3 {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  padding-top: 20px;
}
.node-outer-spw3 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 2px 8px rgba(255, 255, 255, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.node-orange-spw3 {
  background: linear-gradient(135deg, #FF6B35 0%, #FF4444 100%);
}
.node-teal-spw3 {
  background: linear-gradient(135deg, #1D9A92 0%, #00D4FF 100%);
}
.node-purple-spw3 {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}
.node-blue-spw3 {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}
.node-inner-spw3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.node-ripple-spw3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 3px solid currentColor;
  color: inherit;
  opacity: 0.4;
  animation: nodeRipple-spw3 2s ease-in-out infinite;
}
@keyframes nodeRipple-spw3 {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}
.timeline-item-spw3:hover .node-outer-spw3 {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 2px 8px rgba(255, 255, 255, 0.4);
}
.content-card-spw3 {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(255, 255, 255, 0.95) 100%
    );
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px;
  border: 2px solid;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.card-orange-spw3 {
  border-color: rgba(255, 107, 53, 0.2);
}
.card-teal-spw3 {
  border-color: rgba(29, 154, 146, 0.2);
}
.card-purple-spw3 {
  border-color: rgba(139, 92, 246, 0.2);
}
.card-blue-spw3 {
  border-color: rgba(59, 130, 246, 0.2);
}
.content-card-spw3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.card-orange-spw3::before {
  background: radial-gradient(circle at 50% 0%, 
    rgba(255, 107, 53, 0.15) 0%, 
    transparent 70%
  );
}
.card-teal-spw3::before {
  background: radial-gradient(circle at 50% 0%, 
    rgba(29, 154, 146, 0.15) 0%, 
    transparent 70%
  );
}
.card-purple-spw3::before {
  background: radial-gradient(circle at 50% 0%, 
    rgba(139, 92, 246, 0.15) 0%, 
    transparent 70%
  );
}
.card-blue-spw3::before {
  background: radial-gradient(circle at 50% 0%, 
    rgba(59, 130, 246, 0.15) 0%, 
    transparent 70%
  );
}
.timeline-item-spw3:hover .content-card-spw3 {
  transform: translateY(-8px);
  box-shadow: 
    0 16px 50px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.timeline-item-spw3:hover .content-card-spw3::before {
  opacity: 1;
}
.card-header-spw3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.timeline-left-spw3 .card-header-spw3 {
  flex-direction: row-reverse;
}
.step-label-spw3 {
  padding: 6px 14px;
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.1) 0%, 
    rgba(29, 154, 146, 0.1) 100%
  );
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FF6B35;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.step-icon-spw3 {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 -1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.icon-orange-spw3 {
  background: linear-gradient(135deg, #FF6B35 0%, #FF4444 100%);
}
.icon-teal-spw3 {
  background: linear-gradient(135deg, #1D9A92 0%, #00D4FF 100%);
}
.icon-purple-spw3 {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}
.icon-blue-spw3 {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}
.timeline-item-spw3:hover .step-icon-spw3 {
  transform: scale(1.1) rotate(-10deg);
}
.step-heading-spw3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.step-text-spw3 {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 18px;
}
.step-list-spw3 {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-list-spw3 li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  transition: all 0.3s ease;
}
.step-list-spw3 li i {
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.card-orange-spw3 .step-list-spw3 li i {
  color: #FF6B35;
}
.card-teal-spw3 .step-list-spw3 li i {
  color: #1D9A92;
}
.card-purple-spw3 .step-list-spw3 li i {
  color: #8B5CF6;
}
.card-blue-spw3 .step-list-spw3 li i {
  color: #3B82F6;
}

.timeline-item-spw3:hover .step-list-spw3 li i {
  transform: scale(1.2);
}
.step-meta-spw3 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.meta-duration-spw3,
.meta-priority-spw3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.meta-duration-spw3 {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: #FF6B35;
}
.meta-duration-spw3 i {
  font-size: 0.6875rem;
}
.meta-priority-spw3 {
  background: rgba(29, 154, 146, 0.1);
  border: 1px solid rgba(29, 154, 146, 0.3);
  color: #1D9A92;
}
.timeline-cta-spw3 {
  text-align: center;
  margin-top: 60px;
  padding: 40px 32px;
  background: 
    linear-gradient(135deg, 
      rgba(15, 23, 42, 0.97) 0%, 
      rgba(30, 41, 59, 0.95) 50%,
      rgba(51, 65, 85, 0.97) 100%
    );
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.timeline-cta-spw3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(29, 154, 146, 0.15) 0%, transparent 50%);
}
.cta-title-spw3 {
  font-size: 1.875rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-text-spw3 {
  font-size: 1.0625rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.cta-button-spw3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, 
    #FF6B35 0%, 
    #FF8F6B 50%, 
    #1D9A92 100%
  );
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}
.cta-button-spw3:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 36px rgba(255, 107, 53, 0.6);
}
.cta-button-spw3 i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}
.cta-button-spw3:hover i {
  transform: translateX(4px);
}
.timeline-floats-spw3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.float-element-spw3 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(80px);
}
.float-1-spw3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, 
    rgba(255, 107, 53, 0.3) 0%, 
    transparent 70%
  );
  top: 100px;
  right: -150px;
  animation: float1-spw3 20s ease-in-out infinite;
}
.float-2-spw3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, 
    rgba(29, 154, 146, 0.3) 0%, 
    transparent 70%
  );
  bottom: 150px;
  left: -120px;
  animation: float2-spw3 18s ease-in-out infinite;
}
@keyframes float1-spw3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-30px, 30px) rotate(240deg); }
}
@keyframes float2-spw3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-25px, 25px) rotate(-120deg); }
  66% { transform: translate(25px, -25px) rotate(-240deg); }
}

/* ============================================
MOBILE RESPONSIVE - LINEAR TIMELINE (NO ZIG-ZAG)
============================================ */
@media (min-width: 320px) and (max-width: 767px) {
  .legal-process-section-spw3 {
    padding: 40px 14px;
    margin-top: 14px;
  }

  .legal-process-wrapper-spw3 {
    margin-top: -9px !important;
    margin-bottom: -9px !important;
  }

  .legal-timeline-header-spw3 {
    margin: 0 auto 30px;
  }

  .timeline-badge-spw3 {
    font-size: 0.75rem;
    padding: 7px 16px;
  }

  .timeline-main-title-spw3 {
    font-size: 1.5rem;
  }

  .timeline-subtitle-spw3 {
    font-size: 0.9375rem;
  }

  /* LINEAR TIMELINE CONTAINER */
  .timeline-container-spw3 {
    position: relative;
    padding: 20px 0;
    margin-left: 0;
  }

  /* STRAIGHT VERTICAL LINE ON LEFT */
  .timeline-spine-spw3 {
    left: 25px !important;
    top: 0;
    bottom: 0;
    width: 3px !important;
    transform: none !important;
    background: linear-gradient(180deg, #FF6B35 0%, #FF8F6B 30%, #1D9A92 70%, #157A74 100%);
  }

  .spine-progress-spw3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #FF6B35 0%, #FF8F6B 30%, #1D9A92 70%, #157A74 100%);
    border-radius: 2px;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
  }

  /* ALL TIMELINE ITEMS - SAME LAYOUT (NO LEFT/RIGHT DISTINCTION) */
  .timeline-item-spw3 {
    display: flex !important;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    padding-left: 0 !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  /* TIMELINE NODE - FIXED ON LEFT SIDE */
  .timeline-node-spw3 {
    position: absolute !important;
    left: 13px !important;
    top: -3px !important;
    transform: none !important;
    z-index: 10;
    padding-top: 0 !important;
  }

  .node-outer-spw3 {
    width: 44px;
    height: 44px;
    left: -10px;
  }

  .node-inner-spw3 {
    font-size: 14px !important;
    font-weight: 900;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }

  /* CONTENT POSITIONING - CONSISTENT LEFT MARGIN */
  .timeline-content-spw3 {
    margin-left: 70px !important;
    width: calc(100% - 70px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  /* CONTENT CARDS - UNIFORM STYLING */
  .content-card-spw3 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px !important;
    padding: 20px !important;
   
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  /* CARD HEADER - CONSISTENT LAYOUT */
  .card-header-spw3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-direction: row !important; /* Override left-side reverse */
  }

  .timeline-left-spw3 .card-header-spw3 {
    flex-direction: row-reverse !important; /* Force consistent direction */
  }

  .step-label-spw3 {
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(29, 154, 146, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #FF6B35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .step-icon-spw3 {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  /* CONTENT STYLING */
  .step-heading-spw3 {
    font-size: 18px !important;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .step-text-spw3 {
    font-size: 14px !important;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .step-list-spw3 {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .step-list-spw3 li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    color: #475569;
    line-height: 1.5;
  }

  .step-list-spw3 li i {
    font-size: 10px;
    flex-shrink: 0;
  }
  .meta-duration-spw3,
  .meta-priority-spw3 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
  }

  .meta-duration-spw3 {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #FF6B35;
  }

  .meta-priority-spw3 {
    background: rgba(29, 154, 146, 0.1);
    border: 1px solid rgba(29, 154, 146, 0.3);
    color: #1D9A92;
  }

  /* REMOVE HOVER TRANSFORMS THAT CAUSE DIRECTION ISSUES */
  .timeline-left-spw3:hover .step-list-spw3 li {
    transform: translateX(4px) !important; /* Same direction for all */
  }

  .timeline-right-spw3:hover .step-list-spw3 li {
    transform: translateX(4px) !important; /* Same direction for all */
  }

  /* CTA SECTION */
  .timeline-cta-spw3 {
    text-align: center;
    margin-top: 40px;
    padding: 24px 20px !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(51, 65, 85, 0.97) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  }

  .cta-title-spw3 {
    font-size: 20px !important;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
  }

  .cta-text-spw3 {
    font-size: 14px !important;
    color: #cbd5e1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }

  .cta-button-spw3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F6B 50%, #1D9A92 100%);
    color: white;
    font-size: 14px !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
  }

  .cta-button-spw3:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  }

  /* HIDE FLOATING ELEMENTS ON MOBILE */
  .timeline-floats-spw3 {
    display: none;
  }

  /* REMOVE SPACERS */
  .timeline-spacer-spw3 {
    display: none !important;
  }
}

 @media (min-width: 768px) and (max-width: 1023px){
  .timeline-right-spw3 .timeline-content-spw3 {
    padding-left: 30px;
  }
  .legal-process-section-spw3 {
    padding: 60px 20px;
  }
  .content-card-spw3 {
    margin-bottom: -87px;
  }
  
  .timeline-main-title-spw3 {
    font-size: 2rem;
  }
  .timeline-container-spw3 {
    position: relative;
    padding: 20px 15px !important;
    margin-bottom: 57px;
  }
  .legal-process-wrapper-spw3 {
      margin-top: -50px !important;
      margin-bottom: -22px !important;
  }
  .legal-timeline-header-spw3 {
    margin-bottom: -40px;
    margin-top: 20px;
  }
  .timeline-node-spw3 {
    padding-top: 10px;
  }
  .node-outer-spw3 {
    width: 56px;
    height: 56px;
    left: -83px;
    top: 63px;
  }
  .node-inner-spw3 {
    font-size: 1.25rem;
  }
  
  .timeline-left-spw3 .timeline-content-spw3,
  .timeline-right-spw3 .timeline-content-spw3 {
    text-align: left;
    padding-left: 30px;
    padding-right: 0;
  }
  
  .timeline-left-spw3 .card-header-spw3 {
    flex-direction: row-reverse!important;
  }
  
  .timeline-left-spw3 .step-list-spw3 li {
    flex-direction: row;
    text-align: left;
  }
  .timeline-left-spw3:hover .step-list-spw3 li {
    transform: translateX(4px);
  }
  /* Stack all items vertically on left side */
  .timeline-item-spw3 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-left: 70px;
    position: relative;
    margin-bottom: 3rem;
  }
  .timeline-cta-spw3 {
    margin-top: 40px;
    margin-bottom: -19px;
  }

  /* Reset zigzag direction */
  .timeline-item-spw3:nth-child(even) {
    direction: ltr !important;
  }

  .timeline-item-spw3:nth-child(even) > * {
    direction: ltr !important;
  }

  /* Hide spacers */
  .timeline-spacer-spw3 {
    display: none !important;
  }
  /* Content takes full width */
  .timeline-content-spw3 {
    width: 100% !important;
    order: 2 !important;
  }

  /* Timeline line on left */
  .timeline-spine-spw3 {
    left: 30px !important;
    width: 3px !important;
    top: 87px;
  }
 }
 @media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    .legal-process-wrapper-spw3 {
        margin-top: -34px !important;
        margin-bottom: -27px !important;
        max-width: 986px;
    }
    .timeline-cta-spw3 {
        margin-top: 27px !important;
      }
}
/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.content-card-spw3:focus-visible,
.cta-button-spw3:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 4px;
}