.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 2rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f6f9fc 0%, #edf2f7 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.animated-shape {
  position: absolute;
  background: linear-gradient(
    45deg,
    rgba(0, 123, 255, 0.1),
    rgba(0, 123, 255, 0.05)
  );
  border-radius: 50%;
  animation: float 20s infinite;
}

.animated-shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.animated-shape:nth-child(2) {
  width: 300px;
  height: 300px;
  top: 40%;
  right: -50px;
  animation-delay: -5s;
}

.animated-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, 50px) rotate(90deg);
  }
  50% {
    transform: translate(0, 100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 50px) rotate(270deg);
  }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-family: Excalifont;
  font-size: 3.5rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  animation: fadeInUp 1s ease;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.hero-title strong {
  color: #007bff;
  position: relative;
  display: inline-block;
}

.hero-title strong::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  opacity: 0.3;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-buttons a {
  border-radius: 4px !important;
}

.hero-buttons .learn-more-btn {
  display: none;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.primary-btn {
  background: #007bff;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.secondary-btn {
  background: white;
  color: #007bff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hero-image-container:hover .hero-image {
  transform: scale(1.05);
}

.image-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem 2rem;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  text-align: center;
  transition: all 0.3s ease;
  justify-content: center;
}
.image-caption i {
  font-size: 1.25rem;
  opacity: 0.9;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
    line-height: 1.3;
  }

  .hero-content {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .image-caption {
    width: 85%;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .image-caption i {
    font-size: 1.1rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-text {
    order: 2;
    margin: 0 auto;
  }

  .hero-image-container {
    order: 1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image-container:hover .image-caption {
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.02);
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.3;
  }

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

  .hero-buttons .learn-more-btn {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }
  .image-caption {
    width: 90%;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
  }
}
