/* Hero Section with Spline Animation */
.hero {
  position: relative;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden; /* Hide anything that spills out */
  padding: 0; /* Remove padding to allow full screen */
  margin-top: 0;
  color: var(--dark-text);
}

.spline-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.spline-container spline-viewer {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2; /* Ensure content is on top of the spline animation */
  background-color: rgba(
    15,
    23,
    42,
    0.7
  ); /* Semi-transparent background for readability */
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  animation: slideUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  animation: slideUp 1s ease 0.2s both;
  color: var(--dark-text-secondary);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: slideUp 1s ease 0.4s both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    height: auto; /* Adjust height for smaller screens */
    padding: 180px 0 100px;
  }
  .hero-content {
    padding: 20px;
    background-color: rgba(
      15,
      23,
      42,
      0.85
    ); /* Darker overlay on mobile for better readability */
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
