/**
* Template Name: Mtwapa Prime Medical Clinic | Quality Healthcare in Mtwapa
* Author:  Bootstrap made Template (Customized by Manyiri Developers)

*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Medical Color System – Clean & Trustworthy
--------------------------------------------------------------*/

:root {
  /* Fonts */
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Core Colors */
  --background-color: #F7F9FC;     /* Soft clinical background */
  --surface-color: #FFFFFF;        /* Cards / sections */
  --default-color: #333333;        /* Body text */
  --heading-color: #1A3C34;        /* Deep medical green */
  --accent-color: #2F8F83;         /* Calm medical teal */
  --contrast-color: #FFFFFF;       /* Text on accent */

  /* Navigation */
  --nav-color: #1A3C34;             /* Nav text */
  --nav-hover-color: #2F8F83;       /* Hover / active */
  --nav-mobile-background-color: #FFFFFF;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: #333333;
  --nav-dropdown-hover-color: #2F8F83;
}

/* Light Sections */
.light-background {
  --background-color: #F7F9FC;
  --surface-color: #FFFFFF;
}

/* Dark Sections (Footer / CTA / Emergency) */
.dark-background {
  --background-color: #1A3C34;
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --accent-color: #2F8F83;
  --surface-color: #2A4B44;
  --contrast-color: #FFFFFF;
}
/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}
/* Pulsating Play Button
------------------------------*/
/* .pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
} */

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  transition: all 0.5s;
  z-index: 997;
}

.header .top-bar {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  font-size: 14px;
  padding: 8px 0;
}

.header .top-bar .top-bar-item {
  color: var(--default-color);
}

.header .top-bar .top-bar-item a {
  color: var(--accent-color);
  text-decoration: none;
}

.header .top-bar .top-bar-item a:hover {
  text-decoration: underline;
}

.header .top-bar .announcement-slider {
  color: var(--accent-color);
  font-weight: 500;
  height: 24px;
  overflow: hidden;
}

.header .top-bar .announcement-slider .swiper-wrapper {
  height: auto !important;
}

.header .top-bar .announcement-slider .swiper-slide {
  text-align: center;
  height: 24px;
  line-height: 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.header .top-bar .announcement-slider .swiper-slide-active {
  opacity: 1;
  transform: translateY(0);
}

.header .main-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .main-header .logo {
  line-height: 1;
}

.header .main-header .logo img {
  max-height: 40px;
  margin-right: 8px;
}

.header .main-header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .header .main-header .logo h1 {
    font-size: 24px;
  }
}

.header .main-header .desktop-search-form {
  min-width: 300px;
}

@media (max-width: 1200px) {
  .header .main-header .desktop-search-form {
    display: none;
  }
}

.header .main-header .header-actions {
  gap: 12px;
}

.header .main-header .header-actions .header-action-btn {
  position: relative;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--default-color);
  font-size: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.header .main-header .header-actions .header-action-btn i {
  font-size: 24px;
}

.header .main-header .header-actions .header-action-btn:hover {
  color: var(--accent-color);
}

.header .main-header .header-actions .header-action-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .main-header .account-dropdown .dropdown-menu {
  background-color: var(--surface-color);
  min-width: 280px;
  padding: 0;
  border-radius: 6px;
  margin-top: 0.75rem;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-header {
  padding: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-header h6 {
  margin: 0 0 0.25rem;
  color: var(--heading-color);
  font-size: 16px;
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-header p {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-body {
  padding: 1rem 0;
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item {
  padding: 0.5rem 1.25rem;
  font-size: 14px;
  color: var(--default-color);
  transition: all 0.2s ease;
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item i {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: color 0.2s ease;
  font-size: 16px;
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-body .dropdown-item:hover i {
  color: var(--accent-color);
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-footer {
  padding: 1.25rem;
  background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-footer .btn {
  font-size: 14px;
  padding: 0.5rem 1rem;
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-footer .btn-outline-primary {
  border-color: var(--accent-color);
  background-color: transparent;
  color: var(--accent-color);
}

.header .main-header .account-dropdown .dropdown-menu .dropdown-footer .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.header .search-form {
  margin: 0;
}

.header .search-form .input-group {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 10px;
  overflow: visible;
  background-color: var(--surface-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header .search-form .input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.header .search-form .input-group .form-control {
  border: none;
  padding: 12px 15px;
  font-size: 14px;
  background-color: transparent;
  color: var(--default-color);
}

.header .search-form .input-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.header .search-form .input-group .form-control:focus {
  box-shadow: none;
}

.header .search-form .input-group .btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 0 25px;
  border: none;
  transition: all 0.3s ease;
  border-radius: 10px !important;
  margin: 3px;
}

.header .search-form .input-group .btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.header .search-form .input-group .btn i {
  font-size: 16px;
}

.header .header-nav {
  background-color: var(--accent-color);
}


@media (min-width: 1200px) {
  .header .header-nav {
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
   .header .header-nav a{
    color:white;
   }
  .header .header-nav a:hover {
  color:white;
}
.header .header-nav .dropdown:active{
   color:white;
}

}

.header #mobileSearch {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  z-index: 1000;
}

.header #mobileSearch .search-form {
  padding: 10px 0;
}

@media (max-width: 991.98px) {
  .header .main-header .header-actions {
    gap: 0.5rem;
  }

  .header .main-header .header-actions .header-action-btn {
    padding: 0.25rem;
  }

  .header .main-header .header-actions .header-action-btn i {
    font-size: 20px;
  }
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 12px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:first-child a {
    padding-left: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--default-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/* Products Mega Menu 1 - Desktop */
@media (min-width: 1200px) {
  .navmenu .products-megamenu-1 {
    position: static;
    /*  Hide Desktop Mega Menu 1 in Desktop */
    /* Bootstrap Tabs Navigation */
    /* Tab Content */
  }

  .navmenu .products-megamenu-1 .mobile-megamenu {
    display: none;
  }

  .navmenu .products-megamenu-1 .desktop-megamenu,
  .navmenu .products-megamenu-1 .active,
  .navmenu .products-megamenu-1 .active:focus {
    background-color: var(--nav-dropdown-background-color);
  }

  .navmenu .products-megamenu-1 .desktop-megamenu {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    border-radius: 6px;
    z-index: 99;
    padding: 20px;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
  }

  .navmenu .products-megamenu-1:hover>.desktop-megamenu {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .products-megamenu-1 .megamenu-tabs {
    margin-bottom: 15px;
  }

  .navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs {
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-item {
    margin-bottom: 0;
  }

  .navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-link {
    border: none;
    padding: 10px 20px;
    color: var(--nav-dropdown-color);
    font-weight: 500;
    font-size: 15px;
    transition: 0.3s;
    background-color: transparent;
    border-bottom: 2px solid transparent;
  }

  .navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-link:hover {
    color: var(--nav-dropdown-hover-color);
    border-color: transparent;
  }

  .navmenu .products-megamenu-1 .megamenu-tabs .nav-tabs .nav-link.active {
    color: var(--accent-color);
    background-color: transparent;
    border-bottom: 2px solid var(--accent-color);
  }

  .navmenu .products-megamenu-1 .megamenu-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    /* Hide scrollbar for Chrome, Safari and Opera */
    /* Category Grid */
    /* Product Grid */
  }

  .navmenu .products-megamenu-1 .megamenu-content::-webkit-scrollbar {
    width: 5px;
  }

  .navmenu .products-megamenu-1 .megamenu-content::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--default-color), transparent 95%);
    border-radius: 10px;
  }

  .navmenu .products-megamenu-1 .megamenu-content::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 10px;
  }

  .navmenu .products-megamenu-1 .megamenu-content .tab-content {
    display: none;
  }

  .navmenu .products-megamenu-1 .megamenu-content .tab-content.active {
    display: block;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column {
    background-color: color-mix(in srgb, var(--surface-color), var(--accent-color) 3%);
    border-radius: 8px;
    padding: 15px;
    transition: 0.3s;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column h4 {
    color: var(--heading-color);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    position: relative;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column h4:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li {
    margin-bottom: 10px;
    background-color: none !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start !important;
    width: 100%;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li:last-child {
    margin-bottom: 0;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a {
    color: var(--nav-dropdown-color);
    font-size: 14px;
    transition: 0.3s;
    padding: 0 0 0 20px;
    display: block;
    position: relative;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a:before {
    content: "\f285";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    color: var(--accent-color);
    opacity: 0.7;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a:hover {
    color: var(--nav-dropdown-hover-color);
    transform: translateX(3px);
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column ul li a:hover:before {
    opacity: 1;
  }

  .navmenu .products-megamenu-1 .megamenu-content .category-grid .category-column .active {
    background-color: none;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 10px;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card {
    background-color: var(--surface-color);
    overflow: hidden;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card:hover .product-image img {
    transform: scale(1.1);
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image {
    height: 160px;
    position: relative;
    overflow: hidden;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-new,
  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    z-index: 1;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-new {
    background-color: #28a745;
    color: white;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-image .badge-sale {
    background-color: #dc3545;
    color: white;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info {
    padding: 15px;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info h5 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .price {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .price .original-price {
    text-decoration: line-through;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-right: 5px;
    font-weight: normal;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .btn-view {
    display: inline-block;
    padding: 5px 12px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    color: var(--accent-color);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: 0.3s;
  }

  .navmenu .products-megamenu-1 .megamenu-content .product-grid .product-card .product-info .btn-view:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
}

/* Products Mega Menu 1 - Mobile */
@media (max-width: 1199px) {
  .navmenu .products-megamenu-1 {
    /* Hide Desktop Mega Menu 1 in Mobile */
  }

  .navmenu .products-megamenu-1 .desktop-megamenu {
    display: none;
  }

  .navmenu .products-megamenu-1 .mobile-megamenu {
    position: static;
    display: none;
    z-index: 99;
    padding: 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    border-radius: 4px;
    overflow: hidden;
  }

  .navmenu .products-megamenu-1 .mobile-megamenu li {
    position: relative;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu .products-megamenu-1 .mobile-megamenu li:last-child {
    border-bottom: none;
  }

  .navmenu .products-megamenu-1 .mobile-megamenu li a {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--nav-dropdown-color);
    font-size: 15px;
    transition: 0.3s;
  }

  .navmenu .products-megamenu-1 .mobile-megamenu li a:hover {
    color: var(--nav-dropdown-hover-color);
    background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  }

  .navmenu .products-megamenu-1 .mobile-megamenu li ul {
    padding: 0;
  }

  .navmenu .products-megamenu-1 .mobile-megamenu.dropdown-active {
    display: block;
  }
}

/* Products Mega Menu 2 - Desktop */
@media (min-width: 1200px) {
  .navmenu .products-megamenu-2 {
    position: static;
    /* Hide Mobile Mega Menu in Desktop */
    /* Tabs Navigation */
    /* Tab Content */
  }

  .navmenu .products-megamenu-2 .mobile-megamenu {
    display: none;
  }

  .navmenu .products-megamenu-2 .desktop-megamenu,
  .navmenu .products-megamenu-2 .active,
  .navmenu .products-megamenu-2 .active:focus {
    background-color: var(--nav-dropdown-background-color);
  }

  .navmenu .products-megamenu-2 .desktop-megamenu {
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    border-radius: 6px;
    z-index: 99;
    padding: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
  }

  .navmenu .products-megamenu-2:hover>.desktop-megamenu {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .products-megamenu-2 .megamenu-tabs {
    padding: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs {
    border-bottom: none;
    display: flex;
    justify-content: center;
  }

  .navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-item {
    margin: 0;
  }

  .navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-link {
    border: none;
    padding: 15px 30px;
    color: var(--nav-dropdown-color);
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    background-color: transparent;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.5px;
  }

  .navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-link:hover {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .products-megamenu-2 .megamenu-tabs .nav-tabs .nav-link.active {
    color: var(--accent-color);
    background-color: transparent;
    border-bottom: 2px solid var(--accent-color);
  }

  .navmenu .products-megamenu-2 .megamenu-content {
    flex: 1;
    overflow-y: auto;
    /* Hide scrollbar for Chrome, Safari and Opera */
    /* Category Layout */
    /* Categories Section */
    /* Featured Section */
  }

  .navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar {
    width: 5px;
  }

  .navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--default-color), transparent 95%);
    border-radius: 10px;
  }

  .navmenu .products-megamenu-2 .megamenu-content::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 10px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .tab-pane {
    padding: 25px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .category-layout {
    display: flex;
    gap: 30px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .categories-section {
    flex: 1;
    /* Category Headers */
    /* Category Links */
  }

  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-headers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 15px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-headers h4 {
    color: var(--heading-color);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row a {
    color: var(--nav-dropdown-color);
    font-size: 14px;
    transition: 0.3s;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
  }

  .navmenu .products-megamenu-2 .megamenu-content .categories-section .category-links .link-row a:hover {
    color: var(--nav-dropdown-hover-color);
    transform: translateX(3px);
  }

  .navmenu .products-megamenu-2 .megamenu-content .featured-section {
    width: 300px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image {
    position: relative;
    height: 100%;
    background-color: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
  }

  .navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
  }

  .navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
  }

  .navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content h3 {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content .btn-shop {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    width: fit-content;
  }

  .navmenu .products-megamenu-2 .megamenu-content .featured-section .featured-image .featured-content .btn-shop:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 15%);
    transform: translateY(-2px);
  }
}

/* Products Mega Menu 2 - Mobile */
@media (max-width: 1199px) {
  .navmenu .products-megamenu-2 {
    /* Hide Desktop Mega Menu in Mobile */
  }

  .navmenu .products-megamenu-2 .desktop-megamenu {
    display: none;
  }

  .navmenu .products-megamenu-2 .mobile-megamenu {
    position: static;
    display: none;
    z-index: 99;
    padding: 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
    border-radius: 4px;
    overflow: hidden;
  }

  .navmenu .products-megamenu-2 .mobile-megamenu li {
    position: relative;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .navmenu .products-megamenu-2 .mobile-megamenu li:last-child {
    border-bottom: none;
  }

  .navmenu .products-megamenu-2 .mobile-megamenu li a {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--nav-dropdown-color);
    font-size: 15px;
    transition: 0.3s;
  }

  .navmenu .products-megamenu-2 .mobile-megamenu li a:hover {
    color: var(--nav-dropdown-hover-color);
    background-color: color-mix(in srgb, var(--default-color), transparent 97%);
  }

  .navmenu .products-megamenu-2 .mobile-megamenu li ul {
    padding: 0;
  }

  .navmenu .products-megamenu-2 .mobile-megamenu.dropdown-active {
    display: block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--surface-color); /* Light medical bg for calm */
  font-size: 14px;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-main {
  padding: 60px 0 40px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .footer-main .footer-widget {
  margin-bottom: 30px;
}

.footer .footer-main .footer-widget .logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer .footer-main .footer-widget .logo span {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}

.footer .footer-main .footer-widget p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .footer-main .footer-widget h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer .footer-main .footer-widget h4:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

.footer .footer-main .footer-widget h5 {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
}

.footer .footer-main .footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer .footer-main .footer-contact .contact-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 12px;
  margin-top: 3px;
}

.footer .footer-main .footer-contact .contact-item span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.5;
}

.footer .footer-main .footer-contact .contact-item a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: color 0.3s ease;
}

.footer .footer-main .footer-contact .contact-item a:hover {
  color: var(--accent-color);
}

.footer .footer-main .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-main .footer-links li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}

.footer .footer-main .footer-links li:before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-size: 14px;
}

.footer .footer-main .footer-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: color 0.3s ease;
}

.footer .footer-main .footer-links a:hover {
  color: var(--accent-color);
}

.footer .footer-main .social-links {
  margin-top: 25px;
}

.footer .footer-main .social-links .social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer .footer-main .social-links .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer .footer-main .social-links .social-icons a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-bottom {
  padding: 20px 0;
}

.footer .footer-bottom .copyright p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .footer-bottom .copyright p strong {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.footer .footer-bottom .credits {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.footer .footer-bottom .credits a {
  color: var(--accent-color);
}

.footer .footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .footer-bottom .legal-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer .footer-bottom .legal-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .footer .footer-main {
    padding: 50px 0 30px;
  }

  .footer .footer-widget h4 {
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .footer .footer-main {
    padding: 40px 0 20px;
  }

  .footer .footer-main .footer-widget {
    text-align: center;
  }

  .footer .footer-main .footer-widget h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer .footer-main .footer-contact .contact-item {
    justify-content: center;
  }

  .footer .footer-main .footer-links li {
    padding-left: 0;
  }

  .footer .footer-main .footer-links li:before {
    display: none;
  }

  .footer .footer-main .social-icons {
    justify-content: center;
  }

  .footer .footer-bottom .copyright,
  .footer .footer-bottom .credits {
    text-align: center;
  }

  .footer .footer-bottom .legal-links {
    justify-content: center;
  }
}/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
  /*--------------------------------------------------------------
# Preloader – Coastal Clinic Style
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); /* soft coastal blue-white */
  transition: opacity 0.7s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 320px;
  padding: 20px;
}

/* Clinic name styling */
.clinic-logo {
  margin-bottom: 30px;
}

.clinic-logo .sitename {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 8vw, 3.5rem);
  font-weight: 800;
  color: var(--heading-color); /* deep teal/green */
  letter-spacing: -0.5px;
  line-height: 1;
}

.clinic-logo .tag {
  display: block;
  font-size: clamp(1rem, 4vw, 1.4rem);
  color: var(--accent-color);
  font-weight: 500;
  margin-top: 6px;
}

/* Heartbeat + pulse ring */
.heartbeat-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
}

.heartbeat {
  font-size: 5rem;
  color: var(--accent-color);
  animation: heartbeat-pulse 2s ease-in-out infinite;
}

.pulse-ring {
  position: absolute;
  inset: 0;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

/* Subtle coastal wave line */
.wave-line {
  width: 180px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  margin: 0 auto 20px;
  border-radius: 50%;
  opacity: 0.6;
  animation: wave-flow 4s linear infinite;
}

/* Loading text */
.preloader-text {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 600;
  color: var(--heading-color);
  opacity: 0;
  animation: text-appear 1.2s ease-out 0.8s forwards;
}

/* Animations */
@keyframes heartbeat-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

@keyframes pulse-ring {
  0%   { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes wave-flow {
  0%   { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

@keyframes text-appear {
  0%   { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive scaling */
@media (max-width: 767px) {
  .clinic-logo .sitename { font-size: 2.6rem; }
  .clinic-logo .tag      { font-size: 1.1rem; }
  .heartbeat             { font-size: 4rem; }
  .heartbeat-container   { width: 80px; height: 80px; }
  .preloader-text        { font-size: 1.15rem; }
}

@media (max-width: 575px) {
  .clinic-logo .sitename { font-size: 2.2rem; }
  .heartbeat             { font-size: 3.5rem; }
  .preloader-text        { font-size: 1rem; }
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/


/* Hero Section – Medical Version */
.hero {
  padding: 100px 0 80px; /* More breathing room than supermarket version */
  background: var(--background-color);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(47,143,131,0.08) 0%, rgba(26,60,52,0.05) 100%);
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero .lead {
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .hero .lead {
    font-size: 1.1rem;
  }
}

.hero-actions .btn {
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.hero-actions .btn-primary {
  background: var(--accent-color);
  border: none;
  color: white;
}

.hero-actions .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(47,143,131,0.3);
}

.hero-actions .btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.hero-actions .btn-outline-primary:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
}

.hero-actions .btn i {
  font-size: 1.2rem;
}

.quick-info small {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3; /* Or 16/9 if wider – adjust to your image */
}

.image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .hero {
    padding: 80px 0 60px;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-actions {
    flex-direction: column !important;
  }
}


/*  */
/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
}

.services .section-title h2 {
  color: var(--heading-color);
  font-weight: 700;
}

.services .section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.service-item {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
}

.service-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 40px rgba(47,143,131,0.25); /* teal glow */
  background: linear-gradient(135deg, #ffffff, rgba(47,143,131,0.08));
}

.service-icon {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  transition: all 0.4s ease;
  background: rgba(47,143,131,0.1);
  width: 90px;
  height: 90px;
  line-height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
}

.service-item:hover .service-icon {
  color: white;
  background: var(--accent-color);
  transform: rotate(5deg) scale(1.1);
}

.service-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin: 0;
}

.service-name a {
  color: inherit;
  text-decoration: none;
}

/* Swiper tweaks for medical feel */
.services-slider .swiper-button-prev,
.services-slider .swiper-button-next {
  color: var(--accent-color);
  background: rgba(255,255,255,0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.services-slider .swiper-button-prev:hover,
.services-slider .swiper-button-next:hover {
  background: var(--accent-color);
  color: white;
}

.services-slider .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .service-item {
    padding: 25px 15px;
    min-height: 200px;
  }
  .service-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
  }
}
/*--------------------------------------------------------------
# Doctor and Facilities Section - Refined
--------------------------------------------------------------*/
.doctors-facility {
  padding: 60px 0;
  background: #fdfdfd; /* Brighter, cleaner white */
}

/* Control the Doctor Slider size */
.doctors-slider {
  max-width: 900px; /* Limits the "Huge" banner effect */
  margin: 0 auto 50px auto;
  border-radius: 20px;
  overflow: hidden;
}

.doctor-banner {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(47, 143, 131, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  min-height: 400px; /* Strictly controlled height */
}

.doctor-image {
  flex: 0 0 40%; /* Image takes exactly 40% of the card */
  height: 400px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; /* Keeps the doctor's face in view */
}

.doctor-content {
  flex: 0 0 60%;
  padding: 40px;
  background: linear-gradient(to right, #ffffff, #f7fdfc);
}

.promo-tag {
  background: var(--accent-color);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.doctor-content h2 {
  font-size: 2.2rem; /* Reduced from 2.8 for better balance */
  color: var(--heading-color);
  margin-top: 10px;
}

.doctor-content p {
  color: #666;
  line-height: 1.6;
}

/* CTA Button Styling */
.btn-order {
  display: inline-block;
  background: var(--accent-color);
  color: white !important;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 15px;
  transition: 0.3s;
}

.btn-order:hover {
  background: var(--heading-color);
  transform: translateX(5px);
}

/* Facility Flare */
.facility-tile {
  height: 320px;
  border-radius: 15px;
  border: none;
  background: #fff;
}

.facility-tile .promo-image {
  height: 200px; /* Control image height */
}

.facility-tile h4 {
  font-size: 1.1rem;
  color: var(--heading-color);
  font-weight: 700;
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .doctor-banner {
    flex-direction: column;
    min-height: auto;
  }
  .doctor-image {
    flex: 0 0 250px; /* Smaller fixed height on mobile */
    width: 100%;
  }
  .doctor-content {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    padding: 25px;
  }
}
   /* ────────────────────────────────────────────────
   Swiper Navigation Buttons – Pretty & Responsive
───────────────────────────────────────────────── */

.swiper-button-prev,
.swiper-button-next {
  --swiper-nav-size: 50px;          /* base size desktop */
  --swiper-nav-color: var(--accent-color);   /* teal from your theme */
  --swiper-nav-bg: rgba(255, 255, 255, 0.95);
  --swiper-nav-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  --swiper-nav-hover-bg: var(--accent-color);
  --swiper-nav-hover-color: white;

  width: var(--swiper-nav-size);
  height: var(--swiper-nav-size);
  background: var(--swiper-nav-bg);
  border-radius: 50%;
  box-shadow: var(--swiper-nav-shadow);
  color: var(--swiper-nav-color);
  opacity: 0.92;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(6px);           /* nice glass effect */
  border: 1px solid rgba(47, 143, 131, 0.15); /* subtle teal border */
}

/* Hover / Active states */
.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
  transform: scale(1.12) translateY(-2px);
  background: var(--swiper-nav-hover-bg);
  color: var(--swiper-nav-hover-color);
  box-shadow: 0 12px 28px rgba(47, 143, 131, 0.28);
  border-color: transparent;
}

/* Icon size & centering */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.5rem;                    /* arrow size */
  font-weight: 600;
  transition: transform 0.3s ease;
}

/* Move arrows slightly inward on hover for playful feel */
.swiper-button-prev:hover::after {
  transform: translateX(-3px);
}

.swiper-button-next:hover::after {
  transform: translateX(3px);
}

  /* ────────────────────────────────────────────────
    Responsive Adjustments
  ───────────────────────────────────────────────── */

  @media (max-width: 991px) {
    :root {
      --swiper-nav-size: 44px;
    }
    .swiper-button-prev::after,
    .swiper-button-next::after {
      font-size: 1.35rem;
    }
  }

  @media (max-width: 576px) {
    :root {
      --swiper-nav-size: 38px;
    }
    .swiper-button-prev,
    .swiper-button-next {
      opacity: 0.85;                      /* slightly more visible on mobile */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    .swiper-button-prev:hover,
    .swiper-button-next:hover {
      transform: scale(1.15);
    }
    .swiper-button-prev::after,
    .swiper-button-next::after {
      font-size: 1.2rem;
    }
  }

  /* Optional: Hide arrows on very small screens or when not needed */
  @media (max-width: 400px) {
    .swiper-button-prev,
    .swiper-button-next {
      display: none;   /* or keep opacity 0.7 if you want them tiny */
    }
  }

    /* ────────────────────────────────────────────────
      Extra Flair Variants (pick one or mix)
    ───────────────────────────────────────────────── */

    /* Variant 1: Minimal ring on hover */
    .swiper-button-prev:hover,
    .swiper-button-next:hover {
      outline: 3px solid rgba(47, 143, 131, 0.3);
      outline-offset: 4px;
    }

    /* Variant 2: Pulse animation on load (subtle welcome feel) */
    @keyframes pulse-glow {
      0%, 100% { box-shadow: 0 6px 18px rgba(47, 143, 131, 0.12); }
      50%      { box-shadow: 0 10px 25px rgba(47, 143, 131, 0.25); }
    }
    .swiper-button-prev,
    .swiper-button-next {
      animation: pulse-glow 3s ease-in-out infinite;
    }

    .visit-contact {
    padding: 80px 0;
  }

  .steps-wrapper .step-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
  }

  .steps-wrapper .step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(47,143,131,0.15);
  }

  .step-icon {
    font-size: 2.8rem;
    color: var(--accent-color);
    width: 70px;
    height: 70px;
    background: rgba(47,143,131,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .contact-card {
    border: 1px solid rgba(47,143,131,0.15);
  }

  .contact-item {
    font-size: 1.1rem;
  }

  .contact-item i {
    font-size: 1.4rem;
  }

  .map-wrapper iframe {
    min-height: 300px;
  }

  @media (max-width: 991px) {
    .steps-wrapper .step-item {
      padding: 18px;
    }
    .step-icon {
      font-size: 2.4rem;
      width: 60px;
      height: 60px;
    }
  }

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
}

.testimonials .section-title h2 {
  color: var(--heading-color);
}

.testimonials .section-title p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.testimonial-item {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(47,143,131,0.18);
}

.stars i {
  color: #ffc107; /* gold stars */
  font-size: 1.4rem;
  margin: 0 2px;
}

.quote {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.author h5 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--heading-color);
}

.author span {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Swiper controls */
.testimonials-slider .swiper-button-prev,
.testimonials-slider .swiper-button-next {
  color: var(--accent-color);
  background: rgba(255,255,255,0.95);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.testimonials-slider .swiper-button-prev:hover,
.testimonials-slider .swiper-button-next:hover {
  background: var(--accent-color);
  color: white;
}

.testimonials-slider .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .testimonial-item {
    padding: 25px 20px;
    min-height: 260px;
  }
  .quote {
    font-size: 1rem;
  }
}
