/* Hero Bereich Styles */
.hero {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-container {
  display: flex;
  height: 100%;
}

.hero-image,
.hero-content {
  width: 50%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 80%;
  text-align: center;
  color: black;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px #fff;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 0 1px 2px #fff;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: white;
  color: #004cc2;
  box-shadow: 0 6px 12px #2667cc;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* SVG Animation Styles */
.hero-graphics {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

.floating-element-2 {
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
}

.floating-element-3 {
  animation: float 7s ease-in-out infinite;
  animation-delay: 2s;
}

.pulse-element {
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-image,
  .hero-content {
    width: 100%;
    height: 50%;
  }

  .hero-text {
    max-width: 90%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
}
.img {
  background-size: cover;
  background-position: center;
  height: 100%;
  z-index: 1;
  opacity: 1;
}
