.hero-section {
  min-height: 100vh; /* fits the full screen */
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
  padding: 40px 0; /* reduced padding */
  box-sizing: border-box;
}


@media (max-width: 768px) {
  .hero-section {
    padding: 30px 0;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content h2 {
    font-size: 20px;
  }
}



.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 20px;
}

.badge-container {
  margin-bottom: 15px;
}

.badge {
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--dark-color);
  font-weight: 800;
  font-family: var(--font-secondary);
}

.hero-content h1 .highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-content h1 .highlight::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: var(--primary-color-light);
  bottom: 4px;
  left: 0;
  z-index: -1;
}

.hero-content h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.hero-content p {
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 25px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.typed-text {
  color: var(--primary-color);
  font-weight: 700;
}

.cursor {
  display: inline-block;
  width: 2px;
  background-color: var(--dark-color);
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.1%, 100% { opacity: 0; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 30px;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--card-bg);
  border-radius: 50%;
  color: var(--dark-color);
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(5, 99, 187, 0.3);
}

.hero-image {
  position: relative;
  z-index: 2;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 30px;
}

.hero-image img.styled-image {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.1));
  border-radius: 30px;
  border: 6px solid #fff;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-down a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  background-color: var(--card-bg);
  color: var(--dark-color);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
}

.scroll-down a:hover {
  background-color: var(--primary-color);
  color: white;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-8px) translateX(-50%); }
}