/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.animated-header {
  font-size: 3rem;
  margin: 0;
  position: relative;
}

.sub-header {
  font-size: 1.5rem;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeIn 2s ease-out 4s forwards;
}

/* Header Styles */
header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(90deg, #00bfa5, #00796b);
  color: #fff;
  position: relative;
}

.animated-header {
  font-size: 3rem;
  margin: 0;
  position: relative;
}

.sub-header {
  font-size: 1.5rem;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInSubHeader 2s ease-out 6s forwards;
}

/* Animation */
@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInSubHeader {
  to { opacity: 1; }
}

.header-part-1 {
  animation: fadeOut 2s ease-out 2s forwards;
}

.header-part-2 {
  opacity: 0;
  animation: fadeIn 2s ease-out 4s forwards;
}



h1 {
  margin: 0;
  font-size: 3rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1e1e2e;
  padding: 3rem;
}

.hero img {
  max-width: 50%;
  height: auto;
}

.hero-text {
  margin-top: 2rem;
  text-align: center;
  color: #fff;
}

.hero-text h2 {
  font-size: 2.5rem;
}

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

.cta-button {
  background-color: #00bfa5;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  display: inline-block;
  border-radius: 4px;
}

.cta-button:hover {
  background-color: #00796b;
}

.benefits {
  text-align: left;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.benefits h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.benefits ul {
  list-style-type: none;
  padding: 0;
}

.benefits ul li {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #333;
  color: #fff;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .hero-text {
    max-width: 50%;
    margin-right: 2rem;
  }

  .hero img {
    max-width: 40%;
  }

  .benefits {
    padding: 4rem;
  }
}
