@media only screen and (max-width: 1470px) {
  .surgeon-section h2{
    font-size: 40px;
  }
  .baninning {
    top: -35rem;
    right: -27rem;
  }
  .bantext h1 {
    margin-top: 5rem;
    font-size: 45px;
    line-height: 65px;
  }
  .maintextimg img {
    width: 11rem;
  }
  .maintextimg {
    bottom: -12px;
  }
  .banner {
    height: 38rem !important;
  }
  /* .trainimg {
    margin-top: 4.7rem;
  } */
  /* .vein {
    margin-top: 14.9rem;
  } */
  /* .traininimg {
    top: -324px;
    left: 145px;
    width: 63%;
  } */
  .traininimg-text {
      top: 65px;
      right: 0;
      padding: 15px;
  }
  .trainin h3{
    font-size: 35px;
  }
  .traininimg-text p{
    font-size: 13px;
    line-height: 18px;
  }
  .traininimg-text h4{
    line-height: 1.2;
    font-size: 20px;
  }
  .copyed-text::before,
  .copyed-text::after {
    width: 19.2rem;
  }
}

@media only screen and (max-width: 1199.5px) {
  .traininimg{
    width: 70%;
  }

  .banimg img{
    position: relative;
    top: 76px;
  }
  .offcanvas-body .nav-link{
    margin: 0 8px !important;
  }
  .bantext h1 {
    margin-top: 1.4rem;
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 10px;
  }
  .maintextimg {
    bottom: -7px;
}
  .banimg {
    margin-top: 0;
    
  }
  .banner {
    height: 31rem !important;
  }
  .bantext {
    padding-left: 37px;
  }
  .bantext p {
    font-size: 17px;
    padding-top: 0px;
    line-height: 27px;
  }
  .experience {
    bottom: 10.5rem;
    left: 2.8rem;
    width: unset;
  }
  .experience h5 {
    font-size: 30px;
    font-weight: 600;
}
  .baninning {
    top: -29rem;
    right: -23rem;
  }
  .surgeon-section h2 {
    font-size: 30px;
    line-height: 40px;
    width: 100%;
  }
  .surgeon-text p {
    font-size: 18px;
    line-height: 28px;
  }
  .surgeon-button {
    font-size: 13px;
  }
  .card-surgeon {
    margin-top: 3rem;
  }

  .trainin h3 {
    font-size: 30px;
    line-height: 1.2;
  }
  .cosmo h4{
    font-size: 24px;
  }
  /* .trainimg {
    margin-top: 1.7rem;
    width: 101%;
  } */
  /* .vein {
    margin-top: 9.8rem;
  } */
  .trainin {
    /* margin-top: 4.3rem; */
  }
  /* .trainin h3 {
    font-size: 35px;
    line-height: 37px;
    padding-bottom: 0px;
  } */
  /* .vein h3 {
    font-size: 25px;
    line-height: 30px;
  } */
  /* .cosmo h4 {
    font-size: 25px;
    line-height: 30px;
  } */
  /* .trainin p {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 4px;
  } */
  /* .cosmo p {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 6px;
  } */
  /* .traininimg {
    top: -285px;
    left: 110px;
    width: 66%;
  } */
   .traininimg-text{
      top: 60px;
   }
  .traininimg-text h4{
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
  }
  .traininimg-text p {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 7px;
  }
  /* .training-section {
    height: 37.5rem;
  } */
  /* .service-title h4 {
    margin-bottom: 4px;
  } */
  .student-section h2 {
    font-size: 30px;
    line-height: 40px;
  }
  .carousel {
    margin-left: 7rem;
  }
  /* .carousel-control-next {
    width: 40px;
    height: 40px;
    left: -44px;
  } */
  /* .carousel-control-prev {
    width: 40px;
    height: 40px;
    left: -108px;
  } */
  .clients-title h4 {
    font-size: 35px;
    line-height: 30px;
  }
  .copyed-text::before,
  .copyed-text::after {
    width: 13.5rem;
  }
}

@media only screen and (max-width: 991.5px) {
 .text-contai h3{
    font-size: 20px;
  }
  .offcanvas-body .nav-link{
    margin: 10px 14px !important;
  }
  .navbar-brand img {
    width: 100px;
  }
  .social {
    display: none;
  }
  .contact-button {
    margin-right: 1rem;
  }
  .banner {
    height: 26rem !important;
  }

  .bantext h1 {
    
    margin-top: 2rem;
    font-size: 35px;
    line-height: 45px;
  }
  .maintextimg img {
    width: 8rem;
  }
  .maintextimg {
    bottom: -26px;
  }
  .bantext p {
    font-size: 15px;
    padding-top: 4px;
    line-height: 22px;
  }
  .baninning {
    top: -24rem;
    right: -17rem;
  }
  .banimg img {
    width: 108%;
  }
  .textbutton {
    gap: 8px;
  }
  .conus {
    font-size: 12px;
    padding: 11px 21px;
    border-radius: 18px;
  }
  .experience {
    bottom: 1.5rem;
  }
  .experience h5 {
    font-size: 16px;
    margin-bottom: 0;
  }
  .experience p {
    font-size: 12px;
  }
  /* .surgeon-section h2 {
    font-size: 25px;
    line-height: 27px;
  } */
  .section-title h4 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .surgeon-text p {
    font-size: 15px;
    line-height: 25px;
  }
  .surgeon-button {
    padding: 7px 27px;
  }
  .card-title {
    font-size: 17px;
  }
  .card-text {
    font-size: 12px;
  }
  /* .trainimg {
    margin-top: 0.3rem;
    width: 104%;
  } */
  /* .traininimg {
    top: -216px;
    left: 80px;
    width: 66%;
  } */
  .traininimg-text h4 {
    font-size: 18px;
    line-height: 21px;
  }
  .traininimg-text {
    top: 60px;
    right: 11px;
  }
  .traininimg-text p {
    font-size: 13px;
    line-height: 17px;
  }
  .trainimg-button {
    font-size: 12px;
    padding: 6px 16px;
  }
  .trainin {
    margin-top: 0.3rem;
  }
  /* .trainin h5 {
    margin-bottom: 3px;
    font-size: 18px;
  } */
  .trainin h5, .trainin p{
    text-align: left;
  }
  .trainin h3 {
    text-align: left;
    font-size: 26px;
    line-height: 27px;
    margin-bottom: 3px;
  }
  
  /* .trainin p {
    font-size: 13px;
    line-height: 18px;
  } */
  /* .cosmo h4 {
    font-size: 17px;
    line-height: 25px;
  } */
  /* .cosmo p {
    line-height: 18px;
    font-size: 13px;
  } */
  /* .vein p {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 5px;
  } */
  /* .vein h3 {
    font-size: 17px;
    line-height: 25px;
  } */
  /* .vein {
    margin-top: 7.4rem;
  } */
  /* .training-section {
    height: 27.5rem;
  } */
  .service-card {
    margin-top: 3rem;
    margin-bottom: 0;
  }
  /* .service-title h4 {
    margin-bottom: 2px;
    font-size: 18px;
  } */
  .servicebutton {
    gap: 15px;
  }
  .serviceconus {
    font-size: 12px;
    padding: 8px 25px;
  }
  .serviceangle {
    width: 35px;
    height: 34px;
  }
  .testimonials-title h4 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .student-section h2 {
    font-size: 25px;
    line-height: 27px;
  }
  .quote-icon {
    width: 30px;
    height: 29px;
  }
  .clients-title h4 {
    font-size: 25px;
    line-height: 27px;
  }
  /* .slid {
    height: 110px;
    width: 155px;
  } */
  .slid_img {
    height: 134px;
    width: 100%;
  }
  .footer img {
    width: 100px;
  }
  .footer-text {
    padding-bottom: 14px;
    font-size: 13px;
    margin-bottom: 0;
  }
  .social-footer ul {
    gap: 11px;
  }
  .footer-section h5 {
    font-size: 18px;
  }
  .footer-section ul li a {
    margin-bottom: 10px;
    font-size: 15px;
  }
  .small {
    font-size: 13px;
  }
  .copyed-text p {
    font-size: 11px;
  }
  .copyed-text::before,
  .copyed-text::after {
    width: 8rem;
    top: -2px;
  }
}

@media only screen and (max-width: 767.5px) {
  .play img{
    width: 15px !important;
  }
  .banner {
    height: 33rem !important;
  }
  .bantext {
    padding-left: 25px;
  }
  .bantext h1 {
    font-size: 31px;
    line-height: 39px;
  }
  .maintextimg img {
    width: 7rem;
  }
  .bantext p {
    font-size: 15px;
    padding-top: 4px;
    line-height: 24px;
    margin-bottom: 4px;
  }
  .textbutton {
    gap: 20px;
    padding-top: 12px;
  }
  .experience {
    bottom: 18rem;
    width: 32%;
    left: 27px;
  }
  .experience h5 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .experience p {
    font-size: 14px;
  }
  .playvideo span {
    font-size: 12px;
  }
  .conus {
    font-size: 12px;
    padding: 8px 15px;
    border-radius: 16px;
  }
  .baninning {
    top: -23rem;
    right: -18rem;
    width: 31%;
  }
  .banimg {
    position: relative;
    top: -160px;
    left: 92px;
    width: 80%;
  }
  .banimg img {
    width: 100%;
            top: 100px;
        position: relative;
  }
  .products-section {
    padding: 40px 0 20px;
  }
  /* .card {
    margin-bottom: 3rem;
  } */
  .surgeon-text p {
    font-size: 15px;
    line-height: 24px;
  }
 .products-section .card-title {
    font-size: 20px;
  }
 
  .card-text {
    font-size: 15px;
    line-height: 24px;
  }
  /* .training-section {
    height: 80.5rem;
  } */
  /* .service-section {
    margin-top: 55rem;
  } */
  /* .vein {
    margin-top: 0;
    margin-bottom: 2rem;
  } */
  /* .vein h3 {
    font-size: 25px;
    line-height: 27px;
  } */
  /* .vein p {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 13px;
  } */
  /* .traininimg {
    top: -392px;
    left: 164px;
    width: 64%;
  } */
  .traininimg-text {
    top: 131px;
    right: 30px;
  }
  .traininimg-text h4 {
    font-size: 25px;
    line-height: 27px;
  }
  .traininimg-text p {
    font-size: 16px;
    line-height: 24px;
  }
  .trainimg-button {
    font-size: 15px;
    padding: 8px 22px;
  }
  /* .trainimg {
    height: 49rem;
  } */
  /* .trainin h5 {
    margin-bottom: 7px;
    font-size: 18px;
  } */
  /* .trainin p {
    font-size: 16px;
    line-height: 24px;
  } */
  /* .cosmo h4 {
    font-size: 25px;
    line-height: 27px;
    margin-bottom: 3px;
  } */
  /* .cosmo p {
    margin-bottom: 15px;
    line-height: 24px;
    font-size: 16px;
  } */
  .text-contai p {
    font-size: 15px;
    font-family: "Poppins";
    line-height: 24px;
  }
  .student-section p {
    font-size: 15px;
    line-height: 24px;
  }
  /* .service-title h4 {
    margin-bottom: 7px;
  } */
  .clients-title h4 {
    font-size: 25px;
    line-height: 27px;
    margin: 0;
  }
  .clients-title p {
    font-size: 14px;
    line-height: 24px;
  }
  /* .slid {
    height: 130px;
    width: 175px;
  } */
  .slid_img {
    height: 158px;
  }
  .light-mode-item {
    height: 50px;

  }
  .footer-text {
    font-size: 11px;
  }
  .social-footer ul {
    gap: 3px;
  }
  .social-footer ul li {
    width: 30px;
    height: 30px;
  }
  .social-footer ul li a img {
        width: 12px;
  }
  .footer-section ul li a {
    margin-bottom: 8px;
    font-size: 11px;
  }
  .small {
    font-size: 9px;
  }
  .copyed-text p {
    font-size: 10px;
  }
  .copyed-text::before,
  .copyed-text::after {
    width: 7.3rem;
    top: -4px;
  }
}

@media only screen and (max-width: 575.5px) {
  .banimg{
    top: -200px;
    left: 100px;
  }
  
  .banner {
    height: 28rem !important;
  }
  .conus {
    font-size: 10px;
    padding: 7px 11px;
  }
  .playvideo span {
    font-size: 10px;
  }

  .navbar-brand img {
    width: 80px;
  }
  .bantext {
    padding: 17px;
  }
  .bantext h1 {
    font-size: 25px;
    margin-top: 1rem;
    line-height: 24px;
  }
  .surgeon-section h2{
    font-size: 26px;
  }
  .card-surgeon {
        margin-top: 2rem;
    }
  .maintextimg img {
    width: 4rem;
  }
  .maintextimg {
    bottom: -8px;
  }
  .bantext p {
          font-size: 14px;
        line-height: 20px;
  }
  /* .baninning {
    top: -13rem;
    right: -9rem;
    width: 33%;
  } */
  .banimg img {
    width: 100%;
  }
  /* .banimg {
    top: 8px;
        left: 40px;
    margin: 0;
  } */
  /* .experience {
    bottom: 5rem;
    left: 18px;
  } */
  .play {
    font-size: 5px;
    padding: 5px;
  }
  /* .experience {
    bottom: 5rem;
    width: 35%;
  } */
  .experience h5 {
    font-size: 12px;
  }
  .experience p {
    margin-top: 3px;
    font-size: 9px;
    margin-bottom: 0;
  }
  .section-title h4 {
    margin-bottom: 5px;
    font-size: 16px;
  }
  /* .surgeon-section h2 {
    font-size: 18px;
    line-height: 20px;
    width: 70%;
  } */
  .surgeon-text p {
    font-size: 14px;
    line-height: 19px;
  }
  .card-title {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .card-text {
    line-height: 20px;
    font-size: 15px;
    font-family: Poppins;
  }
  /* .card {
    margin-bottom: 2rem;
  } */
  /* .traininimg-text h4{
    font-size: 20px;
    line-height: 27px;
  } */
  .traininimg-text{
      top: 85px;
      right: 10px;
  }
  .traininimg {
      width: 62%;
  }

  /* .vein h3 {
    font-size: 20px;
    line-height: 18px;
  } */
  /* .vein p {
    font-size: 15px;
    line-height: 21px;
    margin-bottom: 10px;
  } */
  /* .traininimg {
    top: -226px;
    left: 93px;
    width: 65%;
  } */
  /* .traininimg-text h4 {
    font-size: 16px;
    line-height: 20px;
  } */
  /* .traininimg-text p {
    font-size: 13px;
    line-height: 18px;
  } */
  /* .trainimg-button {
    font-size: 10px;
    padding: 7px 20px;
  } */
  /* .traininimg-text {
    top: 58px;
    right: 0;
  } */
  .trainimg img {
    width: 100%;
  }
  
  /* .trainimg {
    height: 26rem;
  } */
  /* .trainin h5 {
    margin-bottom: 5px;
    font-size: 16px;
  } */
  /* .trainin h3 {
    font-size: 18px;
    line-height: 20px;
  } */
  /* .trainin p {
    font-size: 14px;
    line-height: 19px;
  } */
  /* .cosmo h4 {
    font-size: 18px;
    line-height: 20px;
  } */
  /* .cosmo p {
    margin-bottom: 10px;
    line-height: 19px;
    font-size: 14px;
  } */
  /* .training-section {
    height: 72.5rem;
  } */
  /* .service-title h4 {
    margin-bottom: 5px;
    font-size: 16px;
  } */
  text-contai h3 {
    margin: 16px 0px 5px 0px;
  }
  .text-contai p {
    font-size: 14px;
    line-height: 19px;
  }
  /* .service-section {
    margin-top: 8rem;
  } */
  .testimonials-title h4 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  .student-section h2 {
    font-size: 18px;
    line-height: 20px;
  }
  .carousel {
    margin-left: 0rem;
  }
  #carouselExampleDark.carousel{
        margin-left: 70px;
  }
  /* .carousel-control-next {
    width: 25px;
    height: 25px;
    left: 264px;
  } */
  /* .carousel-control-prev {
    width: 25px;
    height: 25px;
    left: 2px;
  } */
  .student-section p {
    font-size: 14px;
    line-height: 19px;
  }
  .clients-title h4 {
    font-size: 18px;
    line-height: 20px;
  }
  .clients-title p {
    font-size: 14px;
    line-height: 19px;
  }
  .testimonials-section {
    margin-bottom: 2rem;
  }
  /* .slid {
    height: 130px;
    width: 175px;
  } */
 
  .footer-section h5 {
    font-size: 10px;
    line-height: 7px;
  }
  .footer-section ul li a {
    margin-bottom: 3px;
    font-size: 10px;
  }
  .footer-text {
    font-size: 11px;
    line-height: 15px;
  }
  /* .social-footer ul li {
    padding: 0px 5px;
  } */
  .footer-contact span {
    font-size: 11px;
  }
  /* .social-footer ul li a img {
    width: 6px;
  } */
  .copyed-text p {
    font-size: 6px;
  }

  .copyed-text::before,
  .copyed-text::after {
    width: 2.8rem;
    top: -6px;
  }
}


@media only screen and (max-width: 500.5px) {
      .traininimg {
        width: 70%;
    }
      .traininimg-text{
        top: 70px;
      }
      .traininimg-text h4 {
        font-size: 22px;
        line-height: 27px;
      }
}
@media only screen and (max-width: 401.5px) {
    .traininimg-text {
      top: 60px;
    }
    .traininimg-text h4{
      font-size: 18px;
      line-height: 24px;
    }
    .traininimg-text p {
      font-size: 13px;
      line-height: 20px;
    }
  
}