/* Base & Typography */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #555555;
  overflow-x: hidden;
}


.section-title {
  font-weight: 600;
  font-size: 45px;
  background: linear-gradient(96.37deg, #D254DF -0.77%, #61A3F3 130.04%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: linear-gradient(95.42deg, #D254DF 12.84%, #61A3F3 90.37%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
header {
  position: absolute;
  width: 100%;
  padding: 20px 0px;
}

.navbar-toggler-icon {
  width: 25px;
  height: 25px;
}

/* Navbar */
.navbar {
  padding: 22px 25px;
  position: relative;
  z-index: 100;
  background: #FFFFFF;
  box-shadow: 0px 2px 7px rgba(39, 111, 176, 0.15);
}

.navbar-brand img {
  height: 42px;
  margin-right: 0.5rem;
}

.nav-item {
  margin: 0px 20px;
}

.nav-link {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #555555;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transition: color 0.3s;
  position: relative;
}

.nav-link::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #5C4FD1;
  bottom: 0;
  left: 0;
  right: 0;
  transition: width 0.2s;
}

.nav-link:hover {
  color: #5C4FD1;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link.active {
  color: #5C4FD1 !important;
  font-weight: 500;
}

.btn-contact {
  background-color: #fff;
  border: 1px solid #5C4FD1 !important;
  padding: 12px 24px;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  color: #5C4FD1;
}

.btn-contact:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  filter: drop-shadow(0px 8px 13px rgba(65, 132, 247, 0.14));
}

/* Hero Section */
.hero {
  position: relative;
  padding: 250px 0px 170px 0px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 130%;
  background: url('../images/banner-bg.png') no-repeat;
  background-position: top center;
  background-size: cover;
  top: 0;
  left: 0;
  right: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-title {
  font-weight: 600;
  font-size: 58px;
  line-height: 87px;
  text-align: center;
  color: #000000;
}


/* What We Do Section */
#what-we-do {
  padding: 0;
  margin-top: -5rem;
  position: relative;
  z-index: 10;
}

.what-we-do-card {
  padding: 3rem;
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.09);
  border-radius: 50px;
}

.what-we-do-card p {
  font-weight: 500;
  font-size: 25px;
  line-height: 38px;
  color: #031432;
}

.what-we-do-card ul {
  list-style: none;
  padding-left: 0rem;
  margin-bottom: 0;
}

.what-we-do-card ul li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #555555;
  margin-bottom: 0.8rem;
}

.what-we-do-card ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #555555;
  font-size: 1.25rem;
  line-height: 1;
}

.what-we-do-image {
  max-width: 90%;
  position: relative;
}

/* Why Clinics Love Us */
.benefits-section {
  padding: 6rem 0;
}

.benefits-section .subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #555555;
  margin-bottom: 4rem;
}

.benefit-card {
  background: white;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.4s, box-shadow 0.4s;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 14px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
}

.benefit-card .img-wrapper {
  margin-bottom: 1.25rem;
  width: 80px;
  height: 80px;
  background: rgba(92, 79, 209, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

.benefit-card img {
  width: 48px;
  height: auto;
}

.benefit-card h5 {
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: #000000;
}

.benefit-card .description {
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #000000;
}

.benefit-card ul {
  list-style: none;
  padding-left: 0rem;
  margin-bottom: 0;
}

.benefit-card ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #555555;
}

.benefit-card ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 22px;
  color: #555555;
}

/* How It Works */
.how-it-works {
  text-align: center;
}

.how-steps {
  margin: 3.5rem 0px;
  position: relative;
}

.arrow-next {
  position: relative;
}

.arrow-next::after {
  content: "";
  position: absolute;
  background: url('../images/arrow.svg') no-repeat;
  background-position: center;
  background-size: 100%;
  width: 80%;
  height: 60%;
  right: 0;
  left: 90%;
  top: 0;
  bottom: 0;
}

.arrow-next.reverse::after {
  transform: rotateX(180deg);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: rgba(92, 79, 209, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 33.0882px;
  line-height: 50px;
  color: #5C4FD1;
}

.step-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #555555;
}


/* Contact Section */
.contact-section {
  padding-bottom: 6rem;
}

.contact-card {
  padding: 3rem;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.09);
  border-radius: 50px;
}

.contact-image {
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.contact-subtitle {
  margin-bottom: 2rem;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #555555;
}

.form-control {
  border: 1px solid #ECECEC;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-weight: 400;
  font-size: 16px;
  color: #6B6B6B;
}

.form-control:focus {
  border-color: #5C4FD1;
  box-shadow: 0 0 0 0.2rem rgba(99, 101, 241, 0.137)
}

.consent-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #6B6B6B;
  margin-bottom: 1.5rem;
}

.contact-btn {
  background: #5C4FD1 !important;
  box-shadow: 0px 8px 23px rgba(65, 132, 247, 0.24);
  border: none;
  padding: 14px 28px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF !important;
}

.contact-btn svg {
  width: 20px;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.5);
}

/* Footer */
footer {
  padding-top: 3rem;
  background: rgba(92, 79, 209, 0.1);
}

footer .logo {
  height: 38px;
}

footer .footer-links {
  display: flex;
  align-items: center;
}

footer .footer-links a {
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  color: #0A142F;
  text-decoration: none;
  margin-right: 2.5rem;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: #5C4FD1;
}

footer .social-links {
  display: flex;
  align-items: center;
}

footer .social-links a {
  border: 1.5px solid rgba(10, 20, 47, 0.1);
  width: 35px;
  height: 35px;
  padding: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  color: #6b7280;
  margin-left: 1rem;
  font-size: 1.25rem;
  transition: 0.3s all;
}

footer .social-links a svg {
  height: 100%;
}

footer .social-links a svg path {
  transition: 0.3s all;
}

footer .social-links a:hover {
  color: #5C4FD1;
  border: 1.5px solid #5C4FD1;
}

footer .social-links a:hover svg path {
  fill: #5C4FD1;
}

.copyright-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #555555;
  padding: 2rem 0px;
}

/* conversation Page starts */

.conversation-wrapper {
  padding: 200px 0px 100px;
}

.section-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(96.37deg, #D254DF -0.77%, #61A3F3 130.04%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #FFF;
}

.chat-bubble {
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 75%;
}

.AptAgent {
  background-color: #e5e3f8;
  border: 1px solid #5c4fd15c;
  align-self: flex-end;
}

.customer {
  background-color: #ec922221;
  border: 1px solid #ec922278;
  align-self: flex-start;
}

.message-box {
  max-width: 1024px;
  margin: 0 auto;
}

.message-box-apt {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.message-box-cus {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
}

.chat-icon {
  background: #ffffff;
  border: 1px solid #5c4fd1;
  border-radius: 100px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-box-apt .chat-icon {
  padding: 9px;
}

.chat-icon img {
  width: 100%;
  height: auto;
  border-radius: 100px;
}

.audio-conversation {
  padding: 50px 0px 0px;
}

.audio-conversation img {
  border-radius: 20px;
  margin-bottom: 20px;
}

.audio-small-heading {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  background: linear-gradient(96.37deg, #D254DF -0.77%, #61A3F3 130.04%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.para {
  margin-bottom: 2rem;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
}

.audio-medium-heading {
  font-weight: 500;
  font-size: 25px;
  line-height: 32px;
  color: #031432;
}

.audio-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 22px;
  background: #FFF;
  box-shadow: 0px 5px 14px rgba(0, 0, 0, 0.09);
  border-radius: 50px;
  margin: 20px 0px;
}

.audio-box svg {
  width: 50px;
  flex: 0 0 50px;
}

.audio-box audio {
  width: 100%;
}

.row-wrapper .col-lg-4 {
  padding-right: 50px;
}

.row-wrapper .col-lg-8 {
  padding-left: 50px;
}

.row-wrapper .col-lg-8 {
  border-left: 2px solid #f0f0f0;
}

.audio-box a {
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  color: #555555;
  text-decoration: none;
}

.row-wrapper ul li {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.75rem;
    line-height: normal;
  }

  .what-we-do-card {
    padding: 2.5rem;
  }

  .what-we-do-card p {
    font-size: 20px;
    line-height: normal;
  }

  .nav-item {
    margin: 0px 12px;
  }

  .navbar-brand img {
    height: 38px;
  }

  .arrow-next::after {
    width: 60%;
    height: 60%;
    left: 90%;
  }

  .section-title {
    font-size: 38px;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 32px;
    padding-left: 10px;
  }

  .navbar {
    padding: 12px 14px;
  }

  .navbar-toggler {
    border-color: #5c4fd12e;
    padding: 10px;
    border-radius: 100px;
  }

  .navbar-toggler:focus {
    box-shadow: 0px 4px 12px #5c4fd12e;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' width='512' height='512' x='0' y='0' viewBox='0 0 329.269 329' style='enable-background:new 0 0 512 512' xml:space='preserve' class=''%3E%3Cg%3E%3Cpath d='M194.8 164.77 323.013 36.555c8.343-8.34 8.343-21.825 0-30.164-8.34-8.34-21.825-8.34-30.164 0L164.633 134.605 36.422 6.391c-8.344-8.34-21.824-8.34-30.164 0-8.344 8.34-8.344 21.824 0 30.164l128.21 128.215L6.259 292.984c-8.344 8.34-8.344 21.825 0 30.164a21.266 21.266 0 0 0 15.082 6.25c5.46 0 10.922-2.09 15.082-6.25l128.21-128.214 128.216 128.214a21.273 21.273 0 0 0 15.082 6.25c5.46 0 10.922-2.09 15.082-6.25 8.343-8.34 8.343-21.824 0-30.164zm0 0' fill='%23000000' opacity='1' data-original='%23000000' class=''%3E%3C/path%3E%3C/g%3E%3C/svg%3E") no-repeat;
    background-size: 16px;
    background-position: center;
  }

  .navbar-collapse {
    position: absolute;
    width: 100%;
    top: 35px;
    left: 0;
    right: 0;
    z-index: -1;
  }

  ul.navbar-nav {
    background: #FFF;
    border-radius: 0px 0px 50px 50px;
    box-shadow: 0px 6px 7px rgba(39, 111, 176, 0.15);
    padding: 50px 20px 20px;
  }

  .hero {
    padding: 170px 0px 120px 0px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .what-we-do-card {
    padding: 2rem;
  }

  .what-we-do-card ul {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .how-steps {
    flex-direction: column;
    align-items: center;
  }

  .arrow-next::after {
    width: 50%;
    height: 50%;
    left: 80%;
  }

  .step-text {
    font-size: 14px;
    line-height: normal;
  }

  .benefit-card {
    margin-bottom: 1.5rem;
  }

  .benefits-section .subtitle {
    margin-bottom: 2rem;
  }

  .contact-card {
    padding: 2em;
  }

  .contact-btn {
    padding: 11px 20px;
    font-size: 16px;
    line-height: normal;
  }

  .row-wrapper .col-lg-8,
  .row-wrapper .col-lg-4 {
    padding-left: 12px;
    border: none;
  }

}

@media (max-width: 767.98px) {
  header {
    padding: 10px 0px;
  }

  .hero {
    padding: 9rem 0 7rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 32px;
  }

  .what-we-do-card {
    padding: 1.5rem;
  }

  .what-we-do-image {
    max-width: 100%;
  }

  .what-we-do-card p {
    font-size: 18px;
    line-height: normal;
  }

  .benefits-section {
    padding: 4rem 0;
  }

  .benefits-section .subtitle {
    padding: 0 1rem;
    font-size: 1rem;
  }

  .benefit-card {
    margin-bottom: 1.5rem;
  }

  .arrow-next::after {
    display: none;
  }

  .how-steps {
    margin: 2.5rem 0px;
  }

  .how-steps .row {
    row-gap: 25px;
  }

  .contact-section {
    padding-bottom: 3rem;
  }

  .contact-subtitle {
    margin-bottom: 1rem;
  }

  footer .footer-links,
  .social-links {
    gap: 20px;
  }

  footer .footer-links a,
  footer .social-links a {
    margin: 0px;
  }

  .conversation-wrapper {
    padding: 150px 0px 70px;
  }
}

@media (max-width: 576.98px) {
  .navbar-brand img {
    height: 28px;
    padding-left: 10px;
  }

  .btn-contact {
    padding: 11px 22px;
    font-size: 16px;
    line-height: normal;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 42px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero {
    padding: 8rem 0 7rem;
    text-align: center;
  }

  .what-we-do-card {
    padding: 1.5rem;
    border-radius: 30px;
  }

  .what-we-do-card p {
    font-size: 16px;
    line-height: normal;
  }

  .what-we-do-card ul li {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0.4rem;
  }

  .benefits-section {
    padding: 3rem 0;
  }

  .benefits-section .subtitle {
    font-size: 0.88rem;
  }

  .benefit-card {
    margin-bottom: 1rem;
    padding: 1.3rem;
  }

  .benefit-card .img-wrapper {
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
  }

  .benefit-card img {
    width: 32px;
  }

  .how-steps {
    margin: 1rem 0 2.5rem 0px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 23.0882px;
  }

  .step {
    width: 100%;
  }

  .contact-card {
    padding: 1.2em;
    border-radius: 30px;
  }

  .contact-subtitle {
    font-size: 14px;
  }

  .form-control {
    margin-bottom: 0.6rem;
    font-size: 14px;
  }

  footer {
    padding-top: 2rem;
  }

  .section-icon {
    width: 40px;
    height: 40px;
  }

  .chat-bubble {
    font-size: 14px;
    padding: 10px 10px;
    border-radius: 12px;
  }

  .chat-icon {
    width: 32px;
    height: 32px;
  }

  .message-box-apt .chat-icon {
    padding: 6px;
  }

  .audio-conversation {
    padding: 20px 0px 0px;
  }

  .conversation-wrapper {
    padding: 120px 0px 40px;
  }

  .audio-medium-heading {
    font-size: 20px;
  }

  .audio-box {
    gap: 12px;
    padding: 15px;
    margin: 10px 0px;
  }

  .audio-box svg {
    width: 40px;
    flex: 0 0 40px;
  }

  .audio-box a {
    font-size: 16px;
  }
}