/* .................. Header Css Start ....................... */
.e-n-menu-title:hover .e-n-menu-title-container {
  border-bottom: 1px solid #b8995d;
}

.elementskit-navbar-nav-default .elementskit-navbar-nav > li > a:hover {
  text-decoration-line: underline !important;
}

.ekit_menu_responsive_tablet #menu-header-menu {
  column-gap: 3rem;
}
.ds-header-menu {
  cursor: pointer;
}
/*............... Home Page Css Start.................*/
.ds-as-home-gallery .elementor-swiper-button-prev,
.ds-as-home-gallery .elementor-swiper-button-next {
  background-color: #1f1017;
  padding: 8px;
  border-radius: 18px;
}

.as-booking-appointments {
  cursor: pointer;
}
/* --------------------------- What Patient Says Css ------------------------ */
.as-patients-review-tab button.e-n-tab-title[aria-selected="false"] {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.as-patients-review-tab button.e-n-tab-title[aria-selected="false"] span {
  z-index: 1;
}
.as-patients-review-tab button.e-n-tab-title[aria-selected="false"]::before {
  content: "";
  position: absolute;
  background: conic-gradient(transparent 270deg, #c0a062, transparent);
  color: #1f1a17;
  /* top: 50%;
    left: 50%; */
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
  width: 100%;
  animation: rotate 2s linear infinite;
}

.as-patients-review-tab button.e-n-tab-title[aria-selected="false"]::after {
  background: inherit;
  border-radius: 8px;
  inset: 3px;
  height: calc(100% - 2 * 3px);
  width: calc(100% - 2 * 3px);
  content: "";
  position: absolute;
}

@keyframes rotateline {
  0% {
    transform: translate(-50%, -50%) scale(1.4) rotate(0turn);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4) rotate(1turn);
  }
}
/* -------------------------- Workspace post archive ------------------ */
.as-workspace-grid nav.elementor-pagination {
  display: flex;
  align-content: center;
  align-items: center;
  padding: 50px 0;
  justify-content: center;
  flex-wrap: wrap;
}
.as-workspace-grid .elementor-pagination .page-numbers {
  padding: 8px 16px;
  border: 1px solid #1f1a17;
  border-radius: 0.375rem;
  color: #1f1a17;
}
.as-workspace-grid .elementor-pagination span.page-numbers {
  background-color: #1f1a17;
  color: #fff;
}

/*................. Blog Section Css...............*/
.ds-as-doctor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.ds-as-doctor-row .ds-as-doctor-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 635px;
  flex: 1 1 45%;
  gap: 20px;
}

.ds-as-doctor-row .ds-as-doctor-card .ds-as-image-link {
  height: 100%;
}
.ds-as-doctor-row .ds-as-doctor-card .ds-as-image-link img {
  width: 165px;
  height: 100% !important;
  object-fit: cover;
  border-radius: 8px;
}

.ds-as-doctor-row .ds-as-doctor-card .ds-as-doctor-info {
  flex: 1;
  padding: 8px 8px 8px 0px;
}

.ds-as-doctor-row .ds-as-doctor-card .ds-as-doctor-info .ds-as-badge {
  display: inline-block;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  margin-bottom: 8px;
  font-family: "Nunito", sans-serif;
}

.ds-as-doctor-row .ds-as-doctor-card .ds-as-doctor-info .ds-as-doctor-name {
  font-size: 20px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 8px;
  font-family: "Nunito", sans-serif;
}

.ds-as-doctor-row
  .ds-as-doctor-card
  .ds-as-doctor-info
  .ds-as-doctor-description {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 12px;
  font-family: "Nunito", sans-serif;
}

.ds-as-doctor-row .ds-as-doctor-card .ds-as-doctor-info .ds-as-doctor-meta {
  font-size: 12px;
  color: #4b5563;
  font-family: "Nunito", sans-serif;
}

@media (max-width: 992px) {
  .ds-as-doctor-row .ds-as-doctor-card .ds-as-doctor-info .ds-as-badge {
    display: none;
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .ds-as-doctor-row {
    flex-direction: column;
    align-items: center;
  }

  .ds-as-doctor-row .ds-as-doctor-card .ds-as-doctor-info {
    align-items: center;
    justify-content: center;
  }

  .ds-as-doctor-row .ds-as-doctor-card {
    align-items: unset;
  }

  .ds-as-doctor-row .ds-as-doctor-card .ds-as-image-link {
    height: unset;
  }

  .ds-as-doctor-row
    .ds-as-doctor-card
    .ds-as-doctor-info
    .ds-as-doctor-description {
    font-size: 12px;
  }

  .ds-as-doctor-row .ds-as-doctor-card .ds-as-doctor-info .ds-as-doctor-name {
    font-size: 16px;
  }
}
/*............................. Award Section Css.................*/
.vertical-line {
  width: 1px;
  height: 50px;
  background: white;
  margin: 5px auto;
}
/* -------------------------- team member page -------------------- */
.as-team-member-wrap .elementor-widget-image a {
  display: contents;
}
.as-team-member-wrap .elementor-widget-image {
  border-radius: 24px 0 24px 0;
}
.as-team-member-wrap:hover .elementor-widget-image {
  overflow: hidden;
}
.as-team-member-wrap .elementor-widget-image a img {
  transition: transform 0.4s ease-in-out;
}
.as-team-member-wrap:hover .elementor-widget-image a img {
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .as-team-member-wrap .elementor-widget-image a img {
    max-height: 317px;
  }
}
/*............................ Services Section....................*/

.as-faq > div .elementor-widget-text-editor,
.as-faq > div h2 {
  cursor: pointer;
}
.ds-as-services-home::before {
  transition: all 0.4s ease !important;
}

/* .elementor-element .swiper ~ .elementor-swiper-button svg {
  fill: #c0a062;
} */

.ds-as-heading-margin h3 {
  margin: 0px;
}
.as-siderbar-our-team-wrap p {
  margin-bottom: 0;
}
.as-siderbar-our-team-wrap .elementor-button-wrapper {
  line-height: 1px;
}

@media screen and (min-width: 768px) {
  .as-fdoc-service-grid .image-box-img-left {
    height: 194px;
  }
  .as-fdoc-service-grid .image-box-img-left img {
    height: 100% !important;
    object-fit: cover;
  }
}
@media screen and (min-width: 1025px) {
  .as-fdoc-service-grid .image-box-img-left {
    height: 218px;
  }
}
/*.........................Video Testimonial Section.......................*/
.ds-video-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.ds-video-wrapper,
.ds-custom-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.ds-custom-video-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 12px;
}

.ds-custom-video-wrapper:hover::before {
  opacity: 1;
}

.ds-video {
  width: 100%;
  height: 400px !important;
  display: block;
  border-radius: 15px;
  object-fit: cover;
  pointer-events: none;
}

.ds-single-video {
  width: 100%;
  height: 536px !important;
  display: block;
  border-radius: 15px;
  object-fit: cover;
  pointer-events: none;
}

.ds-youtubeShorts {
  display: none;
  max-width: 90%;
  width: 950px;
  background: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  position: relative;
}

.ds-youtubeShorts iframe {
  border-radius: 12px;
}

/* ..........Play Button......... */
.ds-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 35px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.3s ease;
  z-index: 2;
}

.ds-video-wrapper:hover .ds-play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.ds-play-button-wrapper {
  position: relative;
}

.ds-play-button-wrapper svg {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 16px;
  height: 16px;
}

.ds-animateRing::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 60px;
  height: 60px;
  border: 2px solid #000000;
  border-radius: 50%;
  animation: ringPulse 0.8s infinite ease-out;
  opacity: 0.6;
  z-index: 1;
}

@keyframes ringPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ............ sound & youtube batch........ */

.ds-mute-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 8px 8px 8px;
  border-radius: 6px;
  z-index: 2;
  cursor: pointer;
  color: white;
}

.ds-mute-toggle svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
}

.ds-youtube-shorts {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #fff;
  padding: 2px 4px;
  border-radius: 9999px;
  z-index: 2;
  width: 60px;
}

.ds-youtube-shorts img {
  object-fit: contain;
  display: block;
}

.ds-pause-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ds-custom-video-wrapper:hover .ds-pause-button.show {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  .ds-single-video {
    height: 610px !important;
  }
}

/* ........pagination ............ */

.swiper-pagination {
  text-align: center;
  margin-top: 20px;
  position: relative !important;
  bottom: auto !important;
}

.swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s ease;
}

/* ..... caption .......... */

.ds-video-caption {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  color: #fff;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  padding: 8px;
  border-radius: 0 0 12px 12px;
}

.ds-video-caption .ds-caption-title {
  font-size: 12px;
  font-family: "Nunito", sans-serif;
  line-height: 12px;
}

.ds-video-caption .ds-caption-description {
  font-size: 10px;
  margin-top: 3px;
  font-family: "Nunito", sans-serif;
  line-height: 15px;
}
/* ....................Why Choose as Section.................... */
.ds-why-choose-image img {
  cursor: pointer;
}
.ds-why-choose-image img:hover {
  border-radius: 8px !important;
}
.ds-icon-box-why-chosse .elementor-icon-box-icon {
  margin-bottom: 30px !important;
}
.ds-icon-box-less-spacing .elementor-icon-box-icon {
  margin-bottom: 8px !important;
}

.ds-why-choose-success-animation {
  position: absolute !important;
  bottom: 60px;
  left: -48px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  animation: MoveUpDown 4s linear infinite;
}

#ds-why-choose-third-image {
  position: relative;
}

@keyframes MoveUpDown {
  0%,
  100% {
    bottom: 45px;
  }
  50% {
    bottom: 65px;
  }
}

@media (max-width: 1024px) {
  .ds-why-choose-success-animation {
    left: -20px;
  }
}

@media (max-width: 768px) {
  .ds-icon-box-why-chosse .elementor-icon-box-icon,
  .ds-icon-box-less-spacing .elementor-icon-box-icon {
    margin-bottom: unset !important;
  }

  .ds-why-choose-success-animation {
    left: -16px;
    animation: MoveUpDownres 4s linear infinite;
  }

  @keyframes MoveUpDownres {
    0%,
    100% {
      bottom: 25px;
    }
    50% {
      bottom: -10px;
    }
  }
}
/* ...........................Google Testimonial.................................... */
.rating-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.rating-badge {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 30px;
  padding: 8px 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.platform-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.rating-text p {
  font-size: 11px;
  font-weight: 400;
  font-family: "Nunito", sans-serif;
  color: #6b7280;
  line-height: 16.5px;
}

.verified {
  display: flex;
  align-items: center;
  font-size: 10px;
  color: #26e07f;
}

.verified p {
  font-size: 10px;
  font-weight: 600;
  color: #26e07f;
  line-height: 16.5px;
}

.verified img {
  margin-right: 5px;
  width: 14px;
  height: 14px;
}
/* ..............................Client Testimonial...................... */
.testimonial-card {
  background: #fff;
  display: flex;
  border-radius: 8px;
  padding: 24px;
  margin: 10px 0;
  height: 192px;
  width: 594px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  justify-content: space-between;
}
.ds-testimonial-text {
  max-height: 100px;
  height: 100%;
  overflow: hidden;
}
.testimonial-card p {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  line-height: 20px;
  color: #4b5563;
}
.testimonial-card .user-info .ds-user-name p {
  font-size: 12px;
  font-weight: 800;
  font-family: "Nunito", sans-serif;
  color: #374151;
  line-height: 0;
}
.testimonial-card .user-info .ds-user-name span {
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 0;
}
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.rating-info {
  text-align: right;
  font-size: 14px;
}
.ds-testimonial-pagination .swiper-pagination-bullet {
  background: #fff !important;
}
.ds-testimonial-pagination .swiper-pagination-bullet-active {
  background: #c0a062 !important;
}

.swiper-button-prev,
.swiper-button-next {
  width: 35px !important;
  height: 35px !important;
  background-color: #000;
  opacity: 0.8;
  border-radius: 50%;
  transform: translateY(-50%);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  content: unset !important;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  width: 16px !important;
  height: 16px !important;
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 562px;
  }
}

@media (max-width: 425px) {
  .testimonial-card {
    width: 299px;
  }

  .testimonial-card p {
    font-size: 12px;
    line-height: 16px;
  }

  .testimonial-card .user-info .ds-user-name {
    line-height: 0px;
  }

  .testimonial-card .user-info .ds-user-name p,
  .testimonial-card .user-info .ds-user-name span,
  .rating-info {
    font-size: 10px;
  }
}
/* ................... First Section .................. */
.ds-home-first-section {
  position: relative;
}
.ds-home-first-section-animation img {
  position: absolute;
  left: -125px;
  animation: MoveUpDownHome 4s linear infinite;
}

@keyframes MoveUpDownHome {
  0%,
  100% {
    bottom: -15px;
  }
  50% {
    bottom: -50px;
  }
}

@media (max-width: 1024px) {
  .ds-home-first-section-animation img {
    left: unset;
    right: 0;
    animation: MoveUpDownHomeMobile 4s linear infinite;
  }

  @keyframes MoveUpDownHomeMobile {
    0%,
    100% {
      bottom: -80px;
    }
    50% {
      bottom: -150px;
    }
  }
}

/*.................. Home Page CSS End...............................................*/

/* ...................... Footer css................... */

.ds_whatsapp_icon {
  position: fixed;
  left: 25px;
  bottom: 25px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  z-index: 1000;
  cursor: pointer;
  background: #1f1a17;
  padding: 8px;
  border-radius: 24px;
  animation: springAnimation 0.5s ease;
}

@keyframes springAnimation {
  0% {
    transform: translateY(100%);
  }
  70% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(0);
  }
}

.book-appointment-btn {
  position: fixed;
  top: 40%;
  right: 22px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background-color: #c0a062;
  color: #fff !important;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.book-appointment-btn:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .book-appointment-btn,
  .ds_whatsapp_icon {
    display: none;
  }
}

/* ................share Popup Css.................... */
.as-ds-share-button {
  position: relative;
  cursor: pointer;
}

.as-share-popup {
  position: absolute;
  top: 40px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 10px;
  width: 190px;
  z-index: 9999;
  display: none;
}

.as-share-option {
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #333;
  font-size: 14px;
  font-weight: 300;
  font-family: "Nunito", sans-serif;
  text-decoration: none;
}

.as-share-option:hover {
  background: #f1f1f1;
}

/* ...................... Transformation page css................... */
.ds-transformation-category
  .elementor-widget-container
  .swiper
  ~ .elementor-swiper-button
  svg {
  fill: #000 !important;
  width: 16px;
  height: 16px;
}
/* ....................Slider css.................. */
.elementor-widget-n-carousel .swiper-pagination-bullets {
  top: 0 !important;
}
/* ................. Singel page services CSS..................... */
.as-single-other-services .elementor-widget-container p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .as-single-other-services .elementor-widget-container p {
    -webkit-line-clamp: 2;
  }
}
