/* ==========================================================
   Why Choose Us – Advanced Healthcare Widget  v2.1
   Matches screenshot: dashed connectors, dot endpoints,
   icon-left card layout, teal title + underline accent
   ========================================================== */

/* ── CSS Variables ── */
.pwcu {
    --pwcu-primary:    #1a9e8f;
    --pwcu-secondary:  #1e3a5f;
    --pwcu-bg:         #f0f7f8;
    --pwcu-card-bg:    #ffffff;
    --pwcu-icon:       #1a9e8f;
    --pwcu-badge:      #1e3a5f;
    --pwcu-text:       #2d3748;
    --pwcu-muted:      #5a6a7a;
    --pwcu-border:     rgba(26,158,143,.20);
    --pwcu-connector:  #b0d8d4;
    --pwcu-dot:        #1a9e8f;
    --pwcu-radius:     14px;
    --pwcu-shadow:     0 4px 20px rgba(0,0,0,.07);
    --pwcu-transition: .28s cubic-bezier(.4,0,.2,1);

    background: var(--pwcu-bg);
    padding: 64px 32px 48px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--pwcu-text);
    box-sizing: border-box;
}
.pwcu *, .pwcu *::before, .pwcu *::after { box-sizing: inherit; }

/* ── Header ── */
.pwcu__header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}
.pwcu__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--pwcu-primary);
    margin: 0 0 16px;
}
.pwcu__label-line {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--pwcu-primary);
    border-radius: 2px;
}
.pwcu__heading {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    color: var(--pwcu-secondary);
    margin: 0 0 14px;
    line-height: 1.25;
}
.pwcu__heading-hl { color: var(--pwcu-primary); }
.pwcu__desc {
    font-size: 15px;
    color: var(--pwcu-muted);
    line-height: 1.75;
    margin: 0;
}

/* ================================================================
   BODY – 3-column grid (left | center | right)
   ================================================================ */
.pwcu__body {
    display: grid;
    grid-template-columns: 1fr 320px 1fr;
    gap: 0;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 40px;
    position: relative;
}

/* ── Columns ── */
.pwcu__col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

/* ================================================================
   CARDS – icon left, teal title, underline accent
   ================================================================ */
.pwcu__card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--pwcu-card-bg);
    border-radius: var(--pwcu-radius);
    padding: 20px 16px 18px 16px;
    border: 1px solid rgba(26,158,143,.12);
    box-shadow: var(--pwcu-shadow);
    text-decoration: none;
    color: inherit;
    cursor: default;
    transition: transform var(--pwcu-transition), box-shadow var(--pwcu-transition);
    margin-right: 32px;
}
.pwcu__col--right .pwcu__card {
    margin-right: 0;
    margin-left: 32px;
}

.pwcu__card--accordion,
a.pwcu__card { cursor: pointer; }

.pwcu__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(26,158,143,.15);
}

/* Badge – corner chip */
.pwcu__card-badge {
    position: absolute;
    top: -1px;
    left: -1px;
    background: var(--pwcu-badge);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    min-width: 32px;
    height: 26px;
    padding: 0 8px;
    border-radius: var(--pwcu-radius) 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pwcu__card--right .pwcu__card-badge {
    left: auto;
    right: -1px;
    border-radius: 0 var(--pwcu-radius) 0 10px;
}

/* Icon circle */
.pwcu__card-icon-wrap {
    flex-shrink: 0;
    margin-top: 20px;
    width: 52px;
    height: 52px;
    background: rgba(26,158,143,.09);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pwcu-icon);
    font-size: 22px;
    transition: background var(--pwcu-transition);
    border: 1.5px solid rgba(26,158,143,.18);
}
.pwcu__card:hover .pwcu__card-icon-wrap {
    background: rgba(26,158,143,.16);
}
.pwcu__card-icon-wrap i,
.pwcu__card-icon-wrap svg { width: 22px; height: 22px; }

/* Card body */
.pwcu__card-body {
    flex: 1;
    padding-top: 0px;
}

/* Title – teal color matching screenshot */
.pwcu__card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--pwcu-primary);
    margin: 0 0 0;
    line-height: 1.35;
}

/* Teal underline accent below title */
.pwcu__card-title::after {
    content: '';
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--pwcu-primary);
    border-radius: 2px;
    margin-top: 7px;
    margin-bottom: 7px;
}

.pwcu__card-desc {
    font-size: 12.5px;
    color: var(--pwcu-muted);
    line-height: 1.68;
    margin: 0;
}

/* Arrow – mobile only */
.pwcu__card-arrow {
    display: none;
    flex-shrink: 0;
    font-size: 22px;
    color: var(--pwcu-primary);
    line-height: 1;
    align-self: center;
}

/* Accordion */
.pwcu__card-desc--accordion { display: none; }
.pwcu__card-desc--accordion:not([hidden]) { display: block; }

/* ================================================================
   CONNECTOR LINES – SVG overlay drawn by script.js
   The SVG covers the full body area so lines reach from any
   card mid-point to the exact orbit-ring edge (all 6 cards).
   ================================================================ */
.pwcu__connector-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}
/* Cards and center sit above the SVG */
.pwcu__col,
.pwcu__center { position: relative; z-index: 2; }

/* ================================================================
   CENTER IMAGE
   ================================================================ */
.pwcu__center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    z-index: 3;
    position: relative;
}

.pwcu__orbit-wrap {
    position: relative;
    width: 300px;
    height: 300px;
}

.pwcu__orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(26,158,143,.30);
    animation: pwcu-spin 28s linear infinite;
}
@keyframes pwcu-spin { to { transform: rotate(360deg); } }

.pwcu__orbit-dot {
    position: absolute;
	display:none;
    width: 11px;
    height: 11px;
    background: var(--pwcu-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(26,158,143,.2);
    top: 50%;
    left: 50%;
    transform:
        rotate(calc(var(--i) * 60deg))
        translateX(150px)
        rotate(calc(var(--i) * -60deg))
        translate(-50%, -50%);
}

.pwcu__img-wrap {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    overflow: hidden;
    background: #c5e5e1;
    border: 6px solid #fff;
    box-shadow: 0 8px 40px rgba(0,0,0,.14);
}
.pwcu__img-wrap img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .6s ease;
}
.pwcu__img-wrap:hover img { transform: scale(1.04); }

/* ================================================================
   STATS BAR
   ================================================================ */
.pwcu__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: #cde9ec;
    border-radius: 14px;
    padding: 26px 40px;
    max-width: 960px;
    margin: 0 auto;
}
.pwcu__stats-sep {
    width: 1px;
    height: 50px;
    background: rgba(26,158,143,.28);
    margin: 0 40px;
}
.pwcu__stat {
    display: flex;
    align-items: center;
    gap: 14px;
}
.pwcu__stat-icon {
    color: var(--pwcu-primary);
    font-size: 28px;
    line-height: 1;
}
.pwcu__stat-icon i, .pwcu__stat-icon svg { width: 30px; height: 30px; }
.pwcu__stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.pwcu__stat-text strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--pwcu-secondary);
}
.pwcu__stat-text span {
    font-size: 13px;
    color: var(--pwcu-muted);
    font-weight: 600;
}

/* ==========================================================
   TABLET  ≤ 1024px
   ========================================================== */
@media (max-width: 1024px) {
    .pwcu__body { grid-template-columns: 1fr 260px 1fr; }
    .pwcu__orbit-wrap { width: 260px; height: 260px; }
    .pwcu__orbit-dot {
        transform:
            rotate(calc(var(--i) * 60deg))
            translateX(130px)
            rotate(calc(var(--i) * -60deg))
            translate(-50%,-50%);
    }
    .pwcu__card { margin-right: 20px; }
    .pwcu__col--right .pwcu__card { margin-left: 20px; margin-right: 0; }
    .pwcu--lines .pwcu__col--left .pwcu__card::after  { right: -20px; width: 20px; }
    .pwcu--lines .pwcu__col--left .pwcu__card::before { right: -26px; }
    .pwcu--lines .pwcu__col--right .pwcu__card::after { left: -20px; width: 20px; }
    .pwcu--lines .pwcu__col--right .pwcu__card::before{ left: -26px; }
}

/* ==========================================================
   MOBILE  ≤ 768px
   Card layout matches Image 2:
   badge | icon-circle | title+desc | chevron-arrow
   SVG connectors completely hidden.
   ========================================================== */
@media (max-width: 768px) {

    .pwcu { padding: 24px 14px 24px; }
    .pwcu__header { margin-bottom: 18px; }
    .pwcu__heading { font-size: 20px; }
    .pwcu__desc { font-size: 13px; }
	
	.pwcu__col{
		gap: 15px!important;
	}
	
	.pwcu__col.pwcu__col--right {
		margin-top: 20px;
	}
	
    /* ── Kill SVG connectors on mobile ── */
    .pwcu__connector-svg { display: none !important; }
    .pwcu__card::before,
    .pwcu__card::after   { display: none !important; }

    /* ── Body: single column stack ── */
    .pwcu__body {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 18px;
    }

    /* Center image first */
    .pwcu__center { order: -1; margin-bottom: 16px; padding: 0; }
    .pwcu__orbit-wrap { width: 100%; height: 180px; }
    .pwcu__orbit-ring,
    .pwcu__orbit-dot { display: none; }
    .pwcu__img-wrap {
        position: relative;
        inset: auto;
        width: 100%;
        height: 180px;
        border-radius: 14px;
        border: none;
        box-shadow: 0 4px 18px rgba(0,0,0,.10);
    }

    /* ── Both columns: vertical list with gap ── */
    .pwcu__col { gap: 10px; }

    /* ── CARD RESET – clean white rounded card ── */
    .pwcu__card,
    .pwcu__col--right .pwcu__card {
        /* layout */
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        /* sizing */
        width: 100%;
        padding: 12px 12px 12px 10px;
        margin-right: 0 !important;
        margin-left:  0 !important;
        /* appearance */
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid rgba(26,158,143,.10);
        box-shadow: 0 2px 10px rgba(0,0,0,.06);
        /* kill desktop hover movement */
        transition: box-shadow .2s;
    }
    .pwcu__card:hover {
        transform: none;
        box-shadow: 0 4px 14px rgba(26,158,143,.11);
    }

    /* ── Badge – static left pill ── */
    .pwcu__card-badge,
    .pwcu__col--right .pwcu__card-badge {
        position: static;
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: -14px;
        margin-left: -10px;
        width: 32px;
        height: 28px;
        padding: 0 6px;
        font-size: 10px;
        font-weight: 700;
        border-radius: 7px;      /* simple rectangle, not corner-chip */
        background: var(--pwcu-badge);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ── Icon circle – compact, vertically centered ── */
    .pwcu__card-icon-wrap {
        flex-shrink: 0;
        margin-top: 0;           /* remove desktop top offset */
		margin-left: -30px;
        align-self: center;
        width: 44px;
        height: 44px;
        font-size: 18px;
        background: rgba(26,158,143,.09);
        border: 1.5px solid rgba(26,158,143,.18);
    }
    .pwcu__card-icon-wrap i,
    .pwcu__card-icon-wrap svg { width: 19px; height: 19px; }

    /* ── Card body ── */
    .pwcu__card-body {
        flex: 1;
        min-width: 0;
        padding-top: 0;          /* reset desktop padding */
    }
    .pwcu__card-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--pwcu-primary);
        line-height: 1.3;
        margin-bottom: 0;
    }
    .pwcu__card-title::after {
        width: 20px;
        height: 2px;
        margin-top: 4px;
        margin-bottom: 4px;
    }
    .pwcu__card-desc {
        font-size: 11px;
        color: var(--pwcu-muted);
        line-height: 1.6;
        display: block !important;   /* always visible on mobile */
        margin: 0;
    }

    /* ── Chevron arrow – right side ── */
    .pwcu__card-arrow {
        display: flex;
        flex-shrink: 0;
        align-self: center;
        font-size: 18px;
        color: var(--pwcu-primary);
        opacity: .7;
    }

    /* Accordion: hide desktop-only desc block */
    .pwcu__card--accordion .pwcu__card-desc--desktop { display: none; }
    .pwcu__card--accordion .pwcu__card-desc--accordion:not([hidden]) {
        display: block;
        margin-top: 4px;
    }

    /* ── Stats: 2×2 grid ── */
    .pwcu__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding: 18px;
    }
    .pwcu__stats-sep { display: none; }
    .pwcu__stat { flex-direction: column; text-align: center; gap: 5px; }
    .pwcu__stat-text strong { font-size: 17px; }
    .pwcu__stat-text span   { font-size: 11px; }
}
/* end mobile */