﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

:root {
    --hv-primary: #116466;
    --hv-primary-dark: #0b4143;
    --hv-accent: #f59e0b;
    --hv-danger: #e11d48;
    --hv-bg: #f7fbfc;
    --hv-soft-bg: #eef8f9;
    --hv-dark: #102a43;
    --hv-text: #1f2937;
    --hv-muted: #64748b;
    --hv-white: #ffffff;
    --hv-shadow: 0 14px 35px rgba(16, 42, 67, 0.10);
    --hv-radius: 20px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--hv-bg);
    color: var(--hv-text);
    font-family: "Segoe UI", Arial, sans-serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(17, 100, 102, 0.25);
}

/* HEADER */

.top-contact-bar {
    background: var(--hv-primary-dark);
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
}

.main-navbar {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
}

.navbar-brand {
    color: var(--hv-primary-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hv-primary), var(--hv-accent));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.main-navbar .nav-link {
    color: #1f2937 !important;
    font-weight: 600;
}

    .main-navbar .nav-link:hover {
        color: var(--hv-primary) !important;
    }

.hv-header-cta,
.btn-primary {
    background: var(--hv-primary);
    border-color: var(--hv-primary);
    color: #ffffff;
    border-radius: 50px;
    padding: 10px 22px;
    font-weight: 700;
}

    .hv-header-cta:hover,
    .btn-primary:hover {
        background: var(--hv-primary-dark);
        border-color: var(--hv-primary-dark);
        color: #ffffff;
    }





/* QUICK QUOTE */

.quick-quote-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 370px;
    max-width: calc(100% - 30px);
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    z-index: 1050;
    box-shadow: 0 18px 45px rgba(16, 42, 67, 0.22);
    border: 1px solid rgba(17, 100, 102, 0.12);
}

.quick-quote-header {
    background: linear-gradient(135deg, var(--hv-primary), var(--hv-primary-dark));
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

    .quick-quote-header strong {
        display: block;
        font-size: 16px;
        font-weight: 800;
    }

    .quick-quote-header small {
        display: block;
        font-size: 12px;
        opacity: 0.9;
    }

.quick-quote-actions {
    display: flex;
    gap: 8px;
}

    .quick-quote-actions button {
        width: 28px;
        height: 28px;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        color: #ffffff;
        font-size: 18px;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .quick-quote-actions button:hover {
            background: rgba(255, 255, 255, 0.32);
        }

.quick-quote-body {
    padding: 16px;
    max-height: 72vh;
    overflow-y: auto;
}

.quick-quote-form .form-control,
.quick-quote-form .form-select {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
}

.hv-quote-btn {
    background: var(--hv-danger);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 800;
}

    .hv-quote-btn:hover {
        background: #be123c;
        color: #ffffff;
    }

.quick-quote-widget.minimized .quick-quote-body {
    display: none;
}

.quick-quote-widget.minimized {
    width: 290px;
}

.quick-quote-widget.closed {
    display: none;
}

.quick-quote-open-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1049;
    display: none;
    border-radius: 50px;
    padding: 13px 22px;
    font-weight: 800;
    box-shadow: 0 14px 35px rgba(16, 42, 67, 0.22);
}

.quick-quote-open-btn {
    display: none;
}

    .quick-quote-open-btn.show {
        display: inline-flex;
    }

html[dir="rtl"] .quick-quote-widget,
html[dir="rtl"] .quick-quote-open-btn {
    right: auto;
    left: 24px;
}



/* SECTIONS */

.hv-home-hero {
    width: 100%;
    padding: 50px 0 58px;
    background: linear-gradient(135deg, #f7fbfc 0%, #eef8f9 100%);
}

.hv-section,
.home-section {
    width: 100%;
    padding: 70px 0;
}

    .hv-soft-section,
    .hv-process-section,
    .home-section.bg-soft {
        background: var(--hv-soft-bg);
    }

.hv-section-heading {
    margin-bottom: 34px;
}

    .hv-section-heading span,
    .hv-badge {
        color: var(--hv-primary);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

.hv-badge {
    display: inline-block;
    background: rgba(17, 100, 102, 0.10);
    padding: 8px 16px;
    border-radius: 50px;
    text-transform: none;
}

.hv-section-heading h2,
.hv-hero-title,
.section-title {
    color: var(--hv-dark);
    font-weight: 900;
    line-height: 1.15;
}

.hv-hero-title {
    font-size: 46px;
}

.hv-section-heading h2,
.section-title {
    font-size: 36px;
}

.hv-section-heading p,
.hv-hero-text,
.hv-muted,
.section-subtitle {
    color: var(--hv-muted);
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto 35px;
}

.hv-hero-text {
    font-size: 17px;
    line-height: 1.7;
}

/* BANNER CAROUSEL */

.healthovia-carousel,
.healthovia-carousel .carousel-item {
    min-height: 540px;
}

    .healthovia-carousel .carousel-item {
        background-size: cover;
        background-position: center;
        position: relative;
    }

        .healthovia-carousel .carousel-item::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(11, 65, 67, 0.88), rgba(17, 100, 102, 0.48));
        }

    .healthovia-carousel .carousel-caption-custom {
        position: relative;
        z-index: 2;
        min-height: 540px;
        display: flex;
        align-items: center;
    }

    .healthovia-carousel h1 {
        font-size: 3.2rem;
        font-weight: 900;
        color: #ffffff;
        line-height: 1.15;
    }

    .healthovia-carousel p {
        font-size: 1.15rem;
        max-width: 650px;
        color: rgba(255, 255, 255, 0.92);
        line-height: 1.7;
    }

    .healthovia-carousel .carousel-control-prev,
    .healthovia-carousel .carousel-control-next {
        width: 7%;
    }

    .healthovia-carousel .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }

/* BUTTONS */

.hv-btn-primary,
.hv-btn-whatsapp,
.hv-btn-danger,
.hv-btn-light,
.hv-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: 800;
    transition: 0.25s ease;
}

.hv-btn-primary,
.hv-btn-whatsapp,
.hv-btn-danger,
.hv-btn-light {
    padding: 10px 22px;
    font-size: 15px;
}

.hv-btn-primary {
    background: var(--hv-primary);
    color: #ffffff;
}

    .hv-btn-primary:hover {
        background: var(--hv-primary-dark);
        color: #ffffff;
    }

.hv-btn-whatsapp {
    background: #16a34a;
    color: #ffffff;
}

    .hv-btn-whatsapp:hover {
        background: #15803d;
        color: #ffffff;
    }

.hv-btn-danger {
    background: var(--hv-danger);
    color: #ffffff;
}

    .hv-btn-danger:hover {
        background: #be123c;
        color: #ffffff;
    }

.hv-btn-light {
    background: #ffffff;
    color: var(--hv-primary);
}

    .hv-btn-light:hover {
        background: #f1f5f9;
        color: var(--hv-primary-dark);
    }

.hv-link-btn {
    color: var(--hv-primary);
    font-weight: 800;
}

    .hv-link-btn:hover {
        color: var(--hv-primary-dark);
        text-decoration: underline;
    }

/* HERO IMAGE */

.hv-hero-image-card {
    position: relative;
    background: #ffffff;
    border-radius: 26px;
    padding: 14px;
    box-shadow: var(--hv-shadow);
    overflow: hidden;
}

    .hv-hero-image-card img {
        width: 100%;
        height: 365px;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }

.hv-hero-mini-card {
    position: absolute;
    left: 35px;
    bottom: 35px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: var(--hv-shadow);
}

    .hv-hero-mini-card strong {
        color: var(--hv-primary);
    }

html[dir="rtl"] .hv-hero-mini-card {
    left: auto;
    right: 35px;
}

/* CONTENT CARDS */

.hv-content-card,
.hv-testimonial-card,
.hv-feature-box,
.hv-process-card,
.healthovia-card {
    background: #ffffff;
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    overflow: hidden;
    border: 1px solid rgba(17, 100, 102, 0.06);
    transition: 0.25s ease;
    height: 100%;
}

    .hv-content-card:hover,
    .hv-testimonial-card:hover,
    .hv-feature-box:hover,
    .hv-process-card:hover,
    .healthovia-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(16, 42, 67, 0.14);
    }

    .hv-card-img,
    .healthovia-card img {
        width: 100%;
        /* Fixed card image height and object-fit are intentionally controlled by page-specific classes. */
        display: block;
        background-position: center;
        background-size: cover;
    }

.hv-doctor-img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hv-card-body {
    padding: 22px;
}

    .hv-card-body h5 {
        font-size: 19px;
        font-weight: 800;
        color: var(--hv-dark);
        margin-bottom: 10px;
    }

    .hv-card-body p {
        color: var(--hv-muted);
        line-height: 1.6;
    }

/* TESTIMONIAL */

.hv-testimonial-card {
    padding: 26px;
    text-align: center;
}

.hv-testimonial-img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 16px;
}

.hv-testimonial-card h5 {
    font-weight: 800;
    color: var(--hv-dark);
}

.hv-badge-small {
    display: inline-block;
    background: rgba(17, 100, 102, 0.10);
    color: var(--hv-primary);
    font-weight: 700;
    border-radius: 50px;
    padding: 6px 14px;
    margin-bottom: 12px;
}

.hv-stars {
    margin-top: 12px;
}

/* FEATURE / PROCESS */

.hv-feature-box,
.hv-process-card {
    padding: 26px;
}

.hv-feature-icon,
.hv-process-icon {
    width: 54px;
    height: 54px;
    background: rgba(17, 100, 102, 0.10);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.hv-feature-box h5,
.hv-process-card h5 {
    font-weight: 800;
    color: var(--hv-dark);
}

.hv-feature-box p,
.hv-process-card p {
    color: var(--hv-muted);
    line-height: 1.6;
}

.hv-process-card {
    text-align: center;
}

    .hv-process-card .hv-process-icon {
        margin-left: auto;
        margin-right: auto;
    }

/* CTA */

.hv-final-cta {
    width: 100%;
    background: linear-gradient(135deg, var(--hv-primary), var(--hv-primary-dark));
    color: #ffffff;
    padding: 55px 0;
    margin-bottom: 0 !important;
}

    .hv-final-cta + footer {
        margin-top: 0 !important;
    }

    .hv-final-cta h2 {
        font-weight: 900;
        font-size: 34px;
    }

    .hv-final-cta p {
        opacity: 0.95;
        font-size: 17px;
    }

/* FOOTER */

footer {
    width: 100%;
}

/* DARK MODE */

.dark-mode {
    background: #0f172a;
    color: #e5e7eb;
}

    .dark-mode .main-navbar,
    .dark-mode .quick-quote-widget,
    .dark-mode .hv-content-card,
    .dark-mode .hv-testimonial-card,
    .dark-mode .hv-feature-box,
    .dark-mode .hv-process-card,
    .dark-mode .healthovia-card,
    .dark-mode footer {
        background: #111827 !important;
        color: #e5e7eb !important;
    }

    .dark-mode .hv-home-hero,
    .dark-mode .hv-soft-section,
    .dark-mode .hv-process-section,
    .dark-mode .home-section.bg-soft {
        background: #0f172a;
    }

    .dark-mode .hv-section-heading h2,
    .dark-mode .hv-hero-title,
    .dark-mode .hv-card-body h5,
    .dark-mode .hv-feature-box h5,
    .dark-mode .hv-process-card h5,
    .dark-mode .hv-testimonial-card h5,
    .dark-mode .section-title {
        color: #ffffff;
    }

    .dark-mode .hv-section-heading p,
    .dark-mode .hv-hero-text,
    .dark-mode .hv-card-body p,
    .dark-mode .hv-feature-box p,
    .dark-mode .hv-process-card p,
    .dark-mode .hv-muted,
    .dark-mode .section-subtitle {
        color: #cbd5e1;
    }

    .dark-mode .main-navbar .nav-link,
    .dark-mode .navbar-brand {
        color: #ffffff !important;
    }

    .dark-mode .quick-quote-form .form-control,
    .dark-mode .quick-quote-form .form-select {
        background: #0f172a;
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.12);
    }

        .dark-mode .quick-quote-form .form-control::placeholder {
            color: #94a3b8;
        }

/* RESPONSIVE */

@media (max-width: 991px) {
    .hv-home-hero {
        padding: 45px 0;
    }

    .hv-hero-title {
        font-size: 36px;
    }

    .hv-section-heading h2,
    .section-title {
        font-size: 30px;
    }

    .hv-hero-image-card img {
        height: 290px;
    }

    .hv-section,
    .home-section {
        padding: 50px 0;
    }

    .top-contact-left {
        font-size: 13px;
    }

    .healthovia-carousel,
    .healthovia-carousel .carousel-item,
    .healthovia-carousel .carousel-caption-custom {
        min-height: 460px;
    }

        .healthovia-carousel h1 {
            font-size: 2.35rem;
        }

        .healthovia-carousel p {
            font-size: 1rem;
        }
}

@media (max-width: 768px) {
    .quick-quote-widget {
        right: 15px;
        bottom: 15px;
        width: calc(100% - 30px);
    }

        .quick-quote-widget.minimized {
            width: calc(100% - 30px);
        }

    .quick-quote-open-btn {
        right: 15px;
        bottom: 15px;
    }

    html[dir="rtl"] .quick-quote-widget,
    html[dir="rtl"] .quick-quote-open-btn {
        left: 15px;
        right: auto;
    }

    .healthovia-carousel,
    .healthovia-carousel .carousel-item,
    .healthovia-carousel .carousel-caption-custom {
        min-height: 430px;
    }

        .healthovia-carousel h1 {
            font-size: 2rem;
        }

        .healthovia-carousel p {
            font-size: 1rem;
        }
}

@media (max-width: 575px) {
    .top-contact-bar .container {
        justify-content: center !important;
        text-align: center;
    }

    .top-contact-left span {
        display: block;
        margin: 2px 0 !important;
    }

    .hv-hero-title {
        font-size: 30px;
    }

    .hv-section-heading h2,
    .section-title {
        font-size: 26px;
    }

    .hv-card-img,
    .hv-doctor-img,
    .healthovia-card img {
        height: 210px;
    }

    .quick-quote-body {
        max-height: 68vh;
    }
}



/* HERO FINAL POLISH */

.healthovia-carousel .hv-badge {
    background: transparent;
    color: var(--hv-accent);
    padding: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

    .healthovia-carousel .hv-badge::before {
        content: "🛡️";
        font-size: 22px;
    }

.healthovia-carousel h1 {
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.healthovia-carousel .carousel-item::before {
    background: radial-gradient(circle at 8% 10%, rgba(255,255,255,0.08), transparent 28%), linear-gradient(90deg, rgba(5, 71, 73, 0.96), rgba(17, 100, 102, 0.70));
}

.healthovia-carousel .hv-hero-image-card {
    border: 12px solid #ffffff;
    padding: 0;
    border-radius: 28px;
}

    .healthovia-carousel .hv-hero-image-card img {
        height: 430px;
        border-radius: 18px;
    }

.healthovia-carousel .hv-hero-mini-card {
    left: 28px;
    bottom: 28px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.healthovia-carousel .carousel-indicators {
    bottom: 24px;
}

@media (max-width: 991px) {
    .healthovia-carousel .hv-badge {
        font-size: 14px;
    }

        .healthovia-carousel .hv-badge::before {
            content: "✓";
            width: 22px;
            height: 22px;
            border: 2px solid var(--hv-accent);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 900;
            color: var(--hv-accent);
        }
}








/* INNER PAGE HERO */

.hv-page-hero {
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.10), transparent 28%), linear-gradient(135deg, var(--hv-primary-dark), var(--hv-primary));
    color: #ffffff;
    padding: 78px 0;
}

    .hv-page-hero h1 {
        font-size: 46px;
        font-weight: 900;
        margin: 14px 0;
    }

    .hv-page-hero p {
        max-width: 720px;
        margin: 0 auto;
        color: rgba(255,255,255,0.90);
        font-size: 17px;
        line-height: 1.7;
    }

.hv-page-badge {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.20);
    color: var(--hv-accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 800;
}

.hv-empty-state {
    background: #ffffff;
    border-radius: var(--hv-radius);
    padding: 50px 25px;
    box-shadow: var(--hv-shadow);
}

    .hv-empty-state h4 {
        font-weight: 800;
        color: var(--hv-dark);
    }

    .hv-empty-state p {
        color: var(--hv-muted);
    }

.dark-mode .hv-empty-state {
    background: #111827;
}

    .dark-mode .hv-empty-state h4 {
        color: #ffffff;
    }

@media (max-width: 768px) {
    .hv-page-hero {
        padding: 55px 0;
    }

        .hv-page-hero h1 {
            font-size: 34px;
        }
}



/* DETAILS PAGE */

.hv-detail-hero-image {
    background: #ffffff;
    border-radius: 28px;
    padding: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

    .hv-detail-hero-image img,
    .hv-detail-main-image img {
        width: 100%;
        height: 330px;
        object-fit: cover;
        border-radius: 20px;
        display: block;
    }

.hv-detail-card,
.hv-inquiry-card {
    background: #ffffff;
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    border: 1px solid rgba(17, 100, 102, 0.08);
    overflow: hidden;
}

.hv-detail-card-header {
    padding: 26px 28px 0;
}

    .hv-detail-card-header span {
        color: var(--hv-primary);
        font-weight: 800;
    }

    .hv-detail-card-header h2 {
        color: var(--hv-dark);
        font-weight: 900;
        margin-top: 8px;
    }

.hv-detail-content {
    padding: 22px 28px 30px;
    color: var(--hv-text);
    line-height: 1.8;
}

    .hv-detail-content h1,
    .hv-detail-content h2,
    .hv-detail-content h3,
    .hv-detail-content h4,
    .hv-detail-content h5 {
        color: var(--hv-dark);
        font-weight: 800;
        margin-top: 22px;
    }

    .hv-detail-content p {
        color: var(--hv-text);
        margin-bottom: 16px;
    }

    .hv-detail-content ul,
    .hv-detail-content ol {
        padding-left: 22px;
        margin-bottom: 18px;
    }

html[dir="rtl"] .hv-detail-content ul,
html[dir="rtl"] .hv-detail-content ol {
    padding-left: 0;
    padding-right: 22px;
}

.hv-inquiry-card {
    top: 105px;
}

.hv-inquiry-card-header {
    background: linear-gradient(135deg, var(--hv-primary), var(--hv-primary-dark));
    color: #ffffff;
    padding: 20px 22px;
}

    .hv-inquiry-card-header h5 {
        font-weight: 900;
        margin-bottom: 6px;
    }

    .hv-inquiry-card-header p {
        margin: 0;
        opacity: 0.92;
        font-size: 14px;
    }

.hv-inquiry-card-body {
    padding: 22px;
}

.hv-inquiry-card .form-control,
.hv-inquiry-card .form-select {
    border-radius: 12px;
    padding: 11px 13px;
}

.hv-alert {
    border-radius: 14px;
    border: none;
    box-shadow: var(--hv-shadow);
}

.dark-mode .hv-detail-card,
.dark-mode .hv-inquiry-card {
    background: #111827;
    color: #e5e7eb;
}

.dark-mode .hv-detail-card-header h2,
.dark-mode .hv-detail-content h1,
.dark-mode .hv-detail-content h2,
.dark-mode .hv-detail-content h3,
.dark-mode .hv-detail-content h4,
.dark-mode .hv-detail-content h5 {
    color: #ffffff;
}

.dark-mode .hv-detail-content,
.dark-mode .hv-detail-content p {
    color: #cbd5e1;
}

.dark-mode .hv-inquiry-card .form-control,
.dark-mode .hv-inquiry-card .form-select {
    background: #0f172a;
    color: #ffffff;
    border-color: rgba(255,255,255,0.12);
}

@media (max-width: 991px) {
    .hv-inquiry-card {
        top: auto;
    }

    .hv-detail-hero-image img,
    .hv-detail-main-image img {
        height: 260px;
    }
}


/* HOSPITAL LISTING */

.hv-featured-badge {
    display: inline-block;
    background: rgba(17,100,102,.10);
    color: var(--hv-primary);
    font-size: 13px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.hv-location {
    color: var(--hv-primary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.hv-logo-wrapper {
    height: 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.hv-hospital-logo {
    max-height: 140px;
    max-width: 100%;
    object-fit: contain;
}

.dark-mode .hv-logo-wrapper {
    background: #111827;
}



/* HOSPITAL DETAILS */

.hv-detail-hero-logo {
    background: #ffffff;
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hv-detail-hero-logo img {
        max-height: 160px;
        max-width: 100%;
        object-fit: contain;
    }

.hv-mini-doctor-card {
    background: #ffffff;
    border: 1px solid rgba(17, 100, 102, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
    transition: 0.25s ease;
}

    .hv-mini-doctor-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(16, 42, 67, 0.12);
    }

    .hv-mini-doctor-card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
        object-position: top center;
        display: block;
    }

.hv-mini-doctor-body {
    padding: 18px;
}

    .hv-mini-doctor-body h5 {
        color: var(--hv-dark);
        font-weight: 800;
        margin-bottom: 8px;
    }

.dark-mode .hv-detail-hero-logo,
.dark-mode .hv-mini-doctor-card {
    background: #111827;
}

.dark-mode .hv-mini-doctor-body h5 {
    color: #ffffff;
}

.hv-doctor-image-wrap {
    width: 100%;
    height: 260px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #eafaf6, #f4fbff);
    margin-bottom: 18px;
}

.hv-doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hv-doctor-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hv-doctor-placeholder i {
        font-size: 72px;
        color: #1bbf9c;
    }

.hv-card-subtitle {
    color: #1bbf9c;
    font-weight: 600;
    margin-bottom: 14px;
}

.hv-meta-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
}

    .hv-meta-list div {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #607080;
        font-size: 14px;
    }

    .hv-meta-list i {
        width: 18px;
        color: #1bbf9c;
    }

.hv-empty-state {
    padding: 70px 20px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
}

    .hv-empty-state i {
        font-size: 60px;
        color: #1bbf9c;
        margin-bottom: 18px;
    }








.hv-doctor-detail-image-wrap {
    width: 100%;
    min-height: 320px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #eafaf6, #f4fbff);
}

.hv-doctor-detail-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.hv-detail-title {
    font-size: 32px;
    font-weight: 800;
    color: #12344d;
    margin-bottom: 8px;
}

.hv-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
}

.hv-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 18px;
    background: #f7fbfc;
}

    .hv-info-item i {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: #e6faf5;
        color: #1bbf9c;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hv-info-item strong {
        display: block;
        color: #12344d;
        font-size: 14px;
        margin-bottom: 2px;
    }

    .hv-info-item span {
        color: #607080;
        font-size: 14px;
    }

.hv-treatment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .hv-treatment-tags a {
        display: inline-flex;
        padding: 10px 16px;
        border-radius: 999px;
        background: #f4fbff;
        color: #12344d;
        border: 1px solid rgba(27, 191, 156, 0.2);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.25s ease;
    }

        .hv-treatment-tags a:hover {
            background: #1bbf9c;
            color: #ffffff;
        }

.hv-detail-description {
    color: #607080;
    line-height: 1.8;
}

    .hv-detail-description p:last-child {
        margin-bottom: 0;
    }




.hv-testimonial-card {
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
    transition: all .3s ease;
}

    .hv-testimonial-card:hover {
        transform: translateY(-6px);
    }

.hv-testimonial-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.hv-testimonial-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
}

.hv-testimonial-avatar-placeholder {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #eafaf6;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hv-testimonial-avatar-placeholder i {
        color: #1bbf9c;
        font-size: 28px;
    }

.hv-testimonial-treatment {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #eafaf6;
    color: #1bbf9c;
    font-weight: 600;
    font-size: 13px;
}

.hv-rating {
    color: #ffb400;
}

    .hv-rating i {
        margin-right: 2px;
    }

.hv-testimonial-story {
    color: #607080;
    line-height: 1.8;
    flex-grow: 1;
}

.hv-btn-outline {
    border: 2px solid #1bbf9c;
    color: #1bbf9c;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 600;
}

    .hv-btn-outline:hover {
        background: #1bbf9c;
        color: #fff;
    }





.hv-blog-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

    .hv-blog-card:hover {
        transform: translateY(-6px);
    }

.hv-blog-image-wrap {
    width: 100%;
    height: 230px;
    background: linear-gradient(135deg, #eafaf6, #f4fbff);
    overflow: hidden;
}

.hv-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hv-blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hv-blog-placeholder i {
        font-size: 58px;
        color: #1bbf9c;
    }

.hv-blog-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hv-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #607080;
    font-size: 13px;
}

.hv-blog-category {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eafaf6;
    color: #1bbf9c;
    font-weight: 700;
}

.hv-blog-title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 12px;
}

    .hv-blog-title a {
        color: #12344d;
        text-decoration: none;
    }

        .hv-blog-title a:hover {
            color: #1bbf9c;
        }

.hv-blog-text {
    color: #607080;
    line-height: 1.8;
    margin-bottom: 0;
}

.hv-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1bbf9c;
    font-weight: 700;
    text-decoration: none;
}

    .hv-blog-link:hover {
        color: #12344d;
    }




.hv-blog-detail-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
}

.hv-blog-detail-image-wrap {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    border-radius: 28px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #eafaf6, #f4fbff);
}

.hv-blog-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.hv-blog-summary {
    padding: 22px 24px;
    border-radius: 22px;
    background: #f4fbff;
    color: #12344d;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 600;
    border-left: 5px solid #1bbf9c;
    margin-bottom: 28px;
}

[dir="rtl"] .hv-blog-summary {
    border-left: 0;
    border-right: 5px solid #1bbf9c;
}

.hv-blog-content {
    color: #607080;
    line-height: 1.9;
    font-size: 16px;
}

    .hv-blog-content h1,
    .hv-blog-content h2,
    .hv-blog-content h3,
    .hv-blog-content h4,
    .hv-blog-content h5 {
        color: #12344d;
        font-weight: 800;
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .hv-blog-content p {
        margin-bottom: 18px;
    }

    .hv-blog-content img {
        max-width: 100%;
        border-radius: 20px;
        margin: 20px 0;
    }

    .hv-blog-content ul,
    .hv-blog-content ol {
        padding-left: 22px;
        margin-bottom: 20px;
    }

[dir="rtl"] .hv-blog-content ul,
[dir="rtl"] .hv-blog-content ol {
    padding-left: 0;
    padding-right: 22px;
}

.hv-blog-content blockquote {
    padding: 20px 24px;
    border-radius: 20px;
    background: #eafaf6;
    color: #12344d;
    border-left: 5px solid #1bbf9c;
}

[dir="rtl"] .hv-blog-content blockquote {
    border-left: 0;
    border-right: 5px solid #1bbf9c;
}

.hv-comments-section {
    margin-top: 55px;
}

.hv-comments-heading {
    margin-bottom: 24px;
}

    .hv-comments-heading h3 {
        margin-top: 12px;
        font-weight: 800;
        color: #12344d;
    }

.hv-comment-form-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
}

    .hv-comment-form-card h4 {
        font-weight: 800;
        color: #12344d;
        margin-bottom: 8px;
    }

    .hv-comment-form-card p {
        color: #607080;
        margin-bottom: 22px;
    }

.hv-comment-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}




/* ==========================
   BLOG COMMENTS
========================== */

.hv-comment-item {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(13, 45, 72, 0.08);
    margin-bottom: 18px;
}

.hv-comment-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
}

.hv-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1bbf9c;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hv-comment-user h6 {
    margin: 0;
    font-weight: 700;
    color: #12344d;
}

.hv-comment-user span {
    font-size: 13px;
    color: #607080;
}

.hv-comment-content {
    color: #607080;
    line-height: 1.8;
    font-size: 15px;
}

.hv-comment-reply-btn {
    border: none;
    background: transparent;
    color: #1bbf9c;
    font-weight: 600;
    padding: 0;
}

    .hv-comment-reply-btn:hover {
        color: #12344d;
    }

    .hv-comment-reply-btn i {
        margin-right: 6px;
    }

.hv-reply-form {
    margin-top: 15px;
    background: #f7fbfc;
    padding: 20px;
    border-radius: 18px;
}

.hv-comment-children {
    margin-top: 20px;
    margin-left: 40px;
    padding-left: 20px;
    border-left: 3px solid rgba(27, 191, 156, 0.25);
}

[dir="rtl"] .hv-comment-children {
    margin-left: 0;
    padding-left: 0;
    margin-right: 40px;
    padding-right: 20px;
    border-left: none;
    border-right: 3px solid rgba(27, 191, 156, 0.25);
}

.hv-contact-info-card,
.hv-contact-form-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
}

.hv-contact-info-card {
    background: linear-gradient(135deg, #12344d, #1bbf9c);
    color: #ffffff;
}

    .hv-contact-info-card .hv-section-badge {
        background: rgba(255, 255, 255, 0.18);
        color: #ffffff;
    }

    .hv-contact-info-card h2 {
        font-size: 34px;
        font-weight: 800;
        margin: 18px 0;
    }

    .hv-contact-info-card p {
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.8;
    }

.hv-contact-points {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .hv-contact-points div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .hv-contact-points i {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        display: flex;
        align-items: center;
        justify-content: center;
    }

.hv-contact-form-card h3 {
    color: #12344d;
    font-weight: 800;
    margin-bottom: 8px;
}

.hv-contact-form-card p {
    color: #607080;
    margin-bottom: 24px;
}


.hv-faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hv-faq-item {
    border: none;
    border-radius: 22px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(13, 45, 72, 0.08);
}

    .hv-faq-item .accordion-button {
        padding: 22px 26px;
        font-weight: 800;
        color: #12344d;
        background: #ffffff;
        box-shadow: none;
    }

        .hv-faq-item .accordion-button:not(.collapsed) {
            color: #1bbf9c;
            background: #f4fbff;
        }

    .hv-faq-item .accordion-body {
        padding: 0 26px 24px;
        color: #607080;
        line-height: 1.8;
    }

    .hv-faq-item .accordion-button:focus {
        box-shadow: none;
    }




.hv-cms-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
}

/*.hv-cms-image-wrap {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    border-radius: 28px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #eafaf6, #f4fbff);
}*/

/*.hv-cms-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}*/

.hv-cms-content {
    color: #607080;
    line-height: 1.9;
    font-size: 16px;
}

    .hv-cms-content h1,
    .hv-cms-content h2,
    .hv-cms-content h3,
    .hv-cms-content h4,
    .hv-cms-content h5,
    .hv-cms-content h6 {
        color: #12344d;
        font-weight: 800;
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .hv-cms-content p {
        margin-bottom: 18px;
    }

    .hv-cms-content img {
        max-width: 100%;
        border-radius: 20px;
        margin: 20px 0;
    }

    .hv-cms-content ul,
    .hv-cms-content ol {
        padding-left: 22px;
        margin-bottom: 20px;
    }

[dir="rtl"] .hv-cms-content ul,
[dir="rtl"] .hv-cms-content ol {
    padding-left: 0;
    padding-right: 22px;
}

.hv-cms-content blockquote {
    padding: 20px 24px;
    border-radius: 20px;
    background: #eafaf6;
    color: #12344d;
    border-left: 5px solid #1bbf9c;
}

[dir="rtl"] .hv-cms-content blockquote {
    border-left: 0;
    border-right: 5px solid #1bbf9c;
}



.hv-service-content img,
.hv-cms-content img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    margin: 25px auto;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(13, 45, 72, 0.12);
}

.hv-service-content,
.hv-cms-content {
    background: #ffffff;
    padding: 34px;
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
}

.hv-service-actions {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}


.hv-service-hero-icon {
    width: 82px;
    height: 82px;
    border-radius: 26px;
    background: linear-gradient(135deg, #1bbf9c, #12344d);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 34px;
}

.hv-service-detail-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
}

.hv-service-image-wrap {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    border-radius: 28px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #eafaf6, #f4fbff);
    text-align: center;
}

.hv-service-image {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.hv-service-content {
    color: #607080;
    line-height: 1.9;
    font-size: 16px;
}

    .hv-service-content h1,
    .hv-service-content h2,
    .hv-service-content h3,
    .hv-service-content h4,
    .hv-service-content h5,
    .hv-service-content h6 {
        color: #12344d;
        font-weight: 800;
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .hv-service-content p {
        margin-bottom: 18px;
    }

    .hv-service-content img {
        display: block;
        max-width: 100%;
        height: auto;
        max-height: 520px;
        object-fit: contain;
        margin: 25px auto;
        border-radius: 22px;
        box-shadow: 0 14px 38px rgba(13, 45, 72, 0.12);
    }

    .hv-service-content ul,
    .hv-service-content ol {
        padding-left: 22px;
        margin-bottom: 20px;
    }

[dir="rtl"] .hv-service-content ul,
[dir="rtl"] .hv-service-content ol {
    padding-left: 0;
    padding-right: 22px;
}

.hv-service-content blockquote {
    padding: 20px 24px;
    border-radius: 20px;
    background: #eafaf6;
    color: #12344d;
    border-left: 5px solid #1bbf9c;
}

[dir="rtl"] .hv-service-content blockquote {
    border-left: 0;
    border-right: 5px solid #1bbf9c;
}

.hv-service-actions {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .hv-service-detail-card {
        padding: 22px;
        border-radius: 24px;
    }

    .hv-service-actions .btn {
        width: 100%;
    }
}




.hv-service-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

    .hv-service-card:hover {
        transform: translateY(-6px);
    }

.hv-service-card-image-wrap {
    width: 100%;
    height: 225px;
    background: linear-gradient(135deg, #eafaf6, #f4fbff);
    overflow: hidden;
}

.hv-service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hv-service-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hv-service-card-placeholder i {
        font-size: 58px;
        color: #1bbf9c;
    }

.hv-service-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hv-service-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1bbf9c, #12344d);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
}

.hv-service-card-body h3 {
    font-size: 21px;
    font-weight: 800;
    color: #12344d;
    margin-bottom: 12px;
}

.hv-service-card-body p {
    color: #607080;
    line-height: 1.8;
    margin-bottom: 0;
}


.hv-footer {
    background: #0f2d46;
    color: #ffffff;
    padding-top: 70px;
    padding-bottom: 25px;
    margin-top: 80px;
}

.hv-footer-brand h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hv-footer-brand p {
    color: rgba(255,255,255,.75);
    line-height: 1.9;
}

.hv-footer-title {
    font-weight: 700;
    margin-bottom: 20px;
}

.hv-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .hv-footer-links li {
        margin-bottom: 12px;
    }

    .hv-footer-links a {
        color: rgba(255,255,255,.75);
        text-decoration: none;
        transition: .3s;
    }

        .hv-footer-links a:hover {
            color: #1bbf9c;
        }

.hv-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .hv-footer-contact div {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }

    .hv-footer-contact i {
        color: #1bbf9c;
        margin-top: 4px;
    }

.hv-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

    .hv-footer-social a {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: .3s;
    }

        .hv-footer-social a:hover {
            background: #1bbf9c;
        }

.hv-footer-divider {
    margin: 40px 0 20px;
    border-color: rgba(255,255,255,.12);
}

.hv-footer-bottom {
    text-align: center;
    color: rgba(255,255,255,.65);
}






.hv-site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff;
    transition: all .3s ease;
}

    .hv-site-header.scrolled {
        box-shadow: 0 12px 35px rgba(13, 45, 72, 0.12);
    }

.hv-top-bar {
    background: #12344d;
    color: #ffffff;
    padding: 9px 0;
    font-size: 14px;
}

.hv-top-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

    .hv-top-contact a {
        color: rgba(255,255,255,.88);
        text-decoration: none;
    }

    .hv-top-contact i {
        color: #1bbf9c;
        margin-right: 6px;
    }

.hv-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hv-lang-btn,
.hv-theme-btn {
    min-width: 64px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.08);
    color: #ffffff;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hv-theme-btn {
    min-width: 54px;
    padding: 5px 10px;
}

    .hv-lang-btn:hover,
    .hv-theme-btn:hover {
        background: #1bbf9c;
        color: #ffffff;
    }

.theme-icon-light,
.theme-icon-dark {
    font-size: 15px;
    line-height: 1;
}


.hv-main-navbar {
    background: #ffffff;
    padding: 14px 0;
}

.hv-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.hv-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(135deg, #1bbf9c, #12344d);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
}

.hv-brand-text {
    font-size: 24px;
    font-weight: 900;
    color: #12344d;
}

.hv-main-navbar .navbar-nav {
    gap: 6px;
}

.hv-main-navbar .nav-link {
    color: #12344d;
    font-weight: 600;
    padding: 10px 13px !important;
    border-radius: 999px;
}

    .hv-main-navbar .nav-link:hover,
    .hv-main-navbar .nav-link.active {
        background: #eafaf6;
        color: #1bbf9c;
    }

.hv-navbar-toggler {
    border: none;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .hv-main-navbar .navbar-collapse {
        margin-top: 14px;
        background: #ffffff;
        border-radius: 22px;
        padding: 18px;
        box-shadow: 0 18px 45px rgba(13, 45, 72, 0.12);
    }

    .hv-main-navbar .navbar-nav {
        gap: 4px;
    }

    .hv-main-navbar .nav-link {
        padding: 12px 14px !important;
    }
}

@media (max-width: 575px) {
    .hv-top-contact {
        gap: 8px;
        font-size: 12px;
    }

    .hv-brand-text {
        font-size: 21px;
    }

    .hv-brand-icon {
        width: 40px;
        height: 40px;
    }
}

[dir="rtl"] .hv-top-contact i {
    margin-right: 0;
    margin-left: 6px;
}






.quick-quote-widget {
    user-select: none;
}

.quick-quote-body {
    user-select: text;
}

.quick-quote-widget.dragging {
    opacity: 0.92;
    transition: none !important;
}

.quick-quote-widget input,
.quick-quote-widget textarea,
.quick-quote-widget button {
    user-select: auto;
}


/* =========================================================
   HEALTHOVIA MOBILE RESPONSIVE FINAL POLISH
   Put this at the bottom of site.css / included in polished file
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

/* Better touch targets */
button,
.btn,
.nav-link,
.hv-lang-btn,
.hv-theme-btn,
.quick-quote-open-btn {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991.98px) {

    .container,
    .container-fluid {
        max-width: 100%;
    }

    /* Header */
    .hv-site-header {
        position: sticky;
        top: 0;
        z-index: 1030;
    }

    .hv-top-bar {
        padding: 8px 0;
    }

        .hv-top-bar .container,
        .top-contact-bar .container {
            gap: 8px;
        }

    .hv-top-contact,
    .top-contact-left {
        gap: 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    .hv-top-actions {
        gap: 6px;
    }

    .hv-lang-btn,
    .hv-theme-btn {
        min-width: auto;
        height: 32px;
        padding: 5px 11px;
        font-size: 12px;
    }

    .hv-main-navbar,
    .main-navbar,
    .navbar {
        padding: 12px 0;
    }

    .hv-brand-text,
    .navbar-brand {
        font-size: 21px;
        line-height: 1.1;
    }

    .hv-brand-icon,
    .brand-logo {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 13px;
        font-size: 21px;
    }

    .navbar-toggler,
    .hv-navbar-toggler {
        border: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        padding: 6px 8px;
    }

    .navbar-collapse,
    .hv-main-navbar .navbar-collapse {
        background: #ffffff;
        margin-top: 12px;
        padding: 14px;
        border-radius: 18px;
        box-shadow: 0 16px 38px rgba(13, 45, 72, 0.14);
    }

    .navbar-nav,
    .hv-main-navbar .navbar-nav {
        gap: 2px !important;
    }

        .navbar-nav .nav-link,
        .hv-main-navbar .nav-link,
        .main-navbar .nav-link {
            display: block;
            padding: 11px 12px !important;
            font-size: 15px;
            border-radius: 12px;
        }

    .dropdown-menu {
        border: 0;
        box-shadow: none;
        padding: 4px 0 4px 14px;
        margin: 0;
        background: transparent;
    }

    html[dir="rtl"] .navbar-nav,
    html[dir="rtl"] .dropdown-menu {
        text-align: right;
    }

    html[dir="rtl"] .dropdown-menu {
        padding-left: 0;
        padding-right: 14px;
    }

    /* Sections */
    .hv-section,
    .home-section {
        padding: 48px 0;
    }

    .hv-home-hero {
        padding: 42px 0;
    }

    .hv-section-heading {
        margin-bottom: 26px;
        text-align: center;
    }

        .hv-section-heading h2,
        .section-title,
        .hv-section-title {
            font-size: 28px !important;
            line-height: 1.25;
        }

    .hv-hero-title {
        font-size: 34px !important;
        line-height: 1.2;
    }

    .hv-hero-text,
    .section-subtitle,
    .hv-section-heading p {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Carousel / home banner */
    .healthovia-carousel,
    .healthovia-carousel .carousel-item,
    .healthovia-carousel .carousel-caption-custom {
        min-height: 430px !important;
    }

        .healthovia-carousel .carousel-caption-custom {
            align-items: center;
            padding: 34px 0 54px;
        }

        .healthovia-carousel h1 {
            font-size: 2rem !important;
            line-height: 1.2;
            word-break: normal;
        }

        .healthovia-carousel p {
            font-size: 0.98rem;
            line-height: 1.65;
        }

        .healthovia-carousel .hv-badge {
            font-size: 14px;
        }

        .healthovia-carousel .hv-hero-image-card {
            margin-top: 24px;
            border-width: 8px;
            border-radius: 22px;
        }

            .healthovia-carousel .hv-hero-image-card img,
            .hv-hero-image-card img {
                height: 280px;
                border-radius: 16px;
            }

        .healthovia-carousel .hv-hero-mini-card,
        .hv-hero-mini-card {
            left: 18px;
            bottom: 18px;
            padding: 10px 14px;
            font-size: 13px;
            border-radius: 13px;
        }

    html[dir="rtl"] .healthovia-carousel .hv-hero-mini-card,
    html[dir="rtl"] .hv-hero-mini-card {
        left: auto;
        right: 18px;
    }

    .healthovia-carousel .carousel-control-prev,
    .healthovia-carousel .carousel-control-next {
        width: 10%;
    }

    /* Inner page hero */
    .hv-page-hero {
        padding: 54px 0;
        text-align: center;
    }

        .hv-page-hero h1 {
            font-size: 32px !important;
            line-height: 1.25;
        }

        .hv-page-hero p {
            font-size: 15px;
        }

    /* Cards and images */
    .card,
    .hv-content-card,
    .hv-testimonial-card,
    .hv-feature-box,
    .hv-process-card,
    .healthovia-card,
    .hv-blog-card,
    .hv-service-card,
    .hv-detail-card,
    .hv-inquiry-card,
    .hv-contact-info-card,
    .hv-contact-form-card,
    .hv-cms-card,
    .hv-service-detail-card,
    .hv-blog-detail-card {
        border-radius: 20px !important;
        margin-bottom: 20px;
    }

    .hv-card-body,
    .hv-blog-body,
    .hv-service-card-body,
    .hv-contact-info-card,
    .hv-contact-form-card,
    .hv-cms-card,
    .hv-service-detail-card,
    .hv-blog-detail-card,
    .hv-detail-card-header,
    .hv-detail-content,
    .hv-inquiry-card-body {
        padding: 22px !important;
    }

    .hv-card-img,
    .healthovia-card img,
    .hv-blog-image-wrap,
    .hv-service-card-image-wrap {
        height: 210px;
    }

    .hv-doctor-img,
    .hv-doctor-image-wrap,
    .hv-doctor-placeholder {
        height: 240px;
        min-height: 240px;
    }

    .hv-detail-hero-image img,
    .hv-detail-main-image img,
    .hv-doctor-detail-image,
    .hv-doctor-detail-image-wrap {
        height: auto;
        min-height: 250px;
    }

    .hv-detail-hero-logo {
        min-height: 210px;
        padding: 28px;
    }

    .hv-logo-wrapper {
        height: 190px;
        padding: 24px;
    }

    .hv-blog-detail-image-wrap,
    .hv-service-image-wrap {
        max-height: none;
    }

    .hv-blog-detail-image,
    .hv-service-image {
        max-height: 330px;
        object-fit: contain;
    }

    .hv-blog-summary {
        font-size: 16px;
        padding: 18px;
    }

    .hv-comment-children {
        margin-left: 16px;
        padding-left: 14px;
    }

    html[dir="rtl"] .hv-comment-children {
        margin-left: 0;
        padding-left: 0;
        margin-right: 16px;
        padding-right: 14px;
    }

    /* Contact / inquiry forms */
    .form-control,
    .form-select,
    textarea,
    .quick-quote-form .form-control,
    .quick-quote-form .form-select,
    .hv-inquiry-card .form-control,
    .hv-inquiry-card .form-select {
        width: 100%;
        font-size: 14px;
        min-height: 44px;
    }

        textarea.form-control,
        textarea {
            min-height: 110px;
        }

    .hv-contact-info-card h2 {
        font-size: 30px;
    }

    .hv-contact-points div,
    .hv-footer-contact div {
        align-items: flex-start;
    }

    /* Footer */
    .hv-footer,
    footer {
        margin-top: 50px;
        padding-top: 48px;
        padding-bottom: 96px !important;
    }

    .hv-footer-brand h3 {
        font-size: 30px;
    }

    .hv-footer-title {
        margin-top: 22px;
        margin-bottom: 14px;
    }

    .hv-footer-links li {
        margin-bottom: 10px;
    }

    .hv-footer-divider {
        margin: 28px 0 18px;
    }

    /* Quick Quote: prevent content overlap */
    .quick-quote-open-btn,
    #quickQuoteOpenBtn,
    .quick-quote-btn {
        position: fixed !important;
        right: 14px !important;
        left: auto !important;
        bottom: 18px !important;
        z-index: 1049 !important;
        transform: scale(0.86);
        transform-origin: right bottom;
        white-space: nowrap;
        padding: 12px 20px;
        box-shadow: 0 12px 28px rgba(13, 45, 72, 0.22);
    }

    html[dir="rtl"] .quick-quote-open-btn,
    html[dir="rtl"] #quickQuoteOpenBtn,
    html[dir="rtl"] .quick-quote-btn {
        right: auto !important;
        left: 14px !important;
        transform-origin: left bottom;
    }

    .quick-quote-widget,
    #quickQuoteWidget {
        position: fixed !important;
        width: calc(100% - 24px) !important;
        max-width: none !important;
        right: 12px !important;
        left: 12px !important;
        bottom: 12px !important;
        max-height: 82vh !important;
        overflow: hidden !important;
        border-radius: 20px !important;
        z-index: 1050 !important;
    }

        .quick-quote-widget.minimized {
            width: 260px !important;
            left: auto !important;
            right: 14px !important;
        }

    html[dir="rtl"] .quick-quote-widget.minimized {
        right: auto !important;
        left: 14px !important;
    }

    .quick-quote-body {
        max-height: calc(82vh - 60px) !important;
        overflow-y: auto !important;
        padding: 14px !important;
    }
}

@media (max-width: 575.98px) {

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hv-top-bar .container,
    .top-contact-bar .container {
        flex-direction: column;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
    }

    .hv-top-contact,
    .top-contact-left {
        justify-content: center;
        text-align: center;
        gap: 6px 12px;
    }

        .top-contact-left span {
            display: inline-block;
            margin: 0 !important;
        }

    .hv-main-navbar .container,
    .main-navbar .container,
    .navbar .container {
        gap: 8px;
    }

    .hv-brand-text,
    .navbar-brand {
        font-size: 20px;
    }

    .hv-brand-icon,
    .brand-logo {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 20px;
    }

    .healthovia-carousel,
    .healthovia-carousel .carousel-item,
    .healthovia-carousel .carousel-caption-custom {
        min-height: 390px !important;
    }

        .healthovia-carousel .carousel-caption-custom {
            padding: 28px 0 48px;
        }

        .healthovia-carousel h1 {
            font-size: 1.72rem !important;
        }

        .healthovia-carousel p {
            font-size: 0.92rem;
        }

        .healthovia-carousel .hv-badge {
            font-size: 13px;
        }

    .hv-hero-title {
        font-size: 29px !important;
    }

    .hv-section-heading h2,
    .section-title,
    .hv-section-title {
        font-size: 24px !important;
    }

    .hv-page-hero h1 {
        font-size: 28px !important;
    }

    .hv-final-cta h2 {
        font-size: 28px;
    }

    .hv-final-cta {
        padding: 44px 0;
        text-align: center;
    }

    .hv-card-body,
    .hv-blog-body,
    .hv-service-card-body,
    .hv-contact-info-card,
    .hv-contact-form-card,
    .hv-cms-card,
    .hv-service-detail-card,
    .hv-blog-detail-card,
    .hv-detail-card-header,
    .hv-detail-content,
    .hv-inquiry-card-body {
        padding: 18px !important;
    }

    .hv-card-img,
    .healthovia-card img,
    .hv-blog-image-wrap,
    .hv-service-card-image-wrap {
        height: 200px;
    }

    .hv-doctor-img,
    .hv-doctor-image-wrap,
    .hv-doctor-placeholder {
        height: 230px;
        min-height: 230px;
    }

    .hv-treatment-tags a,
    .hv-btn-primary,
    .hv-btn-whatsapp,
    .hv-btn-danger,
    .hv-btn-light,
    .btn {
        font-size: 14px;
    }

    .hv-service-actions .btn,
    .hv-final-cta .btn {
        width: 100%;
    }

    .hv-footer,
    footer {
        text-align: left;
        padding-bottom: 100px !important;
    }

    html[dir="rtl"] .hv-footer,
    html[dir="rtl"] footer {
        text-align: right;
    }

    .hv-footer-social {
        justify-content: flex-start;
    }

    html[dir="rtl"] .hv-footer-social {
        justify-content: flex-end;
    }

    .quick-quote-open-btn,
    #quickQuoteOpenBtn,
    .quick-quote-btn {
        right: 12px !important;
        bottom: 16px !important;
        transform: scale(0.82);
        padding: 11px 18px;
    }

    html[dir="rtl"] .quick-quote-open-btn,
    html[dir="rtl"] #quickQuoteOpenBtn,
    html[dir="rtl"] .quick-quote-btn {
        right: auto !important;
        left: 12px !important;
    }

    .quick-quote-widget.minimized {
        width: 238px !important;
    }
}

@media (max-width: 380px) {
    .hv-brand-text,
    .navbar-brand {
        font-size: 18px;
    }

    .hv-brand-icon,
    .brand-logo {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .healthovia-carousel h1 {
        font-size: 1.58rem !important;
    }

    .quick-quote-open-btn,
    #quickQuoteOpenBtn,
    .quick-quote-btn {
        transform: scale(0.78);
        right: 8px !important;
    }

    html[dir="rtl"] .quick-quote-open-btn,
    html[dir="rtl"] #quickQuoteOpenBtn,
    html[dir="rtl"] .quick-quote-btn {
        right: auto !important;
        left: 8px !important;
    }
}



/* MOBILE MENU FIX */
@media (max-width: 991px) {

    .hv-main-navbar .navbar-collapse {
        width: 100%;
        display: none;
        margin-top: 14px;
        background: #ffffff;
        border-radius: 20px;
        padding: 16px;
        box-shadow: 0 18px 45px rgba(13, 45, 72, 0.14);
    }

        .hv-main-navbar .navbar-collapse.show {
            display: block !important;
        }

    .hv-public-menu {
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }

        .hv-public-menu .nav-item {
            width: 100%;
        }

        .hv-public-menu .nav-link {
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 12px 14px !important;
            border-radius: 12px;
        }

        .hv-public-menu .dropdown-menu {
            position: static !important;
            transform: none !important;
            width: 100%;
            border: 0;
            box-shadow: none;
            background: #f7fbfc;
            padding: 8px;
            margin-top: 4px;
            border-radius: 14px;
        }

        .hv-public-menu .dropdown-item {
            border-radius: 10px;
            padding: 10px 12px;
            white-space: normal;
        }

    .hv-main-navbar .btn {
        width: 100%;
        margin-top: 10px;
    }

    html[dir="rtl"] .hv-public-menu .nav-link {
        text-align: right;
    }
}




/* MOBILE HAMBURGER VISIBILITY FIX */
.hv-navbar-toggler {
    border: 1px solid rgba(18, 52, 77, 0.25);
    border-radius: 12px;
    padding: 8px 10px;
    background: #ffffff;
    color: #12344d;
    display: none;
    align-items: center;
    gap: 6px;
}

    .hv-navbar-toggler .navbar-toggler-icon {
        display: inline-block;
    }

.hv-menu-text {
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 991px) {
    .hv-navbar-toggler {
        display: inline-flex !important;
    }

    .hv-main-navbar .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
        margin-top: 14px;
        background: #ffffff;
        border-radius: 20px;
        padding: 16px;
        box-shadow: 0 18px 45px rgba(13, 45, 72, 0.14);
    }

    .hv-public-menu,
    .hv-main-navbar .navbar-nav {
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }

    .hv-main-navbar .nav-item {
        width: 100%;
    }

    .hv-main-navbar .nav-link {
        width: 100%;
        padding: 12px 14px !important;
        border-radius: 12px;
    }

    .hv-main-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        border: 0;
        box-shadow: none;
        background: #f7fbfc;
        padding: 8px;
        margin-top: 4px;
        border-radius: 14px;
    }

    .hv-main-navbar .btn {
        width: 100%;
        margin-top: 10px;
    }
}


/* =========================================================
   HEALTHOVIA FINAL MOBILE MENU + RESPONSIVE OVERRIDES
   Keep this block at the VERY END of site.css
   ========================================================= */

/* Make Bootstrap hamburger visible even if navbar-light class is missed */
.hv-navbar-toggler {
    border: 1px solid rgba(18, 52, 77, 0.22) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #12344d !important;
    padding: 8px 10px !important;
    align-items: center;
    gap: 7px;
    box-shadow: none !important;
}

    .hv-navbar-toggler .navbar-toggler-icon {
        width: 22px;
        height: 16px;
        background-image: none !important;
        position: relative;
        display: inline-block;
    }

        .hv-navbar-toggler .navbar-toggler-icon::before,
        .hv-navbar-toggler .navbar-toggler-icon::after,
        .hv-navbar-toggler .navbar-toggler-icon {
            border-top: 2px solid #12344d;
        }

            .hv-navbar-toggler .navbar-toggler-icon::before,
            .hv-navbar-toggler .navbar-toggler-icon::after {
                content: "";
                position: absolute;
                left: 0;
                width: 22px;
            }

            .hv-navbar-toggler .navbar-toggler-icon::before {
                top: 5px;
            }

            .hv-navbar-toggler .navbar-toggler-icon::after {
                top: 12px;
            }

.hv-menu-text {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

/* Desktop: keep toggler hidden */
@media (min-width: 992px) {
    .hv-navbar-toggler {
        display: none !important;
    }

    .hv-public-menu {
        margin-left: auto;
        margin-right: auto;
        align-items: center;
    }
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .hv-main-navbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .hv-navbar-toggler {
        display: inline-flex !important;
        margin-left: auto;
    }

    html[dir="rtl"] .hv-navbar-toggler {
        margin-left: 0;
        margin-right: auto;
    }

    .hv-main-navbar .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        margin-top: 14px;
        background: #ffffff;
        border-radius: 20px;
        padding: 16px;
        box-shadow: 0 18px 45px rgba(13, 45, 72, 0.14);
    }

    .hv-public-menu,
    .hv-main-navbar .navbar-nav {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        gap: 4px !important;
    }

        .hv-public-menu .nav-item,
        .hv-main-navbar .nav-item {
            width: 100%;
        }

        .hv-public-menu .nav-link,
        .hv-main-navbar .nav-link {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 14px !important;
            border-radius: 12px;
            color: #12344d !important;
            font-weight: 700;
        }

            .hv-public-menu .nav-link:hover,
            .hv-public-menu .nav-link:focus,
            .hv-main-navbar .nav-link:hover,
            .hv-main-navbar .nav-link:focus {
                background: #eafaf6;
                color: #1bbf9c !important;
            }

        .hv-public-menu .dropdown-menu,
        .hv-main-navbar .dropdown-menu {
            position: static !important;
            transform: none !important;
            width: 100%;
            border: 0 !important;
            box-shadow: none !important;
            background: #f7fbfc;
            padding: 8px;
            margin-top: 4px;
            border-radius: 14px;
        }

        .hv-public-menu .dropdown-item,
        .hv-main-navbar .dropdown-item {
            white-space: normal;
            border-radius: 10px;
            padding: 10px 12px;
            color: #12344d;
            font-weight: 600;
        }

            .hv-public-menu .dropdown-item:hover,
            .hv-main-navbar .dropdown-item:hover {
                background: #eafaf6;
                color: #1bbf9c;
            }

    .hv-main-navbar .ms-lg-auto {
        width: 100%;
    }

        .hv-main-navbar .ms-lg-auto .btn,
        .hv-main-navbar .btn {
            width: 100%;
            margin-top: 10px;
        }

    html[dir="rtl"] .hv-public-menu .nav-link,
    html[dir="rtl"] .hv-main-navbar .nav-link {
        text-align: right;
    }
}

/* Mobile Quick Quote: avoid covering content */
@media (max-width: 575.98px) {
    .quick-quote-open-btn,
    #quickQuoteOpenBtn {
        right: 12px !important;
        bottom: 18px !important;
        transform: scale(0.84);
        transform-origin: right bottom;
    }

    html[dir="rtl"] .quick-quote-open-btn,
    html[dir="rtl"] #quickQuoteOpenBtn {
        right: auto !important;
        left: 12px !important;
        transform-origin: left bottom;
    }

    .quick-quote-widget,
    #quickQuoteWidget {
        width: calc(100% - 20px) !important;
        right: 10px !important;
        left: 10px !important;
        bottom: 10px !important;
        max-height: 84vh !important;
        border-radius: 18px !important;
    }

    .quick-quote-body {
        max-height: calc(84vh - 70px) !important;
        overflow-y: auto !important;
    }

    .hv-footer,
    footer {
        padding-bottom: 105px !important;
    }
}





/* =========================================================
   HEALTHOVIA HERO BANNER IMAGE DISPLAY FIX
   ========================================================= */

.healthovia-carousel .hv-hero-image-card {
    width: 100%;
    background: #ffffff;
    border: 10px solid #ffffff;
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
}

    .healthovia-carousel .hv-hero-image-card img {
        width: 100%;
        height: 430px;
        object-fit: cover;
        object-position: center center;
        display: block;
        border-radius: 18px;
    }

@media (max-width: 991px) {
    .healthovia-carousel .hv-hero-image-card {
        border-width: 7px;
        border-radius: 22px;
        margin-top: 25px;
    }

        .healthovia-carousel .hv-hero-image-card img {
            height: 280px;
            object-fit: cover;
            object-position: center center;
            border-radius: 16px;
        }
}

@media (max-width: 575px) {
    .healthovia-carousel .hv-hero-image-card img {
        height: 230px;
    }

    .hv-hero-mini-card {
        display: none;
    }
}



/* =========================================================
   HEALTHOVIA DYNAMIC SERVICES DROPDOWN
   Safe add-on: does not disturb existing header/mobile design
   ========================================================= */

.hv-services-dropdown {
    min-width: 260px;
    border: 0;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.14);
    background: #ffffff;
}

    .hv-services-dropdown .dropdown-item {
        border-radius: 10px;
        padding: 10px 14px;
        color: #12344d;
        font-weight: 600;
        white-space: normal;
        line-height: 1.4;
    }

        .hv-services-dropdown .dropdown-item:hover,
        .hv-services-dropdown .dropdown-item:focus {
            background: #eafaf6;
            color: #1bbf9c;
        }

html[dir="rtl"] .hv-services-dropdown {
    text-align: right;
}

/* Mobile Services Dropdown */
@media (max-width: 991.98px) {
    .hv-services-dropdown {
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 4px 0 4px 14px;
        margin: 0;
        background: transparent;
    }

        .hv-services-dropdown .dropdown-item {
            padding: 10px 12px;
            border-radius: 10px;
            font-size: 14px;
        }

    html[dir="rtl"] .hv-services-dropdown {
        padding-left: 0;
        padding-right: 14px;
    }
}

/* Dark Mode Services Dropdown */
.dark-mode .hv-services-dropdown {
    background: #111827;
}

    .dark-mode .hv-services-dropdown .dropdown-item {
        color: #e5e7eb;
    }

        .dark-mode .hv-services-dropdown .dropdown-item:hover,
        .dark-mode .hv-services-dropdown .dropdown-item:focus {
            background: rgba(27, 191, 156, 0.14);
            color: #1bbf9c;
        }

@media (max-width: 991.98px) {
    .dark-mode .hv-services-dropdown {
        background: transparent;
    }
}


.hv-ltr-text {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}


.hv-testimonial-img,
.hv-testimonial-avatar {
    width: 92px !important;
    height: 92px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 5px solid #eefafa;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.hv-testimonial-card {
    text-align: center;
    padding: 28px;
}

.hv-testimonial-story {
    color: #334155;
    line-height: 1.8;
    font-size: 0.95rem;
}


.hv-testimonial-full-story {
    color: #334155;
    line-height: 1.9;
    font-size: 1rem;
}

    .hv-testimonial-full-story p {
        margin-bottom: 1rem;
    }



.hv-testimonial-avatar,
.hv-testimonial-img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #eefafa;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}



.hv-testimonial-modal .modal-dialog {
    max-width: 520px;
}

.hv-testimonial-modal .modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
}

.hv-testimonial-modal .modal-header {
    padding: 18px 22px;
}

.hv-testimonial-modal .modal-body {
    padding: 22px;
    max-height: 65vh;
}

.hv-testimonial-full-story {
    color: #334155;
    line-height: 1.8;
    font-size: 0.95rem;
}

    .hv-testimonial-full-story p {
        margin-bottom: 1rem;
    }

.hv-testimonial-card {
    padding: 24px;
}

.hv-testimonial-story {
    font-size: 0.92rem;
    line-height: 1.7;
}











.hv-home-testimonials-slider {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    touch-action: pan-y;
    padding: 8px 0 12px;
}

    .hv-home-testimonials-slider::-webkit-scrollbar {
        display: none;
    }

.hv-home-testimonials-track {
    display: flex;
    gap: 22px;
    width: max-content;
}

.hv-home-testimonial-slide {
    width: 300px;
    flex: 0 0 300px;
}

.hv-home-testimonial-card {
    min-height: 395px;
    padding: 20px !important;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
}

.hv-home-testimonial-img {
    width: 74px !important;
    height: 74px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    border: 4px solid #eefafa;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    display: block;
    margin: 0 auto 10px;
}

.hv-home-testimonial-card h5 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 4px;
}

.hv-home-testimonial-card .hv-muted,
.hv-home-testimonial-card p.hv-muted {
    margin-bottom: 10px !important;
    line-height: 1.3;
}

.hv-home-testimonial-treatment {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    padding: 7px 14px;
    margin-top: 0;
}

.hv-home-testimonial-card .hv-stars {
    margin-top: 12px !important;
    min-height: 26px;
}

.hv-home-testimonial-story {
    min-height: 72px;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 10px 0 0;
}

.hv-home-testimonial-btn {
    width: 100%;
    margin-top: auto;
    border-radius: 14px;
    padding: 10px 16px;
    border: 2px solid #0f766e;
    color: #0f766e;
    background: #ffffff;
    font-weight: 800;
}

    .hv-home-testimonial-btn:hover {
        background: #0f766e;
        color: #ffffff;
    }

@media (max-width: 767px) {
    .hv-home-testimonial-slide {
        width: 260px;
        flex-basis: 260px;
    }

    .hv-home-testimonial-card {
        min-height: 380px;
        padding: 18px !important;
    }

    .hv-home-testimonial-img {
        width: 68px !important;
        height: 68px !important;
    }

    .hv-home-testimonial-story {
        min-height: 68px;
        font-size: 0.86rem;
    }
}
/* =========================================================
   TESTIMONIALS INDEX PAGE ONLY - FINAL COMPACT POLISH
   Scope: Views/Testimonials/Index.cshtml only
   Uses page-specific classes from Testimonials Index view.
   Does NOT affect Home testimonial swiper.
   ========================================================= */

.hv-testimonial-list-card {
    min-height: 430px !important;
    max-height: none !important;
    padding: 20px !important;
    border-radius: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
}

    .hv-testimonial-list-img,
    .hv-testimonial-list-card .hv-testimonial-avatar {
        width: 72px !important;
        height: 72px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 50% !important;
        border: 4px solid #eefafa !important;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
        display: block !important;
        margin: 0 auto 10px !important;
    }

    .hv-testimonial-list-card h5 {
        min-height: auto !important;
        font-size: 1rem !important;
        line-height: 1.3 !important;
        margin: 0 0 4px !important;
        color: var(--hv-dark) !important;
        font-weight: 800 !important;
    }

    .hv-testimonial-list-card .hv-muted,
    .hv-testimonial-list-card p.hv-muted {
        margin: 0 0 10px !important;
        line-height: 1.3 !important;
        font-size: 0.95rem !important;
    }

.hv-testimonial-list-treatment {
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.3 !important;
    padding: 7px 14px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    font-size: 0.88rem !important;
}

.hv-testimonial-list-card .hv-rating {
    min-height: 26px !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

    .hv-testimonial-list-card .hv-rating i {
        margin-right: 2px !important;
    }

.hv-testimonial-list-card .hv-testimonial-story {
    min-height: 72px !important;
    color: #334155 !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin: 0 0 12px !important;
    flex: 1 1 auto !important;
}

.hv-testimonial-list-btn {
    width: 100% !important;
    margin-top: auto !important;
    border-radius: 14px !important;
    padding: 10px 16px !important;
    border: 2px solid #0f766e !important;
    color: #0f766e !important;
    background: #ffffff !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
}

    .hv-testimonial-list-btn:hover,
    .hv-testimonial-list-btn:focus {
        background: #0f766e !important;
        color: #ffffff !important;
    }

.hv-testimonial-modal .modal-dialog {
    max-width: 520px !important;
}

.hv-testimonial-modal .modal-content {
    border: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

.hv-testimonial-modal .modal-header {
    padding: 18px 22px !important;
}

.hv-testimonial-modal .modal-body {
    padding: 22px !important;
    max-height: 65vh !important;
}

.hv-testimonial-full-story {
    color: #334155 !important;
    line-height: 1.8 !important;
    font-size: 0.95rem !important;
}

    .hv-testimonial-full-story p {
        margin-bottom: 1rem !important;
    }

@media (max-width: 767px) {
    .hv-testimonial-list-card {
        min-height: 390px !important;
        padding: 18px !important;
    }

        .hv-testimonial-list-img,
        .hv-testimonial-list-card .hv-testimonial-avatar {
            width: 68px !important;
            height: 68px !important;
        }

        .hv-testimonial-list-card h5 {
            font-size: 0.98rem !important;
        }

        .hv-testimonial-list-card .hv-testimonial-story {
            min-height: 68px !important;
            font-size: 0.86rem !important;
            line-height: 1.55 !important;
        }
}





























/* =========================================
   HEALTHOVIA LOGOS
========================================= */

.hv-logo-brand {
    padding: 0;
    display: inline-flex;
    align-items: center;
    height: 42px;
    overflow: hidden;
}

.hv-header-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.hv-footer-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

@media (max-width: 768px) {

    .hv-logo-brand {
        height: 48px;
        max-height: 48px;
    }

    .hv-header-logo {
        height: 44px;
        max-width: 200px;
    }

    .hv-footer-logo {
        max-width: 210px;
    }
}

/* =========================================================
   HEALTHOVIA HEADER / FOOTER LOGO FINAL POLISH
   Keep this block at the VERY BOTTOM of site.css
   ========================================================= */

.hv-main-navbar {
    padding: 5px 0 !important;
    min-height: 58px !important;
}

    .hv-main-navbar > .container {
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
    }

.hv-logo-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 50px !important;
    max-height: 50px !important;
    overflow: visible !important;
}

.hv-header-logo {
    height: 48px !important;
    width: auto !important;
    max-width: 245px !important;
    object-fit: contain !important;
    display: block !important;
}

.hv-main-navbar .nav-link {
    padding: 7px 12px !important;
    line-height: 1.2 !important;
}

.hv-main-navbar .navbar-nav {
    align-items: center !important;
}

.hv-main-navbar .hv-btn-primary {
    padding: 9px 24px !important;
    line-height: 1.2 !important;
}

.hv-footer-logo {
    max-width: 320px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin-bottom: 20px !important;
}

@media (max-width: 991.98px) {
    .hv-main-navbar,
    .main-navbar,
    .navbar {
        padding: 6px 0 !important;
    }

    .hv-logo-brand {
        height: 46px !important;
        max-height: 46px !important;
    }

    .hv-header-logo {
        height: 44px !important;
        max-width: 220px !important;
    }

    .hv-main-navbar .navbar-collapse {
        margin-top: 8px !important;
        padding: 12px !important;
    }
}

@media (max-width: 575px) {
    .hv-logo-brand {
        height: 42px !important;
        max-height: 42px !important;
    }

    .hv-header-logo {
        height: 40px !important;
        max-width: 190px !important;
    }

    .hv-footer-logo {
        max-width: 240px !important;
    }
}


/* HEALTHOVIA GLOBAL SEARCH FINAL SAFE FIX */

.hv-global-search-box {
    position: relative !important;
    width: 100% !important;
}

.hv-global-search-input {
    width: 100% !important;
    height: 40px !important;
    border: 1px solid #d8dee6 !important;
    border-radius: 999px !important;
    padding: 0 18px 0 42px !important;
    background: #ffffff !important;
    color: #12344d !important;
    font-size: 13px !important;
    outline: none !important;
    box-shadow: none !important;
}

    .hv-global-search-input:focus {
        border-color: #1bbf9c !important;
        box-shadow: 0 0 0 3px rgba(27,191,156,.12) !important;
    }

.hv-global-search-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    color: #1bbf9c !important;
    z-index: 2 !important;
}

.hv-global-search-suggestions {
    position: absolute !important;
    top: 46px !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 45px rgba(13,45,72,.14) !important;
    display: none !important;
    z-index: 9999 !important;
    max-height: 360px !important;
    overflow-y: auto !important;
}

    .hv-global-search-suggestions.show {
        display: block !important;
    }

/* DESKTOP */
@media (min-width: 992px) {
    .hv-mobile-visible-search,
    .hv-menu-search {
        display: none !important;
    }

    .hv-desktop-search {
        display: block !important;
        width: 320px !important;
        margin-left: 18px !important;
        margin-right: 18px !important;
    }
}

/* MOBILE */
@media (max-width: 991px) {
    .hv-desktop-search {
        display: none !important;
    }

    .hv-mobile-visible-search {
        display: block !important;
        width: 100% !important;
        padding-bottom: 10px !important;
    }

    .hv-home-mobile-search,
    .hv-menu-search {
        width: 100% !important;
    }

        .hv-home-mobile-search .hv-global-search-box,
        .hv-menu-search .hv-global-search-box {
            max-width: 92% !important;
            margin: 0 auto !important;
        }

        .hv-home-mobile-search .hv-global-search-input,
        .hv-menu-search .hv-global-search-input {
            height: 38px !important;
            font-size: 12px !important;
            padding-left: 40px !important;
        }

        .hv-home-mobile-search .hv-global-search-icon,
        .hv-menu-search .hv-global-search-icon {
            left: 15px !important;
            font-size: 13px !important;
        }

    .hv-menu-search {
        margin-bottom: 14px !important;
    }
}

/* RESULT ITEMS */
.hv-global-search-item {
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

    .hv-global-search-item:hover {
        background: #f7fbfc !important;
    }

.hv-global-search-type {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #1bbf9c !important;
    text-transform: uppercase !important;
    margin-bottom: 3px !important;
}

.hv-global-search-title {
    font-size: 14px !important;
    color: #12344d !important;
    font-weight: 600 !important;
}

.hv-global-search-empty {
    padding: 14px !important;
    text-align: center !important;
    color: #64748b !important;
    font-size: 14px !important;
}

/* RTL */
html[dir="rtl"] .hv-global-search-input {
    padding: 0 42px 0 18px !important;
}

html[dir="rtl"] .hv-global-search-icon {
    left: auto !important;
    right: 16px !important;
}


/* FINAL FORCE FIX - DESKTOP DOUBLE SEARCH REMOVE */

@media (min-width: 992px) {
    .hv-main-navbar .hv-mobile-visible-search,
    .hv-main-navbar .hv-home-mobile-search,
    .hv-main-navbar .hv-menu-search {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hv-main-navbar .hv-desktop-search {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* FINAL FORCE FIX - MOBILE SEARCH VISIBILITY */

@media (max-width: 991.98px) {
    .hv-main-navbar .hv-desktop-search {
        display: none !important;
    }

    .hv-main-navbar .hv-mobile-visible-search {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 10px !important;
    }

    .hv-main-navbar .hv-menu-search {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
        margin-bottom: 14px !important;
    }
}


/* =========================================================
   HEALTHOVIA MOBILE HERO FINAL CLEAN FIX
   ========================================================= */

@media (max-width: 575.98px) {

    .healthovia-carousel,
    .healthovia-carousel .carousel-item,
    .healthovia-carousel .carousel-caption-custom {
        min-height: auto !important;
    }

        .healthovia-carousel .carousel-caption-custom {
            padding: 36px 18px 46px;
            display: flex;
            align-items: center;
        }

        .healthovia-carousel h1 {
            font-size: 1.45rem;
            line-height: 1.18;
            margin-top: 14px !important;
            max-width: 100%;
        }

        .healthovia-carousel p {
            font-size: 0.86rem;
            line-height: 1.45;
            margin-top: 10px !important;
            max-width: 100%;
        }

        .healthovia-carousel .hv-badge {
            font-size: 12.5px;
            line-height: 1.3;
        }

        .healthovia-carousel .hv-hero-actions {
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            margin-top: 22px !important;
        }

            .healthovia-carousel .hv-hero-actions .btn {
                padding: 8px 12px;
                font-size: 11.5px;
                line-height: 1.2;
                min-height: 34px;
                white-space: nowrap;
            }

            .healthovia-carousel .hv-hero-actions .hv-btn-light {
                max-width: 62%;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .healthovia-carousel .hv-hero-actions .hv-btn-whatsapp {
                max-width: 38%;
            }

        .healthovia-carousel .carousel-indicators {
            bottom: 12px;
            margin-bottom: 0;
        }

            .healthovia-carousel .carousel-indicators button {
                width: 9px;
                height: 9px;
            }

        .healthovia-carousel .carousel-control-prev,
        .healthovia-carousel .carousel-control-next {
            display: none;
        }

    .quick-quote-open-btn {
        right: 12px;
        bottom: 12px;
        padding: 9px 14px;
        font-size: 12px;
        z-index: 1049;
    }

    html[dir="rtl"] .quick-quote-open-btn {
        left: 12px;
        right: auto;
    }
}

@media (max-width: 575.98px) {

    .healthovia-carousel .hv-hero-actions {
        width: 100%;
        max-width: 100%;
    }

        .healthovia-carousel .hv-hero-actions .hv-btn-light {
            flex: 1 1 auto;
            max-width: none;
            min-width: 0;
            justify-content: center;
            text-align: center;
            white-space: normal;
            padding-left: 10px;
            padding-right: 10px;
        }

        .healthovia-carousel .hv-hero-actions .hv-btn-whatsapp {
            flex: 0 0 auto;
            max-width: none;
            padding-left: 12px;
            padding-right: 12px;
        }
}


@media (max-width: 360px) {

    .healthovia-carousel .hv-hero-actions {
        gap: 6px;
    }

        .healthovia-carousel .hv-hero-actions .btn {
            min-height: 40px;
            font-size: 10.5px;
            padding: 7px 10px;
        }

        .healthovia-carousel .hv-hero-actions .hv-btn-light {
            flex: 1 1 auto;
            line-height: 1.15;
        }

        .healthovia-carousel .hv-hero-actions .hv-btn-whatsapp {
            flex: 0 0 auto;
        }
}











/* Hide duplicate mobile search when hamburger menu is open */
@media (max-width: 991.98px) {
    .hv-main-navbar .navbar-collapse.show ~ .hv-mobile-search,
    .hv-main-navbar .navbar-collapse.show + .hv-mobile-search,
    .hv-main-navbar:has(.navbar-collapse.show) .hv-mobile-search {
        display: none !important;
    }
}

/* Hide outside mobile search when menu is open */
@media (max-width: 991.98px) {
    .hv-main-navbar:has(#mainNavbar.show) .hv-mobile-visible-search {
        display: none !important;
    }
}



/* =========================================================
   HEALTHOVIA MOBILE SECTION SLIDERS
   Safe mobile-only improvement
   ========================================================= */

@media (max-width: 767.98px) {

    .hv-mobile-slider {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 16px;
        padding: 6px 4px 18px;
        margin-left: -4px;
        margin-right: -4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .hv-mobile-slider::-webkit-scrollbar {
            display: none;
        }

        .hv-mobile-slider > .hv-mobile-slide {
            flex: 0 0 84%;
            max-width: 84%;
            width: 84%;
            scroll-snap-align: center;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .hv-mobile-slider .hv-content-card,
        .hv-mobile-slider .hv-feature-box,
        .hv-mobile-slider .hv-process-card {
            min-height: 255px;
            margin-bottom: 0 !important;
        }

        .hv-mobile-slider .hv-card-img,
        .hv-mobile-slider .hv-doctor-img {
            height: 190px !important;
            object-fit: cover;
        }

    .hv-process-slider > .hv-mobile-slide {
        flex-basis: 78%;
        max-width: 78%;
        width: 78%;
    }

    .hv-why-slider > .hv-mobile-slide {
        flex-basis: 78%;
        max-width: 78%;
        width: 78%;
    }

    .hv-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }
}

@media (max-width: 380px) {
    .hv-mobile-slider > .hv-mobile-slide {
        flex-basis: 88%;
        max-width: 88%;
        width: 88%;
    }
}








/* Remove blank gap between final CTA and footer */
.hv-final-cta {
    margin-bottom: 0 !important;
}

    .hv-final-cta + .hv-footer,
    .hv-final-cta + footer,
    .hv-footer {
        margin-top: 0 !important;
    }

@media (max-width: 991.98px) {
    .hv-footer,
    footer {
        margin-top: 0 !important;
    }
}








/* FINAL FOOTER + CTA GAP FIX */
.hv-final-cta {
    padding: 42px 0 !important;
    margin-bottom: 0 !important;
}

.hv-footer,
footer {
    margin-top: 0 !important;
}

@media (max-width: 767.98px) {
    .hv-final-cta {
        padding: 34px 16px !important;
    }

        .hv-final-cta h2 {
            font-size: 28px !important;
            line-height: 1.2;
        }

    .hv-footer,
    footer {
        margin-top: 0 !important;
        padding-top: 34px !important;
        padding-bottom: 70px !important;
    }

    .hv-footer-title {
        margin-top: 18px !important;
        margin-bottom: 10px !important;
    }

    .hv-footer-links li {
        margin-bottom: 7px !important;
    }

    .hv-footer-brand p {
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }
}







































/* ==========================================
   HEALTHOVIA PATIENT GALLERY
========================================== */

.hv-gallery-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(13,45,72,.08);
    transition: all .3s ease;
    height: 100%;
}

    .hv-gallery-card:hover {
        transform: translateY(-6px);
    }

.hv-gallery-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: all .4s ease;
}

.hv-gallery-card:hover .hv-gallery-image {
    transform: scale(1.05);
}

.hv-gallery-content {
    padding: 22px;
}

    .hv-gallery-content h5 {
        font-size: 20px;
        font-weight: 800;
        color: #12344d;
        margin-bottom: 10px;
    }

    .hv-gallery-content p {
        color: #607080;
        line-height: 1.7;
        margin-bottom: 0;
    }

.dark-mode .hv-gallery-card {
    background: #111827;
}

.dark-mode .hv-gallery-content h5 {
    color: #ffffff;
}

.dark-mode .hv-gallery-content p {
    color: #cbd5e1;
}

@media (max-width:768px) {

    .hv-gallery-image {
        height: 260px;
    }

    .hv-gallery-content {
        padding: 18px;
    }
}








/* ==========================================
   HEALTHOVIA PATIENT GALLERY PREMIUM UI
========================================== */

.hv-gallery-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f7fbfc 0%, #eef8f9 100%);
}

.hv-gallery-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(13, 45, 72, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

    .hv-gallery-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 55px rgba(13, 45, 72, 0.13);
    }

.hv-gallery-image-btn {
    width: 100%;
    height: 320px;
    padding: 0;
    border: 0;
    background: #eafaf6;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hv-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.45s ease;
}

.hv-gallery-card:hover .hv-gallery-image {
    transform: scale(1.06);
}

.hv-gallery-image-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 52, 77, 0.20);
    opacity: 0;
    transition: all 0.3s ease;
}

.hv-gallery-card:hover .hv-gallery-image-btn::after {
    opacity: 1;
}

.hv-gallery-view-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.94);
    color: #116466;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.hv-gallery-card:hover .hv-gallery-view-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hv-gallery-content {
    padding: 22px 24px;
}

    .hv-gallery-content h5 {
        font-size: 20px;
        font-weight: 800;
        color: #12344d;
        margin-bottom: 10px;
    }

    .hv-gallery-content p {
        color: #607080;
        line-height: 1.7;
        margin-bottom: 0;
    }

.hv-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .hv-gallery-modal.show {
        display: flex;
    }

.hv-gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 25, 0.78);
    backdrop-filter: blur(5px);
}

.hv-gallery-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(920px, 96vw);
    max-height: 92vh;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: hvGalleryZoom 0.25s ease;
}

@keyframes hvGalleryZoom {
    from {
        transform: scale(0.94);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hv-gallery-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(18, 52, 77, 0.92);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .hv-gallery-modal-close:hover {
        background: #e11d48;
    }

.hv-gallery-modal-image-wrap {
    background: #0f172a;
    text-align: center;
}

.hv-gallery-modal-image {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.hv-gallery-modal-content {
    padding: 22px 26px;
}

    .hv-gallery-modal-content h4 {
        color: #12344d;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .hv-gallery-modal-content p {
        color: #607080;
        line-height: 1.7;
        margin-bottom: 0;
    }

body.hv-gallery-modal-open {
    overflow: hidden;
}

.dark-mode .hv-gallery-section {
    background: #0f172a;
}

.dark-mode .hv-gallery-card,
.dark-mode .hv-gallery-modal-dialog {
    background: #111827;
}

.dark-mode .hv-gallery-content h5,
.dark-mode .hv-gallery-modal-content h4 {
    color: #ffffff;
}

.dark-mode .hv-gallery-content p,
.dark-mode .hv-gallery-modal-content p {
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .hv-gallery-section {
        padding: 48px 0;
    }

    .hv-gallery-image-btn {
        height: 260px;
    }

    .hv-gallery-modal {
        padding: 14px;
    }

    .hv-gallery-modal-dialog {
        border-radius: 22px;
        max-height: 94vh;
    }

    .hv-gallery-modal-image {
        max-height: 62vh;
    }

    .hv-gallery-modal-content {
        padding: 18px;
    }

    .hv-gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}




/* PATIENT GALLERY HERO FIX */

.hv-page-hero {
    text-align: center;
}

    .hv-page-hero h1 {
        text-align: center;
    }

    .hv-page-hero p {
        text-align: center;
    }






/* ==========================================
   HEALTHOVIA PATIENT GALLERY COMPACT GRID
========================================== */

.hv-gallery-hero {
    padding: 62px 0;
    text-align: center;
}

    .hv-gallery-hero h1 {
        text-align: center;
        font-size: 46px;
        margin-bottom: 14px;
    }

    .hv-gallery-hero p {
        text-align: center;
        margin-bottom: 0;
    }

.hv-gallery-section {
    padding: 58px 0;
    background: linear-gradient(180deg, #f7fbfc 0%, #eef8f9 100%);
}

.hv-gallery-grid {
    align-items: stretch;
}

.hv-gallery-tile {
    width: 100%;
    height: 190px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #eafaf6;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(13, 45, 72, 0.08);
}

.hv-gallery-tile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.45s ease;
}

.hv-gallery-tile:hover .hv-gallery-tile-image {
    transform: scale(1.06);
}

.hv-gallery-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(18, 52, 77, 0.22);
    opacity: 0;
    transition: all 0.3s ease;
}

.hv-gallery-tile:hover::after {
    opacity: 1;
}

.hv-gallery-view-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%) scale(0.85);
    background: rgba(255, 255, 255, 0.95);
    color: #116466;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 17px;
    opacity: 0;
    transition: all 0.3s ease;
}

.hv-gallery-tile:hover .hv-gallery-view-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hv-gallery-load-more {
    border: none;
    min-width: 220px;
}

.hv-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .hv-gallery-modal.show {
        display: flex;
    }

.hv-gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 25, 0.78);
    backdrop-filter: blur(5px);
}

.hv-gallery-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(920px, 96vw);
    max-height: 92vh;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: hvGalleryZoom 0.25s ease;
}

@keyframes hvGalleryZoom {
    from {
        transform: scale(0.94);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hv-gallery-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(18, 52, 77, 0.92);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .hv-gallery-modal-close:hover {
        background: #e11d48;
    }

.hv-gallery-modal-image-wrap {
    background: #0f172a;
    text-align: center;
}

.hv-gallery-modal-image {
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.hv-gallery-modal-content {
    padding: 22px 26px;
}

    .hv-gallery-modal-content h4 {
        color: #12344d;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .hv-gallery-modal-content p {
        color: #607080;
        line-height: 1.7;
        margin-bottom: 0;
    }

body.hv-gallery-modal-open {
    overflow: hidden;
}

.dark-mode .hv-gallery-section {
    background: #0f172a;
}

.dark-mode .hv-gallery-tile {
    background: #111827;
}

.dark-mode .hv-gallery-modal-dialog {
    background: #111827;
}

.dark-mode .hv-gallery-modal-content h4 {
    color: #ffffff;
}

.dark-mode .hv-gallery-modal-content p {
    color: #cbd5e1;
}

@media (max-width: 991px) {
    .hv-gallery-tile {
        height: 175px;
    }
}

@media (max-width: 768px) {
    .hv-gallery-hero {
        padding: 42px 0;
    }

        .hv-gallery-hero h1 {
            font-size: 34px;
        }

    .hv-gallery-section {
        padding: 36px 0 86px;
    }

    .hv-gallery-tile {
        height: 145px;
        border-radius: 16px;
    }

    .hv-gallery-modal {
        padding: 14px;
    }

    .hv-gallery-modal-dialog {
        border-radius: 22px;
        max-height: 94vh;
    }

    .hv-gallery-modal-image {
        max-height: 62vh;
    }

    .hv-gallery-modal-content {
        padding: 18px;
    }

    .hv-gallery-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 420px) {
    .hv-gallery-tile {
        height: 132px;
    }
}







/* HOME INTERNAL LINKING + MOBILE CARD POLISH */

.hv-section-footer-actions {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hv-help-link-section {
    background: linear-gradient(135deg, var(--hv-primary), var(--hv-primary-dark));
    color: #ffffff;
    padding: 48px 0 55px;
}

    .hv-help-link-section h2 {
        font-weight: 900;
        margin-bottom: 12px;
    }

    .hv-help-link-section p {
        max-width: 720px;
        margin: 0 auto 24px;
        color: rgba(255,255,255,0.92);
        line-height: 1.7;
    }

.hv-home-testimonial-card {
    min-height: 410px;
    width: 100%;
}

.hv-home-testimonial-treatment {
    max-width: 100%;
    white-space: normal;
}

.hv-home-testimonial-story {
    overflow: hidden;
}

/* HOME CTA TAB BUTTONS */

.hv-home-tabs-actions {
    max-width: 760px;
    margin: 35px auto 0;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 28px;
    padding: 12px;
    display: flex;
    gap: 12px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.hv-home-tab {
    flex: 1;
    min-height: 62px;
    border-radius: 20px;
    background: rgba(255,255,255,0.10);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all .25s ease;
    border: 1px solid rgba(255,255,255,0.12);
}

    .hv-home-tab span {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 12px;
        background: rgba(255,255,255,0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .hv-home-tab:hover {
        background: #ffffff;
        color: var(--hv-primary-dark) !important;
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

        .hv-home-tab:hover span {
            background: rgba(17,100,102,0.12);
        }

html[dir="rtl"] .hv-home-tab {
    flex-direction: row-reverse;
}

/* COMPACT TESTIMONIAL ACTION BUTTONS */

.hv-trust-mini-actions {
    margin: 22px auto 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hv-trust-mini-btn {
    min-width: 215px;
    height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--hv-primary-dark) !important;
    font-weight: 900;
    font-size: 14px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(17,100,102,.12);
    box-shadow: 0 10px 24px rgba(16,42,67,.10);
    transition: .25s ease;
}

    .hv-trust-mini-btn span {
        width: 26px;
        height: 26px;
        min-width: 26px;
        border-radius: 50%;
        background: rgba(17,100,102,0.10);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    .hv-trust-mini-btn:hover {
        background: var(--hv-primary);
        color: #ffffff !important;
        transform: translateY(-2px);
    }

        .hv-trust-mini-btn:hover span {
            background: rgba(255,255,255,0.18);
        }

/* RESPONSIVE HOME LINKING */

@media (max-width: 767.98px) {
    .hv-testimonials-slider > .hv-mobile-slide {
        flex: 0 0 84%;
        max-width: 84%;
        width: 84%;
    }

    .hv-home-testimonial-card {
        min-height: 390px;
    }

    .hv-home-testimonial-img {
        width: 72px !important;
        height: 72px !important;
    }

    .hv-section-footer-actions .btn {
        width: auto;
        min-width: 190px;
    }
}

@media (max-width: 575.98px) {
    .hv-help-link-section {
        padding: 42px 0 50px;
    }

        .hv-help-link-section h2 {
            font-size: 24px;
            line-height: 1.25;
        }

    .hv-home-tabs-actions {
        max-width: 320px;
        flex-direction: column;
        border-radius: 24px;
        padding: 10px;
        gap: 10px;
    }

    .hv-home-tab {
        width: 100%;
        min-height: 58px;
        justify-content: flex-start;
        padding-inline: 18px;
    }

    html[dir="rtl"] .hv-home-tab {
        justify-content: flex-end;
    }

    .hv-trust-mini-actions {
        gap: 10px;
        margin-top: 18px;
    }

    .hv-trust-mini-btn {
        width: 100%;
        max-width: 280px;
        min-width: 0;
        height: 44px;
        font-size: 14px;
        padding: 0 14px;
    }

        .hv-trust-mini-btn span {
            width: 24px;
            height: 24px;
            min-width: 24px;
            font-size: 13px;
        }
}































/* =========================================================
   HEALTHOVIA HEADER FINAL ALIGNMENT FIX
   Safe desktop + mobile header polish only
   ========================================================= */

@media (min-width: 992px) {

    .hv-main-navbar {
        padding: 10px 0 !important;
    }

        .hv-main-navbar > .container {
            max-width: 1320px !important;
            width: 100% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 20px !important;
            flex-wrap: nowrap !important;
            padding-left: 28px !important;
            padding-right: 28px !important;
        }

    .hv-logo-brand {
        flex: 0 0 auto !important;
        margin-right: 16px !important;
        padding: 0 !important;
    }

    .hv-header-logo {
        height: 48px !important;
        width: auto !important;
        max-width: 175px !important;
        object-fit: contain !important;
    }

    #mainNavbar {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 1 auto !important;
        gap: 18px !important;
        min-width: 0 !important;
    }

    .hv-public-menu {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

        .hv-public-menu .nav-link {
            padding: 8px 4px !important;
            font-size: 14px !important;
            font-weight: 700 !important;
            color: #082f49 !important;
        }

    .hv-desktop-search {
        width: 255px !important;
        min-width: 255px !important;
        flex: 0 0 255px !important;
        margin: 0 !important;
    }

        .hv-desktop-search .hv-global-search-box {
            width: 100% !important;
        }

        .hv-desktop-search .hv-global-search-input {
            font-size: 13px !important;
        }

    #mainNavbar > .ms-lg-auto {
        margin-left: 0 !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

        #mainNavbar > .ms-lg-auto .hv-btn-primary {
            min-width: 160px !important;
            padding: 10px 18px !important;
            font-size: 14px !important;
            line-height: 1.15 !important;
        }

    .hv-public-menu .dropdown-menu,
    .hv-main-navbar .dropdown-menu {
        min-width: 230px !important;
        border: 0 !important;
        border-radius: 16px !important;
        padding: 10px !important;
        box-shadow: 0 18px 45px rgba(13, 45, 72, 0.14) !important;
    }

    .hv-public-menu .dropdown-item,
    .hv-main-navbar .dropdown-item {
        border-radius: 12px !important;
        padding: 10px 14px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #0f2d46 !important;
        white-space: normal !important;
    }

        .hv-public-menu .dropdown-item:hover,
        .hv-main-navbar .dropdown-item:hover {
            background: #eafaf6 !important;
            color: #0f766e !important;
        }

    .hv-services-dropdown {
        min-width: 260px !important;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    .hv-main-navbar > .container {
        max-width: 1180px !important;
        gap: 14px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .hv-public-menu {
        gap: 6px !important;
    }

        .hv-public-menu .nav-link {
            font-size: 13.5px !important;
        }

    .hv-desktop-search {
        width: 220px !important;
        min-width: 220px !important;
        flex-basis: 220px !important;
    }

    #mainNavbar {
        gap: 12px !important;
    }
}

@media (max-width: 991.98px) {

    .hv-main-navbar > .container {
        gap: 12px !important;
    }

    .hv-logo-brand {
        margin-right: 0 !important;
    }

    .hv-header-logo {
        height: 44px !important;
        max-width: 185px !important;
    }

    .hv-main-navbar .dropdown-menu,
    .hv-public-menu .dropdown-menu {
        border-radius: 14px !important;
        padding: 8px !important;
        background: #f8ffff !important;
    }

    .hv-main-navbar .dropdown-item,
    .hv-public-menu .dropdown-item {
        padding: 11px 14px !important;
        border-radius: 11px !important;
        font-weight: 600 !important;
    }
}




































/* =========================================================
   HEALTHOVIA - HOMEPAGE COUNTRY SECTION
   Phase 2.1
   ========================================================= */

.hv-country-section {
    background: linear-gradient(180deg,#f8fcfd 0%,#ffffff 100%);
}

.hv-country-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(17,100,102,.08);
    box-shadow: 0 15px 40px rgba(13,45,72,.08);
    transition: all .30s ease;
}

    .hv-country-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 22px 48px rgba(13,45,72,.14);
    }

.hv-country-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eef8f9;
}

.hv-country-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hv-country-card:hover .hv-country-image {
    transform: scale(1.05);
}

.hv-country-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#116466,#0b4143);
    color: #ffffff;
    font-size: 72px;
}

.hv-country-card-body {
    padding: 24px;
}

.hv-country-label {
    display: inline-block;
    background: rgba(17,100,102,.10);
    color: #116466;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hv-country-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #12344d;
    margin-bottom: 8px;
}

.hv-country-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #116466;
    margin-bottom: 14px;
    line-height: 1.5;
}

.hv-country-card p {
    color: #607080;
    line-height: 1.8;
    margin-bottom: 20px;
    min-height: 90px;
}

.hv-country-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #116466;
    font-weight: 700;
    text-decoration: none;
    transition: .25s;
}

    .hv-country-link:hover {
        color: #0b4143;
    }

    .hv-country-link span {
        transition: transform .25s ease;
    }

    .hv-country-link:hover span {
        transform: translateX(5px);
    }

html[dir="rtl"] .hv-country-link:hover span {
    transform: translateX(-5px);
}

.dark-mode .hv-country-card {
    background: #111827;
    border-color: rgba(255,255,255,.08);
}

    .dark-mode .hv-country-card h3 {
        color: #ffffff;
    }

    .dark-mode .hv-country-card h4 {
        color: #5eead4;
    }

    .dark-mode .hv-country-card p {
        color: #cbd5e1;
    }

.dark-mode .hv-country-label {
    background: rgba(94,234,212,.12);
    color: #5eead4;
}

@media (max-width:991px) {

    .hv-country-image-wrap,
    .hv-country-placeholder {
        height: 200px;
    }

    .hv-country-card-body {
        padding: 20px;
    }

    .hv-country-card p {
        min-height: auto;
    }
}

@media (max-width:767px) {

    .hv-country-card {
        border-radius: 20px;
    }

    .hv-country-image-wrap,
    .hv-country-placeholder {
        height: 180px;
    }

    .hv-country-card h3 {
        font-size: 21px;
    }

    .hv-country-card h4 {
        font-size: 15px;
    }

    .hv-country-card-body {
        padding: 18px;
    }
}







/* =========================================================
   HEALTHOVIA
   Country Card Description Clamp
   Safe Override
   ========================================================= */

.hv-country-card p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.8 !important;
    min-height: auto !important;
    /* Desktop = 3 lines */
    -webkit-line-clamp: 3;
}

@media (max-width: 767px) {

    .hv-country-card p {
        /* Mobile = about 2.5–3 lines */
        -webkit-line-clamp: 3;
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
}






























/* =========================================================
   HEALTHOVIA - TRUST STATISTICS
   Premium Compact Design
   ========================================================= */

.hv-trust-stats-section {
    padding: 38px 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 32%), linear-gradient(135deg, #064e4f, #0f766e);
}

.hv-trust-stats-box {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.hv-trust-stat-item {
    min-height: 160px;
    padding: 20px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07) );
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .hv-trust-stat-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent 30%, rgba(255, 255, 255, 0.08), transparent 70% );
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .hv-trust-stat-item:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    }

        .hv-trust-stat-item:hover::before {
            transform: translateX(100%);
        }

.hv-trust-stat-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

.hv-trust-stat-number {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.hv-count,
.hv-count-suffix {
    display: inline !important;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
}

.hv-trust-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .hv-trust-stats-box {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .hv-trust-stats-section {
        padding: 28px 0;
    }

    .hv-trust-stats-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hv-trust-stat-item {
        min-height: 145px;
        padding: 16px 8px;
        border-radius: 18px;
    }

    .hv-trust-stat-support {
        grid-column: 1 / -1;
        width: calc(50% - 5px);
        justify-self: center;
    }

    .hv-trust-stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
        font-size: 19px;
    }

    .hv-trust-stat-number {
        font-size: 25px;
        margin-bottom: 7px;
    }

    .hv-trust-stat-label {
        font-size: 11.5px;
    }
}















/* Mobile polish for trust statistics only */
@media (max-width: 575.98px) {

    .hv-trust-stat-item {
        min-height: 132px !important;
        padding: 14px 8px !important;
    }

    .hv-trust-stat-icon {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 8px !important;
        font-size: 18px !important;
    }

    .hv-trust-stat-number {
        font-size: 24px !important;
        margin-bottom: 6px !important;
    }

    .hv-trust-stat-label {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .hv-trust-stat-support {
        width: 62% !important;
    }
}

/* =========================================================
   HEALTHOVIA - COUNTRY DETAILS PAGE SAFE FIX
   Scoped only to /country/{slug} content cards.
   Prevents homepage .hv-country-card rules from affecting
   the large HTML content panels on the country details page.
   ========================================================= */

.hv-country-page .hv-country-card {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    display: block;
    overflow: visible !important;
    transform: none !important;
    transition: none;
    border-radius: 24px;
    background: #ffffff;
    padding: 28px;
    border: 0;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

    .hv-country-page .hv-country-card:hover {
        transform: none !important;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    }

    .hv-country-page .hv-country-card h2,
    .hv-country-page .hv-country-card h3,
    .hv-country-page .hv-country-card h4 {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .hv-country-page .hv-country-card p {
        display: block !important;
        -webkit-box-orient: initial !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 16px;
        font-size: inherit !important;
        line-height: 1.85 !important;
    }

        .hv-country-page .hv-country-card p:last-child,
        .hv-country-page .hv-country-card ul:last-child,
        .hv-country-page .hv-country-card ol:last-child {
            margin-bottom: 0;
        }

    .hv-country-page .hv-country-card ul,
    .hv-country-page .hv-country-card ol {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

.hv-country-page .row {
    height: auto;
    min-height: 0;
}

.hv-country-page .col-lg-8,
.hv-country-page .col-lg-4 {
    height: auto;
    min-height: 0;
}

.dark-mode .hv-country-page .hv-country-card {
    background: #111827;
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

    .dark-mode .hv-country-page .hv-country-card h2,
    .dark-mode .hv-country-page .hv-country-card h3,
    .dark-mode .hv-country-page .hv-country-card h4 {
        color: #ffffff;
    }

    .dark-mode .hv-country-page .hv-country-card p,
    .dark-mode .hv-country-page .hv-country-card li {
        color: #cbd5e1;
    }

@media (max-width: 767px) {
    .hv-country-page .hv-country-card {
        padding: 1.25rem;
        border-radius: 22px;
    }

        .hv-country-page .hv-country-card p {
            font-size: inherit !important;
            line-height: 1.75 !important;
        }
}

/* =========================================================
   HOME PATIENT JOURNEY TIMELINE
========================================================= */

.hv-patient-journey-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 15%, rgba(17, 100, 102, 0.09), transparent 28%), radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.08), transparent 24%), var(--hv-soft-bg);
}

    .hv-patient-journey-section::before,
    .hv-patient-journey-section::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .hv-patient-journey-section::before {
        width: 260px;
        height: 260px;
        top: -150px;
        left: -120px;
        border: 45px solid rgba(17, 100, 102, 0.045);
    }

    .hv-patient-journey-section::after {
        width: 220px;
        height: 220px;
        right: -100px;
        bottom: -130px;
        border: 40px solid rgba(245, 158, 11, 0.045);
    }

    .hv-patient-journey-section .container {
        position: relative;
        z-index: 1;
    }

    .hv-patient-journey-section .hv-section-heading p {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.75;
    }

.hv-journey-timeline {
    position: relative;
    max-width: 1120px;
    margin: 8px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 90px;
    row-gap: 28px;
}

    .hv-journey-timeline::before {
        content: "";
        position: absolute;
        top: 34px;
        bottom: 34px;
        left: 50%;
        width: 3px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient( 180deg, rgba(17, 100, 102, 0.18), var(--hv-primary), rgba(245, 158, 11, 0.70) );
    }

.hv-journey-item {
    position: relative;
    min-width: 0;
}

    .hv-journey-item:nth-child(odd) {
        grid-column: 1;
    }

    .hv-journey-item:nth-child(even) {
        grid-column: 2;
    }

.hv-journey-marker {
    position: absolute;
    top: 28px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 4px solid rgba(17, 100, 102, 0.14);
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.14);
    z-index: 2;
}

.hv-journey-item:nth-child(odd) .hv-journey-marker {
    right: -79px;
}

.hv-journey-item:nth-child(even) .hv-journey-marker {
    left: -79px;
}

.hv-journey-number {
    position: absolute;
    top: -10px;
    right: -8px;
    min-width: 27px;
    height: 27px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hv-accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.28);
}

.hv-journey-icon {
    font-size: 27px;
    line-height: 1;
}

.hv-journey-card {
    position: relative;
    min-height: 190px;
    padding: 26px 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 100, 102, 0.09);
    box-shadow: 0 14px 34px rgba(16, 42, 67, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .hv-journey-card::after {
        content: "";
        position: absolute;
        top: 49px;
        width: 18px;
        height: 18px;
        background: #ffffff;
        transform: rotate(45deg);
    }

.hv-journey-item:nth-child(odd) .hv-journey-card::after {
    right: -9px;
    border-top: 1px solid rgba(17, 100, 102, 0.09);
    border-right: 1px solid rgba(17, 100, 102, 0.09);
}

.hv-journey-item:nth-child(even) .hv-journey-card::after {
    left: -9px;
    border-left: 1px solid rgba(17, 100, 102, 0.09);
    border-bottom: 1px solid rgba(17, 100, 102, 0.09);
}

.hv-journey-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 100, 102, 0.20);
    box-shadow: 0 20px 42px rgba(16, 42, 67, 0.13);
}

.hv-journey-step-label {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(17, 100, 102, 0.09);
    color: var(--hv-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.25px;
    text-transform: uppercase;
}

.hv-journey-card h3 {
    margin: 0 0 10px;
    color: var(--hv-dark);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 900;
}

.hv-journey-card p {
    margin: 0;
    color: var(--hv-muted);
    line-height: 1.7;
    font-size: 15px;
}

.hv-journey-actions {
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

    .hv-journey-actions .btn {
        min-height: 46px;
        gap: 8px;
    }

html[dir="rtl"] .hv-journey-card {
    text-align: right;
}

    html[dir="rtl"] .hv-journey-card h3,
    html[dir="rtl"] .hv-journey-card p {
        text-align: right;
    }

html[dir="rtl"] .hv-journey-step-label {
    direction: rtl;
    text-transform: none;
    letter-spacing: 0;
}

/*
   Desktop RTL requires explicit mirroring because CSS Grid column 1 starts
   from the right in an RTL container. These rules keep every marker and card
   pointer facing the centre timeline instead of the outer page edges.
*/
@media (min-width: 992px) {
    html[dir="rtl"] .hv-journey-item:nth-child(odd) .hv-journey-marker {
        left: -79px;
        right: auto;
    }

    html[dir="rtl"] .hv-journey-item:nth-child(even) .hv-journey-marker {
        right: -79px;
        left: auto;
    }

    html[dir="rtl"] .hv-journey-item:nth-child(odd) .hv-journey-card::after {
        left: -9px;
        right: auto;
        border: none;
        border-left: 1px solid rgba(17, 100, 102, 0.09);
        border-bottom: 1px solid rgba(17, 100, 102, 0.09);
    }

    html[dir="rtl"] .hv-journey-item:nth-child(even) .hv-journey-card::after {
        right: -9px;
        left: auto;
        border: none;
        border-top: 1px solid rgba(17, 100, 102, 0.09);
        border-right: 1px solid rgba(17, 100, 102, 0.09);
    }

    html[dir="rtl"] .hv-journey-number {
        right: -8px;
        left: auto;
    }
}

.dark-mode .hv-patient-journey-section {
    background: radial-gradient(circle at 10% 15%, rgba(45, 212, 191, 0.07), transparent 28%), radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.06), transparent 24%), #0f172a;
}

.dark-mode .hv-journey-card,
.dark-mode .hv-journey-marker,
.dark-mode .hv-journey-card::after {
    background: #111827;
}

    .dark-mode .hv-journey-card h3 {
        color: #ffffff;
    }

    .dark-mode .hv-journey-card p {
        color: #cbd5e1;
    }

@media (max-width: 991px) {
    .hv-journey-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 760px;
        padding-left: 82px;
    }

        .hv-journey-timeline::before {
            left: 33px;
            transform: none;
        }

    .hv-journey-item:nth-child(odd),
    .hv-journey-item:nth-child(even) {
        grid-column: 1;
    }

        .hv-journey-item:nth-child(odd) .hv-journey-marker,
        .hv-journey-item:nth-child(even) .hv-journey-marker {
            left: -82px;
            right: auto;
        }

        .hv-journey-item:nth-child(odd) .hv-journey-card::after,
        .hv-journey-item:nth-child(even) .hv-journey-card::after {
            left: -9px;
            right: auto;
            border: none;
            border-left: 1px solid rgba(17, 100, 102, 0.09);
            border-bottom: 1px solid rgba(17, 100, 102, 0.09);
        }

    html[dir="rtl"] .hv-journey-timeline {
        padding-left: 0;
        padding-right: 82px;
    }

        html[dir="rtl"] .hv-journey-timeline::before {
            left: auto;
            right: 33px;
        }

    html[dir="rtl"] .hv-journey-item:nth-child(odd) .hv-journey-marker,
    html[dir="rtl"] .hv-journey-item:nth-child(even) .hv-journey-marker {
        left: auto;
        right: -82px;
    }

    html[dir="rtl"] .hv-journey-item:nth-child(odd) .hv-journey-card::after,
    html[dir="rtl"] .hv-journey-item:nth-child(even) .hv-journey-card::after {
        left: auto;
        right: -9px;
        border: none;
        border-top: 1px solid rgba(17, 100, 102, 0.09);
        border-right: 1px solid rgba(17, 100, 102, 0.09);
    }
}

@media (max-width: 575px) {
    .hv-patient-journey-section .hv-section-heading {
        margin-bottom: 28px;
    }

    .hv-journey-timeline {
        padding-left: 66px;
        gap: 16px;
    }

        .hv-journey-timeline::before {
            left: 26px;
            top: 28px;
            bottom: 28px;
            width: 2px;
        }

    .hv-journey-marker {
        width: 54px;
        height: 54px;
        top: 24px;
        border-width: 3px;
    }

    .hv-journey-item:nth-child(odd) .hv-journey-marker,
    .hv-journey-item:nth-child(even) .hv-journey-marker {
        left: -66px;
    }

    .hv-journey-icon {
        font-size: 22px;
    }

    .hv-journey-number {
        top: -9px;
        right: -7px;
        min-width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .hv-journey-card {
        min-height: 0;
        padding: 21px 20px;
        border-radius: 18px;
    }

        .hv-journey-card::after {
            top: 39px;
            width: 15px;
            height: 15px;
        }

    .hv-journey-item:nth-child(odd) .hv-journey-card::after,
    .hv-journey-item:nth-child(even) .hv-journey-card::after {
        left: -8px;
    }

    .hv-journey-step-label {
        font-size: 10px;
        margin-bottom: 9px;
    }

    .hv-journey-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .hv-journey-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    .hv-journey-actions {
        margin-top: 30px;
        display: grid;
        grid-template-columns: 1fr;
    }

        .hv-journey-actions .btn {
            width: 100%;
        }

    html[dir="rtl"] .hv-journey-timeline {
        padding-right: 66px;
    }

        html[dir="rtl"] .hv-journey-timeline::before {
            right: 26px;
        }

    html[dir="rtl"] .hv-journey-item:nth-child(odd) .hv-journey-marker,
    html[dir="rtl"] .hv-journey-item:nth-child(even) .hv-journey-marker {
        right: -66px;
    }

    html[dir="rtl"] .hv-journey-item:nth-child(odd) .hv-journey-card::after,
    html[dir="rtl"] .hv-journey-item:nth-child(even) .hv-journey-card::after {
        right: -8px;
    }
}

/* =========================================================
   HOMEPAGE INTERNATIONAL PATIENT FAQ
========================================================= */

.hv-home-faq-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 15%, rgba(17, 100, 102, 0.10), transparent 26%), radial-gradient(circle at 92% 88%, rgba(245, 158, 11, 0.10), transparent 24%), linear-gradient(180deg, #f7fbfc 0%, #eef8f9 100%);
}

    .hv-home-faq-section::before,
    .hv-home-faq-section::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .hv-home-faq-section::before {
        width: 280px;
        height: 280px;
        top: -150px;
        right: -100px;
        border: 1px solid rgba(17, 100, 102, 0.12);
    }

    .hv-home-faq-section::after {
        width: 210px;
        height: 210px;
        left: -105px;
        bottom: -110px;
        border: 1px solid rgba(245, 158, 11, 0.16);
    }

    .hv-home-faq-section .container {
        position: relative;
        z-index: 1;
    }

.hv-home-faq-heading {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

    .hv-home-faq-heading p {
        max-width: 760px;
        margin: 12px auto 0;
        line-height: 1.75;
    }

.hv-home-faq-support-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border-radius: 28px;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.13), transparent 26%), linear-gradient(145deg, var(--hv-primary-dark), var(--hv-primary));
    box-shadow: 0 22px 50px rgba(11, 65, 67, 0.22);
}

    .hv-home-faq-support-card::after {
        content: "?";
        position: absolute;
        right: -14px;
        bottom: -54px;
        color: rgba(255, 255, 255, 0.055);
        font-size: 220px;
        line-height: 1;
        font-weight: 900;
        pointer-events: none;
    }

.hv-home-faq-support-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 20px;
    color: var(--hv-primary-dark);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    font-size: 28px;
}

.hv-home-faq-support-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #fde68a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hv-home-faq-support-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.28;
}

.hv-home-faq-support-card > p {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
}

.hv-home-faq-support-points {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

    .hv-home-faq-support-points div {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.94);
        font-size: 14px;
        font-weight: 700;
    }

    .hv-home-faq-support-points span {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: var(--hv-primary-dark);
        background: #ffffff;
        font-size: 13px;
        font-weight: 900;
    }

.hv-home-faq-support-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: auto;
}

.hv-home-faq-contact-btn,
.hv-home-faq-whatsapp-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 50px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hv-home-faq-contact-btn {
    border: 1px solid #ffffff;
    color: var(--hv-primary-dark);
    background: #ffffff;
}

    .hv-home-faq-contact-btn:hover {
        color: var(--hv-primary-dark);
        background: #f8fafc;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    }

.hv-home-faq-whatsapp-btn {
    border: 1px solid rgba(255, 255, 255, 0.30);
    color: #ffffff;
    background: #16a34a;
}

    .hv-home-faq-whatsapp-btn:hover {
        color: #ffffff;
        background: #15803d;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
    }

.hv-home-faq-panel {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid rgba(17, 100, 102, 0.09);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 48px rgba(16, 42, 67, 0.10);
    backdrop-filter: blur(8px);
}

.hv-home-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.hv-home-faq-item {
    border: 1px solid rgba(17, 100, 102, 0.10) !important;
    border-radius: 18px !important;
    overflow: hidden;
    background: #ffffff;
    box-shadow: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

    .hv-home-faq-item:hover {
        border-color: rgba(17, 100, 102, 0.24) !important;
        box-shadow: 0 10px 28px rgba(16, 42, 67, 0.07);
    }

    .hv-home-faq-item .accordion-button {
        min-height: 74px;
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 16px 20px;
        border: 0;
        color: var(--hv-dark);
        background: #ffffff;
        box-shadow: none !important;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.45;
    }

        .hv-home-faq-item .accordion-button:not(.collapsed) {
            color: var(--hv-primary-dark);
            background: linear-gradient(90deg, rgba(17, 100, 102, 0.075), rgba(17, 100, 102, 0.025));
        }

        .hv-home-faq-item .accordion-button:focus {
            border-color: transparent;
            box-shadow: none;
        }

        .hv-home-faq-item .accordion-button::after {
            width: 32px;
            height: 32px;
            margin-left: auto;
            flex: 0 0 32px;
            border-radius: 50%;
            background-color: rgba(17, 100, 102, 0.08);
            background-position: center;
            background-size: 15px;
        }

        .hv-home-faq-item .accordion-button:not(.collapsed)::after {
            background-color: rgba(17, 100, 102, 0.14);
        }

.hv-home-faq-number {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--hv-primary);
    background: rgba(17, 100, 102, 0.09);
    font-size: 13px;
    font-weight: 900;
}

.hv-home-faq-item .accordion-button:not(.collapsed) .hv-home-faq-number {
    color: #ffffff;
    background: var(--hv-primary);
}

.hv-home-faq-question {
    flex: 1;
}

.hv-home-faq-answer {
    padding: 2px 68px 21px 76px;
    color: var(--hv-muted);
    font-size: 15px;
    line-height: 1.8;
}

    .hv-home-faq-answer > *:last-child {
        margin-bottom: 0;
    }

    .hv-home-faq-answer ul,
    .hv-home-faq-answer ol {
        margin-bottom: 12px;
        padding-left: 20px;
    }

.hv-home-faq-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
}

    .hv-home-faq-footer p {
        max-width: 390px;
        margin: 0;
        color: var(--hv-muted);
        font-size: 14px;
        line-height: 1.6;
    }

.hv-home-faq-view-all-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1px solid rgba(17, 100, 102, 0.22);
    border-radius: 50px;
    color: var(--hv-primary);
    background: rgba(17, 100, 102, 0.06);
    font-size: 14px;
    font-weight: 800;
    transition: all 0.22s ease;
}

    .hv-home-faq-view-all-btn:hover {
        color: #ffffff;
        border-color: var(--hv-primary);
        background: var(--hv-primary);
        transform: translateY(-2px);
    }

/* RTL */

html[dir="rtl"] .hv-home-faq-support-card::after {
    right: auto;
    left: -14px;
}

html[dir="rtl"] .hv-home-faq-support-card,
html[dir="rtl"] .hv-home-faq-panel {
    text-align: right;
}

html[dir="rtl"] .hv-home-faq-support-points div {
    flex-direction: row;
}

html[dir="rtl"] .hv-home-faq-item .accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .hv-home-faq-answer {
    padding-right: 76px;
    padding-left: 68px;
    text-align: right;
}

    html[dir="rtl"] .hv-home-faq-answer ul,
    html[dir="rtl"] .hv-home-faq-answer ol {
        padding-right: 20px;
        padding-left: 0;
    }

html[dir="rtl"] .hv-home-faq-footer {
    text-align: right;
}

/* Dark mode */

.dark-mode .hv-home-faq-section {
    background: radial-gradient(circle at 10% 15%, rgba(17, 100, 102, 0.16), transparent 26%), linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

.dark-mode .hv-home-faq-panel,
.dark-mode .hv-home-faq-item,
.dark-mode .hv-home-faq-item .accordion-button {
    background: #111827;
}

.dark-mode .hv-home-faq-panel {
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .hv-home-faq-item {
    border-color: rgba(255, 255, 255, 0.09) !important;
}

    .dark-mode .hv-home-faq-item .accordion-button {
        color: #f8fafc;
    }

        .dark-mode .hv-home-faq-item .accordion-button:not(.collapsed) {
            color: #ffffff;
            background: rgba(17, 100, 102, 0.20);
        }

.dark-mode .hv-home-faq-answer,
.dark-mode .hv-home-faq-footer p {
    color: #cbd5e1;
}

/* Responsive */

@media (max-width: 991px) {
    .hv-home-faq-support-card {
        min-height: auto;
    }

    .hv-home-faq-support-actions {
        flex-direction: row;
    }

    .hv-home-faq-contact-btn,
    .hv-home-faq-whatsapp-btn {
        width: auto;
        flex: 1;
    }

    .hv-home-faq-panel {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    .hv-home-faq-support-card {
        padding: 28px 24px;
        border-radius: 24px;
    }

        .hv-home-faq-support-card h3 {
            font-size: 24px;
        }

    .hv-home-faq-panel {
        padding: 16px;
        border-radius: 24px;
    }

    .hv-home-faq-item .accordion-button {
        min-height: 68px;
        gap: 11px;
        padding: 14px;
        font-size: 15px;
    }

    .hv-home-faq-number {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 11px;
    }

    .hv-home-faq-item .accordion-button::after {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        background-size: 13px;
    }

    .hv-home-faq-answer,
    html[dir="rtl"] .hv-home-faq-answer {
        padding: 0 18px 19px;
        font-size: 14px;
    }

    .hv-home-faq-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .hv-home-faq-view-all-btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .hv-home-faq-heading {
        margin-bottom: 27px;
    }

    .hv-home-faq-support-actions {
        flex-direction: column;
    }

    .hv-home-faq-contact-btn,
    .hv-home-faq-whatsapp-btn {
        width: 100%;
        flex: none;
    }

    .hv-home-faq-item .accordion-button {
        align-items: flex-start;
    }

    .hv-home-faq-question {
        padding-top: 6px;
    }
}


/* =========================================================
   HOMEPAGE FAQ MOBILE FINAL POLISH
========================================================= */

@media (max-width: 767px) {
    .hv-home-faq-section {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .hv-home-faq-heading {
        margin-bottom: 24px;
        padding-left: 8px;
        padding-right: 8px;
    }

        .hv-home-faq-heading span {
            display: inline-block;
            margin-bottom: 8px;
            font-size: 12px;
            line-height: 1.35;
            letter-spacing: 0.35px;
        }

        .hv-home-faq-heading h2 {
            max-width: 320px;
            margin-left: auto;
            margin-right: auto;
            font-size: 27px;
            line-height: 1.16;
        }

        .hv-home-faq-heading p {
            max-width: 330px;
            margin-top: 12px;
            font-size: 14px;
            line-height: 1.7;
        }

    .hv-home-faq-support-card {
        padding: 24px 22px;
        border-radius: 22px;
    }

    .hv-home-faq-support-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        border-radius: 17px;
        font-size: 24px;
    }

    .hv-home-faq-support-label {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .hv-home-faq-support-card h3 {
        margin-bottom: 12px;
        font-size: 22px;
        line-height: 1.32;
    }

    .hv-home-faq-support-card > p {
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.7;
    }

    .hv-home-faq-support-points {
        gap: 10px;
        margin-bottom: 22px;
    }

        .hv-home-faq-support-points div {
            font-size: 13px;
            line-height: 1.45;
        }

        .hv-home-faq-support-points span {
            width: 22px;
            height: 22px;
            flex-basis: 22px;
            font-size: 12px;
        }

    .hv-home-faq-support-actions {
        gap: 10px;
    }

    .hv-home-faq-contact-btn,
    .hv-home-faq-whatsapp-btn {
        min-height: 46px;
        padding: 10px 15px;
        font-size: 13px;
    }

    .hv-home-faq-panel {
        margin-top: 2px;
        padding: 14px;
        border-radius: 22px;
    }

    .hv-home-faq-accordion {
        gap: 11px;
    }

    .hv-home-faq-item {
        border-radius: 16px !important;
    }

        .hv-home-faq-item .accordion-button {
            min-height: 64px;
            padding: 13px 12px;
            gap: 10px;
            font-size: 14px;
            line-height: 1.4;
        }

    .hv-home-faq-number {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 10px;
        font-size: 12px;
    }

    .hv-home-faq-item .accordion-button::after {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        background-size: 12px;
    }

    .hv-home-faq-question {
        padding-top: 3px;
    }

    .hv-home-faq-answer,
    html[dir="rtl"] .hv-home-faq-answer {
        padding: 0 14px 16px;
        font-size: 13px;
        line-height: 1.75;
    }

    .hv-home-faq-footer {
        gap: 12px;
        padding-top: 20px;
        padding-bottom: 8px;
    }

        .hv-home-faq-footer p {
            font-size: 13px;
            line-height: 1.55;
        }

    .hv-home-faq-view-all-btn {
        min-height: 46px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .quick-quote-open-btn {
        right: 12px;
        bottom: 12px;
        min-width: auto;
        padding: 9px 14px;
        font-size: 12px;
        line-height: 1.2;
        box-shadow: 0 10px 24px rgba(16, 42, 67, 0.20);
    }

    html[dir="rtl"] .quick-quote-open-btn {
        right: auto;
        left: 12px;
    }

    .quick-quote-widget {
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }

    html[dir="rtl"] .quick-quote-widget {
        right: auto;
        left: 10px;
    }
}

@media (max-width: 400px) {
    .hv-home-faq-heading h2 {
        max-width: 300px;
        font-size: 25px;
    }

    .hv-home-faq-heading p {
        font-size: 13px;
    }

    .hv-home-faq-support-card {
        padding: 22px 20px;
    }

        .hv-home-faq-support-card h3 {
            font-size: 21px;
        }

    .hv-home-faq-item .accordion-button {
        font-size: 13px;
    }

    .quick-quote-open-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* =========================================================
   HEALTHOVIA PHASE 2.1 — FINAL PRODUCTION AUDIT PATCH
   This block intentionally stays at the end of site.css.
   It resolves cascade conflicts without removing existing
   page-specific styling.
   ========================================================= */

/* Predictable sizing across components. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Preserve keyboard visibility while avoiding focus rings on pointer clicks. */
:where( a, button, .btn, .nav-link, .dropdown-item, .form-control, .form-select, .form-check-input, [tabindex] ):focus-visible {
    outline: 3px solid rgba(17, 100, 102, 0.32);
    outline-offset: 2px;
}

.hv-theme-btn:focus-visible,
.hv-lang-btn:focus-visible,
.quick-quote-actions button:focus-visible,
.hv-navbar-toggler:focus-visible {
    outline-color: rgba(255, 255, 255, 0.72);
}

/* Header assets must not shrink or distort. */
.hv-logo-brand {
    flex-shrink: 0;
}

.hv-header-logo {
    max-height: 100%;
}

/* ---------------------------------------------------------
   GLOBAL SEARCH — EXACT DESKTOP/MOBILE VISIBILITY CONTRACT
   Desktop: desktop search only.
   Mobile menu closed: outside mobile search only.
   Mobile menu open: menu search only.
   The .d-none override is required because earlier rules use
   display:block!important.
   --------------------------------------------------------- */

.hv-main-navbar .hv-mobile-visible-search.d-none {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}

@media (min-width: 992px) {
    .hv-main-navbar .hv-desktop-search {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    .hv-main-navbar .hv-mobile-visible-search,
    .hv-main-navbar .hv-menu-search {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .hv-main-navbar .hv-desktop-search {
        display: none !important;
    }

    .hv-main-navbar .hv-mobile-visible-search:not(.d-none) {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    #mainNavbar:not(.show) .hv-menu-search {
        display: none !important;
    }

    #mainNavbar.show .hv-menu-search {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* Search results remain usable above sticky navigation and cards. */
.hv-global-search-box {
    isolation: isolate;
}

.hv-global-search-suggestions {
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.hv-global-search-item:last-child {
    border-bottom: 0 !important;
}

.hv-global-search-item:focus-visible {
    background: #eefaf8 !important;
    outline: 2px solid rgba(17, 100, 102, 0.28);
    outline-offset: -2px;
}

html[dir="rtl"] .hv-global-search-item,
html[dir="rtl"] .hv-global-search-empty {
    text-align: right !important;
}

/* Dark mode coverage for the current header and search implementation. */
.dark-mode .hv-site-header,
.dark-mode .hv-main-navbar,
.dark-mode .hv-main-navbar .navbar-collapse {
    background: #111827 !important;
}

    .dark-mode .hv-main-navbar .nav-link,
    .dark-mode .hv-public-menu .nav-link {
        color: #f8fafc !important;
    }

        .dark-mode .hv-main-navbar .nav-link:hover,
        .dark-mode .hv-main-navbar .nav-link.active,
        .dark-mode .hv-public-menu .nav-link:hover,
        .dark-mode .hv-public-menu .nav-link.active {
            background: rgba(27, 191, 156, 0.14) !important;
            color: #5eead4 !important;
        }

.dark-mode .hv-global-search-input {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #f8fafc !important;
}

    .dark-mode .hv-global-search-input::placeholder {
        color: #94a3b8 !important;
    }

.dark-mode .hv-global-search-suggestions {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.dark-mode .hv-global-search-item {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

    .dark-mode .hv-global-search-item:hover,
    .dark-mode .hv-global-search-item:focus-visible {
        background: #172033 !important;
    }

.dark-mode .hv-global-search-title {
    color: #f8fafc !important;
}

.dark-mode .hv-global-search-empty {
    color: #cbd5e1 !important;
}

/* Quick Quote remains inside the viewport after resizing or dragging. */
.quick-quote-widget {
    max-height: calc(100dvh - 30px);
}

.quick-quote-body {
    overscroll-behavior: contain;
}

@media (max-width: 767.98px) {
    .quick-quote-widget,
    #quickQuoteWidget {
        max-height: calc(100dvh - 20px) !important;
    }

    .quick-quote-header {
        cursor: default;
    }

    .quick-quote-open-btn.show {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* Rich database HTML must not create horizontal page overflow. */
.hv-detail-content,
.hv-blog-content,
.hv-cms-content,
.hv-service-content,
.hv-country-html {
    overflow-wrap: anywhere;
    word-break: normal;
}

    .hv-detail-content table,
    .hv-blog-content table,
    .hv-cms-content table,
    .hv-service-content table,
    .hv-country-html table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
    }

    .hv-detail-content iframe,
    .hv-blog-content iframe,
    .hv-cms-content iframe,
    .hv-service-content iframe,
    .hv-country-html iframe {
        width: 100%;
        max-width: 100%;
    }

/* Respect OS accessibility preference and stop nonessential movement. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hv-content-card:hover,
    .hv-testimonial-card:hover,
    .hv-feature-box:hover,
    .hv-process-card:hover,
    .healthovia-card:hover,
    .hv-mini-doctor-card:hover,
    .hv-blog-card:hover,
    .hv-service-card:hover {
        transform: none !important;
    }
}

/* Remove nonessential floating UI from printed pages. */
@media print {
    .hv-site-header,
    .quick-quote-widget,
    .quick-quote-open-btn,
    #quickQuoteWidget,
    #quickQuoteOpenBtn,
    .hv-footer-social {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .site-main {
        padding: 0 !important;
    }
}






























/*==========================================
    FLOATING WHATSAPP
==========================================*/

.hv-whatsapp-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    cursor: grab;
}

    .hv-whatsapp-widget.dragging {
        cursor: grabbing;
    }

.hv-whatsapp-button {
    display: flex;
    align-items: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    transition: width .35s ease, transform .20s ease, box-shadow .25s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

    .hv-whatsapp-button:active {
        transform: scale(.96);
    }

.hv-whatsapp-icon {
    width: 60px;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.hv-whatsapp-text {
    white-space: nowrap;
    opacity: 0;
    padding-right: 20px;
    font-weight: 600;
    transition: opacity .25s ease;
}

/*==========================================
    DESKTOP
==========================================*/

@media (min-width:992px) {

    .hv-whatsapp-widget {
        animation: hvFloat 3s ease-in-out infinite;
        transition: left .35s cubic-bezier(.22,1,.36,1), right .35s cubic-bezier(.22,1,.36,1), top .35s cubic-bezier(.22,1,.36,1);
    }

    .hv-whatsapp-button:hover {
        width: 220px;
        color: #fff;
        text-decoration: none;
        box-shadow: 0 16px 35px rgba(37,211,102,.35);
    }

        .hv-whatsapp-button:hover .hv-whatsapp-text {
            opacity: 1;
        }
}

/*==========================================
    MOBILE
==========================================*/

@media (max-width:991px) {

    .hv-whatsapp-widget {
        right: 15px;
        bottom: 15px;
    }

    .hv-whatsapp-button.expanded {
        width: 220px;
        box-shadow: 0 16px 35px rgba(37,211,102,.35);
    }

        .hv-whatsapp-button.expanded .hv-whatsapp-text {
            opacity: 1;
        }
}

/*==========================================
    FLOAT ANIMATION
==========================================*/

@keyframes hvFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}