/* ============================================================
   NHS Prescription Delivery Page – Dedicated Styles
   Extends the PillCare design system (style.css)
   ============================================================ */

/* ============================================================
   PAGE HERO
   ============================================================ */
.nhs-hero {
    background: linear-gradient(135deg, #e8f4fd 0%, #e0f7f4 40%, #f0f4ff 70%, #f7fbff 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    position: relative;
    min-height: 85dvh;
    display: flex;
    align-items: center;
}

.nhs-hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 160, .06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

.nhs-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 110, 189, .05) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.nhs-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.nhs-hero__title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    color: var(--clr-dark);
    margin-bottom: 1.5rem;
}

.nhs-hero__title span {
    color: var(--clr-primary);
}

.nhs-hero__text {
    font-size: 1.05rem;
    color: var(--clr-muted);
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.nhs-hero__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual – animated floating elements */
.nhs-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nhs-hero__graphic {
    position: relative;
    width: 380px;
    height: 380px;
}

.nhs-hero__center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(10, 110, 189, .3);
    animation: pulse 3s ease-in-out infinite;
}

.nhs-hero__center-icon svg {
    width: 50px;
    height: 50px;
    stroke: #fff;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 12px 40px rgba(10, 110, 189, .3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 16px 56px rgba(10, 110, 189, .4);
    }
}

/* Floating cards */
.nhs-float {
    position: absolute;
    background: var(--clr-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: .75rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--clr-dark);
    white-space: nowrap;
    z-index: 2;
}

.nhs-float svg {
    width: 22px;
    height: 22px;
    stroke: var(--clr-accent);
    flex-shrink: 0;
}

.nhs-float--pouch {
    top: 30px;
    left: -20px;
    animation: floatY 3s ease-in-out infinite;
}

.nhs-float--delivery {
    bottom: 40px;
    /* right: -30px; */
    animation: floatY 3.5s ease-in-out infinite reverse;
}

.nhs-float--check {
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    animation: floatY 4s ease-in-out infinite;
}

/* Decorative rings */
.nhs-hero__graphic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(10, 110, 189, 0.12);
    animation: spin 30s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.nhs-hero__graphic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(10, 110, 189, 0.12);
    animation: spin-counter 30s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.nhs-hero__graphic .inner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 220px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 180, 160, 0.15);
    pointer-events: none;
    z-index: 1;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-counter {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}


/* ============================================================
   WHAT YOU CAN EXPECT
   ============================================================ */
.nhs-expect {
    background: var(--clr-white);
}

.nhs-expect__inner {
    text-align: center;
}

.nhs-expect__header {
    margin-bottom: 3rem;
}

.nhs-expect__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.nhs-expect__card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.nhs-expect__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-accent-lt));
    opacity: 0;
    transition: opacity var(--transition);
}

.nhs-expect__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary);
}

.nhs-expect__card:hover::before {
    opacity: 1;
}

.nhs-expect__card>* {
    position: relative;
}

.nhs-expect__card--wide {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
}

.nhs-expect__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-accent-lt));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: background var(--transition);
}

.nhs-expect__card:hover .nhs-expect__icon {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
}

.nhs-expect__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--clr-primary);
    transition: stroke var(--transition);
}

.nhs-expect__card:hover .nhs-expect__icon svg {
    stroke: var(--clr-white);
}

.nhs-expect__card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--clr-dark);
    margin-bottom: .5rem;
}

.nhs-expect__card p {
    font-size: .9rem;
    color: var(--clr-muted);
    line-height: 1.6;
}


/* ============================================================
   HOW IT WORKS – SPLIT INTERACTIVE TIMELINE
   ============================================================ */
.nhs-steps {
    background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-white) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Background animated glow blob */
.nhs-steps::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(10, 110, 189, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: steps-pulse-glow 12s ease-in-out infinite alternate;
}

@keyframes steps-pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.nhs-steps__header {
    text-align: center;
    max-width: 100% !important;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Interactive Layout Grid (Desktop) */
.nhs-steps__interactive {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    align-items: start;
}

/* Navigation Left Column */
.nhs-steps__nav-col {
    position: sticky;
    top: 120px;
    /* offset to stay nice while scrolling */
}

.nhs-steps__nav {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Vertical Timeline Track behind buttons */
.nhs-steps__nav::before {
    content: '';
    position: absolute;
    left: 45px;
    /* aligns exactly with number circles center: padding 1rem (16px) + 56px/2 (28px) - 6px/2 border correction */
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: rgba(10, 110, 189, 0.1);
    z-index: 1;
}

/* Timer Progress Line */
.nhs-steps__progress-line {
    position: absolute;
    left: 45px;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-primary), var(--clr-accent));
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(10, 110, 189, 0.4), 0 0 12px rgba(0, 180, 160, 0.3);
    transition: height 0.05s linear;
}

/* Individual Tab Button */
.nhs-steps__nav-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: transparent;
    border: none;
    padding: 1rem 1.25rem;
    text-align: left;
    cursor: pointer;
    width: 100%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    outline: none;
    border-radius: 14px;
    margin-bottom: 0.75rem;
}

.nhs-steps__nav-btn:hover {
    background: rgba(10, 110, 189, 0.035);
}

/* Number Circle inside Button */
.nhs-steps__nav-btn-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-muted);
    background: var(--clr-white);
    border: 2px solid rgba(10, 110, 189, 0.15);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nhs-steps__nav-btn-num::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 180, 160, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

/* Nav Button Text */
.nhs-steps__nav-btn-text {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-muted);
    line-height: 1.35;
    transition: all 0.3s ease;
}

/* Active State of Nav Button */
.nhs-steps__nav-btn.active {
    background: rgba(10, 110, 189, 0.05);
}

.nhs-steps__nav-btn.active .nhs-steps__nav-btn-num {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    color: var(--clr-white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(10, 110, 189, 0.2);
}

.nhs-steps__nav-btn.active .nhs-steps__nav-btn-num::before {
    opacity: 1;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-color: var(--clr-accent);
}

.nhs-steps__nav-btn.active .nhs-steps__nav-btn-text {
    color: var(--clr-primary);
}

/* Content Columns */
.nhs-steps__panes-col {
    position: relative;
    min-height: 480px;
    /* Prevent layout height shifts */
}

/* Details Pane */
.nhs-steps__pane {
    display: none;
    width: 100%;
}

.nhs-steps__pane.active {
    display: block;
    animation: pane-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pane-fade-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge visible only on mobile/stacked mode */
.nhs-steps__pane-badge {
    display: none;
}

/* Glassmorphic step card */
.nhs-step__card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(221, 232, 240, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(10, 110, 189, 0.04), 0 1px 3px rgba(10, 110, 189, 0.02);
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: all 0.3s ease;
}

.nhs-step__card:hover {
    border-color: rgba(10, 110, 189, 0.25);
    box-shadow: 0 20px 45px rgba(10, 110, 189, 0.08);
}

/* Large decorative background number */
.nhs-step__bg-number {
    position: absolute;
    right: 2rem;
    top: 1rem;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(10, 110, 189, 0.035);
    font-family: var(--font-head);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.nhs-step__title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--clr-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.nhs-step__desc {
    font-size: 1rem;
    color: var(--clr-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.nhs-step__list {
    position: relative;
    z-index: 2;
}

.nhs-step__list h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.nhs-step__list ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    list-style: none;
    padding-left: 0;
}

.nhs-step__list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: var(--clr-text);
    line-height: 1.5;
}

.nhs-step__list li svg {
    width: 10px;
    height: 10px;
    stroke: var(--clr-accent);
    stroke-width: 3.5px;
    background: rgba(0, 180, 160, 0.08);
    padding: 6px;
    box-sizing: content-box;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nhs-steps__pane.active:hover .nhs-step__list li svg {
    transform: scale(1.15) rotate(10deg);
    background: rgba(0, 180, 160, 0.15);
}

.nhs-step__note {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 1.4rem;
    background: linear-gradient(135deg, rgba(10, 110, 189, 0.03) 0%, rgba(0, 180, 160, 0.01) 100%);
    border-left: 4px solid var(--clr-primary);
    border-radius: 4px 12px 12px 4px;
    font-size: 0.9rem;
    color: var(--clr-muted);
    line-height: 1.6;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.nhs-step__note svg {
    width: 20px;
    height: 20px;
    stroke: var(--clr-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}


/* ============================================================
   RESPONSIVE OVERRIDES (MOBILE & TABLET COLLAPSE)
   ============================================================ */
@media (max-width: 991.98px) {
    .nhs-steps {
        padding: 60px 0;
    }

    .nhs-steps__interactive {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 650px;
    }

    /* Hide Desktop Navigation Column completely on Mobile */
    .nhs-steps__nav-col {
        display: none;
    }

    /* Reformat Right Column to standard vertical timeline list */
    .nhs-steps__panes-col {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        position: relative;
        min-height: auto;
        padding-left: 80px;
        /* Space for the timeline line and circles */
    }

    /* Vertical Timeline track line on mobile */
    .nhs-steps__panes-col::before {
        content: '';
        position: absolute;
        left: 28px;
        /* half of 56px badge width */
        top: 10px;
        bottom: 10px;
        width: 2px;
        background: linear-gradient(180deg, var(--clr-primary-lt) 0%, var(--clr-accent-lt) 100%);
        z-index: 1;
    }

    /* All Panes visible on Mobile */
    .nhs-steps__pane {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        position: relative;
    }

    /* Show step number circle on mobile timeline */
    .nhs-steps__pane-badge {
        display: flex;
        position: absolute;
        left: -80px;
        top: 0;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
        align-items: center;
        justify-content: center;
        z-index: 3;
        box-shadow: 0 4px 15px rgba(10, 110, 189, 0.2);
    }

    .nhs-steps__pane-badge::before {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50%;
        border: 2px solid rgba(0, 180, 160, 0.25);
    }

    .nhs-steps__pane-badge span {
        font-family: var(--font-head);
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--clr-white);
    }

    /* Reset card paddings for mobile viewports */
    .nhs-step__card {
        padding: 1.75rem 1.5rem;
    }

    .nhs-step__title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .nhs-step__desc {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }

    .nhs-step__list h4 {
        margin-bottom: 0.75rem;
    }

    .nhs-step__list ul {
        gap: 0.6rem;
        margin-bottom: 1.25rem;
    }

    .nhs-step__list li {
        font-size: 0.9rem;
    }

    .nhs-step__bg-number {
        font-size: 6rem;
        right: 1rem;
        top: 0.5rem;
    }
}


/* ============================================================
   WHY CHOOSE PILLCARE – BENEFITS
   ============================================================ */
.nhs-benefits {
    background: var(--clr-white);
}

.nhs-benefits__header {
    text-align: center;
    max-width: 100%;
    margin: 0;
}

.nhs-benefits__header .section-subtitle {
    margin-inline: auto;
}

.nhs-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.nhs-benefit-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.nhs-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--clr-primary), var(--clr-accent));
    opacity: 0;
    transition: opacity var(--transition);
}

.nhs-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary);
}

.nhs-benefit-card:hover::before {
    opacity: 1;
}

.nhs-benefit-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-accent-lt));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background var(--transition);
}

.nhs-benefit-card:hover .nhs-benefit-card__icon {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
}

.nhs-benefit-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--clr-primary);
    transition: stroke var(--transition);
}

.nhs-benefit-card:hover .nhs-benefit-card__icon svg {
    stroke: var(--clr-white);
}

.nhs-benefit-card__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--clr-dark);
    margin-bottom: .6rem;
}

.nhs-benefit-card__text {
    font-size: .92rem;
    color: var(--clr-muted);
    line-height: 1.7;
    margin-bottom: .75rem;
}

.nhs-benefit-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .75rem;
}

.nhs-benefit-card__tags span {
    display: inline-block;
    font-size: .73rem;
    font-weight: 600;
    color: var(--clr-accent);
    background: var(--clr-accent-lt);
    padding: .2rem .65rem;
    border-radius: var(--radius-pill);
}

.nhs-benefit-card__checklist {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: .75rem;
}

.nhs-benefit-card__checklist span {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .88rem;
    color: var(--clr-text);
}

.nhs-benefit-card__checklist svg {
    width: 16px;
    height: 16px;
    stroke: var(--clr-accent);
    flex-shrink: 0;
}


/* ============================================================
   WHAT'S INCLUDED
   ============================================================ */
.nhs-included {
    background: radial-gradient(circle at 100% 0%, #153c48 0%, #08171d 100%);
    color: var(--clr-white);
    overflow: hidden;
    position: relative;
}

.nhs-included::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 160, .04) 0%, transparent 70%);
    bottom: -300px;
    right: -200px;
    pointer-events: none;
}

.nhs-included__layout {
    display: grid;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .nhs-included__layout {
        grid-template-columns: 1fr 380px 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 1.25rem 2rem;
        align-items: center;
    }

    .nhs-included__visual {
        grid-column: 2;
        grid-row: 1 / span 4;
        justify-self: center;
        align-self: center;
    }

    /* Left column items placement */
    .nhs-included-card:nth-child(1),
    .nhs-included-card:nth-child(3),
    .nhs-included-card:nth-child(5),
    .nhs-included-card:nth-child(7) {
        grid-column: 1;
    }

    /* Right column items placement */
    .nhs-included-card:nth-child(2),
    .nhs-included-card:nth-child(4),
    .nhs-included-card:nth-child(6),
    .nhs-included-card:nth-child(8) {
        grid-column: 3;
    }

    /* Rows and horizontal translations to form a curve around the center circle */
    .nhs-included-card:nth-child(1) {
        grid-row: 1;
        transform: translateX(35px);
    }

    .nhs-included-card:nth-child(2) {
        grid-row: 1;
        transform: translateX(-35px);
    }

    .nhs-included-card:nth-child(3) {
        grid-row: 2;
        transform: translateX(0);
    }

    .nhs-included-card:nth-child(4) {
        grid-row: 2;
        transform: translateX(0);
    }

    .nhs-included-card:nth-child(5) {
        grid-row: 3;
        transform: translateX(0);
    }

    .nhs-included-card:nth-child(6) {
        grid-row: 3;
        transform: translateX(0);
    }

    .nhs-included-card:nth-child(7) {
        grid-row: 4;
        transform: translateX(35px);
    }

    .nhs-included-card:nth-child(8) {
        grid-row: 4;
        transform: translateX(-35px);
    }

    /* Custom hover translates to match the layout curve transitions */
    .nhs-included-card:nth-child(1):hover,
    .nhs-included-card:nth-child(7):hover {
        transform: translate(35px, -4px) scale(1.02);
    }

    .nhs-included-card:nth-child(2):hover,
    .nhs-included-card:nth-child(8):hover {
        transform: translate(-35px, -4px) scale(1.02);
    }

    .nhs-included-card:nth-child(3):hover,
    .nhs-included-card:nth-child(5):hover {
        transform: translate(-10px, -4px) scale(1.02);
    }

    .nhs-included-card:nth-child(4):hover,
    .nhs-included-card:nth-child(6):hover {
        transform: translate(10px, -4px) scale(1.02);
    }
}

.nhs-included .section-label {
    background: rgba(255, 255, 255, .08);
    color: var(--clr-accent);
    border: 1px solid rgba(0, 180, 160, 0.2);
}

.nhs-included .section-title {
    color: var(--clr-white);
}

/* Glassmorphism Card Style */
.nhs-included-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.nhs-included-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, var(--icon-accent, var(--clr-accent)), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

/* Card Hover Interactions */
.nhs-included-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--icon-accent-rgb, 0, 180, 160), 0.12);
}

.nhs-included-card:hover::before {
    opacity: 0.15;
}

/* Card details and text */
.nhs-included-card__details {
    position: relative;
    z-index: 2;
}

.nhs-included-card__details h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.25rem;
}

.nhs-included-card__details p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* Card Icon Wrap */
.nhs-included-card__icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--icon-accent, var(--clr-accent));
}

.nhs-included-card__icon-wrapper svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: transform 0.35s ease;
}

.nhs-included-card:hover .nhs-included-card__icon-wrapper {
    background: var(--icon-accent, var(--clr-accent));
    border-color: transparent;
    color: var(--clr-white);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.nhs-included-card:hover .nhs-included-card__icon-wrapper svg {
    transform: scale(1.1) rotate(5deg);
}

.nhs-included__note {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, .04);
    border-radius: var(--radius-md);
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, .08);
}

.nhs-included__note svg {
    width: 18px;
    height: 18px;
    stroke: var(--clr-accent);
    flex-shrink: 0;
    margin-top: .15rem;
}

/* Visualizer Container */
.nhs-included__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nhs-included__visualizer {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Visualizer Glow */
.nhs-included__visual-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 160, 0.28) 0%, rgba(59, 130, 246, 0.18) 50%, transparent 72%);
    filter: blur(20px);
    z-index: 1;
    animation: glow-pulse 6s ease-in-out infinite;
}

/* Orbits */
.nhs-included__orbit {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    background: transparent;
}

.nhs-included__orbit--outer {
    width: 320px;
    height: 320px;
    border: 2px solid rgba(59, 130, 246, 0.08);
    border-top-color: rgba(59, 130, 246, 0.45);
    border-right-color: rgba(139, 92, 246, 0.45);
    border-bottom-color: rgba(239, 68, 68, 0.45);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.2));
    animation: rotate-clockwise 40s linear infinite;
}

.nhs-included__orbit--inner {
    width: 240px;
    height: 240px;
    border: 2px solid rgba(16, 185, 129, 0.08);
    border-bottom-color: rgba(16, 185, 129, 0.45);
    border-left-color: rgba(0, 180, 160, 0.45);
    border-top-color: rgba(245, 158, 11, 0.45);
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.2));
    animation: rotate-counter-clockwise 30s linear infinite;
}

/* PillCare Smart Sachet (Central card) */
.nhs-included__sachet {
    position: relative;
    z-index: 4;
    width: 200px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.15rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: perspective(800px) rotateY(-15deg) rotateX(10deg);
    animation: float-card 5s ease-in-out infinite;
    transition: all 0.5s ease;
}

.nhs-included__sachet:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.05);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 25px 55px rgba(0, 180, 160, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nhs-included__sachet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.4rem;
    margin-bottom: 0.6rem;
}

.nhs-included__sachet-brand {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--clr-white);
    letter-spacing: 0.5px;
}

.nhs-included__sachet-badge {
    font-size: 0.6rem;
    font-weight: 600;
    background: rgba(0, 180, 160, 0.15);
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
    padding: 1px 5px;
    border-radius: var(--radius-pill);
}

.nhs-included__sachet-body {
    margin-bottom: 0.6rem;
}

.nhs-included__sachet-patient {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 0.15rem;
}

.nhs-included__sachet-time {
    font-size: 0.68rem;
    color: var(--clr-accent);
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.nhs-included__sachet-meds {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nhs-included__sachet-med {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 0.4rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nhs-included__sachet-qty {
    color: var(--clr-accent);
    font-weight: 700;
    font-size: 0.65rem;
}

.nhs-included__sachet-meta {
    margin-top: 0.65rem;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
    border-top: 1px dotted rgba(255, 255, 255, 0.12);
    padding-top: 0.5rem;
}

.nhs-included__sachet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 0.45rem;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
}

.nhs-included__sachet-barcode {
    width: 40px;
    height: 10px;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.6) 0px,
            rgba(255, 255, 255, 0.6) 1px,
            transparent 1px,
            transparent 3px,
            rgba(255, 255, 255, 0.6) 3px,
            rgba(255, 255, 255, 0.6) 4px,
            transparent 4px,
            transparent 5px);
}

/* Floating badge particles */
.nhs-included__particle {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(8, 22, 28, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.nhs-included__particle svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.nhs-included__particle:hover {
    box-shadow: 0 0 25px currentColor, inset 0 0 10px currentColor;
    filter: brightness(1.25);
}

.nhs-included__particle--shield {
    top: 45px;
    right: 30px;
    color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35), inset 0 0 6px rgba(16, 185, 129, 0.25);
    animation: float-particle-1 6s ease-in-out infinite;
}

.nhs-included__particle--clock {
    bottom: 45px;
    left: 35px;
    color: #00B4A0;
    box-shadow: 0 0 15px rgba(0, 180, 160, 0.35), inset 0 0 6px rgba(0, 180, 160, 0.25);
    animation: float-particle-2 8s ease-in-out infinite;
}

.nhs-included__particle--pill {
    bottom: 90px;
    right: 15px;
    color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.35), inset 0 0 6px rgba(59, 130, 246, 0.25);
    animation: float-particle-3 7s ease-in-out infinite;
}

.nhs-included__particle--heart {
    top: 45px;
    left: 30px;
    color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.35), inset 0 0 6px rgba(239, 68, 68, 0.25);
    animation: float-particle-4 6.5s ease-in-out infinite;
}

.nhs-included__particle--drop {
    top: 300px;
    right: 110px;
    color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35), inset 0 0 6px rgba(245, 158, 11, 0.25);
    animation: float-particle-5 7.5s ease-in-out infinite;
}

/* Keyframes for animations */
@keyframes glow-pulse {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes rotate-clockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate-counter-clockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes float-card {

    0%,
    100% {
        transform: perspective(800px) rotateY(-15deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: perspective(800px) rotateY(-13deg) rotateX(12deg) translateY(-8px);
    }
}

@keyframes float-particle-1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(8deg);
    }
}

@keyframes float-particle-2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(-10deg);
    }
}

@keyframes float-particle-3 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-6px) rotate(12deg);
    }
}

@keyframes float-particle-4 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(-6deg);
    }
}

@keyframes float-particle-5 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-14px) rotate(10deg);
    }
}


/* ============================================================
   WHO WE HELP
   ============================================================ */
.nhs-who {
    background: var(--clr-bg);
}

.nhs-who__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.nhs-who__header .section-subtitle {
    margin-inline: auto;
}

.nhs-who__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.nhs-who__card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.nhs-who__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.nhs-who__card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-accent-lt));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: background var(--transition);
}

.nhs-who__card:hover .nhs-who__card-icon {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
}

.nhs-who__card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--clr-primary);
    transition: stroke var(--transition);
}

.nhs-who__card:hover .nhs-who__card-icon svg {
    stroke: var(--clr-white);
}

.nhs-who__card h3 {
    font-family: var(--font-head);
    font-size: 1.02rem;
    color: var(--clr-dark);
    margin-bottom: .5rem;
}

.nhs-who__card p {
    font-size: .88rem;
    color: var(--clr-muted);
    line-height: 1.7;
}


/* ============================================================
   NHS CONNECTION
   ============================================================ */
.nhs-connection {
    background: var(--clr-white);
    padding: 80px 0;
    overflow: hidden;
}

.nhs-connection__inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}

.nhs-connection__content {
    display: flex;
    flex-direction: column;
}

.nhs-connection__desc {
    font-size: 1rem;
    color: var(--clr-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.nhs-connection__how {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--clr-muted);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    padding: 1.25rem;
    background: var(--clr-primary-lt);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--clr-primary);
    box-shadow: 0 4px 16px rgba(10, 110, 189, 0.04);
}

.nhs-connection__how-icon {
    width: 24px;
    height: 24px;
    stroke: var(--clr-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.nhs-connection__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nhs-connection-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(221, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(10, 110, 189, 0.03);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.nhs-connection-card:nth-child(1) {
    --card-theme: #00B4A0;
}

.nhs-connection-card:nth-child(2) {
    --card-theme: #0A6EBD;
}

.nhs-connection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10, 110, 189, 0.08);
    border-color: rgba(10, 110, 189, 0.2);
}

.nhs-connection-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.nhs-connection-card__icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nhs-connection-card__icon-wrapper svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.nhs-connection-card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--clr-dark);
    font-weight: 700;
    margin: 0;
}

.nhs-connection-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.nhs-connection-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--clr-text);
    line-height: 1.4;
}

.nhs-connection-card li svg {
    width: 14px;
    height: 14px;
    stroke: var(--card-theme);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.nhs-connection__goal {
    font-size: 0.95rem;
    color: var(--clr-dark);
    font-weight: 600;
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
    background: var(--clr-accent-lt);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--clr-accent);
    box-shadow: 0 4px 16px rgba(0, 180, 160, 0.03);
}

/* --- Animated Connection Diagram --- */
.nhs-connection__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.nhs-connection__diagram {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
}

.diagram-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(10, 110, 189, 0.08) 0%, rgba(0, 180, 160, 0.04) 55%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.diagram-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.diagram-node {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 2;
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.diagram-node:hover {
    transform: translate(-50%, -58%);
}

.diagram-node--gp {
    left: 15%;
    top: 60%;
    --node-border: var(--clr-primary);
    --node-color: var(--clr-primary);
}

.diagram-node--center {
    left: 50%;
    top: 46.67%;
    width: 76px;
    height: 76px;
    --node-border: var(--clr-white);
    --node-color: var(--clr-white);
}

.diagram-node--pharmacy {
    left: 85%;
    top: 33.33%;
    --node-border: var(--clr-accent);
    --node-color: var(--clr-accent);
}

.diagram-node__icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--clr-white);
    border: 2px solid var(--node-border);
    box-shadow: 0 8px 24px rgba(10, 110, 189, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--node-color);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.diagram-node__icon svg {
    width: 26px;
    height: 26px;
}

.diagram-node--center .diagram-node__icon {
    background: var(--clr-primary);
    border-width: 3px;
    flex-direction: column;
    box-shadow: 0 10px 28px rgba(10, 110, 189, 0.22);
}

.diagram-node--center:hover .diagram-node__icon {
    background: var(--clr-primary-dk);
    box-shadow: 0 12px 32px rgba(10, 110, 189, 0.3);
}

.diagram-node__nhs-text {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.5px;
}

.diagram-node__eps-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
    opacity: 0.9;
}

.diagram-node__label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-dark);
    text-align: center;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.diagram-node:hover .diagram-node__label {
    transform: translateX(-50%) translateY(2px);
}

/* Pulsing Rings for Center Hub */
.diagram-node__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px solid rgba(10, 110, 189, 0.15);
    pointer-events: none;
    z-index: 0;
}

.diagram-node__ring--1 {
    width: 96px;
    height: 96px;
    animation: hub-pulse 3s infinite linear;
}

.diagram-node__ring--2 {
    width: 120px;
    height: 120px;
    animation: hub-pulse 3s infinite linear;
    animation-delay: 1.5s;
}

@keyframes hub-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Floating Security Tag */
.diagram-tag {
    position: absolute;
    top: 15px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(232, 244, 253, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(10, 110, 189, 0.15);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(10, 110, 189, 0.06);
    z-index: 3;
    animation: tag-float 4s ease-in-out infinite alternate;
}

.diagram-tag svg {
    width: 13px;
    height: 13px;
    stroke: var(--clr-primary);
}

.diagram-tag span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-primary-dk);
    white-space: nowrap;
}

@keyframes tag-float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-6px);
    }
}


/* ============================================================
   TRUST SIGNALS
   ============================================================ */
.nhs-trust {
    background: var(--clr-bg);
    padding: 60px 0;
}

.nhs-trust__inner {
    text-align: center;
}

.nhs-trust__inner .section-title {
    margin-bottom: 2.5rem;
}

.nhs-trust__badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.nhs-trust__badge {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.nhs-trust__badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.nhs-trust__badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.nhs-trust__badge-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--clr-white);
}

.nhs-trust__badge span {
    font-size: .88rem;
    font-weight: 600;
    color: var(--clr-dark);
    line-height: 1.4;
}

/* 01-07 */

.promise_title, .process_des {
    text-align: left;
}
/* ============================================================
   SUBSCRIPTION DISCLAIMER
   ============================================================ */
.nhs-sub-disclaimer {
    font-size: .88rem;
    color: var(--clr-muted);
    max-width: 560px;
    margin: .5rem auto 0;
    text-align: center;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nhs-trust__badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .nhs-who__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .nhs-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nhs-hero__text {
        margin-inline: auto;
    }

    .nhs-hero__actions {
        justify-content: center;
    }

    .nhs-hero__visual {
        display: none;
    }

    .nhs-hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .nhs-benefits__grid {
        grid-template-columns: 1fr;
    }

    .nhs-included__layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .nhs-included__visual {
        grid-column: 1 / -1;
        order: -1;
        justify-content: center;
        display: flex;
        margin-bottom: 2rem;
    }

    .nhs-included-card:hover {
        transform: translateY(-4px);
    }

    .nhs-connection__inner {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nhs-steps__timeline {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .nhs-steps__svg-container {
        display: none;
    }

    .nhs-steps__timeline::before {
        display: block;
        left: 28px;
        transform: none;
        top: 20px;
        bottom: 20px;
    }

    .nhs-step {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        width: 100%;
        padding-bottom: 2rem;
    }

    .nhs-step:last-child {
        padding-bottom: 0;
    }

    .nhs-step__number {
        width: 56px;
        height: 56px;
        margin-bottom: 0;
        box-shadow: 0 4px 12px rgba(10, 110, 189, 0.2);
    }

    .nhs-step__number::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-width: 1.5px;
    }

    .nhs-step__number span {
        font-size: 1.05rem;
    }

    .nhs-step__card {
        padding: 1.75rem;
        display: block;
        width: auto;
    }

    .nhs-step__note {
        margin-top: 1.25rem;
    }

    .nhs-step:hover .nhs-step__card {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

    .nhs-step:hover .nhs-step__number::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }

    .nhs-who__grid {
        grid-template-columns: 1fr;
    }

    .nhs-connection__cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .nhs-trust__badges {
        grid-template-columns: 1fr;
    }

    .nhs-included__layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nhs-included__visual {
        grid-column: 1;
        margin-bottom: 1.5rem;
    }

    .nhs-included__visualizer {
        transform: scale(0.9);
        margin: -15px 0;
    }

    .nhs-included-card:hover {
        transform: translateY(-3px) scale(1.01);
    }

    .nhs-expect__card--wide {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .nhs-hero {
        padding: 70px 0 50px;
    }

    .nhs-hero__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
}