:root {
    --primary-color: #51A5A9;
    --font-family: Arial, sans-serif;
}
body{
    font-family: Arial, sans-serif !important;
}
.heading-2{
    font-size: 45px;
    font-size: 45px;
    color: #333;
    line-height: 50px;
    letter-spacing: -2.4px;
}
.listing_links ul li a {
    font-family: Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
}
section#header_main.nav-up {
    top: inherit !important;
    background-color: white !important;
    border-bottom: 1px solid #d4d4d4;
}
section#header_main.nav-down.transparent {
    background-color: white !important;
    border-bottom: 1px solid #d4d4d4;
}
section#header_main{
    background-color: white !important;
    border-bottom: 1px solid #d4d4d4;
}
section#header_main{
    padding: 15px;
}
.banner_text {
    max-width: 820px;
}
.banner_text h1{
    letter-spacing: -2.4px;
    font-size: 64px;
    font-weight: 600;
    line-height: 80px;
}
.align_all_banner {
    padding-top: 8rem;
}
.gradient-heading{
    font-weight: 700;
    background: linear-gradient(to right, #51a5a9, #316c6a, #51a5a9, #316c6a, #51a5a9);
    background-size: 250%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bgeffect 20s ease-in-out infinite;
}
.banner_text p {
    max-width: 800px;
    margin: auto;
    font-size: 16px;
    color: black;
}
.banner_images{
    margin-top: 2.5rem;
}
.main-header-img{
    margin-bottom: 1.4rem;
}
.about_text p::before {
    content: inherit;
}
.about_text p{
    padding-left: 0;
}
.about_text h2{
    max-width: inherit;
}
.about_text h2{
    font-size: 45px;
}
.about_text p{
    font-weight: 400;
    font-size: 20px;
    color: black;
}
.pharma-img{
    width: 100%;
    border-radius: 24px;
}
.img-with-text-button{
    float: right;
    margin-top: 1rem;
    min-width: 200px;
    margin-top: 5rem;
}
/* .about_text p {
    max-width: 650px;
} */
section#about_boxes .row{
    max-width: inherit;
}
.box_align_about{
    min-height: 273px;
    border-radius: 8px;
    flex-direction: column;
    border-bottom: 5px solid #316c6b;
}
.about_box_text p{
    max-width: 100%;
    font-size: 16px;
}
.about_box_text{
  margin-top: 1.5rem;
}
section#match {
    background: url('../img/what-we-do-main.png');
}
section#match::before{
    content: inherit;
}
.feature-img{
    border: 1.5px solid #316c6b;
    border-radius: 12px;
    height: 430px;
    position: relative;
    overflow: hidden;
    box-shadow: 4px 4px #316c6b;
}
.feature-img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.match_text h2{
    color: #333;
    font-weight: 600;
    font-size: 45px;
}
.what-we-do{
    border-top: 1px solid #e4e4e7;
    border-bottom: 1px solid #e4e4e7;
    padding: 48px 20px;
}
.what-we-do p{
    font-size: 20px;
    font-weight: 400;
    color: #000;
}
section#match{
    padding: 3rem 0;
}
.testimonial-card-filled{
    color: #0e251f;
    /* background-color: #f4faf8; */
    background-color: #51a5a9;
    padding: 32px;
    min-height: 470px;
    border-radius: 10px;
}
.client-img-name{
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    flex-direction: column;
    display: flex;
}
.avatar-with-name{
    display: flex;
    gap: 20px;
    align-items: center;
}
.testimonial-logo-wrapper{
        background-color: #fff;
        border-radius: 250px;
        padding: 8px;
}
.avatar-medium {
    width: 64px;
    height: 64px;
}
.testimonial-logo-wrapper img{
    max-width: 100%;
    width: 35px;
}
.testimonials_box .testimonial-card-filled:nth-child(2){
    /* background-color: #fefee7; */
    background-color: #51A5A9;
    border-radius: 10px;
}
.testimonials_box .testimonial-card-filled:nth-child(3){
    /* background-color: #f3f6fc; */
    background-color: #51A5A9;
    border-radius: 10px;
}
.column-tiny {
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    flex-direction: column;
    display: flex;
}
.column-tiny.size-grow {
    flex: 1;
}
.client-feedback{
    font-size: 20px;
    font-weight: 500;
    color: #000;
}
.testimonials_box{
    flex-wrap: nowrap;
    height: auto;
    gap: 30px;
}
.title_testimonials h2{
    color: #333;
    font-size: 45px;
    font-weight: 600;
}
.title_testimonials{
    margin-bottom: 5rem;
}
.column-tiny.size-grow h5{
    margin-bottom: 0 !important;
}
.client-feedback p{
    font-size: 20px;
    color: #000;
    letter-spacing: -.02em;
    line-height: 36px;
}
#questions {
    /* clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 100%); */
    clip-path: none;
}
.collapse-area{
    margin: 0 auto;
    background-color: #fff;
    border: .5px solid #d5d9e2;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
}
.collapse-area .accordion-item{
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
    border: none;
}
#profile, #contact{
    border: 0 !important;
}
.collapse-area .accordion-button::after {
    width: 16px;
    height: 16px;
    background-size: 8px;
    background-color: #edeff3;
    padding: 12px; 
    border-radius: 99px;
    background-image: url(../img/down.png);
}
.collapse-area .accordion-button:not(.collapsed)::after {
    background-image: url(../img/up.png);
}
.collapse-area .accordion-body{
    font-size: 14px;
    color: #525f75;
    line-height: 20px;
    margin-bottom: 0;
}
.text_contact h2{
  font-size: 45px;
  color: #fff;
  line-height: 50px;
  font-weight: 600;
}
.text_contact {
    max-width: 890px;
}
.text_contact a, .about_text a{
    font-size: 18px;
}
#contact_home {
    background-image: linear-gradient(#316c6bed, #316c6bed), url(../img/contact-medicine-bg.png);
    background-position: 0 0, 0 100%;
    background-size: auto, cover;
    padding-top: 40px;
    padding-bottom: 60px;
}
#contact_home{
    padding: 70px 5%;
}

/* Main footer background */
section#footer_main {
  background-color: white;
  margin-top: 2rem;
  width: 100%;
  padding: 0;
}   

/* Main footer content area */
.align_footer {
  display: flex;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 60px 20px 40px 20px;
  margin: 0;
  background-color: white;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo section */
.footer_logo {
  grid-column: 1;
}

.footer_logo img {
  max-width: 150px;
  height: auto;
}

/* Contact section styling */
.footer-address {
  color: #333;
}

.footer-address h4,
.footer_links h4,
.footer_social h4 {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-address p {
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.5;
  word-wrap: break-word;
}

.footer-address a {
  color: #51a5a9;
  text-decoration: underline;
  word-break: break-all;
}

/* Footer links styling */
.footer_links {
  flex-grow: 0;
}

.footer_links ul {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #333;
  list-style: none;
  margin: 0;
}

.footer_links ul li {
  width: 100%;
  margin-bottom: 6px; /* Reduced from 12px */
}

.footer_links ul li a {
  font-size: 14px;
  font-family: Arial, sans-serif;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-left: 0;
}

.footer_links ul li a:hover {
  color: #51a5a9;
}

/* Social column specific styling */
.footer_social_column ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_social_column ul li {
  margin-bottom: 12px;
}

.footer_social_column ul li a {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer_social_column ul li a:hover {
  /* color: #51a5a9; */
}

.footer_social_column ul li a i {
  font-size: 16px;
  width: 16px;
  flex-shrink: 0;
}

/* Bottom footer section - Full width background */
.bottom_footer {
  background-color: #51a5a9;
  border-top: none;
  padding: 20px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.bottom_footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  display: flex;
  align-items: center;
  gap: 30px;
}

.copyright p {
  color: #fff;
  font-size: 14px;
  margin: 0;
  font-family: Arial, sans-serif;
}

.policy_links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.policy_links a {
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
  font-family: Arial, sans-serif;
  margin-left: 0;
}

.policy_links span {
  color: #fff;
  font-size: 14px;
}

/* Partner logos in bottom section */
.bottom-partners {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.bottom-partners div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-partners img {
  background-color: white;
  padding: 8px 12px;
  border-radius: 4px;
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
}

/* Tablet responsive - 768px to 1024px */
@media only screen and (max-width: 1024px) and (min-width: 769px) {
  .align_footer {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    padding: 50px 20px 35px 20px;
  }

  .footer_logo {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-address {
    grid-column: 1;
  }

  

  .footer_links h4 {
    grid-column: 2;
  }

  .footer_links_legal {
    grid-column: 3;
  }

  .footer_social_column {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
  }

  .footer_social_column ul {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .footer_social_column ul li a {
    justify-content: center;
  }
}

/* Mobile responsive - up to 768px */
@media only screen and (max-width: 768px) {
  .align_footer {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 40px 15px 30px 15px;
  }

  .footer_logo {
    grid-column: 1;
    margin-bottom: 30px;
  }

  .footer_logo img {
    max-width: 120px;
  }

  .footer-address h4,
  .footer_links h4,
  .footer_social h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-address p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer_links ul li a {
    font-size: 14px;
    display: block;
    padding: 0.1rem 0; /* Reduced vertical padding */
  }
  .footer_links ul li {
    margin-bottom: 4px; /* Further reduce gap on mobile */
  }

  .footer_social_column ul {
    flex-direction: column;
    align-items: center;
  }

  .footer_social_column ul li a {
    justify-content: center;
    font-size: 14px;
  }

  .bottom_footer .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 0 15px;
  }

  .copyright {
    flex-direction: column;
    gap: 15px;
  }

  .copyright p {
    font-size: 12px;
  }

  .policy_links a {
    font-size: 12px;
  }

  .bottom-partners {
    justify-content: center;
    gap: 15px;
  }

  .bottom-partners img {
    max-height: 35px;
    max-width: 100px;
  }
}

/* Small mobile responsive - up to 480px */
@media only screen and (max-width: 480px) {
  .align_footer {
    padding: 30px 10px 25px 10px;
    gap: 25px;
  }
  .testimonials_box{
    flex-wrap: wrap;
  }

  .footer_logo img {
    max-width: 100px;
  }

  .footer-address h4,
  .footer_links h4,
  .footer_social h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .footer-address p {
    font-size: 13px;
    line-height: 1.4;
  }

  .footer_links ul li a,
  .footer_social ul li a {
    font-size: 13px;
  }
  .footer_links ul li {
    margin-bottom: 2px; /* Minimal gap for small screens */
  }

  .footer_social_column ul li a {
    font-size: 13px;
  }

  .bottom_footer .container {
    padding: 0 10px;
  }

  .copyright p {
    font-size: 11px;
  }

  .policy_links {
    flex-direction: column;
    gap: 8px;
  }

  .policy_links a {
    font-size: 11px;
  }

  .policy_links span {
    display: none;
  }

  .bottom-partners {
    flex-direction: column;
    gap: 12px;
  }

  .bottom-partners img {
    max-height: 30px;
    max-width: 80px;
  }
}

/* Extra small mobile - up to 320px */
@media only screen and (max-width: 320px) {
  .align_footer {
    padding: 25px 8px 20px 8px;
    gap: 20px;
  }

  .footer_logo img {
    max-width: 80px;
  }

  .footer-address p {
    font-size: 12px;
  }

  .footer_links ul li a,
  .footer_social ul li a {
    font-size: 12px;
  }
  .footer_links ul li {
    margin-bottom: 1px;
  }

  .bottom-partners img {
    max-height: 25px;
    max-width: 70px;
    padding: 4px 8px;
  }
}

/* Landscape mobile orientation */
@media only screen and (max-height: 500px) and (orientation: landscape) {
  .align_footer {
    padding: 20px 15px 15px 15px;
  }

  .footer_logo {
    margin-bottom: 15px;
  }
 .footer_logo {
    margin-bottom: 15px;
  }
  .footer-address h4,
  .footer_links h4,
  .footer_social h4 {
    margin-bottom: 10px;
  }
}

.footer-address h4{
    color: #336B6B;
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
  }

.footer-address p {
  font-size: 18px;
  color: #000;
  line-height: 27px;
}
.footer-address p a {
 color: #336B6B;
 font-size: 16px;
}
  .footer_links h4{
    color: #336B6B;
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
  }

   .footer_links ul li a{
     font-size: 18px;
      color: #000;
      line-height: 27px;
  }

  .footer_social h4 {
    color: #336B6B;
    font-size: 18px;
    font-weight: 500 !important;
    font-style: normal;
  } 

  .footer_social ul li a{
      font-size: 18px;
      color: #000;
      line-height: 27px;
  }

  .footer_logo{
    padding-left: 45px;
  }

   .custom-bg {
    background-color: #51a4a8;
    padding: 30px;
  }

  .policy_links a{
    font-size: 16px;
  }

  .new-footer{
    margin-bottom: 48px;
    margin-top: 48px;
  }
  .new-bottom{
    margin-left: 18px;
    margin-top: 10px;
  }

  .footer_social i {
    color: #51A5A9;
  }

  @media only screen and (max-width: 990px) {
    .testimonials_box{
      flex-wrap: wrap  !important;
    }
  }
  /* Tablet Responsive - 768px to 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer_logo {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 0;
  }

  .footer-address h4,
  .footer_links h4,
  .footer_social h4 {
    font-size: 16px;
    margin-bottom: 1.2rem;
  }

  .footer-address p,
  .footer_links ul li a,
  .footer_social ul li a {
    font-size: 15px;
  }

  .footer_social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer_social ul li {
    margin-bottom: 0.5rem;
  }

  .bottom-partners {
    gap: 15px;
  }

  .bottom-partners img {
    max-height: 35px;
    max-width: 100px;
  }
}

/* Mobile Responsive - up to 768px */
@media (max-width: 768px) {
  .footer_logo {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0;
  }

  .footer_logo img {
    max-width: 120px;
  }

  .footer-address h4,
  .footer_links h4,
  .footer_social h4 {
    font-size: 16px;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer-address {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer-address p {
    font-size: 14px;
    margin-bottom: 0.7rem;
  }

  .footer_links {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer_links ul li a {
    font-size: 14px;
    display: block;
    padding: 0.3rem 0;
  }

  .footer_social {
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer_social ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer_social ul li a {
    font-size: 14px;
    justify-content: center;
  }

  /* Bottom footer mobile adjustments */
  .custom-bg {
    padding: 20px 0;
  }

  .d-flex.justify-content-between {
    flex-direction: column !important;
    gap: 1rem;
    text-align: center;
  }

  .new-bottom p {
    font-size: 14px;
  }

  .policy_links {
    order: 2;
  }

  .policy_links a {
    font-size: 14px;
  }

  .bottom-partners {
    order: 3;
    justify-content: center;
  }

  .bottom-partners img {
    max-height: 35px;
    max-width: 100px;
  }
}

/* Small Mobile - up to 480px */
@media (max-width: 480px) {
  .new-footer {
    margin: 20px 0;
  }

  .footer_logo img {
    max-width: 100px;
  }

  .footer-address h4,
  .footer_links h4,
  .footer_social h4 {
    font-size: 14px;
    margin-bottom: 0.2rem;
  }

  .footer-address p {
    font-size: 13px;
    line-height: 1;
  }

  .footer_links ul li a,
  .footer_social ul li a {
    font-size: 13px;
  }
  .footer_links ul li {
    margin-bottom: 2px; /* Even less padding for small screens */
  }

  .custom-bg {
    padding: 15px 0;
  }

  .new-bottom p {
    font-size: 12px;
  }

  .policy_links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .policy_links a {
    font-size: 12px;
  }

  .policy_links span {
    display: none;
  }

  .bottom-partners {
    flex-direction: column;
    gap: 0.8rem;
  }

  .bottom-partners img {
    max-height: 30px;
    max-width: 80px;
  }
}

/* Extra Small Mobile - up to 320px */
@media (max-width: 320px) {
  .footer_logo img {
    max-width: 80px;
  }

  .footer-address p {
    font-size: 12px;
  }

  .footer_links ul li a,
  .footer_social ul li a {
    font-size: 12px;
  }
  .footer_links ul li {
    margin-bottom: 1px;
  }

  .new-bottom p {
    font-size: 11px;
  }

  .policy_links a {
    font-size: 11px;
  }

  .bottom-partners img {
    max-height: 25px;
    max-width: 70px;
    padding: 4px 8px;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .new-footer {
    margin: 20px 0;
  }

  .footer_logo {
    margin-bottom: 1rem;
  }

  .footer-address h4,
  .footer_links h4,
  .footer_social h4 {
    margin-bottom: 0.8rem;
  }

  .custom-bg {
    padding: 15px 0;
  }
}

/* Fix for Bootstrap flex utilities on mobile */
@media (max-width: 768px) {
  .d-flex.justify-content-between {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .container-fluid.px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}


  

