/* ==========================================================
   H-CARE MODERN UI — Complete Override
   Color Palette: #73A6BB (primary), #4d8ca6 (dark), #eef6f9 (bg)
   Design: Glassmorphism, Slim Navbar, Pill Buttons, Modern Cards
   ========================================================== */

/* ── FONTS & BASE ─────────────────────────────────────────── */
* { box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: #2c3e50; }

/* ── COLOR SYSTEM ─────────────────────────────────────────── */
:root {
    --primary: #73A6BB;
    --primary-dark: #4d8ca6;
    --primary-light: #a8cdd9;
    --primary-bg: #eef6f9;
    --primary-bg-2: #f5fbfd;
    --text-muted: #748a96;
    --border-light: rgba(115,166,187,0.18);
    --shadow-sm: 0 2px 12px rgba(115,166,187,0.12);
    --shadow-md: 0 6px 24px rgba(115,166,187,0.18);
    --shadow-lg: 0 12px 40px rgba(115,166,187,0.22);
}

/* ── TEXT PRIMARY — override red-gradient with clean #4d8ca6 ─ */
.text-primary {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    color: #4d8ca6 !important;
}
.top-heading {
    color: #73A6BB !important;
    letter-spacing: 0.18em;
    font-size: 12px !important;
    font-weight: 700;
    text-transform: uppercase;
}

/* ── BACKGROUND PRIMARY ───────────────────────────────────── */
.bg-primary {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
}
.bg-secondary {
    background-color: var(--primary-bg) !important;
}

/* ── BUTTONS — Slim pill shape ──────────────────────────────── */
.btn {
    border-radius: 50px !important;
    padding: 0.42rem 1.5rem !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    transition: all 0.28s ease !important;
    box-shadow: none !important;
}
.btn:focus, .btn:active {
    box-shadow: none !important;
    outline: none !important;
}
.btn-primary {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 2px 14px rgba(115,166,187,0.32) !important;
}
.btn-primary:hover {
    background: #fff !important;
    border: 1.5px solid #73A6BB !important;
    color: #4d8ca6 !important;
    box-shadow: none !important;
}
.btn-outline-primary {
    background: #fff !important;
    border: 1.5px solid #73A6BB !important;
    color: #4d8ca6 !important;
}
.btn-outline-primary:hover, .btn-outline-primary:active {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}
.btn-light {
    background: #fff !important;
    border: 1.5px solid #73A6BB !important;
    color: #4d8ca6 !important;
}
.btn-light:hover {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

/* ── HEADER / NAVBAR — slim glassmorphism ──────────────────── */
.header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    background: rgba(255,255,255,0.88) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid var(--border-light) !important;
    box-shadow: 0 1px 12px rgba(115,166,187,0.08) !important;
    z-index: 1000 !important;
}
.header.fixed {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 3px 20px rgba(115,166,187,0.16) !important;
}
/* Nav links */
header .navbar .navbar-nav .nav-item .nav-link {
    color: #556673 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 5px 13px !important;
    border-radius: 50px !important;
    transition: all 0.22s ease !important;
    -webkit-text-fill-color: unset !important;
    -webkit-background-clip: unset !important;
    background: none !important;
}
header .navbar .navbar-nav .nav-item .nav-link:hover,
header .navbar .navbar-nav .nav-item .nav-link.active {
    background: rgba(115,166,187,0.12) !important;
    color: #4d8ca6 !important;
    -webkit-text-fill-color: unset !important;
}
/* Mobile collapse */
@media (max-width: 991px) {
    header .navbar .navbar-collapse {
        background: rgba(255,255,255,0.98) !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 32px rgba(115,166,187,0.2) !important;
        border: 1px solid var(--border-light) !important;
        backdrop-filter: blur(12px) !important;
    }
}
/* Dropdown */
.dropdown-menu {
    border-radius: 14px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-md) !important;
    backdrop-filter: blur(12px) !important;
    background: rgba(255,255,255,0.97) !important;
}
.language-padding:hover,
.language-padding.active {
    background: none !important;
    -webkit-text-fill-color: unset !important;
    color: #4d8ca6 !important;
}

/* ── CARDS — Modern glassmorphism ─────────────────────────── */
.card {
    border-radius: 18px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-sm) !important;
    background: rgba(255,255,255,0.94) !important;
    backdrop-filter: blur(4px) !important;
    transition: box-shadow 0.28s ease, transform 0.28s ease !important;
}
.card:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-3px) !important;
}
.card.card-how-it-works {
    border-radius: 18px !important;
    border: none !important;
}

/* ── HOW-IT-WORKS section ─────────────────────────────────── */
.home-page .how-work-section {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-2) 100%) !important;
}
.home-page .how-work-section .card .card-number {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-size: unset !important;
    color: #73A6BB !important;
    opacity: 0.22 !important;
    font-size: 80px !important;
    font-weight: 700 !important;
    line-height: 70px !important;
    -webkit-text-stroke: 0 !important;
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-section .about-left-content .about-block .about-image-box {
    border: 2px solid rgba(115,166,187,0.2) !important;
    filter: drop-shadow(0 4px 16px rgba(115,166,187,0.13)) !important;
    border-radius: 16px !important;
}
.about-section .about-left-content .about-block .about-content-box {
    border-radius: 16px !important;
    filter: drop-shadow(0 4px 16px rgba(115,166,187,0.13)) !important;
    border: 2px solid rgba(115,166,187,0.1) !important;
}
.about-section .about-left-content .about-block .about-content-box .number-big {
    color: #4d8ca6 !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}
.about-section ul li::before {
    color: #73A6BB !important;
}
.after-rectangle-shape:after {
    background-color: var(--primary-bg) !important;
}

/* ── SERVICES SECTION ─────────────────────────────────────── */
.home-page .services-section .services-block .services-innner-block .icon-box {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #d4ebf2 100%) !important;
    border-radius: 14px !important;
    width: 78px !important;
    height: 78px !important;
}
.home-page .services-section .slick-list {
    box-shadow: var(--shadow-sm) !important;
    border-radius: 20px !important;
}
.home-page .services-section .slick-prev,
.home-page .services-section .slick-next {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
    width: 48px !important;
    height: 48px !important;
    box-shadow: var(--shadow-sm) !important;
}
.home-page .services-section .slick-block .services-innner-block {
    border-right-color: rgba(115,166,187,0.2) !important;
}

/* ── APPOINTMENT SECTION ──────────────────────────────────── */
.home-page .appointmnet-section .appointmnet-section__inner-block {
    border-radius: 24px !important;
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer.bg-primary {
    background: linear-gradient(135deg, #4d8ca6 0%, #73A6BB 100%) !important;
}
footer .footer-info__footer-icon {
    background-color: rgba(255,255,255,0.18) !important;
    border-radius: 10px !important;
}
.border-top-primary {
    border-top-color: rgba(255,255,255,0.25) !important;
}

/* ── SERVICES COUNTER (about page) ───────────────────────── */
.services-counter-section .services-counter-block .pipe {
    border-right-color: rgba(115,166,187,0.25) !important;
}

/* ── TESTIMONIAL DOTS ─────────────────────────────────────── */
.testimonial-section .slick-dots li.slick-active button {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
}
.testimonial-section .slick-list {
    box-shadow: var(--shadow-sm) !important;
}

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb .breadcrumb-item.active,
.breadcrumb .breadcrumb-item a {
    -webkit-text-fill-color: unset !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #4d8ca6 !important;
}

/* ── FORMS ────────────────────────────────────────────────── */
.form-control, .form-select {
    height: 50px !important;
    border-radius: 10px !important;
    border-color: rgba(115,166,187,0.35) !important;
    font-size: 14.5px !important;
}
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(115,166,187,0.18) !important;
    border-color: #73A6BB !important;
}

/* ── SERVICES PAGE icon box ───────────────────────────────── */
.services-page .services-section .services-block .services-icon-box {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #d4ebf2 100%) !important;
    border-radius: 14px !important;
    width: 78px !important;
    height: 78px !important;
}

/* ── CONTACT PAGE icon box ────────────────────────────────── */
.contact-page .information-section .contact-icon-box {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #d4ebf2 100%) !important;
    border-radius: 12px !important;
}

/* ── FAQ ACCORDION ────────────────────────────────────────── */
.our-faqs-page .accordion-button:not(.collapsed) {
    background-color: var(--primary-bg) !important;
    color: #4d8ca6 !important;
    box-shadow: none !important;
}
.our-faqs-page .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(115,166,187,0.18) !important;
    border-color: #73A6BB !important;
}

/* ── DEPARTMENT CATEGORY SECTION ─────────────────────────── */
.dept-category-section {
    padding: 72px 0 72px;
    background: var(--primary-bg-2);
}
.dept-category-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #2c4a5a !important;
    margin-bottom: 6px !important;
    -webkit-text-fill-color: unset !important;
    background: none !important;
}
.dept-category-subtitle {
    font-size: 13.5px !important;
    color: #748a96 !important;
    margin-bottom: 36px !important;
}
.dept-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid rgba(115,166,187,0.2);
    border-radius: 18px;
    padding: 26px 16px 18px;
    cursor: pointer;
    transition: all 0.28s ease;
    box-shadow: 0 2px 10px rgba(115,166,187,0.07);
    height: 100%;
}
.dept-card:hover {
    border-color: #73A6BB;
    box-shadow: 0 8px 28px rgba(115,166,187,0.22);
    transform: translateY(-4px);
    background: linear-gradient(135deg, #f0f9fc 0%, #fff 100%);
}
.dept-card svg, .dept-card img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}
.dept-label {
    font-size: 12px;
    font-weight: 600;
    color: #4d8ca6 !important;
    margin-top: 10px;
    text-align: center;
    display: block;
}

/* ── OUR TEAM / DOCTOR CARDS ─────────────────────────────── */
.our-team-page .our-team-section .our-team-block .card-image,
.about-page .our-doctors-section .our-doctors-block .card-image {
    border-color: rgba(115,166,187,0.3) !important;
}

/* ── QRCODE PILLS ─────────────────────────────────────────── */
.qrcode-option {
    background: #fff !important;
    border: 1.5px solid #73A6BB !important;
    color: #4d8ca6 !important;
}
.qrcode-option.active {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
    color: #fff !important;
}

/* ── MISC ─────────────────────────────────────────────────── */

/* Remove old red accents on slick dots */
.slick-dots li.slick-active button {
    background: linear-gradient(135deg, #73A6BB 0%, #4d8ca6 100%) !important;
}
.datepicker table tr td.active.active {
    background-image: linear-gradient(180deg, #73A6BB, #4d8ca6) !important;
}
/* Time slot */
.front-slot-data .time-slot.activeSlot,
.front-slot-data .time-slot:hover {
    background: #73A6BB !important;
}

/* Scrollbar minimal */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f5fbfd; }
::-webkit-scrollbar-thumb { background: rgba(115,166,187,0.4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #73A6BB; }
