.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem 2rem;
  position: relative;
  background-image: linear-gradient(
      rgba(15, 23, 42, 0.6),
      rgba(15, 23, 42, 0.9)
    ),
  url("../images/bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--background));
  /* opacity: 0.6; */
  /* filter: blur(10px); */
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  padding-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--text), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 2.5rem;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: var(--secondary);
  color: white;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: 500;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(9, 132, 227, 0.4);
}

/* Coding Icons Container */
.coding-icons {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-around;
  width: 100%;
  z-index: 0;
}

.coding-icon {
  font-size: 50px;
  color: #fff;
  opacity: 0;
  animation: pop 5s infinite ease-in-out;
}

.coding-icon.code {
  animation-delay: 0s;
}

.coding-icon.terminal {
  animation-delay: 0.5s;
}

.coding-icon.git {
  animation-delay: 1s;
}

.coding-icon.server {
  animation-delay: 1.5s;
}

/* Keyframes for pop-in animation */
@keyframes pop {
  0%,
  100% {
    opacity: 0;
    transform: translateY(-50px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-button {
    font-size: 14px;
  }

  .coding-icons {
    width: 80%;
    justify-content: space-around;
  }

  .coding-icon {
    font-size: 40px;
  }
}

/* Animated Background Circles */
.background-circles {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.275),
    rgba(0, 0, 0, 0)
  );
  border-radius: 40%;
  animation: animate-background 10s linear infinite;
  z-index: -1;
}

@keyframes animate-background {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.2;
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
}



