:root {
  --primary-color: #64395F;
  --primary-color-main: #308159;
  --secondary-color: #8EE5B9;
  --shade-color: #69BC93;
  --bs-body-color: #212124;
  font-family: 'Work Sans';
}

html, body {
      height: 100%;
      margin: 0;
      display: flex;
      flex-direction: column;
    }

/* Topmost bar styling Start*/
.top-bar {
    background-color: #f8fdf9;
    color: var( --primary-color);
    font-size: 14px;
    padding: 10px 0;
}

.top-bar .icons {
    color: var(--secondary-color);
    margin-right: 10px;
}

.top-bar .title{
  color: var(--primary-color);
  font-family: 'Yeseva One';
  font-style: normal;
  font-weight: 400;
  font-size: 36px;
  line-height: 42px;
  text-transform: uppercase;
}

.topbar-container {
  gap: 1rem;
}

@media (min-width: 768px) {
  .topbar-container {
    align-items: center; 
  }
  .top-bar .row {
    flex: 1;
    margin-left: auto;  /* push info to right side */
    justify-content: flex-end !important;
  }
  .top-bar .row > div {
    margin-bottom: 0 !important;
  }
}

/* Topmost bar styling End*/

/* Navbar styling */
.navbar {
    background-color: var(--primary-color);
}
.navbar-nav .nav-link {
    color: #fff !important;
    margin: 0 8px;
}
.navbar-nav .nav-link.active {
    font-weight: 700;
}
.btn-appointment {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 6px 20px;
    border: none;
    width: 70%;
    height: 40px;
    margin-bottom: 20px;
}
.btn-appointment:hover {
    background-color: #8cdab5;
}
.search-icon {
    color: white;
    font-size: 18px;
    margin-right: 20px;
    cursor: pointer;
}

@media (min-width: 992px) {
  .navbar .navbar-brand {
    display: none !important; /* hide title on desktop */
  }

  .navbar .navbar-collapse {
    flex-grow: 1;
  }

  .navbar .search-icon {
    font-size: 18px;
  }

  .btn-appointment {
    margin-bottom: 0;
    width: auto;
    height: auto;
  }
}

/* HERO SECTION */
/* Hero section styling */
    .hero-section {
      position: relative;
      background: url('../images/cc/hero_bg.png') no-repeat center center/cover;
      min-height: 100vh;
      display: flex;
      align-items: center;
      color: var(--primary-color);
      overflow: hidden;
    }

    .hero-text{
        padding-left: 10%;
    }
    /* Caring for Life */
    .hero-text h6 {
      color: var(--shade-color);
      letter-spacing: 2px;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 18px;
      line-height: 21px;
      font-style: normal;
      height: 21px;
    }

    .hero-text h1 {
      font-size: 3rem;
      font-weight: 400;
      color: var(--primary-color-main);
      line-height: 1.2;
      font-family: 'Yesteryear';
      font-style: normal;
    }

    .hero-text .btn {
      background-color: var(--secondary-color);
      color: var(--primary-color);
      border: none;
      padding: 12px 35px;
      border-radius: 40px;
      font-weight: 600;
      transition: 0.3s;
    }

    .hero-text .btn:hover {
      background-color: var(--secondary-color);
      color: white;
    }

    /* Foreground doctor image */
    .hero-image img {
      max-width: 67%;
      height: auto;
      position: relative;
      /* z-index: 2; */
    }

    @media (max-width: 992px) {
      .hero-section {
        text-align: center;
        justify-content: center;
        align-items: center;
        padding: 100px 15px;
      }

      .hero-image {
        margin-top: 30px;
      }

      .hero-text h1 {
        font-size: 2.2rem;
      }
    }

/* Hero cards */
.calendar-card {
  background-color: var(--primary-color);
  color: white;
}

.team-card {
  background-color: #8ee5b9;
  color: var(--bs-body-color);
}

.cash-card {
  background-color: var(--shade-color);
  color: white;
}

/* Introducion section  */
.default-text-family{
  font-family: "Work Sans";
}

.sectionHeader{
  font-family: "Work Sans";
}

.sectionHeader h2{
  color: var(--primary-color);
}

.sectionHeader h6{
  color: var(--shade-color);
}

/* Footer start */
.footer {
    background-color: var(--primary-color);
    color: #C8E6C9;
    padding: 60px 0 30px;
    font-size: 15px;
    margin-top: auto
}
.footer h5 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}
.footer a {
    color: #C8E6C9;
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
}
.footer input[type="email"] {
    background-color: var(--secondary-color);
    border: none;
    color: #1B4D3E;
}
.footer .input-group-text {
    background-color: var(--secondary-color);
    border: none;
    cursor: pointer;
}
.footer hr {
    border-color: rgba(255, 255, 255, 0.4);
    margin: 30px 0;
}
.footer .social-icons a {
    color: #C8E6C9;
    font-size: 1.2rem;
    margin-right: 15px;
}
.footer .social-icons a:hover {
    color: #fff;
}
.footer .brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #BFE3C5;
    letter-spacing: 1px;
}

.our-services-section {
  color: #1a1a1a;
}

.our-services-section h6 {
  letter-spacing: 2px;
}

.service-sidebar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.service-item {
  text-align: center;
  background: #fff;
  padding: 20px 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item.active,
.service-item:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

.service-item i {
  color: #2b8a6d;
  transition: color 0.3s;
}

.service-item.active i,
.service-item:hover i {
  color: #fff;
}

.btn-success {
  background-color: #2b8a6d;
  border: none;
}

.btn-success:hover {
  background-color: #26775f;
}

@media (max-width: 991px) {
  .service-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-item {
    width: 45%;
    margin-bottom: 10px;
  }
}

@media (max-width: 575px) {
  .service-item {
    width: 100%;
  }
}


.appointment-section {
  background-image: url('../images/contact_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
  color: #1a1a1a;
}

.appointment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.75); /* light overlay */
}

.appointment-section .container {
  position: relative;
  /* z-index: 1; */
}

.appointment-section h2 {
  font-size: 2rem;
}

.appointment-section p {
  font-size: 1rem;
  line-height: 1.7;
}

.appointment-form-section {
  background-color: var(--primary-color); /* main green background */
}

.appointment-form {
  background-color: var(--primary-color);
  color: #fff;
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder,
.appointment-form select {
  color: rgba(255, 255, 255, 0.85);
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus {
  box-shadow: none;
  outline: none;
  background-color: transparent;
  border-color: #9ee2c3;
}

.appointment-form .btn-success {
  background-color: #9ee2c3;
  border: none;
  color: #2d5243;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.appointment-form .btn-success:hover {
  background-color: #89d8b3;
}

/* Doctors section */
.our-doctors-section {
  background-color: #fff;
}

.doctor-card {
  background-color: #a6e3c4;
  transition: transform 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-6px);
}

.doctor-info {
  background-color: #a6e3c4;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2f6f4f;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #19593c;
  color: #fff;
}

.btn-dark {
  background-color: #2f6f4f;
  border: none;
}

.btn-dark:hover {
  background-color: #1f4e38;
}

/* Carousel Dots */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #2f6f4f;
  opacity: 0.4;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #1f4e38;
}

/* News Section */
.news-section {
  background-color: #f6faf8;
}

.news-card img {
  width: 150px;
  height: auto;
  object-fit: cover;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  border: none;
  background-color: #cde8d5;
  transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background-color: #36a379;
}

.letter-spacing {
  letter-spacing: 1px;
}

/* Contact section */
.contact-section .letter-spacing {
  letter-spacing: 1px;
}

.contact-card {
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.bg-success-subtle {
  background-color: #a7e1b7 !important; /* soft mint green */
}

.bg-success {
  background-color: #307c5d !important; /* darker green */
}

/* ABOUT US PAGE */
.sub-header {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color-main);
  overflow: hidden;
}

.sub-header::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(255, 255, 255, 0.75); white overlay for contrast */
}

.sub-header::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(116, 204, 173, 0.5);
}

.sub-header .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-text {
  color: var(--primary-color);
  font-size: 16px;
}

.testimonial-section {
  background: url('../images/testimonials.jpg') center center/cover no-repeat;
  background-color: rgba(0, 77, 64, 0.8); /* fallback overlay tint */
  background-blend-mode: multiply;
  min-height: 60vh;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bi-quote {
  color: #a8e6cf; /* matches the quote icon tint */
}

/* Services sections */
.services-section {
  background-color: #fff;
}

.service-card {
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card .card-img {
  position: relative;
  overflow: hidden;
}

.service-card img {
  transition: all 0.4s ease;
  width: 100%;
}

.service-card:hover img {
  filter: brightness(50%);
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover .overlay {
  opacity: 1;
}

.icon-circle {
  position: absolute;
  bottom: -25px;
  right: 20px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  padding: 12px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.service-card:hover .icon-circle {
  transform: scale(1.1);
}

.card-body {
  padding: 2rem 1.5rem 1.5rem;
}

/* Contact Us Form start  */
.contact-form {
  background-color: var(--primary-color); /* green form background */
}

.contact-form .form-control {
  background-color: var(--primary-color);
  color: #fff;
}

.contact-form .form-control::placeholder {
  color: #d6e5da;
  opacity: 0.9;
}

.contact-form .form-control:focus {
  box-shadow: none;
  outline: none;
}

.submit-btn {
  background-color: #90e3bd; /* mint green */
  color: #2f7b5e;
  border: none;
  transition: 0.3s;
}

.submit-btn:hover {
  background-color: #78caa5;
}
/* Contact Us Form End  */

/* Appointment start */
.schedule-section {
  background-color: var(--primary-color);
  color: #d9f5e1;
  font-family: 'Poppins', sans-serif;
}

.schedule-title {
  color: #a6e5c8;
  font-size: 1.8rem;
}

.schedule-section span {
  font-size: 1rem;
}

.bi-telephone-outbound {
  color: #a6e5c8;
}

hr {
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* NEWS  */
.blog-section {
  font-family: 'Poppins', sans-serif;
}

.sidebar {
  scrollbar-width: thin;
  scrollbar-color: #b9dfc6 transparent;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: #b9dfc6;
  border-radius: 5px;
}

.badge {
  min-width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  background-color: #7bd3a3 !important;
  color: #1e5942;
}

.offcanvas {
  width: 320px;
}


.article-content i {
  transition: transform 0.3s;
}
.article-content i:hover {
  transform: scale(1.2);
}

.article-content h3 {
  color: #2f7b5e;
}

.read-more-btn {
  background-color: #90e3bd;
  color: #2f7b5e;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  transition: 0.3s;
}

.read-more-btn:hover {
  background-color: #78caa5;
  color: #1f5b43;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}