@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

html {
  scroll-behavior: smooth;
}


/* TEXT / CARD COLUMN: allow it to grow without clipping */
.stories-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

/* Text inside can grow; it will expand the row height */
.stories-header h2 {
  font-size: 4.5rem;
  font-weight: 400;
  font-family: "EB Garamond", serif;
  color: #2a0a55;
  margin-bottom: 15px;
}

.stories-header p {
  font-size: 1.25rem;
  line-height: 1.65;
  color: #444;
  margin: 0 auto;
  max-width: 700px;
}

hr {
  width: 250px;
  height: 3px;
  background-color: #2a0a55;
  /* deep purple */
  border: none;
  margin: 40px auto 60px auto;
  border-radius: 2px;
}

/* Header inside each card */
.card-title {
  margin-top: 0;
  font-family: "EB Garamond", serif;
  margin-bottom: 25px;
  font-size: 2.5rem;
  font-weight: 500;
  color: #2a0a55;
  /* dark charcoal */
}

/* Full-width card */
.content-card {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
  background: #f8f8fb;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Paragraph styling */
.content-card p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

/* Colored bold quotation marks */
.quote-symbol {
  color: #7a2db8;
  /* deep purple */
  font-weight: 700;
  /* bold */
  font-size: 1.6rem;
}

/* ============================
   MOBILE RESPONSIVENESS — STORIES SECTION
   ============================ */
@media (max-width: 768px) {

  /* Reduce spacing and center everything */
  .Stories-card-section {
    padding: 0 20px;
  }

  .stories-header h2 {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  .stories-header p {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 10px;
  }

  hr {
    width: 150px;
    margin: 30px auto 40px auto;
  }

  /* Card adjustments */
  .content-card {
    padding: 22px;
    margin: 25px auto;
    border-radius: 14px;
  }

  .card-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .content-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .quote-symbol {
    font-size: 1.4rem;
  }
}


/********************************************
   ABOUT US CSS STYLING
********************************************/
.stories-intro-text {
  max-width: 900px;
  margin: 60px auto;
  /* center + spacing */
  padding: 0 30px;
  /* nice side breathing room */
}

.stories-intro-text p {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75;
  color: #444;
  font-weight: 400;
}

/********************************************
   TESTIMONIAL SECTION – MODERN + ELEGANT
********************************************/

.testimonial {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/********************************************
   TESTIMONIAL SECTION – FIXED + CLEAN
********************************************/

.testimonial {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---------------------- */
/* Background Image Layer */
/* ---------------------- */

.testimonial__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.testimonial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%) contrast(1.1);
}

/* Overlay replaces opacity 0.6 */
.testimonial__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 2;
}

/* ---------------------- */
/* Content Container      */
/* ---------------------- */

.testimonial__contain {
  position: relative;
  z-index: 3;
  /* <-- TOP LAYER, ALWAYS SHARP */
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* ---------------------- */
/* Blockquote Styling     */
/* ---------------------- */

.testimonial blockquote p {
  font-family: "EB Garamond", serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.testimonial blockquote cite {
  font-style: normal;
  font-size: 1.25rem;
  color: #e8e0fa;
}

/* ---------------------- */
/* Gradient Enhancement   */
/* ---------------------- */

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(25, 8, 65, 0.2),
      rgba(25, 8, 65, 0.35));
  z-index: 2;
  pointer-events: none;
}

.mission-paragraph {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.mission-paragraph p {
  font-size: 1.35rem;
  line-height: 1.75;
  color: #444;
  font-family: "Georgia", serif;
}

/********************************************
   MOBILE RESPONSIVENESS – SAFE ADD-ON
********************************************/

/* ===========================
   TABLETS & LARGE PHONES
=========================== */
@media (max-width: 900px) {

  /* Stories Intro */
  .stories-intro-text p {
    font-size: 1.15rem;
    line-height: 1.65;
  }

  /* Mission Paragraph */
  .mission-paragraph p {
    font-size: 1.2rem;
  }

  /* Testimonial height relaxes for smaller screens */
  .testimonial {
    height: auto;
    min-height: 450px;
    padding: 80px 0;
  }

  .testimonial__media img {
    object-position: center;
  }

  .testimonial blockquote p {
    font-size: 2.1rem;
    line-height: 1.3;
  }

  .testimonial blockquote cite {
    font-size: 1.1rem;
  }
}

/* ===========================
   MOBILE PHONES
=========================== */
@media (max-width: 600px) {

  /* Stories Intro */
  .stories-intro-text {
    padding: 0 20px;
    margin: 40px auto;
  }

  .stories-intro-text p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  /* Testimonial: widen padding + reduce font */
  .testimonial {
    padding: 60px 0;
    height: auto;
  }

  .testimonial__contain {
    padding: 20px;
  }

  .testimonial blockquote p {
    font-size: 1.7rem;
  }

  .testimonial blockquote cite {
    font-size: 1rem;
  }

  /* Mission Paragraph */
  .mission-paragraph {
    padding: 0 18px;
    margin: 40px auto;
  }

  .mission-paragraph p {
    font-size: 1.1rem;
    line-height: 1.65;
  }
}

/* ===========================
   SMALL PHONES (<= 420px)
=========================== */
@media (max-width: 420px) {

  .testimonial blockquote p {
    font-size: 1.5rem;
  }

  .testimonial {
    padding: 50px 0;
  }

  .testimonial__media img {
    filter: brightness(65%);
  }

  .stories-intro-text p,
  .mission-paragraph p {
    font-size: 1rem;
  }
}