@keyframes pulse-slow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
}
.animate-pulse-slow {
  animation: pulse-slow 8s infinite;
}

#slider > div {
  position: relative;
}

#slider h1 {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Home screen */
@layer utilities {
  .gradient-bg-1 {
    background: radial-gradient(
      circle at center,
      rgba(34, 158, 212, 0.45),
      rgba(255, 255, 255, 0.9) 65%
    );
  }

  .gradient-bg-2 {
    background:
      radial-gradient(
        circle at 40% 40%,
        rgba(34, 158, 212, 0.35),
        /* increased opacity */ transparent 55%
      ),
      linear-gradient(to right, rgba(240, 240, 240, 1), rgba(250, 250, 250, 1));
  }

  .gradient-bg-3 {
    background:
      radial-gradient(
        circle at top left,
        rgba(34, 158, 212, 0.28),
        transparent 55%
      ),
      linear-gradient(
        to bottom right,
        rgba(245, 245, 245, 1),
        rgba(255, 255, 255, 1)
      );
  }
}

/* Services section */
@layer utilities {
  .service-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(34, 158, 212, 0.15);
    transition: all 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(34, 158, 212, 0.25);
  }

  .service-card i {
    width: 40px;
    height: 40px;
    color: #1e88e5;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3f6478;
    margin-bottom: 0.5rem;
  }

  .service-card p {
    color: rgba(30, 50, 80, 0.7);
    font-size: 0.95rem;
  }
}

@layer utilities {
  .reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    filter: blur(6px);
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  .service-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(34, 158, 212, 0.12);
    transition: all 0.4s ease;
  }

  .service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(34, 158, 212, 0.25);
  }
}

/* Portfolio section */
@layer utilities {
  .portfolio-btn {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border-radius: 0.8rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(90deg, #1e88e5, #3f6478);
    box-shadow: 0 0 15px rgba(30, 136, 229, 0.5);
    transition: all 0.3s ease;
  }

  .portfolio-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(30, 136, 229, 0.8);
  }

  .portfolio-item {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.9s ease;
  }

  .portfolio-item.active {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tools section */
.tool-icon {
  transition: all 0.6s ease;
}
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.translate-y-6 {
  transform: translateY(1.5rem);
}
.translate-y-0 {
  transform: translateY(0);
}

/* About section */
.about-item {
  transition: all 0.7s ease;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.translate-y-10 {
  transform: translateY(2.5rem);
}

.translate-y-0 {
  transform: translateY(0);
}

/* Contact section */
.animate-contact {
  transition: all 0.8s ease;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.translate-y-12 {
  transform: translateY(3rem);
}

.translate-y-0 {
  transform: translateY(0);
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Footer */
.footer-icon {
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(34, 158, 212, 0.15);
  transition: all 0.3s ease;
}

.footer-icon img {
  filter: brightness(0) saturate(100%) invert(29%) sepia(75%) saturate(1200%)
    hue-rotate(190deg) brightness(95%) contrast(95%);
}

.footer-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 28px rgba(34, 158, 212, 0.4);
}
