/* Elegant Minimal Styling with Friendly Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fafafa;
  color: #2c2c2c;
  line-height: 1.75;
  font-size: 18px;
}

header {
  background-color: #1e2a38;
  color: #f5f5f5;
  padding: 3rem 1rem;
  text-align: center;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 2.5rem;
}

header p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: #d1d1d1;
}

main {
  max-width: 720px;
  margin: 3rem auto 4rem;
  padding: 0 1.25rem;
}

main h2 {
  font-weight: 600;
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1e2a38;
  border-bottom: 2px solid #e1e1e1;
  padding-bottom: 0.3rem;
}

main p {
  margin-bottom: 1.5rem;
  color: #444444;
}

ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  color: #444444;
  font-size: 1.1rem;
}

ul li {
  margin-bottom: 0.8rem;
}

a.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2rem;
  background-color: #1e2a38;
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 30px;
  box-shadow: 0 6px 12px rgba(30,42,56,0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

a.cta:hover {
  background-color: #152031;
  box-shadow: 0 8px 16px rgba(21,32,49,0.5);
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #888888;
  font-size: 0.95rem;
  border-top: 1px solid #e1e1e1;
  font-style: italic;
}

.flex-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}


.flex-wrapper p {
  flex: 1;
  margin: 0;
  line-height: 1.6;
  /* font-size: 1rem; ← Remove or comment out this line */
}

.flex-wrapper img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}


/* Optional: style the CTA button */
.cta {
  display: inline-block;
  padding: 12px 20px;
  background-color: #0078D4;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.cta:hover {
  background-color: #005fa3;
}


@media (max-width: 600px) {
  .flex-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Make the image appear first */
  .flex-wrapper img {
    order: -1;
    margin-bottom: 1rem; /* add some spacing below the image */
  }

  .flex-wrapper p {
    flex: unset;
    max-width: 90%;
  }
}

ul li {
  margin-bottom: 0.3rem; /* less space between items */
}