/* Innovation Words Bubble Styling - Full circle covering text */

.innovation-words {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.innovation-word {
  /* Create full circle bubble */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #333;
  font-weight: 700;
  font-size: 2.2rem;
  text-align: center;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  
  /* Ensure text is centered in bubble */
  padding: 0;
  margin: 0;
  line-height: 1;
  
  /* Prevent text overflow */
  white-space: nowrap;
  overflow: visible;
}

/* Add bubble highlight effect */
.innovation-word::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 30%;
  height: 30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Hover effects */
/* .innovation-word:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
} */

/* Active state */
.innovation-word:active {
  transform: translateY(-2px) scale(1.05);
}

/* Animation for each word */
.innovation-word[data-aos-delay="900"] {
  animation: bubbleFloat 3s ease-in-out infinite;
}

.innovation-word[data-aos-delay="1000"] {
  animation: bubbleFloat 3s ease-in-out infinite 0.5s;
}

.innovation-word[data-aos-delay="1100"] {
  animation: bubbleFloat 3s ease-in-out infinite 1s;
}

/* Floating animation */
@keyframes bubbleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .innovation-word {
    width: 140px;
    height: 140px;
    font-size: 2rem;
  }
  
  .innovation-words {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .innovation-word {
    width: 120px;
    height: 120px;
    font-size: 1.8rem;
  }
  
  .innovation-words {
    gap: 1rem;
  }
}

/* Ensure Arabic text renders properly */
.innovation-word {
  text-align: center;
}

/* Add subtle bubble glow effect */
.innovation-word::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
  filter: blur(12px);
  transition: opacity 0.3s ease;
}

/* .innovation-word:hover::before {
  opacity: 0.8;
  filter: blur(16px);
} */
