﻿:root {
    --navy: #1b2c51;
    --navy-deep: #0f1f3a;
    --teal: #17c3b2;
    --teal-dim: #1B2C51;
    --coral: #ff6b5b;
    --amber: #ffb14e;
    --ink: #0d1b26;
    --muted: #6b7d8a;
    --line: #e9eef1;
}

body {
    font-family: 'Inter',sans-serif;
    /* color: var(--ink); */
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk',sans-serif;
}

/* Section eyebrow pills — used across every section */
.border.rounded-pill {
    border-color: var(--teal) !important;
    color: var(--teal-dim) !important;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

    .border.rounded-pill.text-light {
        color: var(--teal) !important;
    }

/* ---- Hero ---- */
.header.bg-dark {
    background: radial-gradient(circle at 85% 15%, rgba(23,195,178,.28), transparent 55%), linear-gradient(180deg, var(--navy) 0%, #16294a 45%, var(--navy-deep) 100%) !important;
    position: relative;
    overflow: hidden;
}

    .header.bg-dark::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
        background-size: 22px 22px;
        pointer-events: none;
    }

.header .display-4 {
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.header .row.g-4 {
    position: relative;
    z-index: 1;
}

.header .border-start.border-light {
    border-color: var(--teal) !important;
    border-width: 3px !important;
}

.header h2[data-toggle="counter-up"] {
    font-size: 2.4rem;
    font-weight: 700;
}

/* ---- Service cards ---- */
.service-item {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: 18px !important;
    box-shadow: 0 6px 18px rgba(15,30,50,.05);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    overflow: hidden;
}

    .service-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--teal), var(--navy));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
    }

    .service-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 34px rgba(15,30,50,.12);
    }

        .service-item:hover::before {
            transform: scaleX(1);
        }

    .service-item .rounded-circle {
        background: rgba(23,195,178,.12) !important;
    }

        .service-item .rounded-circle i {
            color: var(--teal-dim) !important;
        }

    .service-item h4 {
        font-size: 18px;
        font-weight: 700;
        color: var(--navy);
    }

/* ---- Feature ("Why Choose Us") dark band ---- */
.container-fluid.bg-dark.overflow-hidden {
    background: radial-gradient(circle at 10% 80%, rgba(23,195,178,.2), transparent 50%), linear-gradient(135deg, var(--navy), var(--navy-deep)) !important;
}

.feature-text .rounded-circle.bg-light {
    background: rgba(255,255,255,.14) !important;
}

    .feature-text .rounded-circle.bg-light i {
        color: var(--teal) !important;
    }

/* ---- Contact info cards ---- */
#dvContactUs .bg-light.rounded {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(15,30,50,.05);
}

#dvContactUs .rounded-circle.bg-white {
    background: rgba(23,195,178,.12) !important;
}

    #dvContactUs .rounded-circle.bg-white i {
        color: var(--teal-dim) !important;
    }

/* ---- Contact form card ---- */
#dvContactUs .col-lg-6 .bg-light.rounded.p-5 {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(15,30,50,.06);
}

#dvContactUs .form-control, #dvContactUs .form-select {
    border-radius: 10px;
    border-color: #e2e8ea;
    padding: .65rem .9rem;
}

    #dvContactUs .form-control:focus, #dvContactUs .form-select:focus {
        border-color: var(--teal);
        box-shadow: 0 0 0 .2rem rgba(23,195,178,.15);
    }

/* ---- Buttons ---- */
.btn-darks {
    background: linear-gradient(135deg, var(--navy), #16294a) !important;
    border: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    color: #fff
}

    .btn-darks:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(15,30,50,.2);
    }

    .btn-darks::before {
        content: '';
        position: absolute;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,.3);
        transform: skewX(-20deg);
        transition: .5s;
    }

    .btn-darks:hover::before {
        left: 120%;
    }

#Testimonial {
    margin-top: 10px;
}

/* ---- Floating Add Health Reading button ---- */
.hm-fab {
    position: fixed;
    right: 103px;
    bottom: 42px;
    width: 51px;
    height: 51px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    color: #fff;
    font-size: 24px;
    border: none;
    box-shadow: 0 10px 26px rgba(15,30,50,.28);
    z-index: 1050;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .hm-fab::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        box-shadow: 0 0 0 0 rgba(23,195,178,.55);
        animation: hm-fab-pulse 2.4s infinite;
    }

    .hm-fab:hover {
        transform: translateY(-4px) scale(1.06);
        box-shadow: 0 16px 34px rgba(15,30,50,.35);
        color: #fff;
    }

    .hm-fab .hm-fab-tip {
        position: absolute;
        right: 72px;
        top: 50%;
        transform: translateY(-50%) translateX(6px);
        background: var(--navy-deep);
        color: #fff;
        padding: 6px 14px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }

        .hm-fab .hm-fab-tip::after {
            content: "";
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border: 6px solid transparent;
            border-left-color: var(--navy-deep);
        }

    .hm-fab:hover .hm-fab-tip {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

@keyframes hm-fab-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(23,195,178,.5);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(23,195,178,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(23,195,178,0);
    }
}

@media (max-width: 576px) {
    .hm-fab {
        right: 96px;
        bottom: 42px;
        width: 51px;
        height: 51px;
        font-size: 20px;
    }

        .hm-fab .hm-fab-tip {
            display: none;
        }
}

.rating {
    direction: rtl;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

    .rating input {
        display: none;
    }

    .rating label {
        font-size: 2rem;
        color: #ccc;
        cursor: pointer;
    }

        .rating input:checked ~ label,
        .rating label:hover,
        .rating label:hover ~ label {
            color: gold;
        }







.profile-completion-modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 44, 81, 0.25);
}

.pcm-header {
    background: linear-gradient(135deg, #1b2c51 0%, #2d4373 100%);
    padding: 32px 24px 24px;
    text-align: center;
    position: relative;
}

.pcm-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

    .pcm-close:hover {
        background: rgba(255,255,255,0.22);
    }

.pcm-ring-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
}

.pcm-ring {
    transform: rotate(-90deg);
}

.pcm-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 8;
}

.pcm-ring-fg {
    fill: none;
    stroke: #ffb020;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 301.6;
    stroke-dashoffset: 301.6;
    transition: stroke-dashoffset 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.pcm-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

    .pcm-ring-text span {
        font-size: 24px;
    }

.pcm-title {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 6px;
}

.pcm-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    margin: 0;
    padding: 0 12px;
}

.pcm-body {
    padding: 20px 24px 8px;
}

.pcm-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #f7f8fb;
    transition: background 0.2s;
}

    .pcm-item.pcm-item-complete {
        background: #eefaf1;
    }

    .pcm-item.pcm-item-pending {
        background: #fff8ec;
    }

.pcm-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef0f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #1b2c51;
    flex-shrink: 0;
}

.pcm-item-complete .pcm-item-icon {
    background: #d6f2df;
    color: #1e9e52;
}

.pcm-item-pending .pcm-item-icon {
    background: #ffe9c2;
    color: #c9820b;
}

.pcm-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pcm-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1b2c51;
}

.pcm-item-desc {
    font-size: 12px;
    color: #8a8f9c;
}

.pcm-item-status {
    font-size: 18px;
}

.pcm-item-complete .pcm-item-status::before {
    content: "\F633";
    font-family: "bootstrap-icons";
    color: #1e9e52;
}

.pcm-item-pending .pcm-item-status::before {
    content: "\F623";
    font-family: "bootstrap-icons";
    color: #ffb020;
}

.pcm-footer {
    display: flex;
    gap: 10px;
    padding: 18px 24px 24px;
}

.pcm-btn-later {
    flex: 1;
    background: #f0f1f5;
    color: #5a5f6d;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .pcm-btn-later:hover {
        background: #e4e6ec;
    }

.pcm-btn-complete {
    flex: 1.4;
    background: linear-gradient(135deg, #1b2c51, #2d4373);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.2s;
}

    .pcm-btn-complete:hover {
        opacity: 0.9;
        color: #fff;
    }





/* ---- Health Monitor Modal ---- */
.hm-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 44, 81, 0.28);
}

.hm-header {
    background: radial-gradient(circle at 85% 0%, rgba(23,195,178,.35), transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 30px 24px 24px;
    text-align: center;
    position: relative;
}

.hm-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}

    .hm-close:hover {
        background: rgba(255,255,255,.22);
    }

.hm-header-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--teal);
}

.hm-title {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 4px;
}

.hm-subtitle {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    margin: 0;
}

.hm-body {
    padding: 24px 26px 8px;
    max-height: 60vh;
    overflow-y: auto;
}

/* ---- Tab bar ---- */
.hm-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    padding: 0 26px;
    gap: 4px;
}

.hm-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--muted);
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
    white-space: nowrap;
}

    .hm-tab-btn i {
        color: inherit;
    }

    .hm-tab-btn:hover {
        color: var(--navy);
        background: #f7fafb;
    }

    .hm-tab-btn.active {
        color: var(--navy);
        border-bottom-color: var(--teal);
    }

/* ---- Tab content ---- */
.hm-tab-content {
    max-height: 72vh;
    overflow-y: auto;
}

.hm-panel-body {
    display: none;
    padding: 20px 26px 24px;
}

    .hm-panel-body.show {
        display: block;
    }

@media (max-width: 480px) {
    .hm-tab-btn {
        font-size: 11.5px;
        padding: 12px 4px;
        gap: 4px;
    }
}

.hm-chart-param-select {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.hm-chart-chip {
    border: 1.5px solid var(--line);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all .2s ease;
}

    .hm-chart-chip i {
        font-size: 13px;
        color: var(--teal-dim);
    }

    .hm-chart-chip:hover {
        border-color: var(--teal);
    }

    .hm-chart-chip.active {
        background: linear-gradient(135deg, var(--teal), var(--navy));
        border-color: transparent;
        color: #fff;
    }

        .hm-chart-chip.active i {
            color: #fff;
        }

.hm-chart-range-select {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.hm-range-btn {
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

    .hm-range-btn:hover {
        border-color: var(--teal);
    }

    .hm-range-btn.active {
        background: linear-gradient(135deg, var(--teal), var(--navy));
        border-color: transparent;
        color: #fff;
    }

.hm-chart-scroll-wrap {
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

    .hm-chart-scroll-wrap.is-scrollable {
        overflow-x: auto;
    }

    .hm-chart-scroll-wrap::-webkit-scrollbar {
        height: 6px;
    }

    .hm-chart-scroll-wrap::-webkit-scrollbar-track {
        background: transparent;
    }

    .hm-chart-scroll-wrap::-webkit-scrollbar-thumb {
        background: var(--line);
        border-radius: 10px;
    }

.hm-chart-holder {
    min-height: 240px;
}

.hm-chart-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--muted);
}

    .hm-chart-empty i {
        font-size: 34px;
        color: var(--line);
        margin-bottom: 10px;
        display: block;
    }

    .hm-chart-empty p {
        margin: 0;
        font-size: 13px;
    }

.hm-footer-inline {
    padding: 8px 0 4px;
}

/* ---- History list ---- */
.hm-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    background: #fff;
}

.hm-history-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hm-history-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(23,195,178,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-dim);
    font-size: 16px;
    flex-shrink: 0;
}

.hm-history-value {
    font-weight: 700;
    color: var(--navy);
    font-size: 14.5px;
}

.hm-history-meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.hm-history-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.hm-history-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f4f6;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s ease;
}

    .hm-history-btn:hover {
        background: #e5e9ec;
    }

    .hm-history-btn.hm-delete-btn:hover {
        background: #fde3e3;
        color: #d33;
    }

.hm-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.hm-optional {
    font-weight: 400;
    color: var(--muted);
    text-transform: none;
}

.hm-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.hm-chip {
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .15s ease;
}

    .hm-chip i {
        font-size: 20px;
        color: var(--teal-dim);
    }

    .hm-chip span {
        font-size: 12px;
        font-weight: 600;
        color: var(--navy);
        text-align: center;
    }

    .hm-chip:hover {
        transform: translateY(-2px);
        border-color: var(--teal);
    }

    .hm-chip.active {
        border-color: var(--teal);
        background: rgba(23,195,178,.1);
        box-shadow: 0 6px 16px rgba(23,195,178,.18);
    }

        .hm-chip.active i,
        .hm-chip.active span {
            color: var(--teal-dim);
        }

.hm-value-row {
    display: flex;
    gap: 14px;
}

.hm-field {
    flex: 1;
    margin-bottom: 18px;
}

.hm-input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

    .hm-input-icon > i {
        position: absolute;
        left: 14px;
        color: var(--teal-dim);
        font-size: 15px;
        pointer-events: none;
    }

    .hm-input-icon.hm-input-icon-textarea > i {
        top: 12px;
    }

.hm-input {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 11px 14px 11px 40px;
    font-size: 14px;
    color: var(--ink);
    background: #f9fbfc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .hm-input:focus {
        outline: none;
        border-color: var(--teal);
        background: #fff;
        box-shadow: 0 0 0 .18rem rgba(23,195,178,.15);
    }

textarea.hm-input {
    resize: none;
}

.hm-select {
    appearance: none;
}

.hm-unit {
    position: absolute;
    right: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: #eef3f5;
    padding: 3px 8px;
    border-radius: 20px;
}

.hm-footer {
    display: flex;
    gap: 12px;
    padding: 18px 26px 26px;
}

.hm-btn-cancel, .hm-btn-save {
    flex: 1;
    border: none;
    border-radius: 50px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.hm-btn-cancel {
    background: #eef1f4;
    color: var(--navy);
}

    .hm-btn-cancel:hover {
        background: #e2e7ec;
    }

.hm-btn-save {
    background: linear-gradient(135deg, var(--teal), var(--navy));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .hm-btn-save:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(15,30,50,.22);
    }

@media (max-width: 480px) {
    .hm-chip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
