    /* Custom styles */
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  position: relative; /* Ensure positioning context for pseudo-elements */
}
.swiper-client-msg {
  padding: 20px;
  position: relative; /* Ensure positioning context for pseudo-elements */
}
.swiper-client-msg p {
  position: relative; /* Ensure positioning context for pseudo-elements */
  font-size: 18px; /* Default font size */
}
.swiper-client-data {
  padding: 20px;
}
.swiper-client-msg p {
  position: relative; /* Ensure positioning context for pseudo-elements */
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
}

/* Pseudo-elements */
/* .swiper-client-msg p::before,
.swiper-client-msg p::after {
  position: absolute;  
  color: #fb7c04;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.swiper-client-msg p::before {
  content: "\f10d";
  top: 0.5rem;
  left: 2rem;
  font-size: 3rem;
} */

/* .swiper-client-msg p::after {
  content: "\f10e";
  bottom: 0.5rem;
  right: 2rem;
  font-size: 3rem;
} */
/* Responsive styles for screens up to 1024px */
@media only screen and (max-width: 1024px) {
  .swiper-client-msg p::before,
  .swiper-client-msg p::after {
    display: none; /* Hide the pseudo-elements for screens up to 1024px */
  }
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  .swiper-client-msg p::before,
  .swiper-client-msg p::after {
    display: none; /* Adjust font size for smaller screens */
  }
}

@media only screen and (max-width: 480px) {
  .swiper-client-msg p::before,
  .swiper-client-msg p::after {
    display: none; /* Further adjust font size for even smaller screens */
  }
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  .swiper-client-msg p {
    font-size: 16px; /* Adjust font size for smaller screens */
  }
}

@media only screen and (max-width: 480px) {
  .swiper-client-msg p {
    font-size: 14px; /* Further adjust font size for even smaller screens */
  }
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
@media only screen and (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

@media (max-width: 1024px) {
  #main-footer .row > div[class*="col-"] {
    flex: 0 0 100%; /* Two columns on screens up to 1024px */
  }
}

@media (max-width: 768px) {
  #main-footer .row > div[class*="col-"] {
    flex: 0 0 100%; /* Full width for all columns on screens up to 768px */
    text-align: center; /* Center align text */
  }
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  #joint-care_main_section {
        height: 300px; /* Adjust height for screens up to 768px */
    }
}

@media only screen and (max-width: 576px) {
  #joint-care_main_section {
        height: 200px; /* Adjust height for screens up to 576px */
    }
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  #joint-care_main_section .text-block {
        top: 40%; /* Adjust top position for screens up to 768px */
    }
    #liver_care_main_section_D .col-xl-4, .col-lg-4 .col-md-6{
      margin-bottom: 10px;
    }
}

@media only screen and (max-width: 576px) {
  #joint-care_main_section .text-block {
        top: 50%; /* Adjust top position for screens up to 576px */
    }
    #liver_care_main_section_D .col-xl-4, .col-lg-4 .col-md-6{
      margin-bottom: 10px;
    }
}

#joint-care_main_section {
  position: relative;
  background-image: url(images/bone.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
}

#joint-care_main_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cdcdcd;
  /* Adjust opacity to 0.8 */
  opacity: 0.2;
}
#joint-care_main_section .text-block {
  position: absolute;
  top: 50%;
  /* Position it at the vertical center */
  transform: translateY(-50%);
  /* Center vertically */
  /* Font size */
  font-weight: bold;
  /* Font weight */
  font-family: "Lora", serif;
}
#joint-care_main_section h1 {
  font-family: Lora;
  font-size: 41px;
  line-height: 52px;
  font-weight: 400;
  color: #444;
}

#joint-care_main_section .text-block h2,
#joint-care_main_section .text-block p {
color: #ffffff;
}
#joint-care_main_section .text-block h2{
font-size: 40px;
color: #ffffff;
line-height: 50px;
text-align: left;
}


#joint-care_main_section h1 {
  font-family: Lora;
  font-size: 41px;
  line-height: 52px;
  font-weight: 400;
  color: #444;
}

#joint-care_main_section .text-block p {
  font-size: 14px;
  color: #444;
  text-align: left;
}
#joint-care_main_section a{
  padding-right: 24px;
  padding-left: 24px;
}
#joint-care_main_section .btn-primary {
  margin-top: 15px;
  background: #ff7f00;
  padding: 10px 15px;
  border: none;
  font-family: Merriweather;
  letter-spacing: .5px;
}
/* Adjust font size and line height for mobile devices */
@media only screen and (max-width: 576px) {
  #joint-care_main_section h1 {
      font-size: 28px !important; /* Adjust font size for smaller mobile devices */
      line-height: 36px !important; /* Adjust line height for smaller mobile devices */
  }
}


/* Adjust font size and line height for mobile and tablet */
@media only screen and (max-width: 768px) {
  #joint-care_main_section h1 {
      font-size: 36px; /* Adjust font size for mobile */
      line-height: 46px; /* Adjust line height for mobile */
  }
}

/* Tablet adjustment if needed */
@media only screen and (max-width: 992px) {
  #joint-care_main_section h1 {
      font-size: 36px; /* Adjust font size for tablet */
      line-height: 46px; /* Adjust line height for tablet */
  }
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  #joint-care_main_section {
        height: 300px; /* Adjust height for screens up to 768px */
    }
}

@media only screen and (max-width: 576px) {
  #joint-care_main_section {
        height: 200px !important; /* Adjust height for screens up to 576px */
    }
    #joint-care_main_section {
      position: relative;
      background-image: url(images/bone.jpg);
      background-position: left;
      background-repeat: no-repeat;
      background-size: cover;
      height: 400px;
    }
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  #joint-care_main_section .text-block {
        top: 40%; /* Adjust top position for screens up to 768px */
    }
    #liver_care_main_section_D .col-md-4{
      margin-bottom: 10px;
    }
}

@media only screen and (max-width: 576px) {
  #joint-care_main_section .text-block {
        top: 50%; /* Adjust top position for screens up to 576px */
    }
    #liver_care_main_section_D .col-md-4{
      margin-bottom: 10px;
    }
}