/* Smooth everywhere */
* {
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

.hero {
  background-color: #2a9d8f;
  color: white;
  text-align: center;
  padding: 28px 20px;
}

.hero h1 {
  color: white;
  font-size: 30px;
}

.hero p {
  font-size: 18px;
}

.hero img {
  border-radius: 8px;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #e76f51;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.how-button {
  display: inline-block;
  padding: 1px 3px;
  background-color: #e76f51;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.featureHome {
  flex: 1 1 300px;
  background: #e9ecef;
  padding: 20px;
  border-radius: 5px;
}

.feature {
  background-color: #fff; /* solid white */
  color: #333; /* dark text for readability */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature h3,
.feature p {
  color: #333; /* ensure headings and body text inside are dark */
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.contact form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.contact form input,
.contact form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact form button {
  padding: 10px;
  background-color: #2a9d8f;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 15px;
  background: #264653;
  color: white;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .features {
    flex-direction: column;
  }
}
/* Link underline on hover */
a {
  color: #007bff;
  text-decoration: none;
  position: relative;
}
a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: currentColor;
  left: 0;
  bottom: -2px;
  transition: width 0.3s;
}
a:hover::after {
  width: 100%;
}

.logo-link {
  color: white;
}
.logo-link img:hover {
  transform: scale(1.05);
  transition: transform 0.5s;
}
.logo-link:hover::after {
  width: 0px;
}

/* Button styling */
.btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  border-radius: 0.3em;
  background: #28a745;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.btn:hover {
  background: #218838;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Navigation */
/* Reset the list */
nav {
  background: #264653;
  display: flex;
  justify-content: center;
  align-items: center; /* vertically center the links */
  gap: 20px;
  padding: 10px 0;
  z-index: 10;
  position: relative;
}

nav ul {
  list-style: none; /* remove bullets */
  margin: 0; /* remove default spacing */
  padding: 0;

  display: flex; /* line up the <li>s */
  justify-content: center; /* center the whole menu */
  align-items: center;
  gap: 20px; /* space between items */
}

nav li {
  /* just to be explicit */
  margin: 0;
  padding: 0;
}

nav a,
nav .nav-link {
  display: block; /* make entire area clickable */
  padding: 0.8em 1em;
  color: #fff; /* white text */
  text-decoration: none; /* no underlines */
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}

nav a:hover,
nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.25em;
  transform: translateY(-2px);
}

/* Hero / headerdown fade-in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 1s ease-out both;
}

/* Footer icon hover */
.footer-icon {
  font-size: 1.4em;
  margin: 0 0.5em;
  color: #666;
}
.footer-icon:hover {
  color: #007bff;
  transform: scale(1.2);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
}
.fade-in-up.visible {
  animation: fadeInUp 1s ease-out forwards;
}

/* ──────────────────────────────────────────────────────
   Hero lists (questions + recap bullets)
────────────────────────────────────────────────────── */
.hero-list,
.benefits-list {
  list-style-type: disc;
  list-style-position: inside;
  padding: 0;
  margin: 1.5rem auto;
  max-width: 800px;
  text-align: left;
}

.hero-list li,
.benefits-list li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────
   “Jump to How It Works” link
────────────────────────────────────────────────────── */
.jump-link {
  text-align: center;
  margin: 2rem 0;
}

.jump-link a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #e76f51;
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
}

.jump-link a:hover {
  background-color: #d65a3f;
}
