/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
}
.fade-up {
  animation: fadeUp 1s ease-out both;
}

/* Hover glow for links & buttons */

.hover-glow:hover {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
  transition: box-shadow 0.3s ease;
}
.lift {
  z-index: 50;
}
/* Service card hover lift */
.lift:hover {
  transform: translateY(-6px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Subtle gradient background */
body {
  background: radial-gradient(circle at top, #0a0a0a, #050505 80%);
}

/* --- Animated Gradient Background --- */
/* body {
            background: linear-gradient(120deg, #0f172a, #1e293b, #0a0a0a);
            background-size: 200% 200%;
            animation: gradientShift 15s ease infinite;
        } */

/* --- Floating Contact Button --- */

.float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #3b82f6;
  color: white;
  border-radius: 9999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 50;
}

/* stars */

#starshine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none; ✨ this is key
}

.shine {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  background-image: url(star.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  overflow: hidden;
  z-index: 2;
  color: tansparent;
  -moz-opacity: 0;
  opacity: 0;
  animation: glitter 6s linear 0s infinite normal;
  -webkit-animation: glitter 6s linear 0s infinite normal;
  -moz-animation: glitter 8s linear 0s infinite normal;
  -ms-animation: glitter 8s linear 0s infinite normal;
  -o-animation: glitter 8s linear 0s infinite normal;
}

.shine.small {
  width: 20px;
  height: 20px;
}

.shine.medium {
  width: 30px;
  height: 30px;
}

.shine.large {
  width: 50px;
  height: 50px;
}

/*CSS3 keyframes for glittering effect*/
@-webkit-keyframes glitter {
  0% {
    -webkit-transform: scale(0.3) rotate(0deg);
    opacity: 0;
  }
  25% {
    -webkit-transform: scale(1) rotate(180deg);
    opacity: 0.2;
  }
  50% {
    -webkit-transform: scale(0.3) rotate(360deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(0.3) rotate(0deg);
    opacity: 0;
  }
}

/* Fade-in animation for hero text */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Animated Gradient Background --- */
/* @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        } */
