 @font-face {
      font-family: 'Uberhand';
      src: url('fonts/UberhandTextProBold.ttf') format('truetype');
    }

    /* =========================================================
     SBJ = Story Behind the Smile — Journey (numbered cards)
     ========================================================= */
    .sbj-page {
      /* --sbj-page-bg: #f2e2d2; */
      --sbj-cream: #f8f0e0;
      --sbj-cream-2: #f4ead6;
      --sbj-pink: #f7dfe0;
      --sbj-pink-2: #f4d2d6;
      --sbj-sage: #c7cdae;
      --sbj-gold: #f3e6c8;
      --sbj-kraft: #efe1c9;
      --sbj-ink: #2c2620;
      --sbj-rose: #c76a83;
      --sbj-rose-dark: #a2506a;
      --sbj-sage-dk: #56613e;
      --sbj-brown: #6b5c46;
      --sbj-line: rgba(44, 38, 32, 0.12);

      background: var(--sbj-page-bg);
      color: var(--sbj-ink);
      font-family: 'Jost', sans-serif;
      overflow-x: hidden;
      padding: 40px 4vw 60px;
    }

    .sbj-page * {
      box-sizing: border-box;
    }


    .sbj-stack {
      max-width: 1440px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .sbj-row {
      display: grid;
      gap: 2px;
    }

    .sbj-row-2 {
      grid-template-columns: 1fr 1fr;
    }

    .sbj-row-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    .sbj-row-2-uneven {
      grid-template-columns: 1.3fr 1fr;
      align-items: stretch;
    }

    /* ---------- card base ---------- */
    .sbj-card {
      position: relative;
      /* border-radius: 24px; */
      padding: 42px 44px;
      box-shadow: 0 16px 34px rgba(44, 38, 32, 0.10), 0 2px 6px rgba(44, 38, 32, 0.06);
      overflow: hidden;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    /* ---------- per-card custom padding ---------- */
    .sbj-card-01 {
      padding: 42px 180px;
    }

    .sbj-card-02 {
      padding: 30px 34px;
    }

    .sbj-card-03 {
      padding: 50px 84px;
    }

    .sbj-card-04 {
      padding: 42px 44px;
    }

    .sbj-card-05 {
      padding: 26px 40px;
    }

    .sbj-card-06 {
      padding: 26px 40px;
    }

    .sbj-card-07 {
      padding: 22px 24px;
    }

    .sbj-card-08 {
      padding: 42px 44px;
    }

    .sbj-card-09 {
      padding: 42px 44px;
    }

    .sbj-card-10 {
      padding: 42px 44px;
    }

    .sbj-card-11 {
      padding: 42px 44px;
    }

    .sbj-card-12 {
      padding: 42px 44px;
    }

    .sbj-card-13 {
      padding: 42px 84px;
    }

    .sbj-card-14 {
      padding: 42px 44px;
    }


    .sbj-card-05 h2.sbj-h,
    .sbj-card-06 h2.sbj-h {
      margin-bottom: 8px;
    }

    .sbj-card-05 .sbj-icon-row,
    .sbj-card-06 .sbj-icon-row {
      margin-bottom: 10px;
    }

    .sbj-card-05 p,
    .sbj-card-06 p {
      margin-bottom: 6px;
    }

    .sbj-card--cream {
      background-color: var(--sbj-cream);
      background-image: url('../images/namaste-bg.png');
    }

    .sbj-card--cream2 {
      background-color: var(--sbj-cream-2);
      background-image: url('../images/sbj-card-cream.png');
    }
    .sbj-card--responsibilities {
      background-color: var(--sbj-cream-2);
      background-image: url('../images/responsibilities.png');
    }

     .sbj-card--instagram {
      background-color: var(--sbj-cream-2);
      background-image: url('../images/instagram.png');
    }
    .sbj-card--pink {
      background-color: var(--sbj-pink);
      background-image: url('../images/sbj-card-pink.png');
    }

    .sbj-card--pink2 {
      background-color: var(--sbj-pink-2);
      background-image: url('../images/soul-background.png');
    }

    .sbj-card--flower {
      background-color: var(--sbj-pink-2);
      background-image: url('../images/health-background.png');
    }



    .sbj-card--sage {
      background-color: var(--sbj-sage);
      background-image: url('../images/sbj-card-3.png');
    }

    .sbj-card--gold {
      background-color: var(--sbj-gold);
      background-image: url('../images/krishna.png');
    }

    .sbj-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--sbj-rose);
      color: #fff;
      font-weight: 600;
      font-size: 0.9rem;
      box-shadow: 0 6px 14px rgba(199, 106, 131, 0.35);
      margin-bottom: 16px;
      flex: 0 0 auto;
    }

    h2.sbj-h {
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
      font-weight: 700;
      font-style: italic;
      font-size: 2rem;
      margin: 0 0 14px;
      line-height: 1.25;
    }

    .sbj-card p {
      font-size: 0.92rem;
      line-height: 1.85;
      color: #4a4238;
      margin: 0 0 12px;
      /* max-width: 300px; */
      /* font-family: 'Lora', cursive; */
     font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 900;
    font-style: italic;

    }

    .sbj-heart {
      color: var(--sbj-rose);
    }

    /* decorative watercolor flower */
    .sbj-deco-flower {
      position: absolute;
      width: 130px;
      opacity: 0.9;
      pointer-events: none;
    }

    .sbj-deco-flower.tl {
      top: -20px;
      left: -30px;
    }

    .sbj-deco-flower.br {
      bottom: -20px;
      right: -30px;
    }

    .sbj-deco-flower.tr {
      top: -10px;
      right: -20px;
      width: 100px;
    }

    /* ---------- reveal ---------- */
    .sbj-reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .sbj-reveal.sbj-in-view {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .sbj-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }
    }

    /* =========================================================
     01 — NAMASTE / INTRO
     ========================================================= */
    .sbj-intro-grid {
      display: grid;
      grid-template-columns: 1fr 0.85fr 0.85fr;
      gap: 40px;
      align-items:center;
      justify-items: center;
      position: relative;
      z-index: 1;
    }

    .sbj-intro h1 {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      font-size: 1.8rem;
      margin: 0 0 2px;
      color: var(--sbj-rose-dark);
    }

    .sbj-intro .sbj-imnpinky {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      color: var(--sbj-ink);
      display: block;
      margin-bottom: 14px;
      font-weight: 700;
    }

    .sbj-intro-note {
      border-radius: 10px;
      transform: rotate(-1deg);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sbj-intro-note img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }

    .sbj-today {
      text-align: center;
    }

    .sbj-today p {
      font-size: 1.2rem;
      color: var(--sbj-brown);
      margin: 0;
      line-height: 1;
      font-family: 'Lato', cursive;
      font-style: italic;
    }

    .sbj-today .sbj-num {
      /* font-family: 'Playfair Display', serif; */
      font-weight: 800;
      font-size: 6rem;
      color: var(--sbj-rose);
      line-height: 1;
      display: block;
      margin: 6px 0 0;
    }

    .sbj-today .sbj-num-label {
      font-size: 2.8rem;
      /* letter-spacing: 0.08em; */
      color: var(--sbj-ink);
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    }

    .sbj-timeline {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 5px;
      max-width: 800px;
      margin: 0 auto;
    }

    .sbj-timeline::before {
      content: "";
      position: absolute;
      top: 26px;
      left: 5%;
      right: 5%;
      height: 1px;
      background: repeating-linear-gradient(to right, var(--sbj-rose) 0 6px, transparent 6px 12px);
      z-index: 0;
    }

    .sbj-tl-step {
      position: relative;
      z-index: 1;
      text-align: center;
      justify-items: center;
    }

    .sbj-tl-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* purane background/border/shadow styles jo tha wahi rakhna */
}

.sbj-tl-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

    .sbj-tl-step span.sbj-tl-label {
      font-size: 0.92rem;
      color: var(--sbj-brown);
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
      font-weight: 900;
      font-style: italic;
    }

    /* =========================================================
     02/03 — WORLD SAW / TRUTH
     ========================================================= */
    /* ================= DESKTOP (default) ================= */

 .sbj-section-heading-wrap {
  text-align: center;
  padding: 1rem 1rem 1rem;
  position: relative;
}

.sbj-section-kicker {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #b5793f;
  margin-bottom: 0.5rem;
}

.sbj-section-heading {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: #4a3728;
  margin: 0;
  line-height: 1.1;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.05);
}

.sbj-heading-doodle {
  width: 160px;
  height: 20px;
  margin-top: 0.75rem;
}

@media (max-width: 600px) {
  .sbj-section-heading-wrap {
    padding: 2rem 1rem 0.5rem;
  }
}


.sbj-collage-compact {
  position: relative;
  width: 100%;
  min-height: 220px; /* adjust based on how tall the pile ends up */
  /* margin-top: 10px; */
}

.sbj-collage-compact img {
  position: absolute;
  width: 140px;      /* fixed width — height auto-adjusts to image's real ratio */
  height: auto;
  /* max-height: 130px; */
  object-fit: contain; /* ensures full image is visible, never cropped */
  border-radius: 6px;
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 6px 14px rgba(44, 38, 32, 0.25);
}

/* placement — tweak top/left % once real images are in */
.sbj-collage-compact img:nth-child(1) { top: 0%;   left: 0%;   transform: rotate(-6deg); z-index: 2; }
.sbj-collage-compact img:nth-child(2) { top: 4%;   left: 30%;  transform: rotate(4deg);  z-index: 3; }
.sbj-collage-compact img:nth-child(3) { top: 0%;   left: 58%;  transform: rotate(-3deg); z-index: 2; }
.sbj-collage-compact img:nth-child(4) { top: 34%;  left: 4%;   transform: rotate(5deg);  z-index: 4; }
.sbj-collage-compact img:nth-child(5) { top: 38%;  left: 34%;  transform: rotate(-5deg); z-index: 5; }
.sbj-collage-compact img:nth-child(6) { top: 34%;  left: 62%;  transform: rotate(3deg);  z-index: 3; }
.sbj-collage-compact img:nth-child(7) { top: 68%;  left: 16%;  transform: rotate(-4deg); z-index: 4; }
.sbj-collage-compact img:nth-child(8) { top: 68%;  left: 46%;  transform: rotate(4deg);  z-index: 5; }
    .sbj-card--sage p {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1rem;
    }

    .sbj-card--sage .sbj-badge {
      position: relative;
      z-index: 1;
    }

    /* =========================================================
     04 — COVID
     ========================================================= */
    .sbj-covid-grid {
      display: grid;
      grid-template-columns: 0.85fr 0.85fr 1.1fr;
      gap: 28px;
      align-items: center;
    }

    .sbj-covid-title-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
    }

    .sbj-covid-title-row .sbj-badge {
      margin-bottom: 0;
    }

    .sbj-covid-title-row h2.sbj-h {
      margin: 0;
    }

    .sbj-covid-middle {
      position: relative;
      padding-left: 32px;
    }

    .sbj-covid-middle::before {
      content: "";
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 1px;
      background: var(--sbj-line);
    }

    .sbj-covid-list {
      font-size: 1.22rem;
      line-height: 1.9;
      color: var(--sbj-ink);
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    }

    .sbj-covid-list-title {
      font-weight: 600;
      margin-bottom: 8px;
    }

    .sbj-covid-chart-img {
      width: 100%;
      max-width: 100px;
      height: auto;
      display: block;
      /* margin-top: 20px; */
      margin-left: 170px;
      margin-right: 0;
    }

    .sbj-covid-col3 {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .sbj-stat-boxes {
      display: flex;
      flex-direction: row;
      gap: 12px;
    }

    .sbj-stat-box {
      flex: 1;
      background: var(--sbj-pink);
      border-radius: 12px;
      padding: 16px 14px;
      text-align: center;
      box-shadow: 0 6px 14px rgba(44, 38, 32, 0.06);
    }

    .sbj-stat-box i {
      color: var(--sbj-rose);
      font-size: 1.2rem;
      margin-bottom: 6px;
      display: block;
    }

    .sbj-stat-box .sbj-stat-label {
      font-size: 0.78rem;
      color: var(--sbj-brown);
    }

    .sbj-stat-box .sbj-stat-value {
      /* font-family: 'Playfair Display', serif; */
      font-weight: 800;
      font-size: 1.6rem;
      color: var(--sbj-rose-dark);
    }

    .sbj-covid-caption {
      text-align: left;
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
      font-style: normal;
      font-size: 1rem;
      line-height: 1.85;
      color: #4a4238;
      margin: 0 auto;
    }

    /* =========================================================
     shared multi-col helpers
     ========================================================= */
    .sbj-icon-row {
      display: flex;
      gap: 24px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }

  .sbj-icon-row div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: 900;
  font-style: italic;

}

.sbj-icon-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

    .sbj-icon-row i {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #fff;
      color: var(--sbj-rose);
      font-size: 1.1rem;
      margin: 0 auto 8px;
      box-shadow: 0 6px 14px rgba(44, 38, 32, 0.08);
    }

    .sbj-photo-block img {
      width: 100%;
      border-radius: 12px;
      /* margin-bottom: 14px; */
      /* box-shadow: 0 10px 20px rgba(44, 38, 32, 0.15); */
    }

    .sbj-ekg-illus {
      width: 300px;
      height: auto;
      margin: 0 auto 14px;
      display: block;
    }

    .sbj-ig-photos {
      display: flex;
      gap: 12px;
      margin-bottom: 14px;
    }

    .sbj-ig-photos figure {
      flex: 1;
      margin: 0;
      text-align: center;
    }

    .sbj-ig-photos img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 8px 16px rgba(44, 38, 32, 0.15);
    }

    .sbj-ig-photos figcaption {
      margin-top: 8px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.03em;
      padding: 4px 10px;
      border-radius: 14px;
      display: inline-block;
    }

    .sbj-ig-photos .sbj-see figcaption {
      background: var(--sbj-sage-dk);
      color: #fff;
    }

    .sbj-ig-photos .sbj-not figcaption {
      background: var(--sbj-rose);
      color: #fff;
    }

    .sbj-krishna-grid {
      display: grid;
      grid-template-columns: 0.9fr 1fr;
      gap: 36px;
      align-items: center;
    }

    .sbj-krishna-illus {
      width: 100%;
      max-width: 260px;
    }

    .sbj-krishna-list {
      list-style: none;
      margin: 0;
      padding: 0;
      font-size: 0.9rem;
      line-height: 2;
    }
    .sbj-krishna-list li{
      font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 900;
    font-style: italic;
    font-size:0.92rem;
    }

    .sbj-krishna-list i {
      color: var(--sbj-rose);
      margin-right: 10px;
    }

    .sbj-notes {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      margin-top: 14px;
    }

    .sbj-note {
      flex: 1 1 160px;
      padding: 24px 20px;
      border-radius: 6px;
      font-family: 'Dancing Script', cursive;
      font-size: 1.3rem;
      font-weight: 700;
      box-shadow: 0 10px 20px rgba(44, 38, 32, 0.15);
      transform: rotate(var(--nr, -2deg));
    }

    .sbj-note.sbj-note-yellow {
      background: #f6e6b0;
      --nr: -3deg;
    }

    .sbj-note.sbj-note-blue {
      background: #d8dfe8;
      --nr: 2deg;
    }

    .sbj-quote-card {
      background: #fff8ea;
      border-radius: 6px 28px 6px 28px;
      padding: 30px 28px;
      box-shadow: 0 12px 26px rgba(44, 38, 32, 0.1);
    }

    .sbj-quote-card p {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1.15rem;
      line-height: 1.5;
      color: var(--sbj-ink);
      margin: 0 0 10px;
    }

    .sbj-alone-icons {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 10px;
      text-align: center;
      margin-bottom: 16px;
    }

    .sbj-alone-icons div {
      font-size: 0.72rem;
      color: var(--sbj-brown);
    }

    .sbj-alone-icons i {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      margin: 0 auto 8px;
      border-radius: 50%;
      background: #fff;
      color: var(--sbj-rose-dark);
      font-size: 1rem;
      box-shadow: 0 6px 14px rgba(44, 38, 32, 0.08);
    }

    /* =========================================================
     14 — LETTER
     ========================================================= */
    .sbj-letter-grid {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 36px;
      align-items: start;
    }
    .sbj-letter-grid p{
      font-family: 'Times New Roman', Times, serif;
      font-weight: 600;
    }

    .sbj-letter-envelope {
      width: 260px;
      align-self: center;
    }

    .sbj-closing {
      text-align: center;
      padding: 20px 6vw 10px;
    }

    .sbj-closing p:first-child {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1rem;
    }

    .sbj-closing .sbj-final-line {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 1.2rem;
      margin-top: 14px;
    }

    .sbj-closing .sbj-final-line .sbj-succ {
      color: var(--sbj-rose-dark);
    }

    .sbj-closing .sbj-final-line .sbj-fail {
      color: var(--sbj-sage-dk);
    }

    /* =========================================================
     RESPONSIVE
     ========================================================= */
    @media (max-width: 1080px) {
      

      .sbj-intro {
        grid-area: intro;
      }

      .sbj-intro-note {
        grid-area: note;
      }

      .sbj-today {
        grid-area: today;
        text-align: left;
      }

      .sbj-timeline {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 26px;
      }

      .sbj-timeline::before {
        display: none;
      }

      .sbj-row-2,
      .sbj-row-2-uneven {
        grid-template-columns: 1fr;
      }

      .sbj-covid-grid {
        grid-template-columns: 1fr 1fr;
      }

      .sbj-covid-middle {
        padding-left: 0;
        padding-top: 20px;
      }

      .sbj-covid-middle::before {
        left: 0;
        right: 0;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
      }

      .sbj-stat-boxes {
        grid-column: span 2;
        flex-direction: row;
      }

      .sbj-row-3 {
        grid-template-columns: 1fr 1fr;
      }

      .sbj-krishna-grid {
        grid-template-columns: 1fr;
      }

      .sbj-letter-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "l1 l2" "env env";
      }

      .sbj-letter-envelope {
        grid-area: env;
        justify-self: center;
      }
    }

    @media (max-width: 720px) {
      .sbj-page {
        padding: 30px 4vw 40px;
      }

      .sbj-card {
        padding: 34px 26px;
        /* border-radius: 18px; */
      }

      .sbj-intro-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "intro" "note" "today";
      }

      .sbj-timeline {
        grid-template-columns: repeat(2, 1fr);
      }

      .sbj-covid-grid {
        grid-template-columns: 1fr;
      }

      .sbj-stat-boxes {
        grid-column: auto;
        flex-direction: row;
        flex-wrap: wrap;
      }

      .sbj-row-3 {
        grid-template-columns: 1fr;
      }

      .sbj-alone-icons {
        grid-template-columns: repeat(4, 1fr);
      }

      .sbj-letter-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "l1" "l2" "env";
      }

      .sbj-ig-photos {
        flex-direction: column;
      }
    }

    .sbj-card-05,
    .sbj-card-06 {
      padding: 24px 34px;
    }

    .sbj-card-05 .sbj-covid-title-row,
    .sbj-card-06 .sbj-covid-title-row {
      margin-bottom: 16px;
    }

    .sbj-card-05 .sbj-icon-row,
    .sbj-card-06 .sbj-icon-row {
      justify-content: flex-start;
      gap: 8px;
      margin-bottom: 10px;
    }

    .sbj-card-05 h2.sbj-h,
    .sbj-card-06 h2.sbj-h {
      margin: 0;
    }

    .sbj-card-05 p,
    .sbj-card-06 p {
      margin-bottom: 6px;
    }


    .sbj-icon-row {
      display: flex;
      gap: 24px;
      margin-bottom: 16px;
      flex-wrap: wrap;
      justify-content: space-evenly;
      /* NEW — full width cover + even spacing */
      width: 100%;
      /* NEW — ensure it takes full card width */
    }

    .sbj-card-06 .sbj-icon-row,
    .sbj-card-05 .sbj-icon-row {
      justify-content: space-evenly;
      width: 100%;
    }

    .sbj-notes {
      display: flex;
      gap: 40px;
      /* space between notes */
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 14px;
    }

    .sbj-note-img {
      position: relative;
      flex: 0 0 auto;
      /* CHANGED — no grow, no shrink, size = content */
      width: 170px;
      /* CHANGED — fixed note size, adjust as needed */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sbj-note-img img {
      width: 100%;
      /* fills the 170px box */
      height: auto;
      display: block;
    }

    .sbj-finale-row-dotted {
      display: flex;
      align-items: center;
      gap: 28px;
      position: relative;
    }

    .sbj-finale-divider-dotted {
      width: 0;
      align-self: stretch;
      border-left: 2px dotted var(--sbj-rose);
      opacity: 0.6;
      flex: 0 0 auto;
    }

    .sbj-finale-learning,
    .sbj-finale-looking {
      position: relative;
      flex: 1;
    }

    .sbj-finale-learning .sbj-finale-h,
    .sbj-finale-looking .sbj-finale-h {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-weight: 600;
      font-size: 1rem;
      color: var(--sbj-ink);
      margin: 0 0 8px;
      padding-bottom: 6px;
      border-bottom: 1px dashed var(--sbj-line);
      display: inline-block;
    }

    .sbj-finale-learning p,
    .sbj-finale-looking p {
      font-size: 0.7rem;
      line-height: 1.55;
      margin: 0;
    }

    .sbj-book-illus {
      width: 70px;
      height: auto;
      margin-top: 10px;
      display: block;
    }

    .sbj-deco-flower-small {
      position: absolute;
      width: 46px;
      pointer-events: none;
    }

    .learning-flower {
      bottom: 4px;
      right: 4px;
    }

    .looking-flower {
      top: -6px;
      right: -6px;
    }

    .sbj-finale-quote-col {
      flex: 1.5;
      text-align: center;
      position: relative;
      padding: 0 10px;
    }

    .sbj-quote-mark {
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      line-height: 1;
      color: var(--sbj-rose);
      display: block;
      margin-bottom: -6px;
    }

    .sbj-quote-main {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-weight: 600;
      font-size: 1.05rem;
      line-height: 1.5;
      color: var(--sbj-ink);
      margin: 0 0 10px;
    }

    .sbj-quote-heart {
      color: var(--sbj-rose);
      font-size: 1.1rem;
    }

/* row proportions: side cards equal, middle wider — adjust ratio as needed */
.sbj-row-3-finale {
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: stretch;
}

.sbj-card-12a,
.sbj-card-12c {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sbj-card-12b {
  padding: 34px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* background per card — replace image paths with your own assets */
.sbj-card--learning-bg {
  background-color: var(--sbj-cream);
  background-image: url('../images/learning.png');
}

.sbj-card--quote-bg {
  background-color: var(--sbj-cream-2);
  background-image: url('../images/biggest-learing.png');
}

.sbj-card--looking-bg {
  background-color: var(--sbj-cream);
  background-image: url('../images/looking-back.png');
}

.sbj-card-12b {
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sbj-quote-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
}
/* keeps the dotted divider look between cards, sitting in the 2px gap */
.sbj-card-12a::after,
.sbj-card-12b::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: -1px;
  border-left: 2px dotted var(--sbj-rose);
  opacity: 0.5;
}

.sbj-finale-h {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: var(--sbj-ink);
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--sbj-line);
  display: inline-block;
}

.sbj-quote-main {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--sbj-ink);
  margin: 0;
}


.sbj-alone-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.sbj-alone-title {
  flex: 0 0 auto;
  min-width: 160px;
}

.sbj-alone-title h2.sbj-h {
  font-size: 1.4rem;
  margin: 0;
}

.sbj-alone-icons-row {
  flex: 1.4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.sbj-alone-icons-row img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}

.sbj-alone-icons-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sbj-brown);
  flex: 1;
}

.sbj-alone-icons-row i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--sbj-rose);
  font-size: 1.1rem;
  margin: 0 auto 8px;
  box-shadow: 0 6px 14px rgba(44, 38, 32, 0.08);
}

.sbj-alone-text {
  flex: 1.2;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px dashed var(--sbj-line);
  padding-left: 24px;
}

.sbj-alone-text p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
}

/* responsive */
@media (max-width: 1080px) {
  .sbj-alone-row {
    flex-wrap: wrap;
  }
  .sbj-alone-icons-row {
    order: 3;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .sbj-alone-text {
    border-left: none;
    padding-left: 0;
    border-top: 1px dashed var(--sbj-line);
    padding-top: 16px;
    flex: 1 1 100%;
  }
}

@media (max-width: 720px) {
  .sbj-alone-icons-row > div {
    flex: 0 0 30%;
  }
}

.sbj-alone-subtitle {
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 6px 0 0;
  color: #4a4238;
}

    
/* ================= RESPONSIVE — 12a/12b/12c finale row ================= */

@media (max-width: 1080px) {
  .sbj-row-3-finale {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "learning learning"
      "quote quote"
      "looking looking";
  }

  .sbj-card-12a { grid-area: learning; }
  .sbj-card-12b { grid-area: quote; }
  .sbj-card-12c { grid-area: looking; }

  /* dotted side-divider doesn't make sense once stacked — switch to bottom divider */
  .sbj-card-12a::after,
  .sbj-card-12b::after {
    content: "";
    position: absolute;
    right: 10%;
    left: 10%;
    bottom: -1px;
    top: auto;
    border-left: none;
    border-bottom: 2px dotted var(--sbj-rose);
    opacity: 0.5;
  }

  .sbj-card-12a,
  .sbj-card-12b,
  .sbj-card-12c {
    padding: 30px 26px;
    text-align: center;
  }

  .sbj-quote-img {
    max-width: 320px;
  }
}

@media (max-width: 720px) {
  .sbj-row-3-finale {
    grid-template-columns: 1fr;
    grid-template-areas:
      "learning"
      "quote"
      "looking";
  }
}

  .sbj-card-12a,
  .sbj-card-12c {
    padding: 26px 20px;
  }
  .sbj-card-12b{
  padding: 56px 20px;

  .sbj-finale-h {
    font-size: 0.95rem;
  }

  .sbj-card-12a p.sbj-hi,
  .sbj-card-12c p.sbj-hi {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .sbj-quote-img {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .sbj-quote-img {
    max-width: 100%;
  }
}

.sbj-card-12c {
  position: relative;
}


/* ===== Closing Section (sbj-) ===== */
.sbj-closing {
  text-align: center;
  padding: 20px 30px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  background: url('../images/sucess-failures-closing.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

/* Divider with ornament */
.sbj-closing-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 15px;
  max-width: 520px;
}

.sbj-divider-line {
  flex: 1;
  height: 1px;
  background: #8a6a52;
  position: relative;
}

.sbj-divider-line::before {
  content: "";
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8a6a52;
}

.sbj-divider-line:first-child::before { right: 0; }
.sbj-divider-line:last-child::before { left: 0; }

.sbj-divider-icon {
  color: #8a6a52;
  font-size: 1.1rem;
}

/* Intro line */
.sbj-closing-intro {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #4a3d35;
  margin-bottom: 20px;
}

.sbj-closing-intro i {
  color: #d68a9a;
  font-size: 0.85em;
}

/* Success / Failures row */
.sbj-vs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sbj-vs-col {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.sbj-vs-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1;
}

.sbj-vs-col p {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: #4a3d35;
  margin: 0;
}

.sbj-succ { color: #a1394f; }
.sbj-fail { color: #3a2f2a; }

.sbj-vs-arrow {
  font-size: 1.6rem;
  color: #4a3d35;
  font-weight: 300;
}

/* Hindi line */
.sbj-hi {
  font-family: 'Noto Sans Devanagari', 'Jost', sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #3a2f2a;
  margin-bottom: 16px;
}

.sbj-en {
  /* font-family: 'Jost', sans-serif; */
  font-size: 1em; /* parent se chota — em use kiya hai taaki relative rahe */
}

.sbj-hi1 {
  font-family: 'Noto Sans Devanagari', 'Jost', sans-serif;
  font-size: 0.8rem;
  line-height: 1;
  color: #3a2f2a;
  margin-bottom: 16px;
}

.sbj-hi2-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sbj-hi2 {
  text-align: center;
  max-width: 400px;
  margin: 40px auto 0;
}
.sbj-hi i {
  color: #a1394f;
  font-size: 0.9em;
}

/* Gratitude + signature */
.sbj-gratitude {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #4a3d35;
  margin-bottom: 8px;
}



.sbj-signature-img {
  height: 100px;       /* apni layout ke hisaab se adjust karo */
  width: auto;
  vertical-align: middle;
}

.sbj-signature i {
  font-size: 0.6em;
  vertical-align: middle;
  color: #d68a9a;
}

/* Responsive */
@media (max-width: 600px) {
  .sbj-vs-row { gap: 20px; }
  .sbj-vs-col h3 { font-size: 2rem; }
  .sbj-vs-arrow { display: none; }
  .sbj-hi { font-size: 1.1rem; }
}

@media (max-width: 600px) {
  .sbj-card--responsibilities {
    padding: 24px 20px 30px;
  }

  .sbj-h {
    font-size: 1.4rem;
    line-height: 1.35;
    margin-bottom: 20px;
  }

  /* icons: clean 2x2 grid instead of squeezed row */
  .sbj-icon-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    justify-items: center;
    margin-bottom: 24px;
  }

  .sbj-icon-row div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.9rem;
  }

  .sbj-icon-img {
    width: 44px;
    height: 44px;
  }

  /* Hindi text: give it breathing room + solid backing so it doesn't fight the bg texture */
  .sbj-hi2-wrap {
    margin-top: 10px;
    padding: 14px 16px;
  }

  .sbj-hi2 {
    font-size: 0.95rem;
    line-height: 1.6;
    background: rgba(255, 250, 240, 0.75);
    padding: 12px 14px;
    border-radius: 8px;
    backdrop-filter: blur(1px);
  }
}


@media (max-width: 600px) {
  .sbj-icon-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    justify-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 3;
  }

  .sbj-icon-row div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 3;
  }

  .sbj-icon-img {
    width: 44px;
    height: 44px;
  }
}


@media (max-width: 600px) {
  .sbj-card--instagram {
    position: relative;
    padding-bottom: 150px; /* decorative image ke liye niche jagah reserve karo taaki text usse na takraye */
  }

  .sbj-card--instagram .sbj-h,
  .sbj-card--instagram .sbj-hi {
    position: relative;
    z-index: 3;
  }
}

@media (max-width: 600px) {
  .sbj-card--gold {
    position: relative;
    background-size: cover;
    background-position: top right;
    padding: 24px 20px;
  }

  /* halka overlay taaki text readable rahe, Krishna image hata nahi rahe bas soft kar rahe */
  .sbj-card--gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 205, 231, 0.573);
    z-index: 1;
    pointer-events: none;
  }

  .sbj-krishna-content {
    position: relative;
    z-index: 2;
  }

  .sbj-krishna-content .sbj-h {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .sbj-krishna-list li {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 8px;
  }
}

/* =========================================================
   TABLET / iPad — 768px to 1024px (portrait + landscape)
   ========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {

  .sbj-page {
    padding: 32px 5vw 50px;
  }

  /* generic card padding scale-down */
  .sbj-card {
    padding: 34px 32px;
  }

  /* card-01 had 180px lateral padding — way too much for iPad */
  .sbj-card-01 {
    padding: 34px 40px;
  }

  .sbj-card-03 {
    padding: 38px 44px;
  }

  .sbj-card-13 {
    padding: 34px 40px;
  }

  h2.sbj-h {
    font-size: 1.6rem;
  }

  .sbj-card p,
  .sbj-krishna-list li {
    font-size: 0.88rem;
  }

  /* ---- intro grid: keep readable, reduce internal gaps ---- */
  .sbj-intro-grid {
    gap: 24px;
  }

  .sbj-today .sbj-num {
    font-size: 4.2rem;
  }

  .sbj-today .sbj-num-label {
    font-size: 1.9rem;
  }

  .sbj-timeline {
    max-width: 100%;
    gap: 4px;
  }

  .sbj-tl-icon {
    width: 46px;
    height: 46px;
  }

  .sbj-tl-step span.sbj-tl-label {
    font-size: 0.78rem;
  }

  /* ---- collage: shrink pile so images don't overflow card ---- */
  .sbj-collage-compact {
    min-height: 260px;
  }

  .sbj-collage-compact img {
    width: 100px;
  }

  /* ---- covid grid: numbers/labels a touch smaller ---- */
  .sbj-covid-list {
    font-size: 1.05rem;
  }

  .sbj-covid-chart-img {
    margin-left: 60px;
    max-width: 90px;
  }

  .sbj-stat-box .sbj-stat-value {
    font-size: 1.3rem;
  }

  /* ---- icon rows (05/06 responsibilities + covid-crisis) ---- */
  .sbj-icon-row {
    gap: 16px;
  }

  .sbj-icon-img {
    width: 48px;
    height: 48px;
  }

  .sbj-icon-row div {
    font-size: 0.82rem;
  }

  /* ---- krishna card ---- */
  .sbj-krishna-content .sbj-h {
    font-size: 1.5rem;
  }

  /* ---- alone row (13): keep icons from cramming into 7 tiny columns ---- */
  .sbj-alone-icons-row img {
    width: 38px;
    height: 38px;
  }

  .sbj-alone-icons-row > div {
    font-size: 0.85rem;
  }

  .sbj-alone-title h2.sbj-h {
    font-size: 1.25rem;
  }

  .sbj-alone-text p {
    font-size: 0.8rem;
  }

  /* ---- letter grid: envelope shouldn't dominate ---- */
  .sbj-letter-envelope {
    width: 190px;
  }

  .sbj-letter-grid p {
    font-size: 0.88rem;
  }

  /* ---- finale row (learning/quote/looking) ---- */
  .sbj-quote-img {
    max-width: 220px;
  }

  .sbj-finale-h {
    font-size: 0.95rem;
  }

  /* ---- closing section ---- */
  .sbj-vs-col h3 {
    font-size: 2.1rem;
  }

  .sbj-hi {
    font-size: 1.05rem;
  }
}

/* =========================================================
   iPad PORTRAIT specifically — 768px to 834px
   (tighter than landscape; row-3 grids need to drop to 2 cols here too)
   ========================================================= */
@media (min-width: 768px) and (max-width: 834px) {

  .sbj-card--quote-bg {
    background-color: var(--sbj-cream-2);
    background-image: url(../images/biggest-learing.png);
    height: 250px;
}

  .sbj-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  .sbj-intro-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "note" "today";
  }

  .sbj-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .sbj-covid-grid {
    grid-template-columns: 1fr;
  }

  .sbj-covid-middle {
    padding-left: 0;
    padding-top: 20px;
  }

  .sbj-stat-boxes {
    flex-wrap: wrap;
  }

  .sbj-alone-icons-row {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .sbj-alone-icons-row > div {
    flex: 0 0 22%;
  }

  .sbj-letter-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "l1" "l2" "env";
  }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .sbj-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  /* teesra card (Instagram) poori width le le, empty gap na bane */
  .sbj-row-3 > *:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .sbj-card--responsibilities {
    padding: 30px 28px 200px; /* neeche gift-boxes image ke liye jagah reserve */
    position: relative;
  }

  .sbj-card--responsibilities .sbj-h,
  .sbj-card--responsibilities .sbj-icon-row,
  .sbj-card--responsibilities .sbj-hi2-wrap {
    position: relative;
    z-index: 3;
  }

  .sbj-card--responsibilities .sbj-icon-row {
    gap: 20px;
    margin-bottom: 14px;
  }

  .sbj-card--responsibilities .sbj-icon-img {
    width: 40px;
    height: 40px;
  }

  .sbj-card--responsibilities .sbj-icon-row div {
    font-size: 0.75rem;
  }

  .sbj-hi2 {
    max-width: 90%;
    font-size: 0.92rem;
    background: rgba(255, 250, 240, 0.75);
    padding: 12px 14px;
    border-radius: 8px;
    margin: 10px auto 0;
  }
}

@media (min-width: 768px) and (max-width: 834px) {
  .sbj-intro-grid {
    grid-template-columns: 1fr 0.8fr;
    grid-template-areas: "intro note" "today today";
    gap: 20px;
  }

  .sbj-intro {
    grid-area: intro;
  }

  .sbj-intro-note {
    grid-area: note;
  }

  .sbj-intro-note img {
    max-width: 85%;
  }

  .sbj-today {
    grid-area: today;
    text-align: center;
    margin-bottom: 30px;
  }

  .sbj-today p {
    font-size: 1.5rem;
    margin: 0;
  }

  .sbj-today .sbj-num {
    font-size: 3.2rem;
    margin: 4px 0 0;
  }

  .sbj-today .sbj-num-label {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .sbj-covid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text middle"
      "col3 col3";
    gap: 24px;
  }

  .sbj-covid-grid > div:nth-child(1) {
    grid-area: text;
  }

  .sbj-covid-middle {
    grid-area: middle;
    padding-left: 24px;
  }

  .sbj-covid-col3 {
    grid-area: col3;
  }

  .sbj-stat-boxes {
    justify-content: center;
  }

  .sbj-stat-box {
    max-width: 160px;
  }

  .sbj-covid-caption {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .sbj-card-13 {
    padding: 28px 32px;
  }

  .sbj-alone-row {
    gap: 16px;
  }

  .sbj-alone-title h2.sbj-h {
    font-size: 1.15rem;
  }

  .sbj-alone-subtitle {
    font-size: 0.75rem;
  }

  .sbj-alone-icons-row {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .sbj-alone-icons-row > div {
    flex: 0 0 22%; /* 4 per row */
  }

  .sbj-alone-icons-row img {
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
  }

  .sbj-alone-icons-row > div {
    font-size: 0.72rem;
  }

  .sbj-alone-text {
    padding-left: 16px;
  }

  .sbj-alone-text p {
    font-size: 0.78rem;
    line-height: 1.5;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .sbj-card-02 {
    padding: 32px 36px 40px;
  }

  .sbj-card--pink2 p.sbj-hi {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .sbj-collage-compact {
    min-height: 280px;
    max-width: 480px;
    margin: 0 auto;
  }

  .sbj-collage-compact img {
    width: 115px;
    border-radius: 8px;
    border: 4px solid #fff;
    box-shadow: 0 8px 18px rgba(44, 38, 32, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, z-index 0s;
  }

  .sbj-collage-compact img:hover {
    transform: scale(1.12) rotate(0deg) !important;
    box-shadow: 0 14px 28px rgba(44, 38, 32, 0.3);
    z-index: 10 !important;
  }

  /* refined, evenly-spaced arrangement — no crowding, gentle scatter */
  .sbj-collage-compact img:nth-child(1) { top: 2%;   left: 2%;   transform: rotate(-7deg); }
  .sbj-collage-compact img:nth-child(2) { top: 0%;   left: 34%;  transform: rotate(5deg);  }
  .sbj-collage-compact img:nth-child(3) { top: 4%;   left: 66%;  transform: rotate(-4deg); }
  .sbj-collage-compact img:nth-child(4) { top: 32%;  left: 16%;  transform: rotate(6deg);  }
  .sbj-collage-compact img:nth-child(5) { top: 30%;  left: 48%;  transform: rotate(-6deg); }
  .sbj-collage-compact img:nth-child(6) { top: 34%;  left: 78%;  transform: rotate(4deg);  }
  .sbj-collage-compact img:nth-child(7) { top: 62%;  left: 30%;  transform: rotate(-5deg); }
  .sbj-collage-compact img:nth-child(8) { top: 60%;  left: 60%;  transform: rotate(5deg);  }
}
@media (max-width: 720px) {

  .sbj-card--looking-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(248, 240, 224, 0.65); /* mobile pe thoda zyada opacity — readability better */
    z-index: 1;
    pointer-events: none;
  }

  .sbj-card-12c .sbj-finale-h,
  .sbj-card-12c p.sbj-hi {
    position: relative;
    z-index: 2;
  }
}

.sbj-card--looking-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 240, 224, 0.55); /* --sbj-cream ka semi-transparent version */
  z-index: 1;
  pointer-events: none;
}

.sbj-card-12c .sbj-finale-h,
.sbj-card-12c p.sbj-hi {
  position: relative;
  z-index: 2;   /* text overlay ke upar aayega, hamesha readable rahega */
}



.sbj-card--flower {
  position: relative;
}

.sbj-card--flower::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 210, 214, 0.5); /* --sbj-pink-2 ka semi-transparent version, tone match karega */
  z-index: 1;
  pointer-events: none;
}

.sbj-card--flower .sbj-h,
.sbj-card--flower .sbj-ekg-illus,
.sbj-card--flower p.sbj-hi {
  position: relative;
  z-index: 2;
}

  .hbm-section * { box-sizing: border-box;}

  .hbm-section {
    --hbm-bg-1: #fce7e2;
    --hbm-bg-2: #f8d2cf;
    --hbm-maroon: #7c2740;
    --hbm-accent: #b5453f;
    --hbm-ink: #4a3838;
    --hbm-ink-soft: #6b5654;
    --hbm-paper: #faf4e9;
    --hbm-paper-edge: #efe4d2;
    --hbm-kraft: #d9a877;
    --hbm-kraft-dark: #c98f5c;
    --hbm-rose-note: #e9b4b8;
    --hbm-rose-note-dark: #dd9ea3;
    --hbm-sage: #93a875;
    --hbm-clip: #b7b199;

    position: relative;
  max-width: 1440px;
 margin:80px 40px;
  padding: 50px 6vw 30px;
    background-image: url('../images/hearts-bg.png'); /* fallback color — replace/override with your background-image */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    font-family: 'Jost', sans-serif;
    color: var(--hbm-ink);
  }

  /* ---------- reveal-on-scroll ---------- */
  .hbm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .hbm-reveal.hbm-in {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .hbm-reveal { opacity: 1; transform: none; transition: none; }
  }

  /* ---------- decorative florals (pure CSS/SVG, no image assets needed) ---------- */
  .hbm-deco { position: absolute; pointer-events: none; z-index: 0; }
  .hbm-deco-flowers-bl { left: -24px; bottom: -18px; width: 150px; opacity: .95; }
  .hbm-deco-twig-tr { right: 14px; top: 6px; width: 100px; opacity: .9; }
  .hbm-deco-twig-r { right: -6px; top: 46%; width: 80px; opacity: .8; }

  /* ---------- heading ---------- */
  .hbm-heading-wrap {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
  }
  .hbm-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    color: var(--hbm-maroon);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .hbm-title svg { width: 22px; height: 22px; flex-shrink: 0; }
  .hbm-subtitle {
    /* font-family: 'Dancing Script', cursive; */
    font-size: clamp(1rem, 2.2vw, 1.6rem);
    color: var(--hbm-ink-soft);
    margin-top: 2px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  }
  .hbm-underline-swirl {
    width: 100px;
    height: 12px;
    margin: 6px auto 0;
    opacity: .8;
  }

  /* ---------- layout grid ---------- */
  .hbm-grid {
    position: relative;
    z-index: 2;
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1.4fr) 280px;
    gap: 26px;
    align-items: start;
  }

  .hbm-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* ---------- polaroid photos ---------- */
  .hbm-polaroid {
    position: relative;
    background: #fff;
    padding: 8px 8px 26px;
    box-shadow: 0 10px 20px -8px rgba(90, 40, 40, .28), 0 2px 6px rgba(0,0,0,.08);
    transform: rotate(-4deg);
  }
  .hbm-polaroid.hbm-right { transform: rotate(3.5deg); }
  .hbm-polaroid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.02;
    object-fit: cover;
  }
  .hbm-tape {
    position: absolute;
    top: -10px;
    left: 30%;
    width: 60px;
    height: 20px;
    background: linear-gradient(180deg, rgba(234,214,180,.9), rgba(214,190,150,.75));
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
    transform: rotate(-6deg);
    opacity: .85;
  }
  .hbm-polaroid.hbm-right .hbm-tape { left: auto; right: 26%; transform: rotate(5deg); }

  .hbm-clip {
    position: absolute;
    top: -16px;
    right: 10px;
    width: 18px;
    height: 32px;
    z-index: 3;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,.2));
  }
  .hbm-polaroid.hbm-right .hbm-clip { right: auto; left: 10px; }

  .hbm-photo-heart {
    position: absolute;
    width: 22px;
    height: 22px;
    bottom: -8px;
    left: -8px;
  }
  .hbm-polaroid.hbm-right .hbm-photo-heart { left: auto; right: -8px; }

  /* ---------- center torn-paper note ---------- */
  .hbm-note {
  position: relative;
  background-image: url('../images/hbm-note-bg.png');
  background-size: 100% 100%;   /* card ke exact size mein fit hoga */
  background-repeat: no-repeat;
  background-position: center;
  padding: 26px clamp(16px, 3vw, 36px) 22px;
  filter: drop-shadow(0 14px 22px rgba(90, 40, 40, .28));
}
 
  .hbm-note-heading {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--hbm-maroon);
    font-size: clamp(.95rem, 1.6vw, 1.15rem);
    margin: 14px 0 2px;
  }
  .hbm-note-heading-heart { display: block; margin: 4px auto 14px; width: 12px; height: 12px; opacity: .75; }

  .hbm-note-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hbm-note-list li {
    display: flex;
    gap: 7px;
    line-height: 1.5;
    font-size: clamp(.72rem, .85vw, .82rem);
  }
  .hbm-note-list li svg { flex-shrink: 0; width: 12px; height: 12px; margin-top: 3px; }
  .hbm-note-list strong { color: var(--hbm-accent); font-weight: 600; }

  .hbm-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hbm-accent);
    margin: 4px 0 14px;
  }
  .hbm-divider::before, .hbm-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--hbm-accent) 0 6px, transparent 6px 12px);
    opacity: .6;
  }
  .hbm-divider svg { width: 10px; height: 10px; flex-shrink: 0; }

  .hbm-note-closing {
    text-align: center;
    font-size: .74rem;
    line-height: 1.5;
  }
  .hbm-note-closing .hbm-accent-line {
    color: var(--hbm-accent);
    font-weight: 600;
  }
  .hbm-signature {
    text-align: center;
    margin-top: 12px;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--hbm-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .hbm-signature svg { width: 15px; height: 15px; }
  .hbm-signature-underline {
    display: block;
    width: 130px;
    height: 6px;
    margin: 1px auto 0;
    opacity: .7;
  }

  /* ---------- side sticky notes ---------- */
  .hbm-sticky-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(120, 50, 60, .25));
  }
  .hbm-sticky-img.hbm-left { transform: rotate(-2.5deg); }
  .hbm-sticky-img.hbm-right { transform: rotate(2deg); }

  /* ---------- bottom cards ---------- */
  .hbm-cards {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
  }
  .hbm-card-img {
    height: 120px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    display: block;
  }
  .hbm-card-divider {
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hbm-accent);
    opacity: .7;
  }
  .hbm-card-divider svg { width: 10px; height: 10px; }

  /* ===========================================================
     RESPONSIVE
     =========================================================== */
  @media (max-width: 900px) {
    .hbm-grid { grid-template-columns: 1fr; max-width: 340px; }
    .hbm-col { order: 1; align-items: center; width: 100%; max-width: 220px; margin: 0 auto; }
    .hbm-col .hbm-polaroid { width: 100%; }
    .hbm-col:last-of-type { order: 3; }
    .hbm-note { order: 2; }
    .hbm-card-divider { display: none; }
    .hbm-cards { flex-direction: column; gap: 10px; }
    .hbm-card-img { height: auto; width: 80%; max-width: 280px; }
  }

  @media (max-width: 480px) {
    .hbm-section { padding: 60px 6vw 24px; }
    .hbm-col { max-width: 170px; }
    .hbm-note { padding: 22px 14px 20px; }
    .hbm-deco-flowers-bl { width: 100px; }
    .hbm-deco-twig-tr { width: 70px; }
    .hbm-deco-twig-r { display: none; }
    .hbm-note-heading{ margin: 30px 0 2px;}
    .sbj-signature-img{height: 80px;}
  }

  /* ===========================================================
   RESPONSIVE — Tablet / iPad
   Order: Note (full width) → Photos row → Cards row
   =========================================================== */
@media screen and (max-width: 1024px) {
  .hbm-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 18px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
  }

  /* column wrapper dissolve — ab iske andar ke items grid ke direct child ban jaate hain */
  .hbm-col {
    display: contents !important;
  }

  /* 1) NOTE — sabse pehle, poori width */
  .hbm-note {
    order: 1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  /* 2) PHOTOS — ek row mein, side by side */
  .hbm-polaroid {
    order: 2 !important;
    flex: 1 1 40% !important;
    max-width: 220px !important;
  }

  /* 3) GRATEFUL / GRATITUDE CARDS — ek row mein, photos ke neeche */
  .hbm-sticky-img {
    order: 3 !important;
    flex: 1 1 40% !important;
    max-width: 220px !important;
  }

  .hbm-side-notes,
  .hbm-card-divider {
    display: none !important;
  }

  .hbm-cards {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }
  .hbm-card-img {
    height: auto !important;
    width: 44% !important;
    max-width: 220px !important;
  }
}

/* iPad portrait */
@media screen and (max-width: 834px) {
  

  .hbm-grid {
    max-width: 440px !important;
    gap: 16px !important;
  }

  .hbm-polaroid,
  .hbm-sticky-img {
    max-width: 190px !important;
  }
}

/* Phone range */
@media screen and (max-width: 600px) {
  

  .hbm-grid {
    max-width: 340px !important;
    gap: 12px !important;
  }

  .hbm-polaroid,
  .hbm-sticky-img {
    flex: 1 1 45% !important;
    max-width: 150px !important;
  }

  .hbm-note { padding: 22px 14px 20px !important; }

  .hbm-cards { gap: 10px !important; }
  .hbm-card-img { width: 44% !important; max-width: 150px !important; }

  .hbm-deco-flowers-bl { width: 100px !important; }
  .hbm-deco-twig-tr { width: 70px !important; }
  .hbm-deco-twig-r { display: none !important; }
}


/* ===========================================================
   Section ko screen edges se margin do (card-jaisa floating look)
   =========================================================== */


@media screen and (max-width: 834px) {
  .hbm-section {
    margin: 0 14px !important;
  }
}

@media screen and (max-width: 600px) {
  .hbm-section {
    margin: 0 12px !important;
    border-radius: 14px !important;
  }
}

@media screen and (max-width: 1024px) {
  .hbm-sticky-img {
    order: 3 !important;
    width: 46% !important;
    flex: 0 0 46% !important;
    max-width: 220px !important;
  }
}

@media screen and (max-width: 834px) {
  .hbm-sticky-img {
    width: 44% !important;
    flex: 0 0 44% !important;
    max-width: 190px !important;
  }
}

@media screen and (max-width: 600px) {
  .hbm-sticky-img {
    width: 44% !important;
    flex: 0 0 44% !important;
    max-width: 150px !important;
  }
}


@media screen and (max-width: 1024px) {
  .hbm-section {
    width: auto !important;
    margin: 0 40px !important;
    padding-top: 140px !important;   /* navbar height ke hisaab se adjust karo */
    border-radius: 18px !important;
    overflow: hidden !important;
  }
  
}

@media screen and (max-width: 834px) {
  .hbm-section { padding: 130px 5vw 26px !important; }
}

@media screen and (max-width: 600px) {
  .hbm-section { padding: 90px 6vw 24px !important; }
}

@media (max-width: 480px) {
  .hbm-section { padding: 80px 6vw 24px; }
}