/*---------------------------------------------------------------
Template Name: Medinexia | Modern Medical & Healthcare Multi-Page Website Template
Description: Medinexia – Modern Medical & Healthcare Multi-Page Template designed for hospitals, clinics, doctors and healthcare services with a clean, trustworthy UI.
Author: Lucid ThemesLab
Author URL: https://www.templatemonster.com/store/lucid_themeslab/
@import url('/newmoban/_external/fonts.googleapis.com/css2__q_family-Archivo-ital-wght-0-100..900-1-100..900-display-swap.css');
Version: 1.0.0
----------------------------------------------------------------*/
@import url('/newmoban/_external/demo.mobanwang.com/mb/lo202602/202602090/html/includes/css/main.css');

a {
color: inherit;
text-decoration: none;
}
a:hover {
color: inherit;
text-decoration: none;
}
::placeholder {
color: var(--nav-text) !important;
}

body {
font-family:   "Archivo", sans-serif;
overflow-x: hidden;
background-color: var(--body-color);
}

/* ===== NAVBAR STYLING ===== */
.navbar {
background: var(--card-color) !important;
}

.navbar .nav-link {
color: var(--heading-text)!important;
font-weight: 500;
}

.navbar .nav-link:hover {
color: var(--primary-color);
transition: 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active{
  color: var(--primary-color)!important;
}

/* Dropdown */
.enhanced-dropdown {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dropdown Title */
.dropdown-title {
  color: var(--heading-text);
}

.dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: 0.35s ease;
}

.nav-item.dropdown.show .nav-angle {
  transform: rotate(180deg);
}

.custom-dropdown {
  background: var(--card-color);
  border: 1px solid var(--primary-color);
  border-radius: 14px;
  padding: 8px;
}
.custom-dropdown .dropdown-item {
  color: var(--heading-text); 
  font-size: 15px;
  transition:  0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:focus,
.custom-dropdown .dropdown-item.active,
.mega-menu .mega-link:hover,
.mega-menu .mega-link:focus,
.mega-menu .mega-link.active {
  background: transparent!important;
  color: var(--primary-color);
  transform: translateX(6px);
}

.custom-dropdown .dropdown-item {
    margin-top: 6px; 
}
.mega-menu .mega-link {
    margin-top: 6px; 
}
.custom-dropdown .dropdown-item svg {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.navbar .dropdown-toggle::after {
  display: none;
}
.nav-angle {
  font-size: 13px;
  transition: transform 0.3s ease;
}
.nav-item.dropdown.show .nav-angle {
  transform: rotate(180deg);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--primary-color);
}

/* ===============================
   MEGA MENU – BASE
================================ */
.mega-menu{
  width: 50vw;
  left: unset !important;
  right: 0 !important;
  top: 125% !important;
  border: 1px solid var(--primary-color);
  border-radius: 14px;
  background-color: var(--card-color);
}

/* ===============================
   MEGA MENU LINKS
================================ */
.mega-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 5px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--heading-text);
  text-decoration: none;
  transition: 0.25s ease;
}

.mega-link:hover,
.mega-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-color);
  transform: translateX(4px);
}

/* ===============================
   MOBILE / OFFCANVAS
================================ */
@media (max-width: 991px) {
  .mega-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;              
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .mega-menu::before,
  .custom-dropdown::before {
    display: none;
  }
  .mega-menu .row {
    max-height: 45vh;
    overflow-y: auto;
    margin: 0;              
  }

  .mega-menu .row::-webkit-scrollbar {
    width: 4px;
  }

  .mega-menu .row::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
  }
}
  .mega-link {
    padding: 3px !important;
    font-size: 14px;
  }

  .offcanvas-body {
    padding-bottom: 90px;
  }

/* =========================
    HERO SECTION 
    ========================= */
.hero-medical {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-slide {
    min-height: 900px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
}
.hero-slide::before {
content: "";
position: absolute;
inset: 0;
background: var(--hero-overlay);
z-index: 1;
}
.slide-1{
    background-image: url('/newmoban/_external/demo.mobanwang.com/mb/lo202602/202602090/html/assets/images/background-img/bg_1.webp');
}
.slide-2{
    background-image: url('/newmoban/_external/demo.mobanwang.com/mb/lo202602/202602090/html/assets/images/background-img/bg_2.webp');
}
.slide-3{
    background-image: url('/newmoban/_external/demo.mobanwang.com/mb/lo202602/202602090/html/assets/images/background-img/bg_3.webp');
}

/* =========================
    GLASS CONTENT BOX
========================= */
.hero-content-box {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 90%;
  background: var(--hero-glass-bg);
  backdrop-filter: blur(12px);
  padding: 45px 40px;
  border-radius: 18px;
  border: 1px solid var(--hero-glass-border);
  color: var(--hero-text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.9s ease-out;
}
.hero-content-box::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  background: var(--hero-glow);
  z-index: -1;
  filter: blur(12px);
  opacity: 0.7;
}
.rating-badge {
background: var(--rating-bg);
color: var(--hero-text);
}

/* ================
   TEXT STYLING
  ===================*/
.rating-badge {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.22);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    backdrop-filter: blur(6px);
    font-weight: 500;
    display: inline-block;
}

@media (max-width: 991px) {
    .hero-slide {
        min-height: 500px;
        padding: 0 5%;
        text-align: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 30px;
    }
    .hero-content-box {
        max-width: 90%;
        padding: 30px 22px;
    }
    .hero-btn-group .hero-btn {
        width: 100%;
        margin: 6px 0;
    }
}

/* =================
   PRELOADER BASE
  ================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--theme-gradient);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

/* =========================
   LOADING TEXT ABOVE LOGO
  ========================= */
.loader-text {
    font-size: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.loader-text .dots b {
    opacity: 0;
    animation: dotBlink 1.2s infinite;
    margin: 0 2px;
}

.loader-text .dots b:nth-child(1) {
    animation-delay: .0s;
}

.loader-text .dots b:nth-child(2) {
    animation-delay: .2s;
}

.loader-text .dots b:nth-child(3) {
    animation-delay: .4s;
}

@keyframes dotBlink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* =========================
  INDIVIDUAL LETTER BOUNCE
========================= */
.preloader-logo {
    font-size: 70px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    gap: 3px;
}

.preloader-logo span {
    display: inline-block;
    animation: jump 1.2s infinite ease-in-out;
}
.preloader-logo span:nth-child(1) {
    animation-delay: 0s;
}
.preloader-logo span:nth-child(2) {
    animation-delay: .1s;
}
.preloader-logo span:nth-child(3) {
    animation-delay: .2s;
}
.preloader-logo span:nth-child(4) {
    animation-delay: .3s;
}
.preloader-logo span:nth-child(5) {
    animation-delay: .4s;
}
.preloader-logo span:nth-child(6) {
    animation-delay: .5s;
}
.preloader-logo span:nth-child(7) {
    animation-delay: .6s;
}
.preloader-logo span:nth-child(8) {
    animation-delay: .7s;
}
.preloader-logo span:nth-child(9) {
    animation-delay: .8s;
}
@keyframes jump {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

/* ==================
   SPINNER
 ===================== */
.spinner-circle {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(221, 221, 221, 0.411);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        font-size: 48px;
    }
}

.badge-label {
    display: inline-block;
    border: 1px solid var(--primary-color);
    padding: 6px 18px;
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.badge-label svg {
    margin-right: 8px;
    color: var(--primary-color);
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* =========================
   Service Card
========================= */
.service-card {
    background: var(--card-color);
    padding: 35px;
    border-radius: 18px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(18, 57, 158, 0.25);
}
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--theme-gradient-2);
    opacity: 0;
    transition: 0.4s ease;
}

.service-card:hover::after {
    opacity: 1;
}
.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card .dot {
    width: 9px;
    height: 9px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: 0.3s;
}

.service-card p {
    margin: 15px 0 25px;
    transition: 0.3s;
    color: var(--para-text);
}

.read-more {
    transition: 0.3s;
}
.read-more svg {
    transition: transform 0.3s;
}
.read-more:hover svg {
    transform: translateX(5px);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.35s ease;
}

/* =========================
   Hover Content Color Change
========================= */
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .read-more {
    color: #fff !important;
}

.service-card:hover .dot {
    background: #fff;
}

.service-card:hover .service-icon {
    background: #fff;
    color: var(--primary-color);
    transform: rotate(-8deg) scale(1.1);
}

.service-card:hover .read-more i {
    color: #fff;
}

.about-medinexia .img-main {
    width: 100%;
    height: 100%;
}

.about-medinexia .main-img {
    width: 100%;
    z-index: 1;
}
.about-medinexia .top-img {
    width: 60%;
    top: -20px;
    left: 50px;
    z-index: 2;
    border: 4px solid #fff;
}
.about-medinexia .bottom-img {
    width: 50%;
    bottom: -20px;
    right: 0;
    z-index: 3;
    border: 4px solid #fff;
}

@media (max-width: 992px) {
    .about-medinexia .top-img,
    .about-medinexia .bottom-img {
        width: 50%;
        top: -10px;
        left: 20px;
        bottom: -10px;
        right: auto;
    }

    .video-thumb {
        width: 100px;
        height: 70px;
    }
}
.feature-card svg {
    font-size: 2rem;
}
.card-img-top {
    height: 250px;
    object-fit: cover;
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    border-radius: 8px;
}

.appointment-form button {
    border-radius: 30px;
    transition: 0.3s;
}
.appointment-form button:hover {
    transform: translateY(-2px);
}

.feature-card-modern {
backdrop-filter: blur(15px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
transition: 0.4s ease;
}

.feature-card-modern:hover {
transform: rotate(0deg) translateY(-10px) scale(1.05);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.icon-bg {
width: 70px;
height: 70px;
margin: 0 auto 1rem auto;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: var(--primary-color);
color: #fff;
font-size: 1.5rem;
animation: iconPulse 2s infinite alternate;
}

@keyframes iconPulse {
0% {
transform: scale(1);
}

50% {
transform: scale(1.2);
}

100% {
transform: scale(1);
}
}
.stats-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.stat-modern h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trending-stats {
    background: var(--theme-gradient);
    color: #fff;
}
.stat-trend {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    transition: transform 0.4s, box-shadow 0.4s;
    min-height: auto;
}

.stat-trend:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}
.count {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 10px;
}

.stat-trend p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.85;
}

@media(max-width: 768px) {
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    .count {
        font-size: 1.8rem;
    }
}

.doctor-card-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
}

.doctor-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.doctor-img-premium {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.doctor-img-premium img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.doctor-card-premium:hover .doctor-img-premium img {
    transform: scale(1.1);
}

.overlay-premium {
    position: absolute;
    inset: 0;
    background: rgba(0, 123, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-card-premium:hover .overlay-premium {
    opacity: 1;
}

.badge-specialty {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--primary-color), #033b88);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.doctor-info-premium {
    padding: 1rem;
    background-color: var(--card-color);
}

.doctor-info-premium h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

@media(max-width: 576px) {
    .doctor-card-premium {
        width: 70%;
        margin: auto;
    }
}

.footer-section{
background: var(--theme-gradient);
}

.footer-section .footer-title {
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease-in;
}

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

.social-icons a {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.appointment-form {
    background: var(--card-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
}

.appointment-form .position-relative {
    position: relative;
}

.appointment-form .form-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1rem;
}

.appointment-form .form-control,
.appointment-form .form-select,
.appointment-form textarea {
    border-radius: 10px;
    border: 1px solid #ced4da;
    height: 45px;
    font-size: 0.95rem;
    transition: 0.3s ease-in;
    background-color: var(--input-bg);
    color: var(--input-text);
}

.appointment-form textarea {
    min-height: 100px;
    padding-top: 0.8rem;
}

.appointment-form .form-control:focus,
.appointment-form .form-select:focus,
.appointment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    outline: none;
    background-color: var(--input-bg);
    color: var(--input-text);
}

.appointment-form select.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 25px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--input-text);
}

.appointment-form ::placeholder {
color: var(--input-text);
    opacity: 1;
}

.primary-btn {
    border-radius: 50px;
    padding: 13px 20px;
    font-weight: 600;
    background: var(--secondary-color);
    border: none;
    color: #fff!important;
    font-size: 15px;
} 

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary-color);
    transition: 0.3s ease-in;
}

.outline-btn {
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    border: 1px solid #fff;
    color: #fff!important;
    font-size: 15px;  
} 
.outline-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--secondary-color);
    transition: 0.3s ease-in;
}
.primary-outline-btn{
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 15px;
} 

.primary-outline-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary-color);
    color: #fff!important;
    transition: 0.3s ease-in;
}

@media(max-width: 768px) {
    .appointment-form {
        padding: 1.5rem;
    }
}
.form-select {
    background-image: unset;
}

.appointment-form .form-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--input-text);
    font-size: 1rem;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 25px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--input-text);
}

/* Opening Hours */
.opening-hours {
    border-radius: 15px;
    background: var(--theme-gradient);
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.opening-hours h5 {
    font-size: 1.2rem;
}
.opening-hours ul li {
    font-size: 0.95rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.opening-hours ul li:last-child {
    border-bottom: none;
}

@media(max-width: 992px) {
    .opening-hours {
        margin-top: 20px;
    }
}

/* ==============================
    COMMON CARD / IMAGE UTILS
=================================*/
.card-soft {
    background: var(--card-color);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 12px 32px rgba(9, 30, 66, 0.08);
    border: none;
}

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

.rounded-shadow {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(9, 30, 66, 0.08);
}

/* =========================
TESTIMONIALS (SWIPER)
========================= */
.testimonials {
    padding: 56px 0;
}

.testimonials .swiper {
    padding-bottom: 14px;
}

.testimonial-card {
    background: var(--card-color);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform .35s cubic-bezier(.22, .9, .36, 1), box-shadow .35s;
    height: 100%;
}

.testimonial-card .avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 68px;
    border: 3px solid rgba(0, 179, 255, 0.12);
}

.testimonial-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}
.testimonial-role {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.testimonial-quote {
    font-size: 0.96rem;
    color: var(--text);
    opacity: 0.95;
}

#testimonials.swiper .swiper-slide-active .testimonial-card {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 22px 46px rgba(3, 37, 76, 0.14);
}

.stars {
    color: #f5b301;
    margin-bottom: 6px;
}

@media (max-width: 992px) {
    .testimonial-card {
        padding: 16px;
        gap: 12px;
    }

    .testimonial-name {
        font-size: 0.98rem;
    }
}

@media (max-width:576px) {
    .testimonial-card {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .testimonial-quote {
        display: block;
        font-size: 0.95rem;
    }
}

/* ====================================
FACILITIES GALLERY (responsive masonry)
======================================= */
.facilities {
padding: 56px 0;
}

.gallery-grid {
column-count: 3;
column-gap: 22px;
width: 100%;
}

.gallery-item {
break-inside: avoid;
margin-bottom: 22px;
border-radius: 12px;
overflow: hidden;
position: relative;
transition: transform .4s ease ease-in;
}

.gallery-item img {
width: 100%;
display: block;
transition: transform .5s ease ease-in;
}

.gallery-overlay {
position: absolute;
inset: 0;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 14px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.45) 100%);
color: #fff;
font-weight: 600;
opacity: 0;
transition: opacity .35s ease-in;
}

.gallery-item:hover .gallery-overlay {
opacity: 1;
}

.view-icon {
opacity: 0;
transform: translateY(10px);
transition: .4s ease-in;
font-size: 20px;
}

.gallery-item:hover .view-icon {
opacity: 1;
transform: translateY(0);
}

@media (max-width: 1200px) {
.gallery-grid {
    column-count: 3;
}
}

@media (max-width: 992px) {
.gallery-grid {
    column-count: 2;
}
}

@media (max-width: 576px) {
.gallery-grid {
    column-count: 1;
}
}

/* =========================
    FAQ ACCORDION
    ========================= */

.faq-accordion .accordion-item {
border: none;
border-radius: 10px;
overflow: hidden;
margin-bottom: 12px;
box-shadow: 0 12px 32px rgba(9, 30, 66, 0.08);
transition:  0.3s ease-in;
background-color: var(--card-color);
}

.faq-accordion .accordion-button {
font-weight: 700;
background: var(--card-color);
color: var(--heading-text);
padding: 18px 20px;
transition: 0.35s ease-in;
box-shadow: none;
}

.faq-accordion .accordion-button:focus {
box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
background: var(--primary-color);
color: #fff;
box-shadow: none;
}

.faq-accordion .accordion-button::after {
transition: transform 0.35s ease-in;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
transform: rotate(180deg);
}

.faq-accordion .accordion-body {
background: var(--card-color);
color: var(--heading-text);
padding: 18px 22px;
line-height: 1.6;
}

.faq-accordion .accordion-button:hover {
background: var(--primary-color);
color: var(--white-text);
}
.faq-accordion .accordion-button:not(.collapsed):hover {
background: var(--primary-color);
color: #fff;
}

.faq-accordion .accordion-button::after {
    display: none !important;
}

.faq-icon {
    margin-left: auto;
    font-size: 18px;
    transition: transform 0.3s ease-in;
}

.accordion-button:not(.collapsed) .faq-icon {
    transform: rotate(180deg); 
}

@media (max-width:576px) {
    .section-title h2 {
        font-size: 1.4rem;
    }
    .section-sub {
        font-size: 0.95rem;
    }
    .testimonial-quote {
        font-size: 0.95rem;
    }
}

/*================================================
Theme Switch Button Styles
=================================================*/

#btnSwitch {
top: 200px;
z-index: 2;
}

@media (max-width: 576px) {
#btnSwitch {
top: 130px;
}
}

.backto-btn{
background: var(--primary-color);
color: #fff;
padding: 12px 20px;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
border: none;
}

.backto-btn:hover {
background: var(--secondary-color);
color: #fff;
}

/*===============================================
Back to top Styles
=================================================*/
#backtotop {
position: fixed;
bottom: 30px;
right: 30px;
padding: 7px;
transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
opacity: 0;
visibility: hidden;
z-index: 1000;
}

#backtotop:hover {
cursor: pointer;
}

#backtotop.show {
opacity: 1;
visibility: visible;
}

.alertmsg {
z-index: 9999;
}

/*===============================================
Contact Section Styles
=================================================*/

.contact-form input,
.contact-form select,
.contact-form textarea {
border: 1px solid #e0e0e0;
padding-left: 12px;
font-size: 1rem;
}

.info-card {
background: var(--card-color);
border-left: 4px solid var(--primary-color);
}

.icon-box {
width: 55px;
height: 55px;
border-radius: 12px;
display: flex;
justify-content: center;
align-items: center;
background: var(--alt-color);
font-size: 1.3rem;
color: var(--primary-color);
}

.highlight-email {
background: var(--primary-color);
color: #fff;
animation: pulse 1.8s infinite;
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.12); }
100% { transform: scale(1); }
}

@media(max-width: 768px){
.contact-form {
padding: 20px !important;
}
}

.error{
color: #ff6969;
}

.contact-form {
background: var(--card-color);
border-radius: 15px;
padding: 2rem;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
position: relative;
}

.contact-form .position-relative {
position: relative;
}

.contact-form .form-icon {
position: absolute;
top: 50%;
left: 15px;
transform: translateY(-50%);
color: var(--primary-color);
font-size: 1rem;
}

.contact-form .form-control,
.contact-form .form-select,
.contact-form textarea {
border-radius: 10px;
border: 1px solid #ced4da;
height: 45px;
font-size: 0.95rem;
transition: 0.3s ease-in;
background-color: var(--input-bg);
color: var(--input-text);
}

.contact-form textarea {
min-height: 100px;
padding-top: 0.8rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form textarea:focus {
border-color: var(--primary-color);
box-shadow: none;
outline: none;
background-color: var(--input-bg);
color: var(--input-text);
}

.contact-form select.form-select {
appearance: none;
padding-right: 2.5rem;
}

.select-arrow {
position: absolute;
right: 15px;
top: 25px;
transform: translateY(-50%);
pointer-events: none;
color: var(--input-text);
}

.contact-form ::placeholder {
color: #adb5bd;
opacity: 1;
}

.glightbox-clean .gdesc-inner{
background-color: var(--body-color);
}

.glightbox-clean .gslide-title{
color: var(--secondary-color);
font-size: 28px;
font-weight: 600;
}

@media (max-width: 991.98px) {
.offcanvas-header {
background-color: var(--alt-color) !important; 
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.offcanvas-body {
background-color: var(--card-color)!important;
}
}

.input-icon {
position: absolute;
right: 16px;
top: 25px;
transform: translateY(-50%);
font-size: 15px;
pointer-events: none;
color: var(--heading-text);  
opacity: 0.7;
}

.date-input,
.time-input {
background: var(--card-color);
color: var(--heading-text);
border: 1px solid var(--primary-color);
transition: all 0.3s ease;
}

.date-input:focus,
.time-input:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.date-input::placeholder,
.time-input::placeholder {
color: var(--para-text);
opacity: 0.7;
}
/* Calendar container */
.flatpickr-calendar {
background: var(--card-color) !important;
color: var(--heading-text) !important;
border: 1px solid var(--border-color) !important;
box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
border-radius: 10px;
}

.flatpickr-months .flatpickr-month {
background: var(--card-color) !important;
color: var(--heading-text) !important;
}

.flatpickr-weekdays span {
color: var(--para-text) !important;
}

.flatpickr-day {
color: var(--heading-text) !important;
border-radius: 6px !important;
}

.flatpickr-day:hover {
background: rgba(var(--primary-color),0.15) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
background: var(--primary-color) !important;
color: #fff !important;
}

.flatpickr-time input {
background: var(--card-color) !important;
color: var(--heading-text) !important;
border: 1px solid var(--primary-color) !important;
}

.flatpickr-months .flatpickr-next-month:hover svg {
fill: var(--primary-color);
}

.flatpickr-months .flatpickr-next-month {
fill: var(--heading-text)
}

.flatpickr-months .flatpickr-prev-month {
fill: var(--heading-text)
}

.flatpickr-prev-month,
.flatpickr-next-month {
color: var(--heading-text) !important;
opacity: 0.75;
transition: 0.3s;
}
.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
opacity: 1;
color: var(--primary-color) !important;
}

.flatpickr-time .flatpickr-am-pm:focus {
background:var(--primary-color) !important;
    color: var(--white-text) !important;
}

.flatpickr-time .flatpickr-am-pm {
color: var(--heading-text);
}

.flatpickr-time .flatpickr-am-pm:hover, .flatpickr-time input:focus, .flatpickr-time .flatpickr-am-pm:focus {
    background:var(--primary-color) !important;
    color: var(--white-text) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
background: var(--card-color) !important;
color: var(--heading-text) !important;
border: 1px solid var(--primary-color) !important;
}

@media (max-width: 991px) {
.offcanvas-header {
background-color: var(--alt-color);
}
.offcanvas-body {
background-color: var(--card-color) !important;
}

.navbar-toggler,
.btn-close {
width: 46px !important;
height: 46px !important;
display: flex;
align-items: center;
justify-content: center;
padding: 0 !important;
margin: 0;
border: none;
outline: none;
background-color: var(--secondary-color);
border-radius: 6px;
box-shadow: none;
transition: 0.3s ease;
opacity: 1;
}
.navbar-toggler .navbar-toggler-icon {
display: none;
}

.btn-close {
background-image: none !important;
}

.navbar-toggler svg,
.btn-close svg {
font-size: 24px;
color: #fff;
transition: 0.3s ease;
pointer-events: none;
opacity: 1;
}

.navbar-toggler:hover,
.btn-close:hover {
background-color: var(--primary-color);
}
.navbar-toggler:hover svg,
.btn-close:hover svg {
color: #fff;
}

.navbar-toggler:focus,
.btn-close:focus {
box-shadow: none;
outline: none;
}
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
color: var(--white-text);
background-color: var(--primary-color);
border-color: var(--primary-color);
}

.btn.show:hover{
background-color: var(--secondary-color);
}

.contact-info-mobile a {
color: var(--heading-text);
text-decoration: none;
font-size: 20;
font-weight: 600;
}

.contact-info-mobile a:hover {
text-decoration: underline;
}

.icon-circle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 35px;
height: 35px;
border-radius: 50%;
background-color: var(--primary-color);
color: #fff;
font-size: 15px;
margin-right: 8px;
transition: all 0.3s ease;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.icon-circle:hover {
background-color: var(--secondary-color);
transform: translateY(-3px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

.contact-info-mobile div {
display: flex;
align-items: center;
gap: 6px;
}

.contact-info-mobile {
background-color: var(--card-color);
border-radius: 12px;
padding: 10px 0;
}

.dept-card {
  display: block;
  background: var(--card-color);
  padding: 30px 20px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-decoration: none;
}
.dept-icon {
  width: 70px;
  height: 70px;
  margin: auto;
  background: var(--alt-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 50%;
}

.dept-card:hover {
  transform: translateY(-8px);
  background: var(--primary-color);
  transition: 0.3s ease-in;
}

.dept-card:hover .dept-icon {
  color: var(--primary-color);
}

.dept-card:hover span {
  color: #fff;
}

/* ===========================
   PAGE BANNER STYLES
=========================== */
.page-banner {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient( rgba(13, 110, 253, 0.85),rgba(32, 201, 151, 0.85)),
  url('/newmoban/_external/demo.mobanwang.com/mb/lo202602/202602090/html/assets/images/background-img/bg_1.webp') center / cover no-repeat;
  overflow: hidden;
}

.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 60%);
}

.banner-content {
  max-width: 700px;
  margin: auto;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.custom-breadcrumb {
  margin-top: 15px;
}

.custom-breadcrumb .breadcrumb {
  background: rgba(255,255,255,0.15);
  padding: 10px 18px;
  border-radius: 30px;
  display: inline-flex;
}
.custom-breadcrumb .breadcrumb-item {
  font-weight: 500;
  font-size: 14px;
}
.custom-breadcrumb .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}
.custom-breadcrumb .breadcrumb-item a:hover {
  color: #dbe8ff;
}

.custom-breadcrumb .breadcrumb-item.active {
  color: #f1f1f1;
  font-weight: 600;
}
.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: rgba(255,255,255,0.7);
  padding: 0 10px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.2rem;
  }

  .page-banner {
    padding: 90px 0 80px;
  }
}

/* ===============================
   MISSION & VISION 
================================ */
.mv-content {
  position: relative;
  padding-left: 40px;
}

.mv-content::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--theme-gradient-2);
  border-radius: 10px;
}

.mv-item {
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.08);
  transition: all 0.35s ease;
}

.mv-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(13, 110, 253, 0.18);
}

.mv-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: var(--theme-gradient-2);
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.4);
}

.mv-icon.vision {
  background: linear-gradient(135deg, #20c997, #0dcaf0);
}
.mv-visual-card {
  background: var(--theme-gradient-2);
  padding: 45px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 25px 60px rgba(13, 110, 253, 0.35);
}

.mv-points svg {
  color: #ffe082;
}

@media (max-width: 991px) {
  .mv-content {
    padding-left: 0;
  }

  .mv-content::before {
    display: none;
  }

  .mv-visual-card {
    margin-top: 30px;
  }
}

/* ===========================
   OUR VALUES 
=========================== */
.values-wrapper {
  gap: 30px;
}

.value-card {
  padding: 35px 25px 45px;
  width: 260px;;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.08);
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(13, 110, 253, 0.2);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--theme-gradient-2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: -55px auto 20px;
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.25);
  transition: transform 0.35s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.15);
}

@media (max-width: 992px) {
  .values-wrapper {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .value-card {
    width: 100%;
  }
}

/* ==============================
   WHY TRUST 
================================ */
.feature-count {
  opacity: 0.4;
  min-width: 50px;
}

@media (max-width: 991px) {
  .trust-intro p {
    max-width: 100%;
  }
  .trust-feature {
    gap: 15px;
  }
}

/* ==============================
   HOSPITAL JOURNEY – ICON STORY
================================ */
.journey-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--theme-gradient-2);
  border-radius: 10px;
  transform: translateY(-50%);
}

.journey-item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.journey-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--theme-gradient-2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
  z-index: 2;
}

.journey-card {
  padding: 25px 30px;
  max-width: 280px;
  box-shadow: 0 18px 45px rgba(13, 110, 253, 0.12);
  transition: transform 0.35s ease;
}

.journey-item.down .journey-card {
  margin-top: 0;
  margin-bottom: 20px;
}

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

@media (max-width: 991px) {
  .journey-track {
    flex-direction: column;
  }

  .journey-track::before {
    display: none;
  }

  .journey-item {
    padding: 0;
  }

  .journey-card {
    max-width: 100%;
  }

  .journey-icon {
    margin-bottom: 15px;
  }
}

/* ==============================
   CREDIBILITY PANEL – STRUCTURAL
================================ */
.cred-main {
  position: relative;
  padding-left: 40px;
}

.cred-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--theme-gradient-2);
  border-radius: 10px;
}

.cred-label {
  letter-spacing: 2px;;
}

.cred-seals {
  display: flex;
  gap: 25px;
}

.cred-support {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.cred-proof {
  position: relative;
  padding-left: 35px;
}

.cred-proof::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
}

.cred-proof p {
  max-width: 380px;
}
@media (max-width: 991px) {.cred-label
  .cred-main h2 {
    font-size: 2.2rem;
  }
}
.cert-left {
  position: relative;
  padding-left: 20px;
}
.cert-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 96%;
  background: var(--theme-gradient-2);
  border-radius: 10px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}
.cert-highlights svg {
  color: #20c997;
  font-size: 14px;
}
.cert-card {
  padding: 30px 20px;
  height: 100%;
  transition: all 0.35s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(13, 110, 253, 0.15);
}

.service-img{
    height: 340px;
    width: 100%;
    object-fit: cover;
}

.service-tabs .nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--heading-text);
  background: var(--alt-color);
  transition: 0.3s;
}

.service-tabs .nav-link:hover {
  background: var(--primary-color);
  color: #fff;
}

.service-tabs .nav-link.active {
  background: var(--primary-color);
  color: #fff;
}

.service-list .service-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--heading-text);
  border-radius: 10px;
  transition: 0.3s;
  font-weight: 500;
}

.service-list .service-item:hover {
  background: #f1f9ff;
  color: var(--primary-color);
}

.service-list .service-item.active {
  background: var(--primary-color);
  color: #fff;
}

.contact-box {
  background: linear-gradient(135deg, #0b1c39, #152a4f);
}

/* =========================
   BLOG CARD
========================= */
.blog-card{
  box-shadow:0 25px 60px rgba(0,0,0,.08);
  transition:.4s;
  height:100%;
}
.blog-card:hover{
  transform:translateY(-10px);
}

.blog-img{
  position:relative;
  height:240px;
  overflow:hidden;
}
.blog-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.blog-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.65),transparent);
}
.blog-badge{
  position:absolute;
  top:15px;
  left:15px;
  background:#20c997;
  color:#fff;
  padding:5px 14px;
  border-radius:50px;
  font-size:13px;
  font-weight:600;
  z-index:2;
}

.read-btn{
  color:var(--primary-color);
  font-weight:600;
  text-decoration:none;
}

.read-btn svg
{
    transition:.3s
}

.read-btn:hover svg
{
    transform:translateX(6px);
}
.read-btn:hover {
   color: var(--heading-text);
}

/* ======================
    SIDEBAR
========================= */
.sidebar-widget {
  padding: 26px 26px 28px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.sidebar-widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 10px;
}

/* =========================
   SEARCH INPUT GROUP
========================= */
.search-input {
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.search-input .form-control {
  border: none;
  padding: 14px 18px;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--input-text);
 }

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

.search-input .btn {
  border: none;
  padding: 0 22px;
  border-radius: 0;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.search-input .btn:hover {
  background: var(--secondary-color);
}

.search-input:focus-within {
  border-color: var(--primary-color);
}

/* =========================
   CATEGORY LIST
========================= */
.category-list a {
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
  transition: all 0.3s ease;
}

.category-list a span {
  min-width: 26px;
  height: 26px;
  font-size: 12px;
  border-radius: 30px;
  background: var(--alt-color);
  color: var(--para-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.category-list a:hover {
  color: var(--primary-color);
  padding-left: 6px;
}

.category-list a:hover span {
  background: var(--primary-color);
  color: #fff;
}

/* =========================
   RECENT POSTS
========================= */
.recent-post {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.recent-post:not(:last-child) {
  margin-bottom: 14px;
}

.recent-post:hover {
  background: var(--alt-color);
}

.recent-post img {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.recent-post:hover img {
  transform: scale(1.05);
}

.recent-post-content {
  display: flex;
  flex-direction: column;
}

.recent-post h6 {
  transition: color 0.3s ease;
}

.recent-post h6::before {
  display: none;
}

.recent-post:hover h6 {
  color: var(--primary-color);
}

/* =========================
   TAGS UI
========================= */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  color: var(--para-text);
  background: var(--light-color);
  transition: all 0.3s ease;
}

.tag-list a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.25);
}

/* =========================
   CTA BOX
========================= */
.sidebar-cta {
  background: var(--theme-gradient-2);
  color: #ffffff;
  padding: 32px 26px;
}

.sidebar-cta a {
  transition: all 0.3s ease;
}

.sidebar-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
}

/* =========================
    PAGINATION
========================= */
.blog-pagination .pagination {
  margin: 0;
}

.blog-pagination .page-item {
  border-radius: 12px;
}

.blog-pagination .page-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--para-text);
  background: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: none;
}

.blog-pagination .page-link:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13,110,253,0.25);
}

.blog-pagination .page-item.active .page-link {
  background: var(--primary-color);
  color: #fff;
}

.blog-pagination .page-nav {
  background: var(--light-color);
  font-size: 13px;
}

.article-img-wrapper {
  overflow: hidden;
}
.article-img {
  object-fit: cover;
  height: auto;
  max-height: 400px; 
  transition: transform 0.3s ease;
}
.article-img:hover {
  transform: scale(1.05);
}

.related-card img {
  transition: transform 0.3s ease;
}
.related-card:hover img {
  transform: scale(1.05);
}

.comment-box {
  transition: all 0.3s ease;
}
.comment-box:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.comment-box img {
  object-fit: cover;
}

.comment-form .form-control {
  border-radius: 12px;
  padding: 12px 16px;
 border: 1px solid #ced4da;
 font-size: 0.95rem;
 transition: 0.3s ease-in;
 background-color: var(--input-bg);
 color: var(--input-text);
 }

.comment-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.article-content .badge {
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 30px;
  transition: 0.3s;
}
.article-content .badge:hover {
  opacity: 0.8;
}

/* ===============================
   DOCTOR HERO 
================================ */
.doctor-image-wrap {
  position: relative;
  display: inline-block;
}

.doctor-image-wrap img {
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -6px;
  background:var(--card-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 12px;
}
.doctor-desc {
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 35px;
}

@media (max-width: 992px) {
  .doctor-hero {
    padding: 70px 0;
    text-align: center;
  }
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 25px;
  }
  .experience-badge {
    right: 50%;
    transform: translateX(50%);
  }
}

/* ===========================
   SPECIALIZATION 
=========================== */
.spec-item {
  padding: 30px 28px;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.spec-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.spec-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--primary-color);
  border-radius: 6px 0 0 6px;
}

.spec-content {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.spec-icon {
  min-width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* ===========================
   AWARDS & CERTIFICATIONS
=========================== */
.award-card {
  padding: 40px 30px 30px;
  height: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.award-year {
  top: 20px;
  right: 20px;
  padding: 6px 14px;
}

.award-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--theme-gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonial-box {
  padding: 40px 32px 32px;
  height: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
  transition: all 0.35s ease;
}

.testimonial-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

.testimonial-box.featured {
  background: var(--secondary-color);
  color: #ffffff!important;
}

.quote-icon {
  position: absolute;
  top: -18px;
  left: 28px;
  font-size: 80px;
  line-height: 1;
  color: var(--primary-color);
}

.patient-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--theme-gradient-2);
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neuro-card {
    transition: transform 0.3s, box-shadow 0.3s;
  }

.neuro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.neuro-card {
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

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

.highlight-box {
   background: var(--theme-gradient-2);
  color: #fff;
  padding: 18px 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(13,110,253,0.35);
}

.skills-wrapper {
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}
.skill-item {
  margin-bottom: 20px;
}
.skill-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.progress {
  height: 12px;
  border-radius: 50px;
  background: var(--light-color);
}

.progress-bar {
    background-color: var(--primary-color);
  border-radius: 50px;
}
/* ===============================
   CLINIC LOCATION 
================================ */
.clinic-info-card {
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.section-badge {
  display: inline-block;
  background: var(--alt-color);
  color: var(--primary-color);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.clinic-info-item .icon{
  font-size: 22px;
  color: var(--primary-color);
  background: var(--alt-color);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clinic-map-card {
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  height: 100%;
}

.clinic-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

@media (max-width: 768px) {
  .clinic-map-card iframe {
    min-height: 300px;
  }
}
.map-section iframe {
    width: 100%;
    height: 420px;
    border: 0;
}
.consult-card {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.consult-card:hover {
  transform: translateY(-6px);
}

.flow-wrapper {
  max-width: 900px;
}
.flow-wrapper::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--theme-gradient-2);
}

.flow-step {
  gap: 30px;
}
.step-icon {
  min-width: 72px;
  height: 72px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.step-icon span {
  bottom: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  font-size: 14px;
}
.step-content {
  padding: 25px 30px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.06);
}

.flow-step:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .flow-wrapper::before {
    left: 32px;
  }
  .flow-step {
    gap: 20px;
  }
  .step-content {
    padding: 20px;
  }
}
.policy-card,
.terms-card 
{
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.error-404 {
  min-height: 100vh;
  background: var(--theme-gradient-2);
  padding: 20px;
}
.error-card {
  padding: 60px 40px;
  max-width: 520px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  animation: fadeUp 0.8s ease;
}
.error-code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  background: var(--theme-gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-card .btn {
  min-width: 180px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  background: var(--alt-color);
  padding: 6px 14px;
  border-radius: 50px;
}
.neuro-card {
  height: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
.neuro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.service-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.service-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.cta-section {
  padding: 90px 0;
  background: var(--theme-gradient-2)
}

.dropdown-divider{
  border-color: var(--primary-color)!important;
}