/* ===== Story Layout Container ===== */
.story-modern {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 1rem;
  font-family: 'Inter', sans-serif;
  color: #333;
}

/* ===== Heading ===== */
.story-modern h2 {
  font-size: 2.8rem;
  font-family: 'Playfair Display', serif;
  color: #2e7d32;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.5px;
}

/* ===== Section Row ===== */
.story-modern-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  padding: 2rem;
  border-radius: 16px;
  background: #f9f9f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-modern-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.story-modern-section.reverse {
  flex-direction: row-reverse;
}

/* ===== Image Styling ===== */
.story-modern-section img {
  width: 45%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* ===== Text Styling ===== */
.story-modern-section p {
  width: 45%;
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: justify;
  color: #444;
}

/* ===== Date / Tag Headings ===== */
.story-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #1b5e20;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== Divider Between Sections ===== */
.story-divider {
  height: 1px;
  background: #ddd;
  margin: 2rem auto;
  width: 60%;
}

/* ===== Vision Block Styling ===== */
.vision-modern img {
  width: 100%;
  max-width: 700px;
  margin: 3rem auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.vision-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  border-radius: 12px;
  margin: 0;
  display: block;
}

/* ===== Responsive Behavior ===== */
@media (max-width: 768px) {
  .story-modern-section,
  .story-modern-section.reverse {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .story-modern-section img,
  .story-modern-section p {
    width: 90%;
  }

  .story-modern-section p {
    text-align: justify;
  }

  .story-date {
    font-size: 1.2rem;
  }
}
