/* Benefits of Online Doctor Consultation with CurePrabha:
   Exact card structure & clear visuals of How Online Doctor Consultation Works,
   scaled down into a compact square format: 5 cards in Row 1, 4 cards in Row 2. */

.vc-redesign .vcb-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 110px;
  padding: 12px 0 14px;
  background: #eff1e6;
  color: #0b110d;
}

.vc-redesign .vcb-section * {
  box-sizing: border-box;
}

.vc-redesign .vcb-backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('../assests/video-consult-premium/how-online-background.webp') center center/cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.vc-redesign .vcb-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.2) 30%, rgba(239,245,233,0.3) 70%, rgba(255,255,255,0.4) 100%);
  pointer-events: none;
}

.vc-redesign .vcb-shell {
  position: relative;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 22px;
}

.vc-redesign .vcb-heading {
  text-align: center;
  margin: 0 0 10px;
}

.vc-redesign .vcb-heading h2 {
  margin: 0;
  color: #080c09;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.vc-redesign .vcb-brand {
  position: relative;
  display: inline-block;
  color: #075726;
  font-weight: 700;
}

.vc-redesign .vcb-brand-swoosh {
  position: absolute;
  display: block;
  left: 7%;
  bottom: -9px;
  width: 84%;
  height: 11px;
  color: #f3790f;
  overflow: visible;
}

/* Desktop layout: 10 columns -> 5 cards on Row 1, 4 cards centered on Row 2 */
.vc-redesign .vcb-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  padding: 0;
  margin: 0;
  list-style: none;
}

.vc-redesign .vcb-card {
  grid-column: span 2;
  position: relative;
  min-width: 0;
  padding: 4px;
  border: 2px solid #8ec478;
  border-radius: 20px;
  background: linear-gradient(150deg, #fffffff8, #ffffffea 75%, #edfff1f0);
  box-shadow: 0 6px 14px rgba(110, 150, 90, 0.13), 0 0 0 1.5px #ffffffc9 inset, 0 0 12px rgba(140, 255, 173, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vc-redesign .vcb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(110, 150, 90, 0.18), 0 0 0 1.5px #ffffffc9 inset, 0 0 14px rgba(140, 255, 173, 0.22);
}

.vc-redesign .vcb-card:nth-child(6) {
  grid-column: 2 / span 2;
}

.vc-redesign .vcb-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 0 1px #ffffffdc inset, 0 0 6px rgba(43, 237, 67, 0.18) inset;
}

/* Number badge matching How Works circular mint badge */
.vc-redesign .vcb-number {
  position: absolute;
  z-index: 3;
  left: 9px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #081014;
  background: linear-gradient(145deg, #b2fff0, #74eecf);
  box-shadow: 0 3px 8px rgba(31, 120, 89, 0.18);
}

/* Card art matching How Works clear botanical visual canvas */
.vc-redesign .vcb-art {
  position: relative;
  height: 108px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,254,250,0.25)), url('../assests/video-consult-premium/how-online-background.webp') 50% 48%/auto 190% no-repeat, #eff4dd;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.vc-redesign .vcb-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%!important;
  height: 100%!important;
  max-width: none!important;
  object-fit: contain!important;
  object-position: center bottom!important;
  padding: 0!important;
  filter: none;
  transform-origin: center bottom!important;
  transition: transform 0.2s ease;
}

.vc-redesign .vcb-art::after {
  content: '';
  position: absolute;
  inset: 78% 0 -1px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.72));
  pointer-events: none;
}

/* Individual card visual scale & vertical alignment:
   Images tuned card-by-card to fill visual space prominently like How Works,
   without clipping headroom or overlapping badges. */
.vc-redesign .vcb-card:nth-child(1) .vcb-art img {
  transform: translateY(6px) scale(1.28)!important;
}

.vc-redesign .vcb-card:nth-child(2) .vcb-art img {
  transform: translateY(15px) scale(1.42)!important;
}

.vc-redesign .vcb-card:nth-child(3) .vcb-art img {
  transform: translateY(12px) scale(1.34)!important;
}

.vc-redesign .vcb-card:nth-child(4) .vcb-art img {
  transform: translateY(8px) scale(1.30)!important;
}

.vc-redesign .vcb-card:nth-child(5) .vcb-art img {
  transform: translateY(7px) scale(1.17)!important;
}

.vc-redesign .vcb-card:nth-child(6) .vcb-art img {
  transform: translateY(8px) scale(1.28)!important;
}

.vc-redesign .vcb-card:nth-child(7) .vcb-art img {
  transform: translateY(13px) scale(1.36)!important;
}

.vc-redesign .vcb-card:nth-child(8) .vcb-art img {
  transform: translateY(7px) scale(1.19)!important;
}

.vc-redesign .vcb-card:nth-child(9) .vcb-art img {
  transform: translateY(14px) scale(1.36)!important;
}

/* Card copy matching How Works typography */
.vc-redesign .vcb-copy {
  padding: 5px 8px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vc-redesign .vcb-copy h3 {
  margin: 0 0 3px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0a0d0b;
}

.vc-redesign .vcb-copy p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11.5px;
  line-height: 1.32;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: #243a55;
}

/* Responsive Breakpoints */
@media(min-width: 1600px) {
  .vc-redesign .vcb-shell {
    max-width: 1480px;
  }
  .vc-redesign .vcb-art {
    height: 110px;
  }
  .vc-redesign .vcb-copy h3 {
    font-size: 14.5px;
  }
  .vc-redesign .vcb-copy p {
    font-size: 12px;
  }
}

@media(max-width: 1120px) {
  .vc-redesign .vcb-shell {
    padding-inline: 18px;
  }
  .vc-redesign .vcb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
  }
  .vc-redesign .vcb-card {
    grid-column: span 1;
  }
  .vc-redesign .vcb-card:nth-child(6) {
    grid-column: auto;
  }
  .vc-redesign .vcb-art {
    height: 100px;
  }
  .vc-redesign .vcb-copy h3 {
    font-size: 14px;
  }
  .vc-redesign .vcb-copy p {
    font-size: 12px;
  }
}

@media(max-width: 720px) {
  .vc-redesign .vcb-section {
    padding: 14px 0 16px;
  }
  .vc-redesign .vcb-shell {
    padding-inline: 12px;
  }
  .vc-redesign .vcb-heading {
    margin-bottom: 12px;
  }
  .vc-redesign .vcb-heading h2 {
    font-size: 24px;
  }
  .vc-redesign .vcb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .vc-redesign .vcb-card {
    grid-column: span 1;
    padding: 3px;
    border-radius: 17px;
  }
  .vc-redesign .vcb-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 9px) / 2);
    margin-inline: auto;
  }
  .vc-redesign .vcb-art {
    height: 84px;
    border-radius: 13px;
  }
  .vc-redesign .vcb-card:nth-child(1) .vcb-art img { transform: translateY(4px) scale(1.24)!important; }
  .vc-redesign .vcb-card:nth-child(2) .vcb-art img { transform: translateY(10px) scale(1.35)!important; }
  .vc-redesign .vcb-card:nth-child(3) .vcb-art img { transform: translateY(8px) scale(1.28)!important; }
  .vc-redesign .vcb-card:nth-child(4) .vcb-art img { transform: translateY(5px) scale(1.25)!important; }
  .vc-redesign .vcb-card:nth-child(5) .vcb-art img { transform: translateY(5px) scale(1.15)!important; }
  .vc-redesign .vcb-card:nth-child(6) .vcb-art img { transform: translateY(5px) scale(1.24)!important; }
  .vc-redesign .vcb-card:nth-child(7) .vcb-art img { transform: translateY(9px) scale(1.30)!important; }
  .vc-redesign .vcb-card:nth-child(8) .vcb-art img { transform: translateY(5px) scale(1.16)!important; }
  .vc-redesign .vcb-card:nth-child(9) .vcb-art img { transform: translateY(10px) scale(1.30)!important; }
  .vc-redesign .vcb-number {
    width: 25px;
    height: 25px;
    font-size: 11px;
    left: 7px;
    top: 6px;
  }
  .vc-redesign .vcb-copy {
    padding: 5px 6px 7px;
  }
  .vc-redesign .vcb-copy h3 {
    font-size: 12.5px;
    margin-bottom: 2px;
  }
  .vc-redesign .vcb-copy p {
    font-size: 11px;
    line-height: 1.28;
  }
}

@media(max-width: 370px) {
  .vc-redesign .vcb-shell {
    padding-inline: 9px;
  }
  .vc-redesign .vcb-heading h2 {
    font-size: 21px;
  }
  .vc-redesign .vcb-grid {
    gap: 7px;
  }
  .vc-redesign .vcb-card:last-child {
    width: calc((100% - 7px) / 2);
  }
  .vc-redesign .vcb-art {
    height: 74px;
  }
  .vc-redesign .vcb-copy h3 {
    font-size: 11.5px;
  }
  .vc-redesign .vcb-copy p {
    font-size: 10px;
    line-height: 1.24;
  }
}
