.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #1f7a8c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.stories-hero {
  background-color: #f5f9f9;
  text-align: center;
  padding: 80px 20px;
}

.stories-hero h1 {
  color: #16697a;
  font-size: 2.4rem;
}

.stories-hero p {
  color: #5c6b73;
  max-width: 750px;
  margin: 10px auto;
  line-height: 1.6;
}

.featured-story {
  background-color: #ffffff;
  padding: 60px 20px;
}

.featured-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.featured-container h2 {
  color: #16697a;
  margin-bottom: 20px;
}

.featured-box {
  background-color: #f0f7f7;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  text-align: left;
}

.featured-box .quote {
  color: #2f4858;
  line-height: 1.6;
}

.featured-box .author {
  display: block;
  margin-top: 12px;
  color: #1f7a8c;
  font-size: 0.9rem;
}

.all-stories {
  background-color: #f8fdfd;
  padding: 60px 20px;
}

.all-stories h2 {
  color: #16697a;
  text-align: center;
}

.stories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.story-card {
  background-color: #ffffff;
  padding: 20px;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: left;
}

.story-card p {
  color: #2f4858;
  line-height: 1.5;
}

.story-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #1f7a8c;
}

.cta-share {
  background-color: #e6f3f4;
  text-align: center;
  padding: 60px 20px;
}

.cta-share h2 {
  color: #16697a;
}

.cta-share p {
  color: #5c6b73;
  margin-bottom: 20px;
}

@media (max-width: 768px) {

  /* Global Reset */
  body, html { width: 100%; overflow-x: hidden; font-size: 14px; }

  /* Navbar */
  .navbar {
    padding: 15px 20px;
    justify-content: space-between;
    position: relative;
  }

  /* Mobile Menu */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #f0f7f7;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  .nav-links a {
    margin: 10px 0;
    font-size: 16px;
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  /* Show Hamburger */
  .hamburger { display: flex; }

  /* Hero Section */
  .stories-hero {
    padding: 40px 20px;
  }
  
  .stories-hero h1 { font-size: 1.8rem; }
  
  /* Featured Story */
  .featured-story {
    padding: 30px 20px;
  }
  
  .featured-box {
    padding: 20px;
  }

  /* Story Grid (Stack Cards) */
  .stories-grid {
    flex-direction: column; /* Stack top-to-bottom */
    gap: 15px;
  }

  .story-card {
    width: 100%;
    box-sizing: border-box; /* Prevent padding from widening card */
    margin: 0;
  }

  /* CTA Section */
  .cta-share {
    padding: 40px 20px;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
