.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 900px;
  padding: 100px 0;
  background-color: var(--navy-primary);
  background-image: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-content {
  color: var(--white);
  max-width: 550px;
  margin-right: 20px;
}

.hero-graphic {
  flex: 0 0 45%;
  max-width: 500px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

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

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.7s;
}

.hero-btns {
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.9s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 991px) {
  .hero-content, .hero-graphic {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .hero-content {
    margin-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-graphic {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-btns {
    flex-direction: column;
  }
}
