/* ==========================================================================
   ZARMA HealthCare Hero Section (Namespaced: .zhc-hero-*)
   ========================================================================== */

/* Remove default browser margin/padding when hero section is present */
html:has(.zhc-hero-section),
html:has(.zhc-hero-section) body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ==========================================================================
   Crisp White Slim Page Scrollbar (Scoped to pages with .zhc-hero-section)
   ========================================================================== */

html:has(.zhc-hero-section) {
  scrollbar-width: thin;
  scrollbar-color: #ffffff #092554; /* crisp white thumb on deep navy track */
}

html:has(.zhc-hero-section)::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html:has(.zhc-hero-section)::-webkit-scrollbar-track {
  background: #092554 !important;
}

html:has(.zhc-hero-section)::-webkit-scrollbar-thumb {
  background: #ffffff !important;
  border-radius: 9999px;
  border: 1px solid rgba(9, 37, 84, 0.25);
}

html:has(.zhc-hero-section)::-webkit-scrollbar-thumb:hover,
html:has(.zhc-hero-section)::-webkit-scrollbar-thumb:active {
  background: #ffffff !important;
}
/* Scoped Box-Sizing to prevent leaking into external stylesheets */
.zhc-hero-section,
.zhc-hero-section *,
.zhc-hero-section *::before,
.zhc-hero-section *::after {
  box-sizing: border-box;
}

/* Main Hero Container */
.zhc-hero-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-top: 12vh;

  position: relative;
  overflow: hidden;
  background-color: #092554;
  font-family: 'Inter', sans-serif;
  isolation: isolate;
}

/* Transparent Texture Image Overlay */
.zhc-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/batthern.png");
  background-repeat: repeat;
  opacity: .3;
}

/* White Curved Bottom Transition */
.zhc-hero-section::after {
  content: "";
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: -190px;
  transform: translateX(-50%);
  width: 145%;
  height: 300px;
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 65% 65% 0 0;
  pointer-events: none;
}

/* Brand Typography */
.zhc-hero-header {
  text-align: center;
  z-index: 10;
  margin: 0;
  padding: 0 24px;
  width: 100%;
  display: flex;
  overflow: visible;
  flex-direction: column;
  align-items: center;
}

.zhc-hero-title {
  margin: 0;
  line-height: 1;
  width: clamp(320px, 64vw, 820px);
  display: flex;
  justify-content: center;
}

.zhc-hero-title-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

.zhc-hero-title-text {
  font-family: 'BBH Bartle', 'Archivo Black', sans-serif;
  font-size: 100px;
  font-weight: 900;
  fill: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0;
}
.zhc-hero-care-green {
  fill: #eeff00; /* Swap for your preferred green hex */
}

.zhc-hero-subtitle {
  
  margin: 0;
  line-height: 0;
  width: clamp(300px, 58vw, 760px);
  display: flex;
  position: relative;
 top: clamp(-30px, -3.2vw, -10px);
  justify-content: center;
}

.zhc-hero-subtitle-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

.zhc-hero-subtitle-text {
   font-family: 'BBH Bartle', 'Archivo Black', sans-serif;
  font-size: 60px;
  font-weight: 500;
  fill: #ffffff;
  letter-spacing: -2px;
}

/* People Stage */
.zhc-hero-people-stage {
  position: relative;
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0;
  z-index: 1;
}

/* People Images */
.zhc-hero-person-img {
  position: absolute;
  bottom: 0;
  height: 300px;
  width: auto;
  max-width: 40vw;
  object-fit: contain;
  object-position: bottom center;
  clip-path: inset(0 0 18% 0);
  filter: url(#zhc-hard-white-outline) grayscale(100%) contrast(1.15);
  transition: filter 0.35s ease, transform 0.35s ease;
  cursor: pointer;
}

/* Hover: Restore original image colors */
@media (hover: hover) {
  .zhc-hero-person-img:hover {
    filter: url(#zhc-hard-white-outline) contrast(1.15);
    transform: scale(1.035);
    z-index: 4;
  }

  .zhc-hero-person-center:hover {
    transform: translateX(-50%) scale(1.035);
  }
}

.zhc-hero-person-left {
  left: 36%;
  z-index: 2;
}

.zhc-hero-person-center {
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.zhc-hero-person-right {
  right: 32%;
  z-index: 2;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet */
@media (max-width: 768px) {
  .zhc-hero-section {
    min-height: 0;
    padding-top: 55px;
  }

  .zhc-hero-header {
    margin: 0;
    margin-top: 30px;
  }

  .zhc-hero-title {
    width: clamp(280px, 74vw, 520px);
    margin: 0;
  }

  .zhc-hero-subtitle {
    width: clamp(280px, 74vw, 520px);
    margin: 0;
  }
  
.zhc-hero-subtitle-text {
  font-size: 50px;
}


  .zhc-hero-people-stage {
    height: 390px;
    margin: 0;
  }

  .zhc-hero-person-img {
    height: 340px;
    max-width: 42vw;
    bottom: -48px;
  }

  .zhc-hero-person-left {
    left: 4%;
  }

  .zhc-hero-person-right {
    right: 4%;
  }

  .zhc-hero-section::after {
    width: 170%;
    height: 180px;
    bottom: -125px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .zhc-hero-section {
    min-height: 0;
    padding-top: 50px;
    padding-bottom: 0px;
    justify-content: flex-start;
  }

  .zhc-hero-header {
    margin: 0;
    margin-top: 30px;
    padding: 0 12px;
  }

  .zhc-hero-title {
    width: clamp(280px, 92vw, 420px);
    margin: 0;
  }

  .zhc-hero-subtitle {
    width: clamp(260px, 86vw, 390px);
    margin: 0;
  }

  .zhc-hero-people-stage {
    height: clamp(270px, 78vw, 340px);
    margin: 0;
    width: 100%;
  }

  .zhc-hero-person-img {
    height: clamp(250px, 72vw, 310px);
    max-width: 46vw;
    bottom: -44px;
  }

  .zhc-hero-person-left {
    left: 30px;
    height: 200px;
  }

  .zhc-hero-person-center {
    left: 50%;
    height: 200px;
  }

  .zhc-hero-person-right {
    right: 30px;
    
   
  }

  .zhc-hero-section::after {
    width: 190%;
    height: 150px;
    bottom: -110px;
  }
}

/* Small Mobile */
@media (max-width: 360px) {
  .zhc-hero-section {
    padding-top: 40px;
  }

  .zhc-hero-people-stage {
    height: 275px;
    margin: 0;
  }

  .zhc-hero-person-img {
    height: 245px;
    max-width: 47vw;
  }
}


/* ==========================================================================
   ZARMA Frosted Glass CTA Bar (Unique Namespace: .zgl-*)
   ========================================================================== */

.zgl-glass-bar,
.zgl-glass-bar *,
.zgl-glass-bar *::before,
.zgl-glass-bar *::after {
  box-sizing: border-box;
}

.zgl-hidden {
  display: none !important;
}

.zgl-glass-bar {
  position: relative;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 50px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;

  /* Light frosted tint lets dark/navy background lines show through */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(5px) contrast(1.08);
  -webkit-backdrop-filter: blur(5px) contrast(1.08);

  
  box-shadow: 0 12px 30px rgba(9, 37, 84, 0.28),
              inset 0 1px 1px rgba(255, 255, 255, 0.45);
}
.zgl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.zgl-btn-primary {
  background-color: #ffffff;
  color: #092554;
}

.zgl-btn-primary:hover {
  background-color: #f3f6fb;
  transform: translateY(-1px);
}

.zgl-btn-secondary {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.zgl-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.zgl-btn-icon,
.zgl-btn-arrow {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.zgl-btn-secondary:hover .zgl-btn-arrow {
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .zgl-glass-bar {
    margin-top: 20px;
    gap: 6px;
    padding: 16px 30px;
    max-width: 100%;
  }

  .zgl-btn {
    padding: 10px 14px;
    font-size: 0.84rem;
    gap: 6px;
  }

  .zgl-btn-icon,
  .zgl-btn-arrow {
    width: 15px;
    height: 15px;
  }
}


/* ==========================================================================
   ZARMA Background-Free Center-Up Bent Marquee (Unique Namespace: .zbm-*)
   ========================================================================== */

.zbm-marquee-wrap,
.zbm-marquee-wrap *,
.zbm-marquee-wrap *::before,
.zbm-marquee-wrap *::after {
  box-sizing: border-box;
}

.zbm-marquee-wrap {
  position: relative;
  width: 100%;
  background: transparent;
  overflow: visible;
  height: 10px;
  pointer-events: none; /* Keeps surrounding layout non-blocking; re-enabled on items */
}

.zbm-marquee-stage {
  position: relative;
  width: 100%;
  
  height: 100px; /* Room for upward bend + item height */
  overflow: visible;
  background: transparent;
  top: -80px;
  
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.zbm-marquee-track {
  position: relative;
  width: max-content;
  height: 100%;
  display: flex;
  align-items: flex-start;
  will-change: transform;
}

.zbm-marquee-group {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-right: 28px;
  height: 100%;
}

.zbm-marquee-item {
  position: relative;
  top: 0;
  left: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 8px 18px;
  border-radius: 12px;
  background: transparent;
  pointer-events: auto;
  will-change: transform;
}

.zbm-marquee-item img {
  max-height: 50px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
 .zbm-marquee-stage {
    height: 112px;
    top: -88px;
  }

  .zbm-marquee-group {
    gap: 18px;
    padding-right: 18px;
  }

  .zbm-marquee-item {
    height: 44px;
    padding: 6px 14px;
  }

  .zbm-marquee-item img {
    max-height: 24px;
    max-width: 96px;
  }
}





/* ==========================================================================
   ZARMA Shuffled Deck WORKS WITH Section (Unique Namespace: .zdk-*)
   ========================================================================== */

.zdk-deck-section,
.zdk-deck-section *,
.zdk-deck-section *::before,
.zdk-deck-section *::after {
  box-sizing: border-box;
}

.zdk-deck-section {
  width: 100%;
  padding: 68px 24px 76px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: transparent;
  overflow-x: clip;
}

.zdk-container {
  max-width: 1220px;
  margin: 0 auto;
}

/* Centered & Extra Bold Heading */
.zdk-heading {
  margin: 0 0 38px 0;
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #090d16;
}

/* Shuffled Deck Spread */
.zdk-deck-spread {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 24px 12px 28px;
}

.zdk-card {
  --zdk-base-x: 0px;
  --zdk-base-y: 0px;
  --zdk-base-rotate: 0deg;
  --zdk-hover-scale: 1.07;
  --zdk-hover-rotate: 0deg;
  --zdk-hover-y: -24px;

  position: relative;
  flex: 0 0 clamp(235px, 26vw, 310px);
  min-height: 320px;
  border-radius: 26px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  cursor: pointer;
  outline: none;
  border: 2px solid #090d16;
  box-shadow: 0 16px 34px rgba(9, 13, 22, 0.16);
  transform: translate3d(var(--zdk-base-x), var(--zdk-base-y), 0) rotate(var(--zdk-base-rotate));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              z-index 0s;
  will-change: transform;
}

.zdk-card + .zdk-card {
  margin-left: clamp(-46px, -3.4vw, -24px);
}

/* Shuffled Deck Angles & Offsets */
.zdk-card-retailers {
  z-index: 1;
  --zdk-base-y: 8px;
  --zdk-base-rotate: -4.2deg;
  background-color: #1d4ed8; /* Hard Bright Cobalt */
  color: #ffffff;
}

.zdk-card-supply {
  z-index: 2;
  --zdk-base-y: -10px;
  --zdk-base-rotate: 2.8deg;
  background-color: #a3e635; /* Hard Bright Lime */
  color: #090d16;
}

.zdk-card-manufacturers {
  z-index: 3;
  --zdk-base-y: 12px;
  --zdk-base-rotate: -2.4deg;
  background-color: #ff4d2e; /* Hard Bright Coral Red */
  color: #ffffff;
}

.zdk-card-suppliers {
  z-index: 4;
  --zdk-base-y: -6px;
  --zdk-base-rotate: 4.5deg;
  background-color: #7c3aed; /* Hard Bright Violet */
  color: #ffffff;
}

/* Hover / Focus: Pop forward with randomized-feeling enlargement & angle */
@media (hover: hover) {
  .zdk-card:hover,
  .zdk-card:focus-visible {
    z-index: 20;
    transform: translate3d(var(--zdk-base-x), var(--zdk-hover-y), 0)
               rotate(var(--zdk-hover-rotate))
               scale(var(--zdk-hover-scale));
    box-shadow: 0 26px 48px rgba(9, 13, 22, 0.28);
  }
}

.zdk-card:focus-visible {
  z-index: 20;
  transform: translate3d(var(--zdk-base-x), var(--zdk-hover-y), 0)
             rotate(var(--zdk-hover-rotate))
             scale(var(--zdk-hover-scale));
  box-shadow: 0 26px 48px rgba(9, 13, 22, 0.28);
}

/* Top Content Group + Gap Above Bottom Buttons */
.zdk-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.zdk-card-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.1vw, 1.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.zdk-card-desc {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Bottom-Snapped Category Pills */
.zdk-tags {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: auto 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zdk-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Contrast Pill Pairing per Card */
.zdk-card-retailers .zdk-tag {
  background-color: #ffffff;
  color: #172554;
}

.zdk-card-supply .zdk-tag {
  background-color: #090d16;
  color: #ecfccb;
}

.zdk-card-manufacturers .zdk-tag {
  background-color: #090d16;
  color: #fff7ed;
}

.zdk-card-suppliers .zdk-tag {
  background-color: #ffffff;
  color: #2e1065;
}

/* Tablet: 2x2 Shuffled Grid */
@media (max-width: 960px) {
  .zdk-deck-spread {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 12px 0 16px;
  }

  .zdk-card {
    flex: none;
    min-height: 275px;
    gap: 22px;
  }

  .zdk-card + .zdk-card {
    margin-left: 0;
  }
}

/* Mobile: Stacked Shuffled Cards */
@media (max-width: 600px) {
  .zdk-deck-section {
    padding: 44px 16px 52px;
  }

  .zdk-heading {
    margin-bottom: 24px;
  }

  .zdk-deck-spread {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 4px 0;
  }

  .zdk-card {
    min-height: 215px;
    padding: 20px 18px;
    border-radius: 20px;
    gap: 18px;
    --zdk-base-y: 0px;
  }

  .zdk-card-top {
    margin-bottom: 14px;
  }

  .zdk-card-retailers {
    --zdk-base-rotate: -1.6deg;
  }

  .zdk-card-supply {
    --zdk-base-rotate: 1.5deg;
  }

  .zdk-card-manufacturers {
    --zdk-base-rotate: -1.3deg;
  }

  .zdk-card-suppliers {
    --zdk-base-rotate: 1.8deg;
  }
}




/* ==========================================================================
   ZARMA Shopify-Style Marketplace Category Grid (Unique Namespace: .zmp-*)
   ========================================================================== */

.zmp-marketplace-section,
.zmp-marketplace-section *,
.zmp-marketplace-section *::before,
.zmp-marketplace-section *::after {
  box-sizing: border-box;
}

.zmp-marketplace-section {
  width: 100%;
  padding: 64px 20px;
  margin-top: 2vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #111827;
  background: transparent;
}

.zmp-container {
  max-width: 1200px;
  margin: 0 auto;
}

.zmp-header {
  margin-bottom: 32px;
  text-align: center;
}

.zmp-heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 80px;
  letter-spacing: 1.3px;

}

/* Desktop: 3 Columns */
.zmp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Clean Storefront Card (Static, no hover lift/zoom) */
.zmp-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

/* Product Image Container */
.zmp-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  
  overflow: hidden;
}

.zmp-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Card Content */
.zmp-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.zmp-title {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  font-weight:500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  
}

.zmp-desc {
  margin: 0 0 18px 0;
  font-size: 0.9rem;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.792);
}

/* Light Curved Container Button with Bag Icon */
.zmp-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: #092554;
  
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1;
  color: white;
  text-decoration: none;
  width: 100%;
}

.zmp-bag-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mobile & Small Tablet: 2 Columns */
@media (max-width: 768px) {
  .zmp-marketplace-section {
    padding: 44px 14px;
  }

  .zmp-header {
    margin-bottom: 22px;
  }

  .zmp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .zmp-card {
    border-radius: 12px;
  }

  .zmp-body {
    padding: 14px 12px 16px;
  }

  .zmp-title {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .zmp-desc {
    font-size: 0.82rem;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .zmp-cta {
    padding: 8px 13px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .zmp-bag-icon {
    width: 14px;
    height: 14px;
  }
}

/* Very Narrow Screens: Compact 2-Column Tuning */
@media (max-width: 380px) {
  .zmp-grid {
    gap: 10px;
  }

  .zmp-body {
    padding: 12px 10px 14px;
  }

  .zmp-title {
    font-size: 0.92rem;
  }

  .zmp-desc {
    font-size: 0.78rem;
  }

  .zmp-cta {
    padding: 8px 11px;
    font-size: 0.75rem;
  }
}




/* =========================================================
   ZARMA 3x3 Paper-Cut "Become Supplier" Section
   ========================================================= */
.zarma-pc3x3-sec {
  --z3-white: #ffffff;
  --z3-jugnu: #c8ff29;
  --z3-jugnu-deep: #b3ee12;
  --z3-ink: #0f172a;
  --z3-note-bg: #fffdf5;
  --z3-note-fold: #f1ebd4;

  box-sizing: border-box;
  width: 100%;
  background-color: var(--z3-white);
  padding: 96px 24px 64px 24px;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--z3-ink);
}

.zarma-pc3x3-sec *,
.zarma-pc3x3-sec *::before,
.zarma-pc3x3-sec *::after {
  box-sizing: border-box;
}

/* Pure CSS Paper-Cut Jugnu Board with Top Zig-Zag Edge */
/* Note: overflow is visible so the large palm can rise/overflow above the top edge */
.zarma-pc3x3-board {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 0 0 32px 32px;
  background-color: var(--z3-jugnu);

  background-image: url("assets/navy.png"); /* <-- Replace with your image path */
  background-repeat: repeat;       /* Use 'no-repeat' if it's a single full-board graphic */
  
  background-position: center;
  
  padding: 56px 52px 0 52px;

  /* 3x3 Desktop Grid */
  display: grid;
  grid-template-columns: 1fr 1.55fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 20px 28px;
  align-items: start;
  position: relative;
  overflow: visible;
  
}
.zarma-pc3x3-zigzag {
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 15px;
  background-color: var(--z3-jugnu);
   background-image: url("assets/navy.png"); /* <-- Replace with your image path */
  background-repeat: repeat;       /* Use 'no-repeat' if it's a single full-board graphic */
  
  background-position: center;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(
    0% 100%, 2.5% 0%, 5% 100%, 7.5% 0%, 10% 100%,
    12.5% 0%, 15% 100%, 17.5% 0%, 20% 100%, 22.5% 0%,
    25% 100%, 27.5% 0%, 30% 100%, 32.5% 0%, 35% 100%,
    37.5% 0%, 40% 100%, 42.5% 0%, 45% 100%, 47.5% 0%,
    50% 100%, 52.5% 0%, 55% 100%, 57.5% 0%, 60% 100%,
    62.5% 0%, 65% 100%, 67.5% 0%, 70% 100%, 72.5% 0%,
    75% 100%, 77.5% 0%, 80% 100%, 82.5% 0%, 85% 100%,
    87.5% 0%, 90% 100%, 92.5% 0%, 95% 100%, 97.5% 0%,
    100% 100%
  );
}
/* Subtle paper-cut top highlight line inside zig-zag */
.zarma-pc3x3-board::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
  z-index: 1;
}

/* 3x3 Corner Placement */
.zarma-pc3x3-cell {
  display: flex;
  flex-direction: column;
  z-index: 4;
}

.zarma-pc3x3-tl {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-start;
  align-self: start;
}

.zarma-pc3x3-tr {
  grid-column: 3;
  grid-row: 1;
  align-items: flex-end;
  align-self: start;
}

.zarma-pc3x3-bl {
  grid-column: 1;
  grid-row: 3;
  align-items: flex-start;
  align-self: end;
  padding-bottom: 44px;
}

.zarma-pc3x3-br {
  grid-column: 3;
  grid-row: 3;
  align-items: flex-end;
  align-self: end;
  padding-bottom: 44px;
}

/* Center Stage: Snapped to container bottom, allowed to overflow upward */
.zarma-pc3x3-center-stage {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 460px;
  width: 100%;
  overflow: visible;
  z-index: 2;
}

/* Large Palm Image Snapped to Bottom & Overflowing Above */
.zarma-pc3x3-palm-bg {
  position: relative;
  z-index: 1;
  width: 100%;
 max-width: 520px;   /* increase or decrease for width */
  min-height: 650px;  /* match proportional height */
  max-height: 700px;  /* cap vertical height */
  margin-top: -200px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
 
}

/* Title & Button Positioned Inside the Palm Area */
.zarma-pc3x3-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 24px 20px 36px 20px;
  pointer-events: none;
}

.zarma-pc3x3-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.02;
  
  letter-spacing: -0.03em;
 
  
}

.zarma-pc3x3-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--z3-ink);
  color: var(--z3-white);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow:
    0 12px 24px -4px rgba(15, 23, 42, 0.34),
    0 0 0 3px #ffffff;
}

/* Sticky Notes with Vertical Paper Bend & Natural Wind Wave */
.zarma-sticky-note {
  position: relative;
  width: 196px;
  padding: 20px 16px 22px 16px;
  border-radius: 3px 10px 14px 14px;
  background:
    linear-gradient(225deg, transparent 13px, var(--z3-note-fold) 13px, var(--z3-note-fold) 14px, transparent 14px),
    linear-gradient(180deg, #f6f2e2 0%, var(--z3-note-bg) 22%, #fffef9 65%, #f5f0dc 100%);
  box-shadow:
    0 16px 20px -10px rgba(15, 23, 42, 0.28),
    0 3px 6px rgba(15, 23, 42, 0.08),
    inset 0 -8px 14px -10px rgba(15, 23, 42, 0.16);
  transform-origin: 50% 0%;
  transform-style: preserve-3d;
  will-change: transform;
}

.zarma-sticky-note::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 10%;
  right: 10%;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 10px 12px rgba(15, 23, 42, 0.22);
  z-index: -1;
  pointer-events: none;
}

.zarma-sticky-pin {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 38px;
  height: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}

.zarma-pc3x3-label {
  margin: 0 0 4px 0;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--z3-ink);
  letter-spacing: -0.01em;
}

.zarma-pc3x3-sub {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.82);
}

/* Natural Vertical Paper Bend + Wind Gust Keyframes */
@keyframes zarmaPaperBendWaveA {
  0%, 100% {
    transform: rotateX(12deg) rotateZ(-2deg) skewX(-0.8deg);
  }
  28% {
    transform: rotateX(26deg) rotateZ(1.6deg) skewX(1.8deg) translateY(-2px);
  }
  58% {
    transform: rotateX(6deg) rotateZ(-2.8deg) skewX(-1.6deg) translateY(1px);
  }
  82% {
    transform: rotateX(21deg) rotateZ(0.8deg) skewX(1.1deg) translateY(-1px);
  }
}

@keyframes zarmaPaperBendWaveB {
  0%, 100% {
    transform: rotateX(14deg) rotateZ(2deg) skewX(0.9deg);
  }
  32% {
    transform: rotateX(28deg) rotateZ(-1.5deg) skewX(-1.8deg) translateY(-2px);
  }
  62% {
    transform: rotateX(7deg) rotateZ(2.7deg) skewX(1.5deg) translateY(1px);
  }
  86% {
    transform: rotateX(22deg) rotateZ(-0.9deg) skewX(-1deg) translateY(-1px);
  }
}

.zarma-wave-a {
  animation: zarmaPaperBendWaveA 4.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.zarma-wave-b {
  animation: zarmaPaperBendWaveB 5.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) 0.6s infinite;
}

.zarma-wave-c {
  animation: zarmaPaperBendWaveA 5.7s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.2s infinite;
}

.zarma-wave-d {
  animation: zarmaPaperBendWaveB 5.1s cubic-bezier(0.45, 0.05, 0.55, 0.95) 1.8s infinite;
}

/* Responsive Tablet & Mobile */
@media (max-width: 900px) {
  .zarma-pc3x3-sec {
    padding-top: 84px;
  }

  .zarma-pc3x3-board {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding: 48px 28px 36px 28px;
    gap: 24px 20px;
  }

  .zarma-pc3x3-center-stage {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 390px;
    margin-bottom: 8px;
  }

  .zarma-pc3x3-palm-bg {
    max-width: 390px;
    min-height: 410px;
    max-height: 440px;
    margin-top: -64px;
  }

  .zarma-pc3x3-tl { grid-column: 1; grid-row: 2; align-items: center; }
  .zarma-pc3x3-tr { grid-column: 2; grid-row: 2; align-items: center; }
  .zarma-pc3x3-bl { grid-column: 1; grid-row: 3; align-items: center; padding-bottom: 0; }
  .zarma-pc3x3-br { grid-column: 2; grid-row: 3; align-items: center; padding-bottom: 0; }
}

@media (max-width: 560px) {
  .zarma-pc3x3-sec {
    padding: 72px 16px 40px 16px;
  }

  .zarma-pc3x3-board {
    grid-template-columns: 1fr;
    padding: 44px 20px 32px 20px;
    border-radius: 0 0 24px 24px;
    gap: 20px;
  }

  .zarma-pc3x3-center-stage {
    grid-column: 1;
    grid-row: 1;
    min-height: 340px;
  }

  .zarma-pc3x3-palm-bg {
    max-width: 330px;
    min-height: 350px;
    max-height: 380px;
    margin-top: -56px;
  }

  .zarma-pc3x3-title {
    font-size: 1.55rem;
  }

  .zarma-pc3x3-tl { grid-column: 1; grid-row: 2; align-items: center; }
  .zarma-pc3x3-tr { grid-column: 1; grid-row: 3; align-items: center; }
  .zarma-pc3x3-bl { grid-column: 1; grid-row: 4; align-items: center; padding-bottom: 0; }
  .zarma-pc3x3-br { grid-column: 1; grid-row: 5; align-items: center; padding-bottom: 0; }

  .zarma-sticky-note {
    width: 100%;
    max-width: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zarma-wave-a,
  .zarma-wave-b,
  .zarma-wave-c,
  .zarma-wave-d {
    animation: none;
  }
}


/* =========================================================
   ZARMA Redistribution Network Section (Namespaced)
   ========================================================= */
.zarma-rn-sec {
  --zrn-white: #ffffff;
  --zrn-ink: #0f172a;
  --zrn-green-bg: #d9ff5b;
  --zrn-blue-bg: #d6ecff;

  box-sizing: border-box;
  width: 100%;
  background-color: var(--zrn-white);
  padding: 72px 24px;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--zrn-ink);
}

.zarma-rn-sec *,
.zarma-rn-sec *::before,
.zarma-rn-sec *::after {
  box-sizing: border-box;
}

.zarma-rn-container {
  max-width: 1180px;
  margin: 0 auto;
}

/* Centered Section Heading */
.zarma-rn-header {
  text-align: center;
  margin-bottom: 40px;
}

.zarma-rn-heading {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--zrn-ink);
}

/* Desktop 2-Column Big Card Grid */
.zarma-rn-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Big Colored Cards */
.zarma-rn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  padding: 36px;
  min-height: 410px;
  overflow: hidden;
  /* Semi-transparent wash over the texture to reduce its visibility */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    url("assets/shattered-dark.png");
  background-repeat: repeat, repeat;
  background-position: center, center;
  border: 1px solid rgba(15, 23, 42, 0.06);
  
}

/* Match the wash tint to each card's color so green and blue stay clean */
.zarma-rn-card-green {
  background-color: #d9ff5b;
  background-image:
    linear-gradient(rgba(217, 255, 91, 0.82), rgba(217, 255, 91, 0.82)),
    url("assets/shattered-dark.png");
}

.zarma-rn-card-blue {
  background-color: #d6ecff;
  background-image:
    linear-gradient(rgba(214, 236, 255, 1), rgba(214, 236, 255, 0.82)),
    url("assets/shattered-dark.png");
}

.zarma-rn-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/shattered-dark.png");
  background-repeat: repeat;
  background-position: center;
  opacity: 0.56; /* Try 0.12 - 0.25 if shattered-dark.png has dark lines */
  pointer-events: none;
  z-index: 0;
}


/* Top Info Block (Small & Clean) */
.zarma-rn-info {
  position: relative;
  z-index: 2;
}

.zarma-rn-title {
  margin: 0 0 10px 0;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--zrn-ink);
}

.zarma-rn-desc {
  margin: 0 0 18px 0;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.78);
}

.zarma-rn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zarma-rn-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--zrn-ink);
  background-color: rgba(255, 255, 255, 0.72);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Giant Full-Width Straight White Bold Acronym (IDR / IRR) */
.zarma-rn-giant-code {
  font-family: 'Archivo Black', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(6.5rem, 13vw, 11.5rem);
  line-height: 0.78;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  margin-bottom: -6px;
  color: var(--zrn-white);
  text-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  user-select: none;
  pointer-events: none;
  transform: scaleX(1.16);
  transform-origin: bottom center;
}

/* =========================================================
   Mobile Horizontal Scroll Layout (<= 768px)
   Taller cards + generous starting left margin
   ========================================================= */
@media (max-width: 768px) {
  .zarma-rn-sec {
    padding: 48px 0;
  }

  .zarma-rn-header {
    padding: 0 24px;
    text-align: left;

    margin-bottom: 24px;
  }

  .zarma-rn-heading {
    font-size: 1.2rem;
    font-weight: 600;

  }

  .zarma-rn-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-left: 28px;
    gap: 16px;
    padding: 4px 24px 18px 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .zarma-rn-track::-webkit-scrollbar {
    display: none;
  }

  .zarma-rn-card {
    flex: 0 0 80vw;
    max-width: 330px;
    min-height: 390px;
    padding: 28px 24px 24px 24px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .zarma-rn-card:hover {
    transform: none;
  }

  .zarma-rn-title {
    font-size: 1.18rem;
    margin-bottom: 10px;
  }

  .zarma-rn-desc {
    font-size: 0.83rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .zarma-rn-tags {
    gap: 6px;
  }

  .zarma-rn-tag {
    font-size: 0.7rem;
    padding: 5px 11px;
  }

  .zarma-rn-giant-code {
    font-size: 6.4rem;
    margin-top: 24px;
    margin-bottom: -5px;
    transform: scaleX(1.12);
  }
}



/* =========================================================
   ZARMA Credit Stack Container — Maroon Red Theme
   ========================================================= */
.zarma-cred-stack-sec {
  --zcs-white: #ffffff;
  --zcs-maroon-light: #9e2438;
  --zcs-maroon-mid: #741222;
  --zcs-maroon-deep: #460711;
  --zcs-ink: #ffffff;
  --zcs-soft-text: rgba(255, 255, 255, 0.82);
  --zcs-gold: #f6d58e;
  --zcs-badge-bg: rgba(255, 255, 255, 0.14);
  --zcs-badge-border: rgba(255, 255, 255, 0.24);

  box-sizing: border-box;
  width: 100%;
  background-color: var(--zcs-white);
  /* Top padding gives space for the image to overlap upward cleanly */
  padding: 112px 24px 64px 24px;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--zcs-ink);
}

.zarma-cred-stack-sec *,
.zarma-cred-stack-sec *::before,
.zarma-cred-stack-sec *::after {
  box-sizing: border-box;
}

/* Main Container with Maroon Red Gradient, Top Overlap & Bottom Snap */
.zarma-cred-stack-card {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.16) 0%, transparent 48%),
    linear-gradient(135deg, var(--zcs-maroon-light) 0%, var(--zcs-maroon-mid) 52%, var(--zcs-maroon-deep) 100%);
  
  box-shadow:
    0 24px 48px -16px rgba(70, 7, 17, 0.42),
    inset 0 2px 0 rgba(255, 255, 255, 0.28);
  padding: 48px 56px 0 56px;

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: end;
  position: relative;
  /* Overflow visible lets the hand/card pop out above the top edge */
  overflow: visible;
}

/* Left Side: Upto 30% CREDIT */
.zarma-cred-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 52px;
  z-index: 2;
}

.zarma-cred-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.95;
  margin-bottom: 18px;
}

.zarma-cred-upto {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zcs-gold);
  margin-bottom: 6px;
}

.zarma-cred-percent {
  font-size: clamp(3.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--zcs-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.zarma-cred-word {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--zcs-gold);
  margin-top: 6px;
}

.zarma-cred-sub {
  margin: 0 0 22px 0;
  max-width: 400px;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--zcs-soft-text);
}

/* Frosted Glass Feature Pills on Maroon Background */
.zarma-cred-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zarma-cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--zcs-badge-bg);
  
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--zcs-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.zarma-cred-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--zcs-gold);
  color: var(--zcs-maroon-deep);
  font-size: 0.68rem;
  font-weight: 900;
}

/* Right Side: Hand + Card Image Snapped to Bottom, Overlapping Top */
.zarma-cred-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
  overflow: visible;
  z-index: 3;
}

.zarma-cred-hand-img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  /* Negative top margin pushes the top of the card above the container border */
  margin-top: -104px;
  margin-bottom: 0;
  object-fit: contain;
  object-position: bottom center;
  border-bottom-right-radius: 32px;
  filter: drop-shadow(0 20px 30px rgba(36, 3, 9, 0.42));
}

/* =========================================================
   Responsive Tablet & Mobile
   ========================================================= */
@media (max-width: 860px) {
  .zarma-cred-stack-sec {
    padding-top: 84px;
  }

  .zarma-cred-stack-card {
    grid-template-columns: 1fr;
    padding: 40px 28px 0 28px;
    gap: 24px;
  }

  .zarma-cred-left {
    align-items: center;
    text-align: center;
    padding-bottom: 8px;
  }

  .zarma-cred-offer {
    align-items: center;
  }

  .zarma-cred-pills {
    justify-content: center;
  }

  .zarma-cred-hand-img {
    max-width: 360px;
    margin-top: 0;
    border-bottom-right-radius: 0;
  }
}

@media (max-width: 480px) {
  .zarma-cred-stack-sec {
    padding: 48px 16px;
  }

  .zarma-cred-stack-card {
    padding: 32px 20px 0 20px;
    border-radius: 24px;
  }

  .zarma-cred-hand-img {
    max-width: 290px;
  }
}


/* =========================================================
   ZARMA Curved Threads Product Stage (Namespaced)
   ========================================================= */
.zarma-curve-sec {
  box-sizing: border-box;
  width: 100%;
  background-color: #ffffff;
  /* Light Engineering Grid Background */
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center center;
  padding: 64px 24px;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: #111111;
  overflow: hidden;
}

.zarma-curve-sec *,
.zarma-curve-sec *::before,
.zarma-curve-sec *::after {
  box-sizing: border-box;
}

.zarma-curve-stage {
  position: relative;
  max-width: 1040px;
  height: 460px;
  margin: 0 auto;
}

/* Full-Stage Curved SVG Lines */
.zarma-curve-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.zarma-curve-svg path {
  fill: none;
  stroke: #111111;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* Center Product Box (Transparent Background so Grid Shows Through) */
.zarma-curve-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 400px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 2;
}

.zarma-curve-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.12));
}

/* Wrapper holds drop-shadow so clip-path jagged edges cast real paper shadows */
.zarma-curve-item {
  position: absolute;
  z-index: 4; /* Higher than center bottle so mobile overlaps cleanly on top */
  filter:
    drop-shadow(0 4px 7px rgba(0, 0, 0, 0.14))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

/* Real Paper Texture + Random Hand-Cut Edges */
.zarma-paper-cut {
  position: relative;
  background-color: #fbf8f1;
  /* Subtle warm paper fiber texture & crease gradient */
  background-image:
    radial-gradient(rgba(120, 105, 80, 0.08) 1px, transparent 0),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(236, 229, 214, 0.45) 100%);
  background-size: 9px 9px, 100% 100%;
  padding: 11px 16px;
}

/* Top-Left: Angled torn slip (-2.6deg) */
.zarma-curve-tl {
  top: 22px;
  left: 2%;
  text-align: left;
  transform: rotate(-2.6deg);
}
.zarma-curve-tl .zarma-paper-cut {
  clip-path: polygon(
    2% 4%, 18% 0%, 36% 3%, 55% 0%, 76% 4%, 97% 1%,
    100% 24%, 98% 52%, 100% 79%, 97% 97%,
    78% 100%, 54% 96%, 31% 100%, 12% 96%, 0% 99%,
    2% 72%, 0% 41%, 3% 18%
  );
}

/* Bottom-Left: Jagged deckle edge (+2.1deg) */
.zarma-curve-bl {
  top: 374px;
  left: 2%;
  text-align: left;
  transform: rotate(2.1deg);
}
.zarma-curve-bl .zarma-paper-cut {
  clip-path: polygon(
    0% 3%, 22% 0%, 44% 4%, 68% 1%, 88% 3%, 99% 0%,
    97% 28%, 100% 56%, 98% 84%, 100% 98%,
    82% 96%, 61% 100%, 39% 97%, 19% 100%, 2% 96%,
    0% 68%, 3% 38%
  );
}

/* Top-Right: Crisp scissor-cut scrap (+2.4deg) */
.zarma-curve-tr {
  top: 22px;
  right: 2%;
  text-align: right;
  transform: rotate(2.4deg);
}
.zarma-curve-tr .zarma-paper-cut {
  clip-path: polygon(
    1% 1%, 26% 4%, 51% 0%, 74% 3%, 98% 0%,
    100% 22%, 97% 49%, 100% 77%, 98% 99%,
    76% 96%, 52% 100%, 27% 96%, 1% 99%,
    3% 71%, 0% 44%, 2% 19%
  );
}

/* Bottom-Right: Slightly torn corner cutout (-1.9deg) */
.zarma-curve-br {
  top: 374px;
  right: 2%;
  text-align: right;
  transform: rotate(-1.9deg);
}
.zarma-curve-br .zarma-paper-cut {
  clip-path: polygon(
    3% 0%, 24% 3%, 49% 0%, 72% 4%, 96% 1%,
    99% 26%, 97% 54%, 100% 82%, 97% 99%,
    73% 97%, 48% 100%, 22% 96%, 0% 98%,
    2% 70%, 0% 42%, 3% 16%
  );
}

.zarma-curve-text {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.35;
  color: #111111;
}

.zarma-curve-sub {
  margin: 4px 0 0 0;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.35;
  color: #2b2b2b;
}

/* Marker / Highlighter Accent on Key Data Figures */
.zarma-data-hl {
  display: inline-block;
  font-weight: 700;
  color: #111111;
  background: linear-gradient(104deg, rgba(235, 255, 0, 0) 0.9%, rgba(235, 255, 0, 0.95) 2.4%, rgba(235, 255, 0, 0.85) 95%, rgba(235, 255, 0, 0) 98%);
  padding: 0 5px;
  border-radius: 3px;
}

/* =========================================================
   Responsive Mobile & Tablet (Overlapping Cutouts Permitted)
   ========================================================= */
@media (max-width: 768px) {
  .zarma-curve-sec {
    padding: 44px 12px;
    background-size: 22px 22px;
  }

  .zarma-curve-stage {
    height: 360px;
  }

  .zarma-curve-center {
    width: 245px;
    height: 285px;
    padding: 10px;
  }

  .zarma-paper-cut {
    padding: 7px 11px;
  }

  .zarma-curve-tl {
    top: 12px;
    left: 1%;
  }

  .zarma-curve-bl {
    top: 292px;
    left: 1%;
  }

  .zarma-curve-tr {
    top: 12px;
    right: 1%;
  }

  .zarma-curve-br {
    top: 292px;
    right: 1%;
  }

  .zarma-curve-text {
    font-size: 0.8rem;
  }

  .zarma-curve-sub {
    font-size: 0.72rem;
  }
}

