@charset "UTF-8";

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

Template Name: Medolia – Doctor, Dental & Healthcare HTML Template
URI: pixelfit.agency
Description: Medolia is a modern, clean, and professional HTML template built specifically for the healthcare industry. Whether you’re a private doctor, dental clinic, or a multispecialty hospital, Medolia offers the perfect design to establish trust and deliver information clearly.
Author: Pixelfit
Author URI: https://themeforest.net/user/pixelfit
Version: 1.0 


------------------------------------------------------
   CSS INDEX
-----------------------------------------------------

    # Common CSS
    # Hero Section CSS
    # About Section CSS
    # Service Section CSS
    # Intro Section CSS
    # Choose Section CSS
    # Process Section CSS
    # Team Section CSS
    # Testimonial Section CSS
    # Blog Section CSS
    # CTA Section CSS

-------------------------------------------------------    */
/* Common CSS */
button {
  background-color: transparent;
}

/* Hero Section  CSS */
.medolia-hero {
  padding: 100px 0 30px;
}

.medolia-hero .hero-content h1 {
  margin-bottom: 15px;
  font-size: 78px;
  line-height: 85px;
}

@media (max-width: 1650px) {
  .medolia-hero .hero-content h1 {
    font-size: 65px;
    line-height: 75px;
  }
}

@media screen and (max-width: 1199.98px) {
  .medolia-hero .hero-content h1 {
    font-size: 55px;
    line-height: 65px;
  }
}

@media screen and (max-width: 991.98px) {
  .medolia-hero .hero-content h1 {
    font-size: 45px;
    line-height: 55px;
  }
}

@media (max-width: 767.98px) {
  .medolia-hero .hero-content h1 {
    font-size: 30px;
    line-height: 40px;
  }
}

.medolia-hero .hero-content p {
  margin-bottom: 45px;
}

.medolia-hero .hero-content .medolia-avatar-box {
  margin-left: 50px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (max-width: 767.98px) {
  .medolia-hero .hero-content .medolia-avatar-box {
    margin-left: 0;
    margin-top: 30px;
  }
}

.medolia-hero .hero-content .medolia-avatar-box .medolia-avatar ul {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.medolia-hero .hero-content .medolia-avatar-box .medolia-avatar ul li:not(:first-child) {
  margin-left: -15px;
}

.medolia-hero .hero-content .medolia-avatar-box .medolia-avatar ul li img {
  border: 3px solid var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* About Section CSS */

.medolia-about-sec .medolia-image-box {
  position: relative;
  margin-right: -30px;
  min-height: 600px;
}

@media (max-width: 1650px) {
  .medolia-about-sec .medolia-image-box {
    margin-right: 0;
  }
}

@media screen and (max-width: 1199.98px) {
  .medolia-about-sec .medolia-image-box {
    margin-right: 0;
  }
}

.medolia-about-sec .medolia-image-box .medolia-image img {
  width: 100%;
  border-radius: 10px;
}

.medolia-about-sec .medolia-content-box {
  padding-left: 110px;
}

@media (max-width: 1650px) {
  .medolia-about-sec .medolia-content-box {
    padding-left: 60px;
  }
}

@media screen and (max-width: 1199.98px) {
  .medolia-about-sec .medolia-content-box {
    padding-left: 0;
  }
}

/* Service Section CSS */
.medolia-services-sec {
  overflow: hidden;
}

/* Services grid (3-up) — used by the Services page's full list, and by
   any other page still using the plain .cc-service-grid layout. Restored
   to its original grid behaviour; unrelated to the home-page scroll
   below (that lives entirely under .cc-service-track). */
.cc-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991.98px) {
  .cc-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575.98px) {
  .cc-service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Home page "Our Dental Services" scroll. Same interaction idea as the
   Patient Feedback slider — the visitor moves through the cards instead
   of seeing a fixed set — but here it's a horizontal scroll/swipe (with
   arrow buttons) since it's showing a full list. Scoped to
   .cc-service-track only so it never touches the Services page grid. */
.cc-service-scroll-wrap {
  position: relative;
}

.cc-service-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Hide the scrollbar itself — swipe/drag or the arrow buttons handle
     scrolling instead. */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Fade the edges slightly so it reads as "more content this way" */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 2%, #000 96%, transparent 100%);
}

.cc-service-scroll::-webkit-scrollbar {
  display: none;
}

.cc-service-track {
  display: flex;
  gap: 30px;
  padding: 6px 6px 20px;
}

/* Same card width the old 3-up grid produced (roughly a third of the
   container, minus gaps) — just laid out in a scrollable row. Scoped to
   the track so the Services page grid keeps its own width: 100% cards. */
.cc-service-track .medolia-service-item {
  flex: 0 0 clamp(300px, 30vw, 400px);
  scroll-snap-align: start;
}

@media (max-width: 575.98px) {
  .cc-service-track .medolia-service-item {
    flex: 0 0 clamp(220px, 78vw, 280px);
  }
}

.cc-service-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--white-color);
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.cc-service-arrow:hover {
  background-color: var(--primary-black-color);
  color: var(--white-color);
  border-color: transparent;
}

.cc-service-arrow-prev {
  left: -40px;
}

.cc-service-arrow-next {
  right: -24px;
}

.cc-service-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .cc-service-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .cc-service-arrow-prev {
    left: -10px;
  }
  .cc-service-arrow-next {
    right: -10px;
  }
}

@media (max-width: 575.98px) {
  .cc-service-arrow {
    display: none;
  }
}

.medolia-service-item {
  background-color: var(--white-color);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  border: 1px solid #00000010;
}

.medolia-service-item .thumbnail img {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .medolia-service-item .thumbnail img {
    height: 180px;
  }
}

@media (max-width: 575.98px) {
  .medolia-service-item {
    padding: 16px;
  }
  .medolia-service-item .thumbnail img {
    height: 200px;
  }
}

.medolia-service-item .content {
  position: relative;
  padding: 45px 10px 5px;
}

.medolia-service-item .content .icon {
  position: absolute;
  top: -25px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--primary-black-color);
  background-color: var(--icon-bg-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid var(--gray-light-color);
}

.medolia-service-item .content h4 {
  margin-bottom: 10px;
}

.medolia-service-item .content p {
  margin-bottom: 20px;
}

/* Intro Section CSS */

/* Choose Section CSS */

/* Process Section CSS */

/* Team Section CSS */

/* Testimonial Section CSS */
.testimonial-slider {
  margin-left: -15px;
  margin-right: -15px;
}

@media screen and (max-width: 991.98px) {
  .testimonial-slider {
    margin-left: -12px;
    margin-right: -12px;
  }
}

.testimonial-slider .slick-slide {
  margin-left: 15px;
  margin-right: 15px;
}

@media screen and (max-width: 991.98px) {
  .testimonial-slider .slick-slide {
    margin-left: 12px;
    margin-right: 12px;
  }
}

.medolia-author-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.medolia-author-box .author-thumbnail {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 60px;
  margin-right: 10px;
}

.medolia-author-box .author-thumbnail img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.medolia-author-box .author-info h5 {
  margin-bottom: 10px;
}

/* Blog Section CSS */

/* CTA Section CSS */