:root {
  /* lightorange */
  /* --color-1: #fea38e; */

  /* pink */
  --color-1: #e50880;

  --color-1: #99bc28;

  /* blue */
  --color-2: #c1e8f0;
  --color-2: #e5f2ff;
  --color-2: #dbf2ff;
  /* --color-2: #c1e8f0; */

  /* --color-3: #1373bc; */
  --color-3: #99bc28;

  /* green */
  --color-4: #99bc28;

  --color-5: #1472bb;

  /* brown */
  --color-12: #767676;
}

@font-face {
  font-family: "playfair-display";
  src: url("../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf")
    format("truetype");
}

@font-face {
  font-family: "roboto-slab";
  src: url("../fonts/RobotoSlab-VariableFont_wght.ttf") format("truetype");
}

.custom-font {
  font-family: "playfair-display" !important;
  /* font-style: italic; */
}

.simple-font {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.text-green {
  color: var(--color-4);
}

.img-white {
  filter: brightness(0) invert(1);
}

.pagination-nav {
  border: none;
  min-height: unset;
}

.heading {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.heading::after {
  background: var(--color-4);
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: -25px;
  position: absolute;
  width: 40px;
}

.heading::before {
  background: var(--color-4);
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  margin-left: 20px;
  position: absolute;
  width: 5px;
}

.client h4 {
  /* color: var(--color-3); */
  color: black;
}

.text-black {
  color: #282828;
}

body {
  scroll-behavior: smooth !important;
  scroll-margin-top: 110px !important;
}

.text-1 {
  color: var(--color-3);
}

section {
  scroll-behavior: smooth !important;
  scroll-margin-top: 110px !important;
}

.bg-grey-1 {
  background-color: #f8f9fa;
}

.dr-subheading {
  color: #35353a;
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  font-family: fangsong, playfair-display, serif;
}

.menu li {
  position: relative;
  text-decoration: none;
  /* color: inherit; */
  /* font-weight: 400; */
}

.menu li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  border-radius: 4px;
  background-color: var(--color-4);
  transition: width 0.4s ease;
}

.menu li.active {
  /* font-weight: 700; */
  color: var(--color-4) !important;
}

.menu li:not(.header-ap-btn).active::after {
  width: 100%;
}

.treatments-container img {
  object-fit: cover;
  width: 100%;
  max-width: unset;
}

.treatments-container .ser-tx {
  height: 160px;
  padding: 20px;
}

.treatments-container hr {
  margin: 5px auto;
}

.treatments-container h4 {
  height: 40px;
  display: flex;
  align-items: center;
  color: var(--color-1);
  font-size: 18px;
  line-height: 1.2;
}

.treatments-container p {
  color: var(--color-12);
  font-size: 14px;
  line-height: 1.7;
}

.treatments-container .owl-theme .owl-nav {
  margin-top: 0 !important;
}

.testimonial-section .owl-carousel .owl-dots {
  margin-top: 0 !important;
}

.testimonial-section .owl-carousel .owl-dots .owl-dot {
  zoom: 0.7 !important;
  padding: 5px !important;
}

.testimonials .author-info {
  transition: all linear 0.3s;
}

.testimonials:hover .author-info {
  /* transform: translateY(-8px); */
  transform: translateX(15px);
}

.testimonials .testimonials-info:before {
  transition: all linear 0.3s;
}

.testimonials:hover .testimonials-info:before {
  transform: rotateY(360deg);
}

.testimonials-info p {
  height: 140px;
  overflow: auto;
  /* color: white; */
  font-size: 18px;
  line-height: 1.5;
}

.testimonials-info p::-webkit-scrollbar {
  width: 5px;
}

.testimonials-info p::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 20px;
}

.testimonials-info p::-webkit-scrollbar-thumb {
  background: #aaaaaa;
  border-radius: 20px;
}

.testimonials-info p::-webkit-scrollbar-thumb:hover {
  background: #646464;
}

.footer-logo {
  /* width: min(100%, 250px); */
  /* width: min(100%, 380px); */
  width: min(100%, 300px);
  filter: brightness(0) invert(1);
  /* padding: 10px 20px; */
}

.blog-post {
  transition: all linear 0.3s;
}

.blog-post .cs-button,
.blog-post .blog-card-title {
  transition: all linear 0.2s;
}

.blog-post:hover {
  transform: translateY(-4px);
}

.blog-post:hover .blog-card-title {
  color: var(--color-4);
}

.blog-post:hover .blog-card-image img {
  transform: scale(1.1);
}

/* .blog-card-image, */
.blog-card-image {
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  aspect-ratio: 1/0.7;
  object-fit: cover;
  transition: all linear 0.3s;
}

.blog-card-title {
  height: 52px;
  font-weight: 600;
}

.truncate-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb .sep {
  margin: 0 10px;
}

.blog-image img {
  width: 100%;
  /* aspect-ratio: 1/0.7; */
  /* object-fit: cover; */
}

.blog-detail h1 {
  font-size: 32px;
}

.blog-detail .post-entry p {
  margin-bottom: 5px;
  font-size: 16px;
}

.blog-detail .post-entry li {
  margin-bottom: 5px;
  font-size: 16px;
}

.blog-detail .post-entry a {
  margin-bottom: 5px;
  font-size: 16px;
}

.blog-detail .post-entry hr {
  border: initial;
}

.blog-detail .post-entry ul,
.blog-detail .post-entry ol {
  list-style-position: inside;
  margin-bottom: 10px;
}

footer {
  /* background-color: black !important; */
  border-top: 7px solid var(--color-4);
  background-color: #3a3a3a !important;
}

footer p,
footer a,
footer i,
footer .h4 {
  color: white !important;
}

footer .h4 {
  font-weight: bold;
  letter-spacing: 4px;
}

footer li:hover a i,
footer li:hover a {
  color: var(--color-1) !important;
}

.footer-copyright {
  /* background-color: var(--color-4); */
  background-color: var(--color-1);
  padding: 0px;
}

.footer-copyright p,
.footer-copyright a {
  font-size: 17px;
  /* color: black !important; */
  color: white !important;
}

.wave-box {
  --mask: radial-gradient(67.08px at 90px 50%, #000 99%, #0000 101%) 0
      calc(50% - 60px) / 51% 120px repeat-y,
    radial-gradient(67.08px at -60px 50%, #0000 99%, #000 101%) 30px 50% /
      calc(51% - 30px) 120px repeat-y,
    radial-gradient(67.08px at calc(100% - 90px) 50%, #000 99%, #0000 101%) 100%
      calc(50% - 60px) / 51% 120px repeat-y,
    radial-gradient(67.08px at calc(100% + 60px) 50%, #0000 99%, #000 101%)
      calc(100% - 30px) 50% / calc(51% - 30px) 120px repeat-y;
  -webkit-mask: var(--mask);
  mask: var(--mask);
}

.custom-bg-5 {
  position: relative;
}

.custom-bg-5::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../img/bg-green-1.webp) no-repeat center center / cover;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.custom-bg-5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../img/bg-gyn-2.webp) no-repeat center center / cover;
  opacity: 0.15;
  /* opacity: 0.5; */
  pointer-events: none;
  z-index: 0;
}

.custom-bg-5 > * {
  position: relative;
  z-index: 1;
}

.custom-bg-6 {
  position: relative;
}

.custom-bg-6::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../img/bg-green-1.webp) no-repeat center center / cover;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.custom-bg-6::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../img/bg-gyn-3.webp) no-repeat center center / cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.custom-bg-6 > * {
  position: relative;
  z-index: 1;
}

.section-custom-bg-1 {
  background-color: #ededed;
  background-repeat: repeat;
  background-size: 30%;
  background-position: center;
}

.sm-ap-btn {
  position: absolute;
  right: 80px !important;
  color: var(--color-3);
  top: 32px !important;
}

.sm-ap-btn:active {
  color: var(--color-3) !important;
}

.toggle-bar .ti-menu {
  color: var(--color-3);
}

/* sticky sidebar */
.aon-scrolling-nav {
  position: fixed;
  top: 50%;
  right: 0px;
  list-style: none;
  z-index: 99;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.aon-scrolling-nav li {
  width: 34px;
  height: 34px;
  line-height: 34px;
  position: relative;
  background: var(--color-4);
  margin: 3px 2px;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  display: flex;
}

.aon-scrolling-nav li a {
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
}

.aon-scrolling-nav li a i {
  font-size: 18px;
}

.aon-scrolling-nav li span {
  opacity: 0;
  position: absolute;
  top: 4px;
  right: 100%;
  line-height: 1;
  background: var(--color-4);
  color: #fff;
  padding: 8px 10px;
  border-radius: 3px;
  white-space: nowrap;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.aon-scrolling-nav li span:before {
  rotate: 180deg;
  content: "";
  position: absolute;
  top: 10px;
  left: 100%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 5px 4px 0;
  border-color: transparent var(--color-4) transparent transparent;
}

.aon-scrolling-nav li:hover {
  overflow: visible;
  background: var(--color-4);
}

.aon-scrolling-nav li.active {
  overflow: visible;
  background: #d02f82;
}

.aon-scrolling-nav li:hover span {
  opacity: 1;
  right: 120%;
}

.aon-scrolling-nav li.actives span {
  opacity: 1;
  right: 120%;
}

/* ------------------------------------------------- */

.card-wrapper {
  width: 300px;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  /* aspect-ratio: 1/1; */
  height: 220px;
  perspective: 1000px;
  margin-bottom: 30px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card-inner img {
  width: 100px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  background-color: #fff;
}

.flip-card-back {
  background-color: #f9f9f9;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  /* justify-content: center; */
  justify-content: flex-start;
  flex-direction: column;
  color: #333;
  font-size: 16px;
  text-align: justify;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  /* Hide background overflow */
  padding: 20px;
}

/* Background image styling */
.flip-card-back::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  background-image: var(--bg-icon);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  z-index: 0;
}

.flip-card-back .card-back-title {
  /* display: block; */
  font-size: 18px;
  font-weight: 600;
  color: var(--color-4);
  /* justify-self: flex-start; */
}

.flip-card-back p {
  position: relative;
  z-index: 1;
  display: block;
}

.card-icon {
  font-size: 2rem;
  color: var(--color-1);
  margin-bottom: 15px;
}

.treatment-title {
  color: var(--color-1);
  font-weight: bold;
  font-size: 1.2rem;
}

/*  */

.counter-wrapper i {
  transition: all linear 0.5s;
}

.counter-wrapper {
  transition: all linear 0.25s;
}

.counter-wrapper p {
  font-weight: 600;
  font-size: 18px;
  /* transition: all linear 0.5s; */
}

.counter-wrapper:hover i {
  transform: rotateY(360deg);
}

.counter-wrapper:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 4px 0 rgba(20, 114, 187, 0.4); */
  /* box-shadow: 1px 3px 2px 1px rgba(20, 114, 187, 0.3); */
}

.service-item img {
  transition: all linear 0.5s;
}

.service-item h3 {
  transition: all linear 0.25s;
  font-size: 20px;
}

.service-item:hover img {
  /* transform: rotateY(360deg); */
  transform: rotateY(360deg) translateY(-4px);
}

.service-item:hover h3 {
  color: var(--color-4);
  /* color: var(--color-5); */
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .dr-subheading {
    font-size: 22px;
  }

  .footer-logo {
    width: 100%;
  }

  .blog-detail h1 {
    font-size: 26px;
  }
}

.author-info span {
  color: #394b02;
}

/* About Doctor Section */
.about-img-wrapper {
  /* background-color: unset; */
  transition: transform 0.3s ease;
  padding: 15px;
}

.about-img-wrapper:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); */
}

.about-img-wrapper:hover .framed {
  box-shadow: -50px 50px 0 -40px var(--color-4),
    50px -50px 0 -40px var(--color-4);
}

.about-img {
  width: 100%;
  aspect-ratio: 1/1.1;
  object-fit: cover;
}

.flip {
  transform: rotateY(180deg);
}

.framed {
  box-shadow: -50px -50px 0 -40px var(--color-4),
    50px 50px 0 -40px var(--color-4);
  transition: all ease-in-out 0.5s;
}

.header-ap-btn i {
  display: none;
}

/* blog */
.post-social-sharing.right ul {
  float: right;
}

.post-social-sharing.right hr {
  margin: 15px 0 15px;
  background: var(--color-4);
  border-radius: 4px;
  border: none;
  /* padding: 1px; */
  height: 1px;
}

.post-social-sharing {
  margin: 0 0 15px 0;
}

/* .post-social-sharing ul {} */

.post-social-sharing ul li {
  list-style: none;
}

.post-social-sharing ul li {
  background-color: var(--color-3);
  color: white;
  /* display: inline-block; */
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  /* padding: 4px; */
}

.post-social-sharing ul li i {
  font-size: 24px;
  margin-top: 4px;
}

.nums {
  font-size: 34px;
}

@media (min-width: 992px) {
  .header-ap-btn {
    margin-left: 10px;
    border-radius: 12px;
    background-color: var(--color-4);
    color: white !important;
    transition: all linear 0.3s;
  }

  .header-ap-btn:hover {
    transform: translateY(-5px);
  }

  .menu li.header-ap-btn > a,
  nav.on-scroll.nav-white .menu li.header-ap-btn > a {
    color: white !important;
  }

  .header-ap-btn i {
    display: inline-block;
    margin-right: 5px;
  }

  .header-ap-btn.active {
    background-color: var(--color-4);
    color: white !important;
  }

  nav.on-scroll.nav-white .menu li.header-ap-btn.active > a {
    color: white !important;
  }

  .header-ap-btn:hover a,
  nav.nav-white.nav-transparent.nav-core-sticky.on-scroll
    .menu
    li.header-ap-btn
    a:hover,
  nav.nav-white.nav-transparent.nav-core-sticky .menu li.header-ap-btn a:hover {
    color: white !important;
  }
}
