/* Hero Section */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #121212;
  padding: 10px 20px;
  width: 100%;
  overflow-x: hidden;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  margin: 70px auto; /* Center it horizontally */
  padding: 0 10px; /* Prevent overflow from padding */
}

.personal-img {
  border-radius: 50%;
  width: 300px;
  height: 300px;
  margin-bottom: 20px;
  object-fit: cover;
}

.hero-img {
  position: relative;
  margin-bottom: 20px;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.personal-img {
  border-radius: 50%;
  width: 300px;
  height: 300px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-ring {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: linear-gradient(
    90deg,
    rgba(246, 0, 255, 0.8) 0%,
    rgba(255, 136, 0, 0.8) 100%
  );
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
  z-index: 1;
  animation: rotateRing 10s linear infinite;
}

/* Hover effect */
.hero-img:hover .personal-img {
  box-shadow: 0 0 20px rgba(246, 0, 255, 0.5);
}

/* Ring rotation animation */
@keyframes rotateRing {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: white;
  font-weight: bold;
}

.sub-usp {
  color: #bbb;
  font-size: 16px;
  margin-top: -8px;
  margin-bottom: 16px;
}

.highlight {
  background: linear-gradient(
    90deg,
    rgba(246, 0, 255, 1) 0%,
    rgba(255, 136, 0, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.focus-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 12px;
}

.hero-connect {
  background: linear-gradient(
    90deg,
    rgba(246, 0, 255, 1) 0%,
    rgba(255, 136, 0, 1) 100%
  );
  color: white;
  cursor: pointer;
  text-decoration: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  transition: background 0.4s ease-in-out, color 0.1s ease-in-out;
}

.hero-connect:hover {
  background: linear-gradient(
    90deg,
    rgba(255, 136, 0, 1) 0%,
    rgba(246, 0, 255, 1) 100%
  );
  color: #121212;
}

.res-btn {
  color: white;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 18px;
  background: transparent;
  transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
}

.res-btn:hover {
  background: white;
  color: #121212;
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 20px 40px 20px;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .sub-usp {
    font-size: 15px;
    margin-bottom: 20px;
  }

  p {
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
  }

  .chip {
    font-size: 11px !important;
    padding: 6px 10px;
  }

  .focus-chips {
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .hero-buttons {
    gap: 15px;
    flex-wrap: wrap;
  }

  .res-btn,
  .hero-connect {
    padding: 14px 20px;
    font-size: 15px;
  }

  .personal-img {
    width: 180px;
    height: 180px;
    margin-bottom: 30px;
  }
  
  .gradient-ring {
    width: 200px;
    height: 200px;
  }
  
  .hero-img {
    margin-bottom: 30px;
  }

  .hero-content {
    margin: 60px auto 40px auto;
    padding: 0 15px;
  }
}
