body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(to right, #1d3557, #2a9d8f);
  color: white;
  text-align: center;
  padding-top: 100px;
  overflow: hidden; /* Ensure absolutely positioned children are visible */
}

.molecule-animation {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  /* Remove background-image and animation */
}

.molecule-animation img {
  position: absolute;
  left: 50%;
  top: 0;
  width: 100%;
  max-width: 600px;
  min-width: 300px;
  opacity: 0.10;
  transform: translateX(-50%);
  animation: float-img 20s linear infinite;
}

@keyframes float-img {
  0% { top: -10%; }
  100% { top: 80%; }
}

.btn-primary {
  background-color: #e63946;
  border-color: #e63946;
}

.btn-primary:hover {
  background-color: #c5303e;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .molecule-animation img {
    max-width: 95vw;
    min-width: 200px;
    opacity: 0.16;
    animation: float-img 14s linear infinite;
  }
  .hero {
    padding-top: 60px;
  }
}
