.hero {
  padding: 10px 0;

  background: linear-gradient(135deg, var(--bg), var(--bg-dark));

  transition: var(--transition);
}
.hero-container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 60px;
}

.hero-tag {
  display: inline-block;

  padding: 10px 18px;
  background: var(--bg-dark);

  color: var(--primary);

  border-radius: 30px;

  font-weight: 600;

  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);

  line-height: 1.2;

  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 18px;

  color: var(--text-light);

  margin-bottom: 35px;

  max-width: 600px;
}

.hero-buttons {
  display: flex;

  gap: 20px;

  margin-bottom: 45px;
}

.btn-outline {
  padding: 14px 30px;

  border: 2px solid var(--primary);

  border-radius: 14px;

  color: var(--primary);

  font-weight: 600;

  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary);

  color: white;
}

.hero-stats {
  display: flex;

  gap: 45px;
}

.hero-stats h2 {
  color: var(--primary);

  font-size: 32px;
}

.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;

  max-width: 500px;

  display: block;

  margin: auto;

  animation: float 5s ease-in-out infinite;
}
.floating {
  position: absolute;

  padding: 10px 18px;

  background: var(--bg-light);

  color: var(--text);

  border: 1px solid var(--border);

  border-radius: 30px;

  box-shadow: var(--shadow-md);

  font-weight: 600;

  backdrop-filter: var(--blur);

  -webkit-backdrop-filter: var(--blur);

  z-index: 2;
}

.html {
  top: 0;

  left: 10%;
}

.css {
  top: 20%;

  right: 0;
}

.js {
  bottom: 25%;

  left: 0;
}

.react {
  bottom: 0;

  right: 10%;
}

.seo {
  top: 55%;

  right: -10px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;

    gap: 20px;
  }

  .floating {
    display: none;
  }
}

/* ===========================
   HERO DARK MODE
=========================== */

body.dark .hero {
  background: linear-gradient(135deg, var(--bg), var(--bg-dark));
}

body.dark .floating {
  background: var(--bg-light);

  color: var(--text);

  border: 1px solid var(--border);
}

body.dark .hero-tag {
  background: rgba(37, 99, 235, 0.18);
}
/* ==========================================
   FLOATING BADGES ANIMATION
========================================== */

.floating {
  animation: floatingBadge 4s ease-in-out infinite;
}

.html {
  animation-delay: 0s;
}

.css {
  animation-delay: 0.8s;
}

.js {
  animation-delay: 1.6s;
}

.seo {
  animation-delay: 2.4s;
}

.react {
  animation-delay: 3.2s;
}

@keyframes floatingBadge {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}
