/* section */
.saliva-section {
  display: block;
  margin-bottom: 50px;
}
/* image wrapper */
.saliva-section .saliva-wrapper {
  position: relative;
  display: inline-block;
}

/* main image */
.saliva-section .main-img {
  max-width: 850px;
}

/* info boxes */
.saliva-section .info-box {
  position: absolute;
  border-radius: 12px;
  background: var(--White, #fff);
  box-shadow: 0 24px 50px 0 rgba(0, 0, 0, 0.1);
  padding: 5px 16px;
  text-decoration: none;
  color: var(--Text-Navigation, #727272);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px; /* 285.714% */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* hover animation */
.saliva-section .info-box:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  color: #141b5d;
}

/* icon */
.saliva-section .icon {
  font-size: 18px;
}

/* positions */

.saliva-section .detect-box {
  left: -20%;
  top: 25%;
}

.saliva-section .home-box {
  right: -40px;
  top: 20%;
}

.saliva-section .review-box {
  right: -20%;
  bottom: 20%;
}

.saliva-section .use-box {
  left: -10%;
  bottom: 10%;
}
.saliva-section-img {
  display: none;
}
/* responsive */

@media (max-width: 768px) {
  .saliva-section {
    display: none;
  }
  .saliva-section-img {
    display: block;
  }
}

.vid-con-hero-section {
  position: relative;
  background: url(../img/saliva-testing/ban-bg.webp) no-repeat center;
  background-size: cover;
  padding-bottom: 0px;
}

.den-section-btn-cta {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
  display: inline;
  padding: 12px 16px;
  gap: 10px;
  transition: all 0.3s;
  border-radius: 72px;
  background: #141b5d;
  box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.12) inset,
    0 1px 1.5px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 6px 0 rgba(74, 58, 255, 0.1);
  color: #fff;
  border: 1px solid #141b5d;
}

.den-section-btn-cta:hover {
  background: #141b5d;
  box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.12) inset,
    0 1px 1.5px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 6px 0 rgba(74, 58, 255, 0.1);
  color: #fff;
  border: 1px solid #141b5d;
}

.den-section-btn-cta-a {
  color: #141b5d;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 135%;
  display: inline;

  padding: 12px 16px;
  gap: 10px;
  text-decoration: none !important;
  transition: all 0.3s;
  border-radius: 72px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 -1px 1px 0 rgba(0, 0, 0, 0.12) inset,
    0 1px 1.5px 0 rgba(255, 255, 255, 0.25) inset,
    0 2px 6px 0 rgba(74, 58, 255, 0.1);
}
.den-section-btn-cta-a:hover {
  background-color: #fff;
  color: #141b5d !important;
  border: none;
  border: 1px solid #ddd;
}

.Benefits-of-Financing-bg .benefit-card {
  border-radius: 16px;
  border: 0.5px solid #d8d8d8;
  background: #fff;
  box-shadow: 4px 4px 4px 0 rgba(227, 223, 255, 0.18);
  padding: 20px;
  height: 100%;
}
.Benefits-of-Financing-bg .benefit-card img {
  margin-bottom: 0.5rem;
}
.Benefits-of-Financing-bg .benefit-card h5 {
  color: #58595b;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%; /* 40px */
}
.Benefits-of-Financing-bg .benefit-card p {
  color: #58595b;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 217.188%; /* 34.75px */
  margin-bottom: 0;
}

.timeline-section .timeline {
  position: relative;
}
.timeline-section .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #ccc;
}
.timeline-section .timeline-box {
  border-radius: 16px;
  border: 1px solid #dcdcdc;
  padding: 1rem;
}
.timeline-section .timeline-item {
  position: relative;
  margin-bottom: 1rem;
}
.timeline-section .timeline-content {
  padding: 1.5rem;
}
.timeline-section .timeline-number {
  width: 48px;
  height: 48px;
  background-color: #141b5d;
  color: white;
  border-radius: 50%;
  display: flex;
  font-size: 32px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.timeline-section .timeline-icon {
  max-width: 100%;
  height: auto;
}
.timeline-section .timeline-title {
  color: #58595b;
  text-align: right;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 30px */
}
.timeline-section .timeline-title-a {
  color: #58595b;
  text-align: left;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
}
.timeline-section .timeline-week {
  color: #141b5d;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}
.timeline-section .timeline-item:last-child {
  margin-bottom: 0rem;
}
.timeline-section .timeline-box ol li {
  color: #58595b;
  font-size: 16px;
  font-style: normal;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 200%; /* 32px */
}
.timeline-section .timeline-box p {
  color: #58595b;
  font-size: 16px;
  font-style: normal;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 200%; /* 32px */
}
.timeline-section .timeline-box ol li:last-child {
  margin-bottom: 0rem;
}
.timeline-section .timeline-box ol li strong {
  color: #58595b;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
}
.timeline-section {
  padding: 80px 0;
}
@media (min-width: 768px) {
  .timeline-section .timeline-item-left .timeline-content {
    margin-right: auto;
    width: 45%;
  }
  .timeline-section .timeline-item-right .timeline-content {
    margin-left: auto;
    width: 45%;
  }
}
@media (max-width: 767.98px) {
  .timeline-section .timeline::before {
    left: 20px;
  }
  .timeline-section .timeline-number {
    left: 0px;
    transform: translateY(-50%);
  }
  .timeline-section .timeline-content {
    margin-left: 30px !important;
    margin-right: 10px;
  }
}

/* What Virtual Appointments Cover */

.benefit-card {
  padding: 35px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(20, 27, 93, 0.08);
  border: 1px solid #edf0f7;
}

.benefit-card h5 {
  color: #141b5d;
  font-size: 22px;
  font-weight: 700;
}

.benefit-card ul li {
  color: #555d73;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.benefit-card ul li i {
  color: #1c3fc6;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mobile */

@media (max-width: 767px) {
  .benefit-card {
    padding: 25px 20px;
  }

  .benefit-card h5 {
    font-size: 20px;
  }

  .benefit-card ul li {
    font-size: 15px;
  }
}

/* Timeline container */
.When-to-Use-sec .timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding-left: 60px;
}
/* Vertical dashed line */
.When-to-Use-sec .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  border-left: 2px dashed #58595b;
}
/* Timeline item */
.When-to-Use-sec .timeline li {
  position: relative;
  margin-bottom: 40px;
  color: #58595b;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal; /* 40px */
}
/* Outer circle */
.When-to-Use-sec .timeline li::before {
  content: "";
  position: absolute;
  left: -55px;
  width: 32px;
  height: 32px;
  border: 2px solid #141b5d; /* Dark Blue border */
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}
/* Inner dot */
.When-to-Use-sec .timeline li::after {
  content: "";
  position: absolute;
  left: -45px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: #141b5d; /* Dark Blue fill */
  border-radius: 50%;
  z-index: 2;
}

.When-to-Use-sec h4 {
  color: #141b5d;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
}

/* Why Patients Choose Virtual Appointments */

.Benefits-of-Financing-bg .benefit-card {
  height: 100%;
  padding: 30px 22px;
  text-align: center;
  border-radius: 20px;
  background: #fff;
  transition: all 0.3s ease;
}

.Benefits-of-Financing-bg .benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(20, 27, 93, 0.12);
}

.Benefits-of-Financing-bg .benefit-card img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 20px;
}

.Benefits-of-Financing-bg .benefit-card h5 {
  color: #58595b;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
  margin-bottom: 5px;
}

.Benefits-of-Financing-bg .benefit-card p {
  color: #58595b;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  margin-bottom: 0;
}

/* Mobile */

@media (max-width: 767px) {
  .Benefits-of-Financing-bg .benefit-card {
    padding: 28px 20px;
  }

  .Benefits-of-Financing-bg .benefit-card h5 {
    font-size: 19px;
  }
}

/* Before, During & After Timeline */

.position-relative .benefit-card {
  position: relative;
  padding: 30px 25px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #edf0f7;
  box-shadow: 0 8px 25px rgba(20, 27, 93, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.position-relative .benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(20, 27, 93, 0.12);
}

.position-relative .benefit-card .timeline-number {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #141b5d;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(28, 63, 198, 0.25);
}

.position-relative .benefit-card h5 {
  color: #58595b;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
  margin-bottom: 0px;
}

.position-relative .benefit-card p {
  color: #58595b;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  margin-bottom: 0;
}

/* Mobile */

@media (max-width: 991px) {
  .position-relative .benefit-card {
    padding: 28px 22px;
  }
}

@media (max-width: 767px) {
  .position-relative .benefit-card h5 {
    font-size: 19px;
  }

  .position-relative .benefit-card p {
    font-size: 15px;
  }
}

/* Related Services */

.related-service-card {
  border-radius: 16px;
  border: 0.5px solid #d8d8d8;
  background: #fff;
  box-shadow: 4px 4px 4px 0 rgba(227, 223, 255, 0.18);
  padding: 20px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.related-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(20, 27, 93, 0.12);
}

.related-service-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10%;
  margin-bottom: 15px;
}

.related-service-card h5 {
  color: #58595b;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 200%;
  margin-bottom: 5px;
}

.related-service-card p {
  color: #58595b;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  margin-bottom: 16px;
}

/* Mobile horizontal scroll */

@media (max-width: 767px) {
  .related-services-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .related-services-row > div {
    flex: 0 0 82%;
    max-width: 82%;
  }

  .related-services-row::-webkit-scrollbar {
    height: 5px;
  }

  .related-services-row::-webkit-scrollbar-thumb {
    border-radius: 10px;
  }

  .related-service-card {
    padding: 25px 18px;
  }
}
