/* ===== Global styles ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif; /* original font */
  background-color: #f7f7f4; /* beige background */
  color: #2f2f2f;
  line-height: 1.6;
}

/* ===== Header ===== */
header {
  background: linear-gradient(135deg, #3f6ea1, #8fb8a5); /* blue → green */
  padding: 50px 20px;
  text-align: center;
  color: white;
}

header h1 {
  margin-bottom: 10px;
  font-size: 2.5em;
}

header p {
  font-size: 1.2em;
  opacity: 0.9;
  color: white;
}

/* ===== Main layout ===== */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

/* ===== Content card ===== */
section {
  background-color: #fff; /* white card */
  padding: 30px;
  border-radius: 16px;
  max-width: 700px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  text-align: center;
}

h2 {
  color: #3f6ea1; /* blue headings */
  margin-bottom: 20px;
}

p {
  color: #5f6f80; /* soft gray text */
  margin-bottom: 15px;
}

/* ===== Features list with wavy bullets ===== */
ul {
  list-style: none;
  padding-left: 0;
}

ul li::before {
  content: "∿ "; /* wavy line as bullet */
  color: #3f6ea1; /* blue to match headings */
  font-weight: bold;
  display: inline-block;
  width: 1.2em; /* space before text */
}

/* ===== Contact section styling ===== */
#contact {
  background-color: #f0f9f4; /* very soft green for emphasis */
  padding: 40px 20px;
  border-radius: 16px;
  max-width: 700px;
  margin: 0 auto 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

#contact h2 {
  color: #3f6ea1;
  margin-bottom: 20px;
}

#contact a {
  color: #3f6ea1;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
}

#contact a:hover {
  color: #8fb8a5; /* soft green on hover */
  text-decoration: underline; /* underline appears on hover */
}

/* Optional: subtle hover effect for contact card */
#contact:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  color: #6b7280; /* muted gray */
  background-color: #f0f0f0;
}

/* ===== Mobile responsiveness ===== */
@media (max-width: 600px) {
  main {
    padding: 20px;
  }

  section {
    padding: 20px;
    margin-bottom: 30px;
  }

  #contact {
    padding: 30px 15px;
    margin-bottom: 30px;
  }
}
/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */

@media (max-width: 768px) {

  body {
    font-size: 16px;
  }

  header {
    padding: 2rem 1.2rem;
    text-align: center;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  /* Stack sections vertically */
  .features,
  .hero,
  .contact {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Cards take full width */
  .card,
  .feature-box {
    width: 100%;
  }

  /* Buttons full width */
  .btn {
    width: 100%;
    text-align: center;
  }

}
