body {
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
  background-color: #f1f7f4; /* light sage */
  color: #2e3d34;  /* slate gray text */
  margin: 0;
  padding: 0;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.container img {
  display: block;
  max-width: 300px;   /* keeps it inside the column */
  height: auto;      /* keeps proportions */
  margin: 1rem auto; /* centers the image and adds spacing */
}

.ebook-container {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 2rem 0;
}

.ebook-container img {
  width: 150px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.ebook-info h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.ebook-info p {
  margin: 0;
  line-height: 1.4;
}

.ebook-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: bold;
  color: #b22222;          /* highlight color */
  text-decoration: none;
}

.ebook-link:hover {
  text-decoration: underline;
  color: #a8244f;          /* darker hover */
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .ebook-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.media {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed #666; /* dashed line */
}

.media:last-child {
  border-bottom: none; /* removes line on last one */
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f5f5f5;
  margin-bottom: 1.25rem;
  position: sticky; /* optional: sticks at top */
  top: 0;
  z-index: 10;
}

.navbar .brand {
  font-weight: 700;
  text-decoration: none;
  color: #2E2E2E;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #2E2E2E;
  font-weight: bold;
}

.nav-links a:hover {
  color: #d6336c;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Mobile collapse */
@media (max-width: 700px) {
  .hamburger {
    display: block;
  }
  .nav-links {
    position: relative;
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 200ms ease;
    margin-top: 0.5rem;
  }
  .nav-links.open {
    max-height: 240px; /* tall enough for all items */
  }
  .nav-links li {
    border-top: 1px solid #ddd;
  }
  .nav-links a {
    display: block;
    padding: 0.75rem 0;
  }
}

.testimonial {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed #666; /* dashed line */
}

.testimonial:last-child {
  border-bottom: none; /* removes line on last one */
}
