/* Minimalist CSS - only keeping what can't be done easily with Tailwind */

/* Smooth scrolling behavior */
html {
  scroll-behavior: smooth;
}

/* Hero section background particles */
.tech-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.tech-particles::before,
.tech-particles::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(147, 197, 253, 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: moveBackground 30s linear infinite;
}

.tech-particles::after {
  background-image: radial-gradient(circle, rgba(191, 219, 254, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  animation-duration: 40s;
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 500px 500px;
  }
}

/* Hero image container */
.hero-image-container {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1000px;
}

.hero-main-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  z-index: 1;
}

.hero-center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 250px;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

.hero-card {
  position: absolute;
  padding: 15px;
  background: rgba(30, 64, 175, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  z-index: 3;
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-5px) scale(1.05);
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.2);
}

.hero-card-1 {
  top: 15%;
  left: 0;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-card-2 {
  top: 45%;
  right: 0;
  animation: floatCard 7s ease-in-out infinite 1s;
}

.hero-card-3 {
  bottom: 15%;
  left: 10%;
  animation: floatCard 8s ease-in-out infinite 2s;
}

.hero-dots {
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.3) 1px, transparent 2px);
  background-size: 10px 10px;
  border-radius: 50%;
  z-index: 1;
}

.hero-dots-1 {
  top: 20%;
  right: 15%;
  animation: spin 30s linear infinite;
}

.hero-dots-2 {
  bottom: 20%;
  right: 30%;
  animation: spin 20s linear infinite reverse;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animation for elements on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-image-container {
    height: 360px;
  }
  
  .hero-main-circle {
    width: 240px;
    height: 240px;
  }
  
  .hero-center-image {
    max-width: 180px;
  }
  
  .hero-card {
    padding: 10px;
  }
  
  .hero-card-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
