/* GLOBAL */
body {
  background-color: #e0f7f4; /* very light teal green */
}

/* FEATURE ICON */
.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background-color: teal;
  color: white;
}

/* HERO SECTION */
.hero {
  background-color: teal;
  color: white;
  padding: 80px 0;
  text-align: center;
}

/* SECTION TITLE */
.section-title {
  font-weight: 600;
  border-bottom: 2px solid teal;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

/* VALUES ICON */
.values-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #d6f5f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}
#successMessage {
  display: none;
  background: #00c67a;
  color: white;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  margin-top: 10px;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(-20px);
}

.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-typing {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 10px 0;
  min-height: 2.2rem; /* prevents layout jump */
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Blinking cursor */
.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s infinite;
}

.hero-typing {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 10px 0;
  min-height: 2.2rem;
  transition: color 0.3s ease;
}

.news-section {
  background: #008080;
  padding: 10px 0;
  overflow: hidden;
  border-top: 3px solid #c9a227;
  border-bottom: 3px solid #c9a227;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
}

.ticker {
  display: flex;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
}

.ticker span {
  white-space: nowrap;
  font-size: 1rem;
  color: #ffffff;
  padding-right: 50px;
}

/* Pause on hover */
.ticker:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
