/* News Ticker Section */
.news-ticker-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 20px 0;
  position: relative;
  overflow: hidden; 
}

.news-ticker-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.news-ticker-container {
  display: flex;
  align-items: center;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.news-ticker-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 30px;
  flex-shrink: 0;
  border-right: 2px solid rgba(0, 212, 255, 0.3);
  margin-right: 20px;
}

.breathing-badge { 
  color: black;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  animation: pulse-glow 2s infinite;
 z-index: 99999999;
}

.product-cta.breathing-badge {
  display: inline-flex;
  align-items: center;
}

.product-cta.breathing-badge p {
  margin: 0 !important;
}
.bg-yellow {
  background: linear-gradient(45deg, #FBBC05, #FBBC05);
   box-shadow: 0 4px 15px #EA4335;
}

.news-label {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.news-ticker-content {
  display: flex;
  animation: scroll-news 60s linear infinite;
  white-space: nowrap;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 80px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}

.news-icon {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.news-text {
  position: relative;
  padding: 8px 0;
}

.news-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  opacity: 0;
  animation: text-underline 3s ease-in-out infinite;
}

/* Animations */
@keyframes scroll-news {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
    transform: scale(1.05);
  }
}

@keyframes text-underline {
  0%, 100% {
    opacity: 0;
    transform: scaleX(0);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Pause animation on hover */
.news-ticker-section:hover .news-ticker-content {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-ticker-section {
    padding: 15px 0;
  }

  .news-ticker-header {
    display: none;
  }

  .news-ticker-container {
    display: block;
  }
  
  .news-item {
    font-size: 13px;
    margin-right: 60px;
  }
  
  .news-icon {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .news-item {
    margin-right: 40px;
    font-size: 12px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .news-ticker-section {
    background: #000000;
    border-color: #ffffff;
  }
  
  .breathing-badge {
    background: #ff0000;
  }
  
  .news-label {
    color: #ffffff;
  }
  
  .news-item {
    color: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .news-ticker-content {
    animation: scroll-news 120s linear infinite;
  }
  
  .breathing-badge {
    animation: none;
  }
  
  .news-text::after {
    animation: none;
  }
}
.service-breathing-badge {
    display: flex;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.service-breathing-badge.active {
    display: flex;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
    animation: breathe-in 0.6s ease-out, breathing-pulse 2s ease-in-out 0.6s infinite;
}

/* Breathing animation keyframes */
@keyframes breathe-in {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(20px) rotate(-5deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-5px) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

@keyframes breathing-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0px 10px #a1a1a1;
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 1px 20px #EA4335;
    }
}

/* Enhanced hover effect for service cards */
.service-card:hover .service-breathing-badge {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
    animation: breathe-in 0.6s ease-out, breathing-pulse 2s ease-in-out 0.6s infinite;
}

/* Smooth exit animation */
.service-card:not(:hover) .service-breathing-badge {
    animation: breathe-out 0.4s ease-in forwards;
}

@keyframes breathe-out {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
}

/* Responsive animations */
@media (max-width: 768px) {
    .service-breathing-badge {
        transition: opacity 0.25s ease-out;
        transform: none !important;
        animation: none !important;
    }

    .service-card:hover .service-breathing-badge,
    .service-card .service-breathing-badge.active {
        transform: none !important;
        animation: none !important;
        opacity: 1;
    }

    .service-card:not(:hover) .service-breathing-badge {
        animation: none !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-breathing-badge {
        transition: opacity 0.2s ease;
    }
    
    .service-breathing-badge.active {
        animation: none;
    }
    
    .service-card:hover .service-breathing-badge {
        animation: none;
    }
    
    .service-card:not(:hover) .service-breathing-badge {
        animation: none;
    }
}