@media screen and (max-width: 1318px) and (min-width: 1200px) {
  /* Footer */
  #phone_link ul li:last-child {
    padding-left: 35px;
    flex: 1 0 100%;
  }
}

@media screen and (min-width: 1200px) {
  /* Home page */
  .expert_care_video iframe {
    height: 536px !important;
    border-radius: 14px;
  }
  .vision_section .border_section {
    position: relative;
    transition: 0.5s all;
  }
  .vision_section:hover .border_section:before {
    content: "";
    position: absolute;
    left: 0;
    transform: translate(-50%, 0%);
    width: clamp(14px, 14px, 14px);
    height: clamp(252px, 252px, 252px);
    border-left: 14px solid var(--primary-purple-2);
    transition: 0.5s all;
  }
  .vision_section .vision_image svg rect,
  .vision_section .vision_image svg path {
    transition: 0.5s all;
  }
  .vision_section:hover .vision_image svg rect {
    fill: var(--primary-purple-2);
    transition: 0.5s all;
  }
  .vision_section:hover .vision_image svg path {
    fill: var(--primary-white);
    transition: 0.5s all;
  }
}

@media screen and (max-width: 1199px) {
  /* Header */
  #header .header_menu {
    position: relative;
  }
  #header .header_menu .close_btn {
    display: block;
  }
  #header .header_menu nav.elementor-nav-menu--dropdown {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 470px;
    z-index: 9999;
    transition: 0.3s all;
    margin: 0;
    background-color: var(--primary-white);
    -webkit-box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.15);
    box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.15);
  }
  #header .header_menu nav.elementor-nav-menu--dropdown > ul {
    padding: 50px 15px 20px;
    height: 100vh;
    display: block;
  }
  #header
    .header_menu
    .elementor-menu-toggle:not(.elementor-active)
    + .elementor-nav-menu__container {
    transform: translateX(100%) !important;
    max-height: 100% !important;
  }
  #header
    .header_menu
    .elementor-menu-toggle.elementor-active
    + .elementor-nav-menu__container {
    transform: translateX(0%) !important;
    max-height: 100% !important;
  }
  #header .header_menu .elementor-active .elementor-menu-toggle__icon--close {
    display: none;
  }
  /* Footer */
  #phone_link ul li:not(:first-child) {
    padding-left: 35px;
    flex: 1 0 100%;
  }
  /* Home Page */
  #team-container .team .team-list > *:not(.team-image) {
    padding: 0 10px;
  }
  #team-container .team .team-list .read-more-btn {
    width: clamp(100px, 100%, 135px);
    height: clamp(38px, 100%, 38px);
    padding: 0 10px;
  }
  #team-container .team .team-list .read-more-btn a {
    font-size: 14px;
  }
  #team-container .team .team-list .team-title h2 {
    font-size: 18px;
  }
  .team-specialization ul li {
    font-size: 12px;
    padding: 4px 7px;
  }
  #team-container .team .team-list .team-subtitle h3 {
    font-size: 14px;
  }
  #team-container .team .team-list {
    min-height: 675px;
  }
  /* .testimonial_slider .home_testimonial_video .e-hosted-video {
    height: 100%;
  } */
  .vision_section.active .border_section {
    position: relative;
    transition: 0.5s all;
  }
  .vision_section.active .border_section:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, 0%);
    width: clamp(14px, 14px, 14px);
    height: clamp(180px, 180px, 180px);
    border-left: 14px solid var(--primary-purple-2);
    transition: 0.5s all;
    z-index: 2;
  }
  .vision_section.active .vision_image svg rect,
  .vision_section.active .vision_image svg path {
    transition: 0.5s all;
  }
  .vision_section.active .vision_image svg rect {
    fill: var(--primary-purple-2);
    transition: 0.5s all;
  }
  .vision_section.active .vision_image svg path {
    fill: var(--primary-white);
    transition: 0.5s all;
  }
  /* Service Page */
  .facts_slider .elementor-swiper-button.elementor-swiper-button-prev {
    top: -22% !important;
    left: 82% !important;
  }
  .facts_slider .elementor-swiper-button.elementor-swiper-button-next {
    top: -22% !important;
    right: 0 !important;
  }
  .cataract_untreated
    .elementor-main-swiper
    .elementor-swiper-button.elementor-swiper-button-prev {
    top: 102%;
    left: -57%;
  }
  .cataract_untreated
    .elementor-main-swiper
    .elementor-swiper-button.elementor-swiper-button-next {
    top: 102%;
    right: 0;
    left: -47%;
  }
  #testimonial-container .testimonial-flex-wrapper .testimonial-video-wrapper {
    height: auto;
  }
}

@media screen and (max-width: 1198px) and (min-width: 1025px) {
  /* Testimonial Page */
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .highlight-paragraph
    p {
    font-size: 18px;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .testimonial-title
    h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

@media only screen and (min-device-width: 820px) and (max-device-width: 1180px) and (-webkit-min-device-pixel-ratio: 1) {
  /* Home Page */
  #team-container .team .team-list {
    min-height: 580px;
  }
  /* Testimonial Page */
  #testimonial-container .testimonial-flex-wrapper .testimonial-video-wrapper {
    height: 610px;
  }
  #testimonial-container .testimonial-flex-wrapper {
    align-items: center;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    video,
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    iframe {
    height: 100%;
    border-radius: 0;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1) {
  #team-container .team .team-list {
    min-height: 610px;
  }
}

@media screen and (max-width: 1024px) {
  /* Home Page */
  .testimonial_slider .home_testimonial_video .e-hosted-video .play-btn img {
    width: 60px;
  }
  /* Contact Page */
  #form-container .form .elementor-field-group input {
    height: 48px;
    font-size: 18px;
  }
  #form-container .form .elementor-field-group textarea {
    height: 130px;
    font-size: 18px;
  }
  #form-container .form .elementor-field-group {
    margin-bottom: 30px;
  }
  #form-container .form .elementor-field-group.e-form__buttons {
    margin-top: 0px;
  }
  /* Service Page */
  .service_testimonial .owl-nav button.owl-next {
    right: 133% !important;
    top: 54% !important;
  }
  .facts_slider .elementor-swiper-button {
    width: 50px;
    height: 50px;
  }
  .facts_slider .elementor-swiper-button.elementor-swiper-button-prev {
    top: -20% !important;
    left: 84% !important;
  }
  .facts_slider .elementor-swiper-button.elementor-swiper-button-next {
    top: -20% !important;
    right: 0 !important;
  }
  /* Testimonial Page */
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper {
    padding: 18px 16px;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .testimonial-title
    h2 {
    font-size: 26px;
    line-height: 32px;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .testimonial-paragraph
    p {
    font-size: 22px;
    line-height: 32px;
  }
  #testimonial-container .testimonial-content-wrapper ul li:not(:last-child) {
    margin-bottom: 7px;
  }
  #testimonial-container .testimonial-content-wrapper ul li {
    font-size: 22px;
    line-height: 140%;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .highlight-paragraph
    p {
    font-size: 20px;
    line-height: 140%;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .testimonial-detail
    h4 {
    font-size: 20px;
    line-height: 30px;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .testimonial-detail
    p {
    font-size: 18px;
    line-height: 22px;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    .play-btn
    img {
    width: 75px;
  }
  /* Blog Page */
  .blog-author-box .author-image {
    width: 110px;
    height: 110px;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  /* Testimonial Page */
  #testimonial-container .testimonial-flex-wrapper {
    flex-direction: column;
  }
  #testimonial-container .testimonial-flex-wrapper .testimonial-video-wrapper {
    height: auto;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    video,
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    iframe {
    height: 500px;
    border-radius: 0;
    position: relative;
  }
  /* Service Page */
  .service_testimonial .owl-item .uc_quote_item {
    height: 500px;
    display: block;
  }
  .service_testimonial .owl-nav button.owl-prev {
    top: 32% !important;
  }
  .service_testimonial .owl-nav button.owl-next {
    top: 32% !important;
  }
  /* Blog Page */
  .blog-author-box .author-image {
    width: 84px;
    height: 84px;
  }
}

@media screen and (max-width: 767px) {
  /* Home Page */
  #team-container .team .team-list {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 100%;
  }
  #team-container .team .team-list .read-more-btn {
    position: relative;
    top: 0px;
    left: 0px;
    transform: translate(0, 0);
    width: 100%;
    max-width: 50%;
    margin: 20px auto 20px auto;
  }
  #team-container .team .team-list .read-more-btn a img {
    top: 0px;
  }
  .testimonial_slider .home_testimonial_video .e-hosted-video .play-btn img {
    width: 60px;
  }
  .outcomes_list ul {
    gap: 5px 80px;
    flex-direction: column;
  }
  .testimonial_slider
    .elementor-element
    .elementor-widget-video
    .elementor-wrapper.elementor-open-inline {
    --video-aspect-ratio: 0;
    height: 295px;
  }
  .testimonial_slider .testimonials .patient_name {
    position: relative;
    bottom: 0px;
    right: 0px;
  }
  .testimonial_slider
    .testimonials
    .e-con-inner
    > .elementor-element:first-child {
    justify-content: end;
  }
  .vision_section {
    position: relative;
    transition: 0.5s all;
  }
  .vision_section.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, 0%);
    width: clamp(14px, 14px, 14px);
    height: clamp(250px, 250px, 250px);
    border-left: 14px solid var(--primary-purple-2);
    transition: 0.5s all;
    z-index: 2;
  }
  .vision_section.active .border_section {
    position: relative;
  }
  .vision_section.active .border_section:before {
    display: none;
  }
  .vision_section.active .vision_image svg rect,
  .vision_section.active .vision_image svg path {
    transition: 0.5s all;
  }
  .vision_section.active .vision_image svg rect {
    fill: var(--primary-purple-2);
    transition: 0.5s all;
  }
  .vision_section.active .vision_image svg path {
    fill: var(--primary-white);
    transition: 0.5s all;
  }
  /* Contact Page */
  #form-container .form .elementor-field-group label {
    font-size: 16px;
  }
  #form-container .form .elementor-field-group input {
    height: 44px;
    font-size: 16px;
  }
  #form-container .form .elementor-field-group textarea {
    height: 120px;
    font-size: 16px;
  }
  .contact-box-wrapper .icon-box span.elementor-icon {
    top: 12px;
  }
  #form-container .form .elementor-field-group {
    margin-bottom: 20px;
  }

  /* Service Page */
  .service_testimonial .owl-nav button.owl-prev {
    left: 20% !important;
    top: 105% !important;
  }
  .service_testimonial .owl-nav button.owl-next {
    right: 20% !important;
    top: 105% !important;
  }
  .facts_slider .elementor-swiper-button.elementor-swiper-button-prev {
    top: 115% !important;
    left: 25% !important;
  }
  .facts_slider .elementor-swiper-button.elementor-swiper-button-next {
    top: 115% !important;
    right: 25% !important;
  }
  .cataract_untreated
    .elementor-main-swiper
    .elementor-swiper-button.elementor-swiper-button-prev {
    top: 115%;
    left: 25%;
  }
  .cataract_untreated
    .elementor-main-swiper
    .elementor-swiper-button.elementor-swiper-button-next {
    top: 115%;
    right: 25%;
    left: unset;
  }
  /* Testimonial Page */
  #testimonial-container .testimonial-flex-wrapper .testimonial-video-wrapper,
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper {
    flex: 0 0 100%;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    video,
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    iframe {
    border-radius: 20px 20px 0 0;
    position: relative;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-video-wrapper
    .play-btn
    img {
    width: 60px;
  }
  #testimonial-container .testimonial-flex-wrapper .testimonial-video-wrapper {
    height: auto;
  }
  #testimonial-container .testimonial-content-wrapper .testimonial-paragraph {
    margin-bottom: 15px;
  }
  #testimonial-container
    .testimonial-flex-wrapper
    .testimonial-content-wrapper
    .highlight-paragraph {
    margin-bottom: 15px;
    padding: 14px 13px;
  }
  #testimonial-container .testimonial-content-wrapper ul li {
    font-size: 20px;
    line-height: 130%;
  }
  /* Blog Page */
  .blog-author-box .author-image {
    width: 84px;
    height: 84px;
    margin: 0 0 15px 0;
  }
}

@media screen and (max-device-width: 1380px) and (orientation: landscape) {
  .farooz_image {
    top: 360px !important;
  }
}
