/* Banner Title Start */
.banner-title{
  padding: 30px 0;
}
.banner-title h1{
  font-size: 40px;
  font-weight: 600;
  color: #0C356A;
  margin: 0;
}
.inner-banner img{
  display: block;
  width: 100%;
}

/* Banner Title End */
/* banner Quick link Start */
.banner-select-section{
  width: 90%;
  margin: auto;
  height: 130px;
  background: #fff;
  border: 1px solid #0174be45;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  display: flex;
  align-items: center;
}
.banner-quick-link-col{
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.banner-quick-link-col .form-group{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.banner-quick-link-icon img{
  display: block;
}
.banner-quick-link-col a{
  color: #0C356A;
  display: block;
}
.banner-quick-link-icon{
  margin-right: 10px;
}
.doctor-search-bar{
  margin-top: -70px;
  position: relative;
  z-index: 9;
}
.baner-quick-link-border{
  border-right: 1px solid #e2e3e5;
}
/* banner Quick link End */

/* Overview Start */
.space-section{
  margin: 60px 0;
  padding: 40px 0;
}

.overview-section{
  margin: 60px 0 0 0;
  background-color: #F7FFFF;
  padding: 40px 0 0 0;
  height: 400px;
}

.heading-main{
    font-size: 40px;
    font-weight: 600;
    color: #0C356A;
    margin: 0;
    text-align: center;
}

.text-center{
    text-align: center;
}

.overview-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background-color: #FCF8F7;
    padding-left: 40px;
    padding-top: 10px;
    margin-left: 60px;
    margin-right: 60px;
    margin-top: -220px;
    place-items: center;
    box-shadow: 0 2px rgba(0, 0, 0, .1);
}

  .overview-grid img{
        display: block;
        height: auto;
        object-fit: cover;
        width: 100%;
    }

/* Overview End */

[role="tablist"] {
    display: flex;
    justify-content: center;
    gap: 50px;
    box-shadow: 0 2px 15px #b6b7b7;
    padding: 24px 0;
}

.tabss button {
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
    background: none;
    font-family: 'Work Sans';
    background-color: #7D3C73;
    border-radius: 8px;
}

button[aria-selected="true"] {
    position: relative;
    color: #ffffff;
    background-color: #0C356A;
    border-radius: 8px;
}

.cosmetic-tab{
    margin-top: 35px;
}

.cosmetic-grid{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 35px;
    place-items: center;
    padding-top: 40px;
}

.cosmetic-grid img{
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.splide__list{
    padding-top: 0 !important;
    padding-bottom: 45px !important;
}

.splide__pagination{
    bottom: -1.5em !important;
}

/* Inclusion Start */

.our-center-box{
  position: relative;
}
.our-center-box img{
  display: block;
  width: 100%;
  border-radius: 3px;
  height: auto;
  object-fit: cover;
}
.center-name{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  padding: 20px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #E6F1F8;
  z-index: 9;
  bottom: -33px;
}
.center-name h4{
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0C356A;
  text-align: center;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
/* Inclusion End */


/* alma laser */
.alma-laser{
    background-color: #F7F7FC;
    padding: 50px 0;
}
.alma-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 40px;
    gap: 24px;
    place-items: center;
}

.alma-grid img{
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

/* cosmotology service */
.cosmetology-service{
    background-color: #E9F4F3;
    padding: 50px 0;
}

.cosmetology-service .heading-main{
    text-align: left;
    line-height: 48px;
}

.service-grid{
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
    place-items: center;
}

.service-container{
   width: 750px;
}

.service-box{
    background-color: #fff;
    border-radius: 16px;
}

.service-name{
    color: #333333;
    height: 280px;
}

.service-name h5{
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    margin: 10px 0;
    color: #0C356A;
}

.service-name ul{
    padding: 0px 40px 20px 40px;
    list-style-type: disc;
}

.service-box img{
    display: block;
    width: 100%;
    border-radius: 3px;
    height: auto;
    object-fit: cover;
}

.service-grid .splide__arrows{
    position: absolute;
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 100px;
    left: -420px;
    bottom: -460px;
}


/* Doctors section */

.our-doctor-box{
    height: 250px;
      border: 5px solid #0C356A;
      width: 100%;
      border-radius: 64px;
      overflow: hidden;
  }
  .our-doctor-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .our-doctor-name{
    text-align: center;
  }
  a.book-button{
    display: inline-block;
    background: #393B79;
    padding: 8px 25px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    /* pointer-events: none; */
  }
  .dco-div{
    height: 100%;
    position: relative;
    padding-bottom: 50px;
  }
  .our-doctor-name h3{
    font-size: 20px;
    color: #0C356A;
    margin-bottom: 5px;
    font-weight: 600;
    height: 60px;
      overflow-y: auto;
  }
  .our-doctor-name p{
    font-size: 15px;
    text-transform: uppercase;
    color: #7E3A74;
    margin: 0;
    line-height: 21px;
    height: 65px;
      overflow-y: auto;
      margin-bottom: 10px;
  }
  .our-doctor-name h3::-webkit-scrollbar,.our-doctor-name p::-webkit-scrollbar {
    width: 5px;
    height: 15px
  }
  
  .our-doctor-name h3::-webkit-scrollbar-track,.our-doctor-name p::-webkit-scrollbar-track {
    width: 5px;
    height: 15px;
    background: #d2e8f5;
    border-radius: 10px
  }
  
  .our-doctor-name h3::-webkit-scrollbar-thumb,.our-doctor-name p::-webkit-scrollbar-thumb {
    background: #0c356a;
    border-radius: 10px
  }
  .doctor-slider{
    margin-top: 25px;
    margin-bottom: 25px;
  }

  #doctors{
    margin: 50px 0;
  }

/*  Enquiry Satrt */
.speciality-enq{
  background: #FAFAFA;
}
.speciality-enq .d-grid{
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}
.speciality-enq .d-grid .col{
  display: flex;
  border-right: 1px solid #dedbdb;
}
.speciality-enq .d-grid .col:last-child{
  border: none;
}
.speciality-enq .d-grid .col h5{
  margin: 0 0 5px 0;
  font-size: 18px;
  color: #0C356A;
}
.speciality-enq .d-grid .col h5 a{
  color: #0C356A;
}
.speciality-enq-text p{
  line-height: 23px;
  color: #6c6d6e;
  margin:5px 0 0 0;
}
.speciality-enq-text{
  margin-left: 30px;
}
.speciality-enq-text .form-group{
  display: flex;
  margin-top: 10px;
}
.speciality-enq-text .form-group input{
  padding: 10px;
  border-left: 1px solid #D4D4D4 ;
  border-top: 1px solid #D4D4D4 ;
  border-bottom: 1px solid #D4D4D4 ;
  border-right: none;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  
}
.speciality-enq-text .form-group button{
  background: #0C356A;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border: none;
  color: #fff;
  padding: 5px 10px;
}
.speciality-enq-text a{
  background: #0C356A;
  color: #fff;
  padding: 8px 40px;
  border-radius: 40px;
}
/*  Enquiry End */


/* flip changes */
.our-center-box {
  width: 345px;
  height: 245px;
  perspective: 1000px;
}

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

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

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
}

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

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background-color: #E6F1F8;
  color: #0C356A;
  transform: rotateY(180deg);
  /* display: flex;
  align-items: center;
  justify-content: center; */
  padding: 20px;
}

.splide__track{
  overflow-y: hidden !important
}

.back-content h4{
  margin: 0;
}

.back-content ul{
  padding-left: 10px;
  list-style: disc;
}

.back-content p{
  margin: 0;
  line-height: 22px;
}

.flip-card-back .back-content ul {
  max-height: 175px; /* Adjust height as needed for 6 items */
  overflow-y: auto;
  margin: 0;
  padding-left: 1rem;
}

/* Optional scrollbar styling for WebKit browsers */
.flip-card-back .back-content ul::-webkit-scrollbar {
  width: 3px;
}

.flip-card-back .back-content ul::-webkit-scrollbar-thumb {
  background-color: #0C356A;
  border-radius: 3px;
}

/* video Start */
.videos{
  background: rgb(255,255,255);
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(254,241,236,1) 100%);
}
.video-img{
  position: relative;
}
.video-img img{
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.video-txt h3{
  display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  font-size: 20px;
  color: #0C356A;
  line-height: 30px;
  font-weight: 600;
}
.video-txt p{
  display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  font-size: 14px;
  color: #242329;
  line-height: 30px;
}
.video-txt{
  position: relative;
}
.videos-date{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.video-txt a{
  color: #3DA988;
  display: flex;
  align-items: center;
  font-size: 16px;
}
.video-txt a svg{
  margin-left: 10px;
}
.video-txt a .gg-play-button-o::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 0;
  height: 4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid;
  top: 0px;
  left: 4px;
}
.videos-date{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.play-icon {
    width: 40px;
    height: 40px;
    fill: #fff;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}
/* video End */

.splide__arrows button{
  background-color: #fff !important;
  padding: 0 !important;
  border: 2px solid #d2e7f5 !important;
      border-radius: 50% !important;
}

.splide__pagination__page{
  padding: 0 !important;
}

@media (max-width: 1199px) {
    .speciality-enq-img img {
        width: 45px;
    }
}

@media (max-width: 991px) {
    .doctor-search-bar {
        margin-top: -40px;
    }

    .banner-select-section {
        padding: 10px;
        width: 100%;
    }

    .banner-quick-link-col a {
        font-size: 14px;
    }

    .overview-section{
        margin: 40px 0 0 0;
        height: unset !important;
    }

    .overview-grid{
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .alma-grid{
        grid-template-columns: 1fr;
    }

    .speciality-enq .d-grid .col {
        display: block;
    }

    .speciality-enq-img img {
        display: block;
        margin: 0 auto;
    }

    .speciality-enq-text {
        margin: 15px 0 0 0;
        text-align: center;
    }

    .service-grid{
        grid-template-columns: 1fr;
    }

    .our-doctor-box{
        height: 340px;
    }

    .splide__arrows {
        top: -65px;
    }   
}


@media (max-width: 767px) {
    .banner-quick-link-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .baner-quick-link-no-border {
        border-right: none;
    }
    .banner-book-apponitnet {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .heading-main{
        font-size: 26px;
    }
     .speciality-enq .d-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
    }

    .service-box img{
        width: auto;
    }

    .speciality-enq .d-grid .col {
        border-bottom: 1px solid #dedbdb;
        border-right: none;
        padding-bottom: 20px;
    }
    .our-center-box.is-flipped .flip-card-inner {
      transform: rotateY(180deg);
    }
}

@media (max-width: 499px) {
    .banner-quick-link-col a {
        font-size: 12px;
    }
    .overview-grid{
        padding-left: 0;
        padding-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
    [role="tablist"]{
        gap: 10px;
        padding: 24px 10px;
    }
    .tabss button{
        padding: 8px;
        font-size: 12px;
    }

    .cosmetic-grid{
        grid-template-columns: 1fr;
    }
  
    .service-container{
        width: 350px;
    }
    .service-name h5{
        margin: 5px 0;
    }

    .cosmetology-service .heading-main{
        line-height: 32px;
    }

        .speciality-enq .d-grid .col {
        display: flex;
        align-items: center;
    }

    .speciality-enq-img img {
        width: 50px;
        margin-right: 20px;
    }
    .speciality-enq-text {
        text-align: left;
    }

    .splide__arrows {
        top: -35px;
    }
    .service-grid .splide__arrows{
        left: unset !important;
        bottom: unset !important;
    }
}