 
.orderStep__section .orderDesc2 {
  font-weight: 450;
  font-size: 18px;
  text-align: center;
  color: var(--color-heading);
  margin-top: 30px;
}

.toDeliveryWrapper {
  display: flex;
  column-gap: 38px;
 
}

.deliverySteps {
  max-width: 400px;
  width: 100%;
}

.StepBox {
  display: flex;
  column-gap: 22px;
  padding: 20px;
  border: 0.796635px solid #DDF2E9;
  border-radius: 14.227px;
  margin-bottom: 12px;
  align-items: flex-start;
}

/* ============ Timeline Style for Order Steps ============ */

.orderStep__timeline .orderDesc {
  text-align: left;
  margin: 0;
  max-width: 100%;
  padding-top: 0;
}

.orderStep__timeline .orderDesc p {
  text-align: left;
  margin: 0;
  max-width: 100%;
  font-size: 16px;
  line-height: 180%;
  color: #536C8B;

  font-weight: 400;
  padding-top: 0;
}


.toDeliveryWrapper.timeline-layout {
  display: grid;
  grid-template-columns: 1fr 606px;
  gap: 50px;
  align-items: start;
 
}

/* Timeline Steps */
.timeline-steps {
  position: relative;
}

.timeline-step {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 20px;
  min-height: 100px;
}


.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-connector {
position: absolute;
  left: 17px;
  top: 55%;
  height: 60px;
  bottom: -50%;
  width: 2px;
  transform: translateY(-22%);
}


.timeline-step .timeline-connector {


background: linear-gradient(180deg, #0C9286 0%, #F6FAFA 100%);
}

.timeline-step-content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: transform 0.3s ease;
}

/* Collective hover effect on timeline-step-content */

/* On hover, make step number more visible (not filled) */
.timeline-step-content:hover .step-number,
.timeline-step:first-child .timeline-step-content .step-number {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.timeline-step-content:hover .step-text,
.timeline-step:first-child .timeline-step-content .step-text {
  background: #ffffff;
  box-shadow: 0px 4px 16.8px 0px #D4E6E6;
}




.step-number {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  z-index: 2;
  transition: all 0.3s ease;
  border: 1.5px solid #D0E8DE;
  color: #B8D4CD;
}

.step-text{
  padding: 15px;
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 11px;
}

.timeline-step .step-number {
  border-color: #D0E8DE;
  color: #B8D4CD;
}


/* Remove pulse animation - disabled by default */
.step-number::before {
  display: none;
}


.step-text h3 {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 100%;
  color: var(--color-heading);
  margin-bottom: 7px;
  transition: color 0.3s ease;
}

.step-text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 180%;
  color: var(--color-text);
}

/* Timeline Video Section */
.timeline-video {
  position: sticky;
  top: 100px;
}

.timeline-video .vidWrapper {
  border-radius: 16px;
  overflow: hidden;
  background: #313946;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 15px;
  height: 425px;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

.video-cta-section {
  margin-top: 0px;
  text-align: center;
  max-width: 427px;
    width: 100%;
    margin-left: auto;
}

.video-cta-section .bottom-desc {
  text-align: center;
  margin-bottom: 20px;
}

.video-cta-section .bottom-desc p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 160%;
  color: var(--color-text);
  text-align: center;
}

@keyframes ctaPulse4{
    0%   { box-shadow: 0 2px 12px rgba(58, 102, 212, 0.3), 0 0 0 0 rgba(58, 102, 212, 0.45); }
    70%  { box-shadow: 0 2px 12px rgba(58, 102, 212, 0.3), 0 0 0 14px rgba(58, 102, 212, 0); }
    100% { box-shadow: 0 2px 12px rgba(58, 102, 212, 0.3), 0 0 0 0 rgba(58, 102, 212, 0); }
}

.timeline-cta-btn {
  margin-top: 0px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0 !important;
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  text-align: center;
  border-radius: 10px !important;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  max-width: 100% !important;
  position: relative;
  overflow: visible;
  animation: ctaPulse4 2s ease-out infinite;
}

 
.timeline-cta-btn:hover {
  background: var(--color-primary-hover) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(12, 146, 134, 0.5);
}

.timeline-cta-btn:hover::after {
  transform: translateX(4px);
}

/* Timeline Responsive */
@media (max-width: 991px) {
  .toDeliveryWrapper.timeline-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-video {
    position: relative;
    top: 0;
    order: 1;
  }

  .orderStep__timeline h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .orderStep__timeline h2 {
    font-size: 28px;
  }

  .timeline-video .vidWrapper {
    height: auto;
  }

  .orderStep__timeline .orderDesc p {
    font-size: 14px;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .step-image-container {
    width: 49px;
    height: 49px;
  }

  .step-image-container img {
    width: 25px;
    height: 25px;
  }

  .timeline-connector {
    left: 62px;
    top: 44px;
    height: 52px;
    transform: translateY(6%);
  }

  .step-text h3 {
    font-size: 16px;
  }

  .step-text p {
    font-size: 14px;
  }

  .timeline-step {
    margin-bottom: 28px;
  }
}

@media (max-width: 575px) {
  .orderStep__timeline h2 {
    font-size: 24px;
  }

  .timeline-step-content {
    gap: 16px;
  }

  .writer-stat-value {

    font-size: 26px;

  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .step-image-container {
    width: 42px;
    height: 42px;
  }

  .step-image-container img {
    width: 24px;
    height: 24px;
  }

  .timeline-connector {
    left: 14pxpx;
    top: 50%;
    height: 48px;
    transform: translateY(-25%);
  }

  .timeline-step {
    margin-bottom: 0px;
  }
}

/* ============ End Timeline Style ============ */

.orderBtn,
.sampleBtnCTA,
.writerBtn {
  max-width: max-content;
  padding: 12px 35px;
}

.StepBox:hover {
  border: 0.796635px solid var(--color-primary);
}

.orderBtn,
.specialOrderBtn,
.writerBtn {
  background-color: var(--color-primary);
  border-radius: 40px;
  line-height: 25px;
  color: var(--color-white);
  position: relative;
  font-weight: 450;
  text-align: center;
  z-index: 1;
}

.StepBox img {
  display: block;
  width: 38px;
  height: 38px;
}

.StepBox p {
  font-weight: 450;
  font-size: 15px;
  color: #221f1f;
}

.StepBox p span {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 16px;
}

.orderIcon {
  width: 35px;
  height: 35px;
}

.orderBtn,
.writerBtn {
  font-size: 17px;
  display: block;
  width: 100%;
  margin: 45px auto 0;
}

.sampleBtnCTA {
  text-align: center;
  display: flex;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  column-gap: 7px;
}

.specialBtn {
  max-width: 331px;
  font-size: 18px !important;
}

.specialOrderBtn {
  padding: 12px 25px;
  font-size: 18px;
  display: block;
  max-width: max-content;
  width: 100%;
  margin: 25px auto 0;
}


.specialOrderBtn:before {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(12, 146, 134, 0.5);
}

/* ============ Step Image Container ============ */
.step-image-container {
  width: 49px;
  height: 49px;
  border-radius:100%;
  background-color: #E8F9F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.step-image-container img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* ============================================================
   New Horizontal Layout  (prefix: os-)
   ============================================================ */

/* Steps grid */
.os-steps-grid {
       display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 95px auto 35px;
    max-width: 1114px;
    width: 100%;
}

/* Step card: column layout — number+icon top row, content below */
.os-step-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid #D8E7FF;
    box-shadow: 0px 0px 19.5px 0px #DDE6FF;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.os-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 28px 0px rgba(58, 102, 212, 0.14);
    border-color: #C5D4F5;
}

/* Top row: number (left) + icon (right) */
.os-step-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Number text — primary blue, no circle */
.os-step-num {
  font-weight: 600;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;

    color: var(--color-primary, #3A66D4);
    letter-spacing: 0.5px;
}

/* Icon box — small square */
.os-step-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F5FF;
    border-radius: 12px;
    flex-shrink: 0;
}

.os-step-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Info: title + desc */
.os-step-info {
    flex: 1;
    min-width: 0;
}

.os-step-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

    color: #231F20;
    margin-bottom: 10px;
}

.os-step-desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 180%;
  letter-spacing: 0.5%;

    color: var(--color-text);
}

/* ── Video + CTA ── */
.os-step-video{
  max-width: 1114px;
  width: 100%;
  margin: 0 auto 31px;
     background: linear-gradient(180deg, #3A66D4 0%, #1E356E 100%);
  border-radius: 15px;
  box-shadow: 0px 4px 16.8px 0px #D4E6E6;

}
.os-video-wrap {
    width: 100%;
   max-width: 1114px;
    margin: 0 auto;
}

.os-video-wrap .vidWrapper {
    border-radius: 16px;
    overflow: hidden;
    background: #313946;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 15px 0;
    height: auto;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.os-cta-wrap {
    width: 100%;
    max-width: 420px;
    margin: 50px auto 0;
}

/* ── Responsive ── */

/* Tablet landscape */
@media (max-width: 1199px) {
    .os-steps-grid {
        margin: 60px 0 28px;
    }
    .os-step-video {
        padding: 20px 40px;
    }
}

/* Tablet portrait — 2 columns */
@media (max-width: 991px) {
    .os-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 48px 0 24px;
    }
    .os-step-video {
        padding: 20px 24px;
    }
}

/* Mobile landscape */
@media (max-width: 767px) {
    .os-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin: 36px 0 20px;
    }
    .os-video-wrap .vidWrapper {
        height: auto;
    }
    .os-step-video {
        padding: 16px;
    }
    .os-step-num {
        font-size: 24px;
    }
}

/* Mobile portrait — horizontal scroll snap */
@media (max-width: 575px) {
    .os-steps-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        margin: 28px 0 16px;
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary, #3A66D4) #E8EDFB;
                padding: 15px 0;
    }
    .os-steps-grid::-webkit-scrollbar { height: 4px; }
    .os-steps-grid::-webkit-scrollbar-track { background: #E8EDFB; border-radius: 100px; }
    .os-steps-grid::-webkit-scrollbar-thumb { background: var(--color-primary, #3A66D4); border-radius: 100px; }

    .os-step-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
        padding: 16px;
        gap: 14px;
    }
    .os-step-num {
        font-size: 22px;
    }
    .os-step-title {
        font-size: 15px;
    }
    .os-step-video {
        padding: 14px;
        border-radius: 12px;
    }
    .os-cta-wrap {
        max-width: 100%;
    }
}
/* ============ End New Horizontal Layout ============ */

/* ============ Wistia Player Customization ============ */
/* Override Wistia play button background color */
.wistia_embed .w-vulcan-v2-button,
.wistia_embed .w-css-reset .w-vulcan-button-bg,
.wistia_embed .w-vulcan--visible .w-vulcan-button-bg,
.wistia_click_to_play .w-vulcan-v2-button {
    background-color: var(--color-primary) !important;
    background: var(--color-primary) !important;
}

/* Play button hover state */
.wistia_embed .w-vulcan-v2-button:hover,
.wistia_click_to_play .w-vulcan-v2-button:hover {
    background-color: var(--color-primary-hover) !important;
    background: var(--color-primary-hover) !important;
}

/* Big play button overlay */
.wistia_embed .w-big-play-button circle,
.wistia_embed .w-css-reset-button-important circle {
    fill: var(--color-primary) !important;
}

/* Alternative selectors for play button */
.wistia_embed .wistia_initial_thumbnail_image_clickable,
.wistia_embed .w-vulcan--shadow {
    background-color: var(--color-primary) !important;
}
/* ============ End Wistia Customization ============ */
