*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f4f8;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 76px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  max-width: 45%;
}

.logo img {
  height: 70px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.helpline-text {
  margin-left: 5px;
  display: flex;
}

.helpline-text h3,
.helpline-text p {
  margin: 0;
}

.helpline-text p {
  font-size: 16px;
  font-weight: 500;
  text-align: right;
}

main {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  /* padding: 50px 20px; */
  position: relative;
  background: url("images/banner.jpg") no-repeat center center/cover;
  background-size: cover;
  color: #fff;
}

main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: rgba(0, 39, 116, 0.75);
  z-index: 1;
}

.content {
  z-index: 2;
  width: 50%;
  padding: 100px 6%;
}

.content h1 {
  font-size: 2.5em;
  margin-top: 0;
}

.content h1 .say-goodbye {
  color: rgba(0, 255, 255, 1);
  font-size: 45px;
  font-weight: 700;
  line-height: 59.47px;
  text-align: left;
}
.content h1 .painful-knees {
  font-weight: normal;
}

.content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 30px;
  font-weight: 400;
  /* line-height: 44.37px;
  letter-spacing: -0.01em; */
  text-align: left;
}

.content button,
.text-section button {
  text-transform: uppercase;
  /* width: 344.81px; */
  padding: 20px 25px;
  margin-top: 20px;
  border: none;
  border-radius: 77.16px 77.16px 77.16px 77.16px;
  opacity: 1;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0.96px 3.86px 11.29px rgba(0, 0, 0, 0.25);
  font-size: 19.11px;
  letter-spacing: -0.01em;
  color: rgba(0, 28, 87, 1);
}
button:hover {
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.call-icon {
  height: 56px;
  width: 56px;
}
.helpline {
  font-size: 28px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.free_consultation {
  background-color: rgba(0, 93, 233, 0.04);
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding-top: 60px;
  padding-bottom: 60px;
  justify-content: space-between;
  /* justify-content: space-around; */
  /* align-items: center; */
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.item:last-child {
  margin-bottom: 0;
}

.icon {
  background-color: rgba(0, 102, 255, 1);
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
  flex-shrink: 0;
  border-radius: 45.5px;
}

.icon img {
  width: 40px;
  height: 40px;
}

.text {
  font-size: 22px;
  line-height: 29px;
  color: rgba(0, 0, 0, 1);
  font-weight: 550;
}

.content_inner {
  flex: 0 1 48%;
}

.form-container {
  padding: 15px;
  /* margin-right: 60px; */
  /* margin-bottom: 100px; */
  /* width: 27%; */
  flex: 0 1 40%;
  /* width: 37%; */
  background-color: rgba(255, 255, 255, 1);
  /* padding: 20px; */
  border-radius: 8px;
  box-shadow: 0px 0px 29.99px 0px rgba(0, 51, 163, 0.17);
}

.form-container h2 {
  text-align: center;
  font-size: 31.68px;
  margin: 20px auto -2px auto;
}

.form-container form {
  display: flex;
  flex-direction: column;
}

.form-container input,
.form-container select,
.form-container textarea,
.form-container button {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-container button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 61px;
  max-width: 29%;
  text-align: center;
}

.form-container button:hover {
  background-color: #0056b3;
}

.text-style {
  font-weight: bold;
}

.diverse_treatments {
  background: #fff;
}

.container-card {
  text-align: center;
  /* padding: 50px; */
  /* background-color: #fff; */

  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container-card h1 {
  font-size: 45px;
  color: rgba(0, 0, 0, 1);
  line-height: 49px;
}

.container-card p {
  font-size: 18px;
  color: rgba(41, 41, 41, 0.8);
  text-align: center;
  line-height: 29px;
}

.description {
  font-size: 18px;
  color: #666;
  margin: 20px 0 40px;
}

.treatments {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.treatment {
  background-color: rgba(245, 249, 254, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 22%;
  /* margin: 10px; */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  height: 280px;
  cursor: pointer;
  margin-bottom: 15px;
}
.treatment:hover {
  box-shadow: 9px 8px 80px 0px rgba(137, 178, 192, 0.34);
  background-color: rgb(255, 255, 255);
}

.treatment img {
  max-width: 100px;
  margin-bottom: 20px;
}

.treatment h2 {
  font-size: 24px;
  color: rgba(0, 0, 0, 1);
  margin: 10px 0;
  text-align: center;
}

.treatment p {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.01em;
  text-align: center;
}

.video-section {
  display: flex;
  background: linear-gradient(99.14deg, #2875ea 12.66%, #0046ae 91.62%);
  color: white;
  /* padding: 20px; */
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.image-section {
  flex: 0 1 48%;
  position: relative;
  /* flex: 1.5; */
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-left: 16px; */
}

.image-section img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
}

.text-section {
  flex: 0 1 48%;
  gap: 0px;
  /* opacity: 0px; */
}

.text-section h1 {
  font-size: 45px;
  margin-top: 0;
  margin-bottom: 1px;
}

.text-section p {
  font-size: 18px;
  line-height: 26px;
  /* opacity: 0.5; */
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* .text-section button {
  text-transform: uppercase;
  margin-top: -5px;
  width: 344.81px;
  padding: 28.94px 43.41px;
  border: none;
  border-radius: 77.16px 77.16px 77.16px 77.16px;
  opacity: 1;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0.96px 3.86px 11.29px rgba(0, 0, 0, 0.25);
  font-size: 20.11px;
  letter-spacing: -0.01em;
  color: rgba(0, 28, 87, 1);
} */

.text-section button:hover {
  background-color: #e6e6e6;
}

.testimonial-container {
  text-align: center;
}
.testimonial-header {
  font-size: 45px;
  line-height: 52px;
  color: rgba(0, 0, 0, 1);
  font-weight: bold;
  margin-top: 60px;
}
.stars {
  color: rgba(255, 199, 0, 1);
  font-size: 1.2em;
  margin-bottom: 10px;
}
.testimonial-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.testimonial-card {
  background-color: rgba(236, 245, 255, 0.35);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 0 0 360px;
  /* width: 360px; */
  padding: 20px 15px 21px 14px;
  text-align: center;
  position: relative;
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.14);
  margin-top: 55px;
}
.testimonial-card img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  border: none;
}
.testimonial-name {
  font-size: 18px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 5px;
}
.testimonial-role {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 5px;
  font-size: 16px;
}
.testimonial-text {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 22px;
}

.faq-container {
  background-color: rgba(0, 93, 233, 0.04);
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-bottom: 50px;
  padding-top: 100px;
}

.faq-image {
  /* height: 598px; */
  flex: 0 0 43%;
  /* width: 480px; */
  /* margin-left: 64px;
  margin-right: 75px; */
  background-image: url("./images/faq.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  border: none;
  border-radius: 10px;
}

.faq-contant {
  flex: 0 1 52%;
}

.faq-title {
  font-size: 45px;
  font-weight: bold;
  margin-bottom: 51px;
  margin-top: -10px;
}

.faq-item {
  border: 2px solid #ddd;
  border-radius: 10px;
  margin: 10px 0 10px 0px;
}
.faq-item:hover {
  border: 2px solid #c9c8c8;
  border-radius: 10px;
  margin-bottom: 10px;
}

.faq-item-header {
  padding: 20px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item-header:after {
  content: "+";
  font-size: 24px;
}

.faq-item-content {
  display: none;
  padding: 15px;
  font-size: 16px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 0px 0px 8px 8px;
}

.faq-item.active .faq-item-content {
  display: block;
  line-height: 22px;
}

.faq-item.active .faq-item-header:after {
  content: "-";
  font-size: 28px;
}

.contact-button {
  text-transform: uppercase;
  /* width: 332.81px; */
  padding: 25.94px 43.41px;
  border: none;
  border-radius: 77.16px;
  opacity: 1;
  box-shadow: 0.96px 3.86px 11.29px rgba(0, 0, 0, 0.25);
  font-size: 18.11px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(61, 134, 245, 1);
  text-decoration: none;
  display: block;
  margin: 30px auto 0 0;
}

.contact-button:hover {
  background-color: #0056b3;
}

.footer-container {
  background-color: rgba(6, 77, 182, 1);
  color: white;
  text-align: center;
  padding: 16px 30%;
  width: 100%;
}

footer p {
  margin: 0;
}

.support-icon {
  position: fixed;
  right: 53px;
  bottom: 100px;
  border-radius: 50%;
  padding: 15px;
  z-index: 1000;
}

.support-icon img {
  width: 70px;
  height: 70px;
}

.support-icon a {
  text-decoration: none;
}

.modal {
  overflow: auto;
  display: none;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  border-radius: 10px;
  background-color: #fefefe;
  margin: 15px auto;
  padding: 11px;
  border: 1px solid #888;
  width: 41%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-adjust {
  width: 53%;
}


.modal-content h1 {
  text-align: center;
  background: linear-gradient(99.14deg, #2875ea 12.66%, #0046ae 91.62%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 25px;
}

.close,
.close2 {
  background: linear-gradient(99.14deg, #2875ea 12.66%, #0046ae 91.62%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  float: right;
  font-size: 30px;
  margin-top: -10px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  background: linear-gradient(99.14deg, #f50e0e 12.66%, #ff0000 91.62%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  cursor: pointer;
}

.close2:hover,
.close2:focus {
  background: linear-gradient(99.14deg, #f50e0e 12.66%, #ff0000 91.62%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  cursor: pointer;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 2; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0, 0, 0); 
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content-video {
  border-radius: 10px;
  background-color: #fefefe;
  margin: 15px auto;
  padding: 11px;
  border: 1px solid #888;
  width: 41%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-adjust iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.footer-container .container {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* .testimonial-container .container { justify-content: space-around;} */

@media screen and (min-width: 1200px) {
  .container,
  .container-card {
    max-width: 1240px;
  }
}

/* old responsive*/
/* @media (max-width: 1200px) {
  .content {
    width: 60%;
  }
} */

@media (max-width: 1024px) {
  .modal-content {
    width: 80%;
    padding: 15px;
  }
  .container,
  .container-card {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  /* header {
    flex-direction: column;
  } */

  .logo img {
    height: 50px;
  }

  main {
    flex-direction: column;
    padding: 20px;
  }

  main::after {
    width: 100%;
    height: 100%;
  }

  .content {
    /* width: 100%;
    text-align: center;
    margin: 10px 7px 260px 10px; */
    width: 100%;
    text-align: left;
    /* margin: 10px 7px 150px; */
    font-size: 15px;
    line-height: 28px;
    padding: 50px 6%;
  }

  .text-section {
    padding-left: 0;
    padding-top: 20px;
  }

  /* .image-section,
  .text-section {
    flex: 1;
  } */

  .content button,
  .text-section button,
  .contact-button {
    padding: 17.94px 15.41px;
    font-size: 16px;
  }

  .content_inner {
    flex: 0 1 50%;
  }
  .form-container {
    flex: 0 0 45%;
  }
  .modal-content {
    width: 80%;
    padding: 15px;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .video-section,
  .testimonial-grid,
  .container .content,
  .container-card .treatments {
    flex-direction: column;
    align-items: center;
  }

  /* .modal-content {
    width: 90%;
  } */

  .modal-content-video {
    width: 90%;
    margin: -20% auto;
  }

  .header .helpline-text p {
    font-size: 0.8em;
  }

  main .content h1 {
    font-size: 2em;
  }

  .container .item,
  .container-card .treatment,
  .testimonial-card,
  .faq-container .faq-item {
    /* width: 100%;
    margin: 10px 0; */
  }
  .modal-content {
    border-radius: 10px;
    background-color: #fefefe;
    margin: 15px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 92%;
  }

  /* .video-section .text-section,
  .video-section .image-section {
    width: 87%;
  } */

  .video-section .text-section {
    margin-top: 20px;
  }

  /* .container .item,
  .container-card .treatment,
  .testimonial-card,
  .faq-container .faq-item {
    margin: 10px 0;
  } */

  .testimonial-card {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    /* display: block; */
    padding: 30px;
  }

  .free_consultation .container {
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
  }

  .info,
  .form-container {
    width: 92%;
  }

  .form-container {
    margin-top: 20px;
  }

  .treatments {
    flex-direction: column;
  }

  .treatment {
    width: 100%;
  }

  .faq-container {
    flex-direction: column;
    /* padding-left: 10px;
    padding-right: 10px; */
  }

  .faq-image {
    margin-bottom: 50px;
    max-width: 100%;
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
    min-height: 50vh;
  }

  .faq-contant {
    /* padding: 20px; */
    margin: 0px 10px;
  }

  .faq-item {
    margin: 10px 0;
  }

  .icon {
    width: 60px;
    height: 60px;
  }
  .icon img {
    width: 25px;
    height: 25px;
  }
  .text {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 10px;
  }

  .logo img {
    height: 60px;
    max-width: 100%;
  }

  .call-icon {
    height: 40px;
    width: 40px;
  }
  .helpline {
    font-size: 24px;
  }

  .helpline-text h3,
  .helpline-text p {
    font-size: 14px;
  }

  .content h1 {
    font-size: 1.8em;
  }

  .content p {
    font-size: 1em;
  }

  .content button {
    /* font-size: 1.2em; */
    /* padding: 17.94px 15.41px; */
  }

  .text-section {
    max-width: 100%;
  }

  .text-section h1 {
    font-size: 1.5em;
  }

  .text-section p {
    font-size: 12px;
    word-break: break-all;
  }

  /* .text-section button {
    font-size: 14px;
    padding: 16px 32px;
    width: 236.81px;
  } */

  .testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 62px;
    flex-wrap: wrap;
  }
  .testimonial-section h1 {
    font-size: 1.5em;
  }

  .testimonial h2 {
    font-size: 1em;
  }

  .quote {
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  /* header {
    flex-direction: column;
  } */

  header nav {
    margin-top: 10px;
  }

  header nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav ul li {
    margin-right: 0;
    margin-bottom: 10px;
  }

  main .content h1 {
    font-size: 1.5em;
  }
  .modal-content {
    width: 95%;
  }
  .video-section .text-section h1,
  .container-card h1,
  .testimonial-header,
  .faq-container .faq-title {
    font-size: 2em;
  }

  .container-card .description,
  .video-section .text-section p,
  .testimonial-card .testimonial-text,
  .faq-container .faq-item-content {
    font-size: 1em;
  }

  footer nav ul {
    flex-direction: column;
    align-items: center;
  }

  footer nav ul li {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
