/* ====================================================
          Carousel Starts
=======================================================*/

/* Carousel container */
.carousel-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  background-color: #051115;
}

/* Carousel Slides */
.carousel-slide {
  display: flex;
  transition-property: opacity;
  transition-duration: 200ms;
  transition-timing-function: ease-in-out;
  transition-delay: 200ms;
}

/* Caption text */
.carousel-content {
  color: #f40909;
  font-size: 24px;
  position: absolute;
  top: 40%;
  width: 100%;
}

.carousel-content>h3 {
  font-family: 'Merienda One', cursive;
}

.carousel-content-p {
  padding: 1rem 0;
  font-size: 1.5rem;
  color: #333;
  line-height: 2;
}

.carousel-content-btn {
  background-color: #0cbcdb;
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: .5rem;
  font-size: 1.7rem;
  color: #fff;
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  background: none;
  border: none;
  outline: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #F5BD02;
  padding: 0 0.5rem;
  border-radius: 0.25rem;
  background-color: rgba(0, 0, 0, 0.1);
  transition: 0.5s ease;
}

/* Position the "prev button" to the left */
.prev {
  left: 1rem;
}

/* Position the "next button" to the right */
.next {
  right: 1rem;
  border-radius: 3px 0 0 3px;
}

/* Prev & Next button hover effect */
.prev:hover,
.next:hover {
  background-color: #000052;
  color: #fff;
}

/* Carousel dots */
.dots {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.dots .dot {
  list-style: none;
  width: 24px;
  height: 8px;
  background-color: #080c5a;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
  border-style: solid;
  border-width: 2px;
  border-color: white;
}

.dot:hover,
.dot.active {
  background-color: #c1881d;
  opacity: 1;
  width: 40px;
  height: 10px;
  cursor: pointer;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 500px) {


  /* Caption text */
  .carousel-content {
    top: 30%;
  }

  .carousel-content>h3 {
    font-size: 1.4rem;
  }

  .carousel-content-p {
    padding: 1rem 0;
    font-size: 1.2rem;
    color: #333;
    line-height: 2;
  }

  .carousel-content-btn {
    font-size: 1rem;
    margin: 5px;
  }

  .prev,
  .next,
  .carousel-text {
    font-size: 24px
  }

  .dots{
    bottom: 3%;
  }

  .dots .dot {
    width: 15px;
    height: 5px;
  }

}

/* ====================================================
            Carousel Ends
  =======================================================*/


.dental-treatment-flow {
  background-color: #000a2c;
  color: white;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dental-treatment {
  font-size: 24px;
  font-weight: 600;
}

.dental-treatment>i {
  padding: 10px;
}



/* ===========================================
Offers Section Start
======================================= */
.offers-section {
  background-color: #000a2c;
  /* background: url(../images/home/offers/t.jpg); */
  width: 100%;
}

.offers-header {
  text-align: center;
  padding: 2%;
  font-size: clamp(3rem, 3vw, 6rem);
  color: white;
}

.offers-container .offer-card {
  width: 100%;
  height:220px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 .3rem .5rem rgba(0, 0, 0, .3);
}

.offer-card>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-content {
  position: absolute;
  top: 55%;
  /* left: 3rem; */
  transform: translateY(-50%);
}

.offer-content>h3 {
  font-size: 2.2rem;
  color: black;
  text-shadow: 0 .3rem .5rem rgba(0, 0, 0, .3);
  padding: 0px 0px 20px 30px;
}

.offer-content>p {
  font-size: 1.8rem;
  color: black;
  text-align: center;
  padding: 0px 30px 30px 30px;
}

.offer-content>a{
  padding: 0px 0px 30px 30px;
}

.offer-btn {
  height: 4rem;
  width: 60%;
  border-radius: 10px;
  border-style: solid;
  border-color: #F5BD02;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  text-transform: capitalize;
}

.offer-btn:hover{
  background-color: #c1881d;
}
/* ===========================================
  Offers Section ends
  ======================================= */


/* ===========================================
Why choose us Section Start
======================================= */
.why-us-container {
  background: url("../images/why-choose-prince-dental-care-background-sarjapur-bangalore.webp");
  color: #fff;
}

.why-us-content {
  padding: 40px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-us-content>h3 {
  font-size: clamp(3rem, 3vw, 6rem);
  text-align: center;
}

.why-us-content>p {
  padding: 1%;
  font-size: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
}

.why-us-cards {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: stretch;
}

.why-us-card {
  padding: 1rem;
  margin: 1rem;
  color: #fff;
  /* color: black; */
  text-align: center;
  flex: 2 2 30%;
  background-color: transparent;
  border-radius: 20px;
  border-style: solid;
  /* border-color: #c1881d; */
  border-color: #F5BD02;
}

.why-us-card>h3 {
  font-size: 2rem;
  margin-top: 8px;
}

.why-us-card>i {
  font-size: 4rem;
  color: #c1881d;
  padding: 1rem 0;
}

.why-us-card>p {
  font-size: 1.6rem;
  padding: 10px 0;
}

.why-us-card>a>button {
  font-size: 1.2rem;
  padding: 6px;
}

.w-btn {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.w-btn>i {
  padding-right: 5px;
}

.w-btn-rect-to-round {
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  transition: 0.5s ease-in;
}

.w-btn-rect-to-round:hover {
  border-radius: 60px;
  color: #c1881d !important;
}

.w-btn-rect-to-round--black {
  border: 2px solid rgb(243, 24, 24);
  color: rgb(248, 24, 24) !important;
}

.w-btn-rect-to-round--black:hover {
  border-color: #c1881d;
  background: #fff;
  padding: 5px;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 470px) {
  .why-us-card {
    flex: 2 2 100%;
  }
}

/* ===========================================
  Why choose us  Section ends
  ======================================= */



/* ====================================================
          Services section starts
=======================================================*/
.dental-services-section {
  background-color: #000a2c;
}

.dental-services-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.dental-services-content>h3 {
  font-size: clamp(3rem, 3vw, 6rem);
  padding: 15px;
}

.dental-services-content>p {
  padding-bottom: 2%;
  font-size: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
}

.dental-services-tab-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-radius: 10px;
  border-style: solid;
  border-color: #c1881d;
  padding: 2%;
}

.dental-services-tab-menu {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.dental-services-tab-menu>.dental-services-tab {
  flex: 1;
  background-color: transparent;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  text-transform: capitalize;
  cursor: pointer;
  border-radius: 10px;
  margin: 10px;
  border-style: groove;
}

.dental-services-tab-menu>.dental-services-tab.active {
  background: linear-gradient(to left, #4be00f, #0e72a3, #0052d4);
  box-shadow: inset 8px 8px 8px rgb(14, 14, 26), inset -8px -8px 8px rgb(14, 14, 26);
}

.dental-services-tab>a {
  width: 100%;
  height: 100%;
  padding: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.dental-services-tab-panels {
  padding: 8px;
}

.dental-service-panel>button {
  padding: 10px 28px;
  color: #fff;
  background-color: #000052;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.dental-service-panel>button:hover {
  opacity: 0.9;
}

.dental-service {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.dental-service-card {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 10px;
  background-color: #effffe;
  box-shadow: 1px 1px 12px #000;
  transform: preserve-3d;
  perspective: 2000px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-align: center;
  margin: 15px;
  border-style: dotted;
}

.dental-service-card:hover .dental-treatment-coverage {
  transition: all 0.5s;
  transform: rotatey(-83deg);
}

.dental-treatment-coverage {
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../images/dental-services-card-background-bangalore.webp");
  background-size: cover;
  transform-origin: 0;
  box-shadow: 1px 1px 12px #e4dede;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  transition: all 0.5s;
  cursor: pointer;
  color: #fff;
}

.dental-treatment-coverage>img {
  width: 70%;
  height: 70%;
  border-radius: 15px;
  margin-top: -40px;
}

.dental-treatment-coverage>p {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dental-service-card .dental-treatment-coverage>h2 {
  color: #fff;
  font-size: 20px;
  font-weight: bolder;
  padding-top: 5%;
}


.dental-service-card .dental-treatment-content {
  /* background-image: url("../image3.jpg"); */
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.dental-service-card .dental-treatment-content>a>p {
  font-size: 16px;
  padding: 10px 10px 0px 20px;
  color: black;
  margin-bottom: 3px;
}

.dental-service-card .dentalservices-btn {
  background-color: transparent;
  padding: 3px;
  font-size: 16px;
  border-radius: 10px;
  border-color: #c1881d;
  /* color: #fff; */
  cursor: pointer;
}


/* On smaller screens, decrease text size */
@media only screen and (max-width: 470px) {
  .dental-service-card {
    height: 100%;
    margin: 20px;
  }

  .dental-services-content {
    padding: 5px;
  }

  .dental-services-tab-panels {
    padding: 5px;
  }
}

/* ====================================================
          Services section ends
=======================================================*/

/* ====================================================
          Gallery section starts
=======================================================*/

.gallery-section {
  background-color: #000a2c;
  color: #fff;
}

.gallery-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-content>h3 {
  font-size: clamp(3rem, 3vw, 6rem);
  padding: 10px;
}

.gallery-content>p {
  padding: 0.5%;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-img {
  margin: 2rem;
  border-radius: .5rem;
  box-shadow: 0 .2rem .5rem #fff;
  overflow: hidden;
}

.gallery-images .gallery-img>img {
  width: 100%;
  height: 100%;
}

.gallery-img>img:hover {
  cursor:zoom-in;
  transform: scale(1.4);
}

.gallery-vm-btn {
  background-color: transparent;
  padding: 10px;
  color: #fff;
  font-size: 2.4rem;
  border-radius: 10px;
  border-color: #c1881d;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  cursor: pointer;
}

@media only screen and (max-width: 334px) {

  .gallery-img {
    width: 80%;
  }
}

/* ====================================================
          Gallery section ends
=======================================================*/

/* ====================================================
          Testimonal section starts
=======================================================*/

.testimonals {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000a2c;
  padding-bottom: 2%;
}

.dental-testimonals-content {
  color: white;
  padding: 40px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dental-testimonals-content>h3 {
  font-size: clamp(3rem, 3vw, 6rem);
  text-align: center;
}

.dental-testimonals-content>p {
  padding: 1%;
  font-size: clamp(1.5rem, 2vw, 2rem);
  text-align: center;
}

.slider-wrapper {
  overflow: hidden;
  max-width: 1300px;
  margin: 0 70px 50px;
}

.card-list .card-item {
  color: #fff;
  user-select: none;
  padding: 30px;
  display: flex;
  height: 100%;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}

.card-list .card-item .user-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #fff;
  padding: 5px;
  margin-bottom: 32px;
}

.card-list .card-item .user-name {
  font-size: 24px;
  font-weight: 600;
}

.card-list .card-item .review-text {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  margin: 18px 0;
}

.card-list .card-item .review-rating span {
  color: #ffd700;
  cursor: pointer;
  font-size: 20px;
}

.slider-wrapper .swiper-pagination-bullet {
  background: #fff;
  width: 15px;
  height: 15px;
}

.slider-wrapper .swiper-slider-button {
  color: #fff;
  margin-top: -50px;
  transition: 0.3s ease;
}

.slider-wrapper .swiper-slider-button:hover {
  color: #ffd700;
}

@media screen and (max-width: 768px) {
  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slider-button {
    display: none;
  }
}

/* ====================================================
          Testimonal section ends
=======================================================*/

/* ====================================================
          FAQ section starts
=======================================================*/

.faq {
  /* background-color: rgb(7, 17, 72); */
  background-color: #000a2c;
  justify-content: center;
  padding-bottom: 5%;
  color: #fff;
}

.faq-title {
  font-size: 50px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.faq-questions-container {
  width: 85%;
  margin: 0 auto;
}

.faq-question {
  border-bottom: 1px solid #fff;
  padding: 1.25px;
  margin: 10px;
  margin-bottom: 15px;
  /* background-color: #308ffb; */
  background-color: transparent;
  border-radius: 25px;
}

.faq-question>button {
  width: 100%;
  /* background-color: #308ffb; */
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  padding: 20px 25px;
  border: none;
  outline: none;
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 25px;
}

.faq-question>p {
  font-size: 20px;
  /* margin:  10px; */
  max-height: 0;
  opacity: 0;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.6s ease;
}

.d-arrow {
  transition: transform 0.5s ease-in;
  color: #fff;
}

/*add this class when click*/
.faq-question>p.show {
  max-height: 300px;
  opacity: 1;
  padding: 0px 24px 12px 24px;
}

.faq-question>button .d-arrow.rotate {
  transform: rotate(180deg);
}

.faq-vm {
  display: flex;
  justify-content: center;
}

.faq-vm-btn {
  background-color: transparent;
  padding: 10px;
  color: #fff;
  font-size: 2.4rem;
  border-radius: 10px;
  border-color: #c1881d;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: capitalize;
  cursor: pointer;
}

/* ====================================================
          FAQ section ends
=======================================================*/

/* ====================================================
        Dental Quotes section starts
=======================================================*/
.dental-quotes-container {
  position: relative;
  width: 100%;
  margin: auto;
  /* background: #05097d; */
  background: #000a2c;
  ;
  padding: 20px;
}

.dental-quote {
  display: none;
  text-align: center;
  padding: 20px;
}

.dental-quote-icon-flip {
  display: inline-block;
  transform: scaleX(-1);
}

.dental-quote>blockquote {
  font-size: 3rem;
  margin: 0;
  color: #fff;
  line-height: 1.5;
  word-wrap: break-word;
  font-style: italic;
  /* Ensure long words break */
}

.dental-quote footer {
  color: #e2f110;
  font-size: clamp(1.5rem, 2vw, 2rem);
  /* Blue color for contrast */
  font-style: italic;
  margin-top: 10px;
}

.dental-quote-prev,
.dental-quote-next {
  cursor: pointer;
  position: absolute;
  background: none;
  border: none;
  outline: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #F5BD02;
  padding: 0 0.5rem;
  border-radius: 0.25rem;
  background-color: rgba(0, 0, 0, 0.1);
  transition: 0.5s ease;
}

.dental-quote-next {
  right: 15px;
}

.dental-quote-prev:hover,
.dental-quote-next:hover {
  background-color: #F5F5DC;
}

@media screen and (max-width: 768px) {

  .dental-quote>blockquote {
    font-size: 1.5rem;
  }

  .dental-quote-prev,
  .dental-quote-next {
    padding: 12px;
    font-size: 16px;
  }

  .dental-quote-prev {
    left: 10px;
  }

  .dental-quote-next {
    right: 10px;
  }

}

/* ====================================================
        Dental Quotes section ends
=======================================================*/