/* Floating Animation Definition */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 100%;
  min-height: calc(100vh - 80px);
  padding: 50px 10%;
  overflow: hidden;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-right img {
  width: 100%;
  max-width: 500px;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  animation: float 4s ease-in-out infinite;
}

.dark-mode .hero-right img {
  filter: brightness(0.9);
}

.intro {
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hand {
  font-size: 24px;
}

.name {
  font-size: 48px;
  margin-bottom: 10px;
}

.role {
  font-size: 24px;
  color: #0078ff;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.desc {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-btns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 25px;
  margin-top: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0078ff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0056cc;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #0078ff;
  color: #0078ff;
}

.btn-secondary:hover {
  background: #0078ff;
  color: white;
}

.hero-socials {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-socials a {
  font-size: 24px;
  color: #333;
  transition: all 0.3s ease;
}

.hero-socials a:hover {
  color: #0078ff;
  transform: translateY(-3px);
}


.dark-mode .hero-socials a {
  color: #bbb;
}


/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 40px 5%;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
  }

  .name {
    font-size: 36px;
  }

  .role {
    font-size: 20px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 5%;
  }

  .name {
    font-size: 32px;
  }

  .intro {
    font-size: 18px;
  }
}

@media (max-width: 300px) {

  .hero-content h2 {
    font-size: 16px !important;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 1.4;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
  }
}