/* Homepage sticky header — same reveal-on-scroll as inner pages; compact when visible */
.page-index .header-sticky.is-compact .header-content {
    padding-top: 6px;
    padding-bottom: 6px;
}

.page-index .header-sticky.is-compact .logo img {
    height: 42px !important;
    transition: height 0.3s ease;
}

.page-index .header-sticky.is-compact .tf-btn.style-small {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Doctors carousel — pagination only (no diagonal sidebar arrows) */
.section-team.h-3 .sw-pagination-team {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.section-team.h-3 .team-carousel-col {
    position: relative;
}


@media (min-width: 1200px) {
            .header-content {
                display: flex !important;
                justify-content: space-between !important;
                align-items: center !important;
                width: 100% !important;
            }

            .header-content .logo.logo-header {
                flex: 0 0 auto !important;
            }

            .header-content .main-menu {
                flex: 1 1 auto !important;
                display: flex !important;
                justify-content: center !important;
            }

            .header-content .main-menu .menu-primary-menu {
                display: flex !important;
                justify-content: center !important;
                margin: 0 !important;
                padding-left: 0 !important;
            }

            .header-content .header-right {
                flex: 0 0 auto !important;
            }
        }

        /* Character Counter styling */
        .char-counter {
            text-align: right;
            font-size: 12px;
            color: #64748b;
            margin-top: 5px;
            font-family: 'Rethink Sans', sans-serif;
        }

/* SweetAlert2 — must load after styles.css (theme reset zeros div margins) */
.swal2-container {
    font-family: 'Rethink Sans', sans-serif !important;
}

.swal2-container .swal2-popup.swal2-modal.bm-swal-popup,
.swal2-container .swal2-popup.swal2-modal {
    display: grid !important;
    width: 28em !important;
    max-width: calc(100vw - 2rem) !important;
    padding: 2rem 2rem 1.75rem !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(75, 22, 140, 0.12) !important;
    border: 1px solid #e2e8f0 !important;
    text-align: center !important;
    overflow: visible !important;
    font-family: 'Rethink Sans', sans-serif !important;
}

.swal2-container .swal2-popup.swal2-modal .swal2-icon.bm-swal-icon,
.swal2-container .swal2-popup.swal2-modal .swal2-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 5em !important;
    height: 5em !important;
    margin: 0.25em auto 1em !important;
    padding: 0 !important;
    border: 0.25em solid transparent !important;
    box-sizing: content-box !important;
    overflow: visible !important;
}

.swal2-container .swal2-popup.swal2-modal .swal2-icon.swal2-success {
    border-color: #22c55e !important;
    color: #22c55e !important;
}

.swal2-container .swal2-popup.swal2-modal .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(34, 197, 94, 0.35) !important;
}

.swal2-container .swal2-popup.swal2-modal .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #22c55e !important;
}

.swal2-container .swal2-popup.swal2-modal .swal2-title.bm-swal-title,
.swal2-container .swal2-popup.swal2-modal .swal2-title {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #4B168C !important;
    font-size: 1.625rem !important;
    letter-spacing: -0.5px !important;
    padding: 0 !important;
    margin: 0 0 0.5em !important;
}

.swal2-container .swal2-popup.swal2-modal .swal2-html-container.bm-swal-text,
.swal2-container .swal2-popup.swal2-modal .swal2-html-container {
    font-family: 'Rethink Sans', sans-serif !important;
    font-size: 15.5px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    padding: 0 0 1.25em !important;
    margin: 0 !important;
}

.swal2-container .swal2-popup.swal2-modal .swal2-actions.bm-swal-actions,
.swal2-container .swal2-popup.swal2-modal .swal2-actions {
    margin: 0.25em auto 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.swal2-container .swal2-popup.swal2-modal button.swal2-confirm.bm-swal-confirm,
.swal2-container .swal2-popup.swal2-modal button.swal2-confirm {
    font-family: 'Rethink Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.02em !important;
    border-radius: 12px !important;
    padding: 14px 2.5rem !important;
    margin: 0 !important;
    border: none !important;
    background: linear-gradient(135deg, #4B168C 0%, #6366F1 100%) !important;
    box-shadow: 0 4px 15px rgba(75, 22, 140, 0.25) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    color: #fff !important;
}

.swal2-container .swal2-popup.swal2-modal button.swal2-confirm.bm-swal-confirm:hover,
.swal2-container .swal2-popup.swal2-modal button.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(75, 22, 140, 0.35) !important;
}

.swal2-container .swal2-popup.swal2-modal button.swal2-confirm.bm-swal-confirm:focus-visible,
.swal2-container .swal2-popup.swal2-modal button.swal2-confirm:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(75, 22, 140, 0.35) !important;
}

/* Toast notifications */
.swal2-container .swal2-popup.swal2-toast {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #cbd5e1 !important;
    padding: 12px 18px !important;
    background: #ffffff !important;
    font-family: 'Rethink Sans', sans-serif !important;
}

.swal2-container .swal2-popup.swal2-toast.swal2-icon-error {
    border: 1px solid #fecaca !important;
    background: #fff5f5 !important;
}

.swal2-container .swal2-popup.swal2-toast.swal2-icon-warning {
    border: 1px solid #fef08a !important;
    background: #fefce8 !important;
}

.swal2-container .swal2-popup.swal2-toast .swal2-title {
    font-family: 'Rethink Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #19202e !important;
    margin: 0 0 0 0.5em !important;
    padding: 0 !important;
}

.swal2-container .swal2-popup.swal2-toast .swal2-timer-progress-bar {
    background: #ef4444 !important;
}

.swal2-container .swal2-popup.swal2-toast.swal2-icon-warning .swal2-timer-progress-bar {
    background: #eab308 !important;
}

.swal2-container .swal2-popup.swal2-toast.swal2-icon-success .swal2-timer-progress-bar {
    background: #22c55e !important;
}

/* Governance page*/

        :root {
            --bnd-red: #4B168C;
            --bnd-red-light: #F5F3FF;
            --bnd-text-dark: #4B168C;
            --bnd-text-gray: #4a5568;
            --bnd-border: #e2e8f0;
            --bnd-bg: #f8fafc;
            --bnd-green: #039855;
            --bnd-green-bg: #ecfdf5;
            --bnd-green-border: #059669;
            --bnd-green-text: #065f46;
            --bnd-purple: #4B168C;
            --bnd-purple-bg: #F5F3FF;
            --bnd-purple-text: #4B168C;
        }

        body {
            background-color: var(--bnd-bg);
            font-family: 'Rethink Sans', sans-serif;
            color: var(--bnd-text-gray);
            line-height: 1.6;
        }

        .bnd-wrapper {
            padding: 20px 20px;
            overflow-x: hidden;
        }

        .bnd-container {
            max-width: 1100px;
            margin: 0 auto;
        }

        /* Timeline Styles */
        .bnd-timeline-wrapper {
            flex: 1;
            margin-top: 40px;
            /* max-width: 450px; */
        }

        .bnd-timeline {
            position: relative;
            padding-left: 64px;
        }

        .bnd-timeline-line {
            position: absolute;
            left: 24px;
            top: 24px;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--bnd-red) 0%, var(--bnd-red) 70%, rgba(217, 45, 32, 0) 100%);
            transform: translateX(-50%);
            z-index: 0;
        }

        .bnd-timeline-item {
            position: relative;
            margin-bottom: 48px;
            min-height: 48px;
            z-index: 2;
        }

        .bnd-timeline-icon {
            position: absolute;
            left: -64px;
            top: 0;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #fff;
            border: 2px solid var(--bnd-red);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bnd-red);
            z-index: 2;
        }

        .bnd-tag {
            display: inline-block;
            background-color: var(--bnd-red-light);
            color: var(--bnd-red);

            font-weight: 600;
            padding: 4px 10px;
            border-radius: 9999px;
            margin-bottom: 8px;
        }

        .bnd-timeline-title {
            color: var(--bnd-text-dark);
            font-weight: 300;
            margin: 0 0 12px 0;
        }

        .bnd-timeline-text {

            color: var(--bnd-text-gray);
            line-height: 1.6;
            margin: 0;
        }

        /* Card Styles */
        .bnd-card-wrapper {
            flex: 1.2;
            /* max-width: 550px; */
            position: relative;
            /* Governance page only */
            margin-top: 20px;
        }

        .bnd-card-wrapper::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 24px;
            right: 24px;
            height: 30px;
            background: linear-gradient(90deg, var(--blue-4));
            border-radius: 24px 24px 0 0;
            z-index: 0;
        }

        .bnd-card {
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
            padding: 32px;
            border: 1px solid var(--bnd-border);
            position: relative;
            z-index: 1;
        }

        /* Card Sections */
        .bnd-section-title {
            font-weight: 700;
            color: var(--bnd-text-gray);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin: 24px 0 12px 0;
        }

        .bnd-finding-item {
            background-color: var(--bnd-green-bg);
            border-left: 4px solid var(--bnd-green-border);
            border-radius: 8px;
            padding: 12px 16px;
            display: flex;
            gap: 12px;
            margin-bottom: 12px;
        }

        .bnd-finding-icon {
            color: var(--bnd-green-border);
            flex-shrink: 0;
            margin-top: 2px;
        }

        .bnd-finding-text strong {
            display: block;
            color: var(--bnd-green-text);

            margin-bottom: 4px;
        }

        .bnd-finding-text p {
            margin: 0;

            color: var(--bnd-green-text);
            opacity: 0.9;
        }

        .bnd-step-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .bnd-step-item {
            background-color: var(--bnd-purple-bg);
            border-left: 4px solid var(--bnd-purple);
            border-radius: 8px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;

            color: var(--bnd-purple-text);
        }

        .bnd-step-item svg {
            color: var(--bnd-purple);
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        /* Responsive */
        @media (max-width: 992px) {

            .bnd-timeline-wrapper,
            .bnd-card-wrapper {
                max-width: 100%;
                width: 100%;
            }
            /* Governance page only */
            .bnd-card-wrapper {
                margin-top: 60px;
            }

        }

        @media (max-width: 600px) {
            .bnd-gather-grid {
                grid-template-columns: 1fr;
            }

            .bnd-timeline {
                padding-left: 48px;
            }

            .bnd-timeline-line {
                left: 16px;
            }

            .bnd-timeline-icon {
                left: -48px;
                width: 32px;
                height: 32px;
            }

            .bnd-timeline-icon svg {
                width: 16px;
                height: 16px;
            }
        }

        .compliance-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            width: 100%;
        }

        @media (max-width: 991px) {
            .compliance-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }

        .compliance-grid .features-item.style-2 {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
        }

        /* Governance page — uniform stroke icons (icomoon weights vary) */
        .gov-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
        }

        .gov-icon__svg {
            width: 32px;
            height: 32px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .features-list .features-item .gov-icon {
            color: var(--red);
        }

        .features-list .features-item .gov-icon__svg {
            width: 48px;
            height: 48px;
        }

        .compliance-grid .features-item.style-2 .gov-icon {
            color: var(--black-2);
        }

        .compliance-grid .features-item.style-2:hover .gov-icon {
            transform: none;
        }

/* policy page*/
         .policy-wrapper ul {
            list-style-type: disc !important;
            padding-left: 25px !important;
            margin-bottom: 20px !important;
        }

        .policy-wrapper ul li {
            list-style-type: disc !important;
            display: list-item !important;
        }

        .policy-wrapper ol {
            list-style-type: decimal !important;
            padding-left: 25px !important;
            margin-bottom: 20px !important;
        }

        .policy-wrapper ol li {
            list-style-type: decimal !important;
            display: list-item !important;
        }

        /* specialty-details*/
 /* Bullet points for injected specialty content */
        #specialty-details-content ul {
            list-style: disc !important;
            padding-left: 1.5rem !important;
            margin-bottom: 1.2rem !important;
        }
        #specialty-details-content ul li {
            list-style: disc !important;
            margin-bottom: 0.4rem;
            line-height: 1.7;
        }
        #specialty-details-content h3 {
            font-size: 2rem;
            font-weight: 700;
            margin-top: 1.8rem;
            margin-bottom: 0.8rem;
            color: var(--blue-4);
        }
        #specialty-details-content p {
            margin-bottom: 1rem;
            line-height: 1.8;
        }
        #specialty-details-content strong {
            font-weight: 700;
        }