.patient-image img {
    margin-top: 10px;
}
.supervision-text {
    margin-top: 50px !important;
}
.nav-card-wrapper {
    margin-top: 20px !important;
}
.patient-voice .card-body {
    padding-bottom: 30px;
}
.my-sticky {
    position: fixed !important;
    top: 72px !important;
    z-index: 111;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    right: 0;
    left: 0;
}
  .custom-list-group-horizontal {
    display: flex;
    padding-bottom: 0;
    width: max-content;
    box-shadow: 3px 0 6px 0 rgba(0, 0, 0, 0.16);
    border-radius: 50px;
    overflow: hidden;
    margin: 0 auto;
    top: 47px;
    position: relative;
}
  .custom-list-group-horizontal::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
  }
  .custom-list-group-horizontal .list-item {
    display: inline-block;
    border-right: 0.1px solid rgba(163, 163, 163, 0.50);
    color: #0088CE;
    padding: 8px 20px;
    font-weight: 500;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    text-align: center;
    white-space: nowrap;
    padding-left: 27px;
    padding-right: 27px;
    padding-top: 11px;
    padding-bottom: 11px;
}
  .custom-list-group-horizontal .list-item:hover {
    background-color: #e6f0ff;
    color: #0056b3;
    text-decoration: none;
  }
  
  .custom-list-group-horizontal .list-item.active {
    background-color: #F5F4F4;
    color: #0088CE;
    border-color: rgba(163, 163, 163, 0.50);
}
.custom-list-group-horizontal .list-item:first-child, .custom-list-group-horizontal .list-item:last-child {
    border-top-left-radius: unset !important;
    border-top-right-radius: unset !important;
}  
  
  .patientVoiceBanner {
    background-color: #0088CE;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}
.authorName {
    margin-top: 12px;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 44px;
}
.bannerSmallDec {
    font-family: "Noto Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #2C2C2C;
}
.patientStoryBanner {
    background-color: #F3F3F3;
}
.bgpatientImg {
    background-image: url(/wp-content/uploads/2025/07/IT3_6496.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100%;
    border-top-right-radius: 7px !important;
    border-bottom-right-radius: 7px !important;
}
.bannerSmallDec {
    position: relative;
    padding-left: 20px;
}
.bannerSmallDec:before {
    content: "";
    background-image: url(/wp-content/uploads/2025/07/li-icon.png);
    position: absolute;
    height: 12px;
    width: 12px;
    background-repeat: no-repeat;
    background-size: 12px;
    left: 0;
    top: 6px;
}

/*Timeline ROW*/
.timeline-row {
    position: relative;
    display: flex;
    align-items: center;
    margin: 2rem 0;
    background: #F2F7FD;
    padding: 0px;
}

.timeline-label {
    background: #3ABCFF;
    color: white;
    padding: 2rem 1rem 4rem 1rem;
    position: relative;
    width: 368px;
    text-align: center;
    font-weight: 600;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
    left: 36px;
    top: 30px;
    font-size: 26px;
    line-height: 32px;
    font-family: "Noto Sans";
    min-height: 160px;
}
  /* Optional: vertical red line for dev alignment */
  .vertical-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: red;
    z-index: -1;
  }

  .timeline-wrapper {
    position: relative;
  }
.timeline-content {
    padding-left: 70px;
    width: 100%;
    font-family: "Noto Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    padding-right: 25px;
}

.commonNav li.nav-item a {
    color: #0088CE;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 10px;
    border-radius: 0;
}
.commonNav li.nav-item a.nav-link {
    background-color: #fff;
}

/*Message Section*/
.messageDiv {
    padding: 2rem 0;
    background-color: #fff;
  }

  .message-header {
    display: flex;
    align-items: center;
    background-color: #0088CE;
    color: #fff;
    position: relative;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.message-image {
    width: 94px;
    height: 94px;
    border: 4px solid #0088CE;
    border-radius: 53%;
    overflow: hidden;
    margin-right: 1rem;
    position: absolute;
    top: -18px;
    left: -23px;
    z-index: 99;
}
.message-section-body {
    position: relative;
    margin-top: 30px;
}   
  .message-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .message-title {
    font-family: "Noto Sans";
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 46px;
}
  
  .message-body {
    padding: 1.5rem 1.5rem 0.3rem 1.5rem;
    background-color: #fff;
  }
  
  .message-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
.message-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-family: "Noto Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}
  
.message-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    background-image: url(/wp-content/uploads/2025/07/check-square.png);
    width: 22px;
    height: 22px;
    background-size: 22px;
    background-repeat: no-repeat;
}
.message-section {
    margin: 0 auto;
    border: 1px solid #8DC4E0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.patient-meta {
    border: 1px solid var(--main, #0088CE);
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 25px;
}
 span.story-label {
    background: #0088CE;
    color: #fff;
    padding: 7px;
}
span.story-stage {
    font-family: "Noto Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    color: #0088CE;
    padding-left: 15px;
    padding-right: 7px;
}
.patient-story-section {
    margin-top: 50px;
}
h2.patient-heading {
    font-family: "Noto Sans";
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px;
    margin-bottom: 20px;
}
.patient-description p {
    margin-bottom: 0;
}


/* mobile Banner  */
.vertical-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Remove padding from the vertical layout columns */
.vertical-layout .col-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Make sure the text banner also takes full width */
.vertical-text-banner {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Remove any container padding for this specific section */
.vertical-layout {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

/* mobile Menu  */

.mobileBannerContent {
  background-color: #0088ce;
}

.mobileBanner {
  display: none;
}
/* Fixed Mobile List Items */
.custom-list-group .list-group-item {
  font-size: 14px;
  padding: 12px 16px;
  border: none;
  background-color: white;
  position: relative;
  display: block;
}

.custom-list-group .list-group-item:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1px;
    border-bottom: 1px dotted #838383;
    width: 90%;
    left: 17px;
}

/* Text content - no extra spacing with flex */
.list-item-text {
  flex: 1;
  text-align: left;
}

/* Arrow styling */
.custom-card-header {
  background-color: #0088ce !important;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 16px;
}

.custom-index-card {
  max-width: 360px;
  border-radius: 8px !important;
  overflow: hidden;
  border: none;
}

/* Content wrapper to handle spacing */
.list-item-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Number styling */
.number-text {
  font-size: 16px;
  font-weight: 500;
}

/* Arrow styling */
.arrow-icon {
  color: #0088ce;
  font-size: 36px;
  line-height: 1;
  margin-left: 12px;
}

/* Responsive CSS  */
@media (max-width: 1200px) {
    .custom-list-group-horizontal .list-item {
    padding-left: 12px;
    padding-right: 13px;
}
}
/* @media (max-width: 1100px) {
  .bgpatientImg {
    min-height: 360px;
}
} */
@media (max-width: 992px) {
  .desktopBanner {
    display: none;
  }
  .custom-list-group-horizontal {
      width: 100%;
  }
  .custom-list-group-horizontal .list-item {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 11px;
}
  .patientStoryBanner {
    background-color: #fff;
  }
  .mobileBanner {
    display: block;
  }
  .container-900 {
    max-width: 100% !important;
    margin-left: 60px !important;
    margin-right: 60px !important;
  }
  .patientVoiceBanner,
  .bgpatientImg {
    border-radius: 0px !important;
  }

  .section-title {
    padding-top: 0 !important;
    margin-top: 1rem !important;
  }

  .timeline-row {
    margin-bottom: 4rem;
  }
  h2.patient-heading {
    font-size: 22px;
    line-height: 24px;
}
}

@media screen and (max-width: 767px) {
  .slider-title {
    font-size: 36px !important;
    line-height: 54px !important;
  }
  .vertical-image {
    height: 374px;
  }
  .list-group-flush>.list-group-item a {
    flex: 1;
    text-align: left;
  }
  .custom-list-group .list-group-item{
    display: flex;
  }
  .container-900 {
    margin-left: 25px !important;
    margin-right: 25px !important;
  }
  div.patientVoiceBanner {
    padding: 35px 13px 50px 13px !important;
  }
  div.custom-index-card {
    margin-top: 25px !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    max-width: 100%;
  }
  .voiceDescription {
    padding-left: 10px;
    padding-right: 10px;
  }
  .patientStoryBanner {
      display: none;
  }
  .section-title {
    font-size: 32px;
    line-height: 46px;
  }

  .timeline-content {
    padding-top: 20px;
    padding-inline: 3rem !important;
    margin-bottom: 14px;
    padding-bottom: 8rem;
    margin-top: 14px;
    font-size: 20px;
    line-height: 24px;
  }

  .timeline-row {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    border-radius: 8px;
    position: relative;
    margin-bottom: 4.7rem;
  }

     .timeline-label {
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        max-width: 300px;
        z-index: 2;
        text-align: center;
        box-sizing: border-box;
        padding: 3rem 1rem 4rem 1rem;
        font-size: 18px;
    }

  .message-header {
    padding-left: 26px;
  }
  .message-title {
    font-size: 20px;
    line-height: 34px;
  }

  .patient-meta .sLable {
    padding: 20px;
  }

  .message-list li {
    margin-bottom: 0.5rem;
  }

  .patient-story-section .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .patient-story-section .col-md-4,
  .patient-story-section .col-md-8 {
    width: 100%;
    max-width: 100%;
  }

  .patient-story-section .col-md-12 {
    padding-left: 16px !important;
    padding-right: 16px !important;
    text-align: left !important;
  }

  .patient-story-section .col-md-12 p {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 1.5rem; /* Optional: adds spacing between paragraphs */
  }
  
  .patient-image {
    margin-bottom: 20px;
  }

  .container-900 p {
    text-align: left;
  }
  .messageDiv {
    padding-bottom: 0px;
}
.patient-description {
    text-align: left;
}
.custom-list-group-horizontal {
    display: none;
}
}

@media (max-width: 479px) {
  .slider-title {
    font-size: 32px !important;
    line-height: 48px !important;
  }

  .authorName {
    font-size: 16px;
    line-height: 26px;
  }

  .storyTags .badge {
    font-size: 12px;
  }

  h2.section-title {
    margin-top: 0px !important;
  }

  .message-title {
    font-size: 18px;
  }

  .message-header {
    padding-left: 72px;
  }

  .message-list li {
    font-size: 14px;
    line-height: 28px;
    padding-left: 1.7rem;
    margin-bottom: 0.5rem;
  }

  .message-list li::before {
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background-size: 18px;
  }

  h2.patient-heading {
    font-size: 28px;
    line-height: 32px;
  }

  .container-900 p {
    font-size: 16px;
    line-height: 30px;
  }

  span.story-stage , .story-label {
    font-size: 14px;
    line-height: 28px;
  }
}

@media (max-width: 350px) {
  .slider-title {
    font-size: 28px !important;
    line-height: 42px !important;
  }

  .bannerSmallDec:before {
    height: 9px;
    width: 9px;
    background-size: 9px;
    left: 4px;
    top: 4px;
  }

  h2.patient-heading {
    font-size: 16px;
    line-height: 27px;
  }

  span.story-stage {
    font-size: 12px !important;
    line-height: 18px !important;
  }
}

@media screen and (max-width: 479px) {
  .timeline-content {
        margin-bottom: 14px;
        padding-bottom: 8rem;
        font-size: 15px !important;
        line-height: 24px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .message-image {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    top: -8px;
    left: -15px;
}
}