.hero {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #e0f7ff, #e6f9f0);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    scroll-margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .hero {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 6rem 2rem;
    }

    .hero .hero-text {
        max-width: 50%;
    }

    .hero .hero-image {
        max-width: 45%;
        background: #ffffff;
        border-radius: 1rem;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
        padding: 2rem;
    }

    .hero .display-5 {
        font-size: 3rem;
    }

    .hero-card {
        width: 420px;
        background-color: white;
        border-radius: 1.5rem;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease-in-out;
    }

    .hero-card .card-body {
        background-color: #e6f1ff;
        padding: 2.5rem 2rem;
        text-align: center;
    }

    .hero .card img {
        margin-bottom: 1rem;
    }

    .hero .icon-row {
        display: flex;
        justify-content: space-between;
        margin-top: 1.5rem;
        gap: 1rem;
    }

    .hero .icon-row img {
        height: 32px;
        flex: 1;
        max-width: 100px;
        object-fit: contain;
    }

    .hero-card .card-body img.icon-lg {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .hero-card .card-body h5 {
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .hero-card .card-body p {
        font-size: 0.95rem;
        color: #6c757d;
        margin-bottom: 0;
    }

    .hero-card .bg-light {
        background-color: #f8f9fa;
    }

    .hero-card .bg-light img.icon-sm {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .hero-card .icon-bar {
        background-color: #f9f9f9;
        padding: 1rem 2rem;
        border-top: 1px solid #e0e0e0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hero-card .icon-bar img.icon-sm {
        width: 28px;
        height: 28px;
        opacity: 0.85;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .hero-card .icon-bar img.icon-sm:hover {
        transform: scale(1.1);
        opacity: 1;
    }
}

.bg-light-blue {
    background-color: #e6f1ff;
}

header.sticky-top {
    z-index: 1030;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #4d9efd;
    border-color: #4d9efd;
}

.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary:focus:active {
    background-color: #d6f5e3 !important;
    border-color: #b2ebc5 !important;
    color: #111 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus:active {
    background-color: #4d9efd !important;
    border-color: #4d9efd !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

.btn-outline-secondary {
    background-color: white;
    border: 1px solid #ccc;
    color: #333;
    transition: background-color 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #d6f5e3;
    border-color: #b2ebc5;
    color: #111;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #007bff;
}

.hero-buttons .btn {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.125rem;
}

.feature-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.feature-icons div {
    flex: 1;
    text-align: center;
}

.features-section {
    background-color: #f8fbff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.feature-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.icon-circle {
    width: 64px;
    height: 64px;
    background-color: #eaf6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works {
    background-color: #f7f8fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.how-it-works .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.step-card {
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.step-badge {
    position: absolute;
    top: -16px;
    left: 20px;
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonials-section {
    background-color: #ffffff;
    min-height: 100vh;
}

.testimonial-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.cta-banner {
    background-color: #1d83e2;
    min-height: 60vh;
    padding: 3rem 1rem;
}

.cta-banner h2 {
    font-size: 2rem;
}

.cta-banner .btn-outline-light {
    font-weight: 500;
    border: 2px solid white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-banner .btn-outline-light:hover {
    background-color: white;
    color: #1d83e2;
}

.site-footer {
    background-color: #1f2a37;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.site-footer h6 {
    font-size: 1.1rem;
}

.site-footer p,
.site-footer li {
    font-size: 0.95rem;
}

.site-footer .footer-logo {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 600;
}

.assessment-wrapper {
    max-width: 520px;
    width: 100%;
}

.assessment-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

.assessment-top {
    background-color: #e6f1ff;
    padding: 3rem 2rem;
    text-align: center;
}

.assessment-top h5 {
    font-size: 1.4rem;
    font-weight: 600;
}

.assessment-top p {
    margin-top: 0.25rem;
    font-size: 0.95rem;
    color: #6c757d;
}

.assessment-content {
    background-color: #eaf5ff;
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
}

.assessment-icon {
    height: 48px;
    width: auto;
}

.icon-bar {
    background-color: #f9f9f9;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.icon-bar i {
    color: #0d6efd !important;
}

.icon-small {
    height: 32px;
    width: 32px;
    object-fit: contain;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-small:hover {
    transform: scale(1.1);
    opacity: 1;
}

.card img {
    object-fit: contain;
}

.card .bg-primary-subtle {
    background-color: #e9f4fd;
}

.icon-lg {
    width: 48px;
    height: 48px;
}

.icon-sm {
    width: 28px;
    height: 28px;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.icon-circle i {
    font-size: 1.75rem;
}

.sidebar {
    width: 240px;
    min-height: 100vh;
    background-color: #fff;
    border-right: 1px solid #ddd;
    position: fixed;
    top: 56px;
    left: 0;
    padding-top: 1rem;
}

.sidebar a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.sidebar a:hover {
    background-color: #f0f0f0;
}

.main {
    margin-left: 240px;
    padding: 1rem;
}

.top-nav {
    height: 56px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.top-nav {
    height: 56px;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #fff;
    border-right: 1px solid #dee2e6;
    padding: 1rem 0;
    position: fixed;
    top: 56px;
    left: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    padding-bottom: 3rem;
}

.sidebar.closed {
    margin-left: -250px;
}

.sidebar a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.sidebar a:hover {
    background-color: #f8f9fa;
}

.sidebar-footer {
    margin-top: auto;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
}

#toggleSidebar.btn:focus,
#toggleSidebar.btn:active,
#toggleSidebar.btn:focus:active {
    background-color: transparent !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
    outline: none !important;
}

.main {
    margin-left: 250px;
    padding-top: 72px;
    transition: margin-left 0.3s ease;
}

.main.sidebar-closed {
    margin-left: 0;
}

.sidebar, .main {
    transition: all 0.3s ease;
}

.sidebar > .d-flex {
    height: 100%;
}

.progress-multi {
    height: 6px;
    display: flex;
    overflow: hidden;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.progress-multi .progress-current {
    background-color: #0d6efd;
}

.progress-multi .progress-complete {
    background-color: #198754;
}

.dropdown-checkbox {
    position: relative;
}

.dropdown-checkbox .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 250px;
}

.dropdown-checkbox.open .dropdown-menu {
    display: block;
}

.dropdown-checkbox .dropdown-menu label {
    display: block;
    margin-bottom: 0.25rem;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

input:disabled {
    cursor: not-allowed;
    background-color: #d6d8db !important;
    color: #f8f9fa !important;
}

.table td {
    position: relative;
    overflow: visible;
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    z-index: 1050;
}

.bg-orange {
    background-color: #fd7e14 !important;
}

.text-orange {
    color: #fd7e14 !important;
}

#riskDashboardContainer.fixed {
    position: fixed;
    top: 4rem;
    right: 2rem;
    width: 300px;
    z-index: 1000;
}

#scheduleContainer.fixed {
    position: fixed;
    top: 4rem;
    right: 0;
    left: 0;
    z-index: 1000;
}

#calendarContainer.fixed {
    position: fixed;
    z-index: 999;
}

.flatpickr-day {
    position: relative;
}

.flatpickr-day .appointment-dot {
    position: absolute;
    left : 50%;
    bottom: 4px;
    transform: translateX(-50%);
    display: block;
    width: 6px;
    height: 6px;
    background-color: #0d6efd;
    border-radius: 50%;
}

.text-purple {
    color: #a855f7;
}

.step-progress {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: flex-start;
}

    .step-progress .step-item {
        flex: 1;
        position: relative;
        text-align: center;
    }

    .step-progress .step-line {
        position: absolute;
        top: 14px;
        left: -50%;
        width: 100%;
        height: 2px;
        background-color: #dee2e6;
        z-index: 0;
    }

        .step-progress .step-line.complete {
            background-color: #0d6efd;
        }

    .step-progress .step-circle {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 2px solid #6c757d;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
        z-index: 1;
        margin: 0 auto;
        position: relative;
    }

        .step-progress .step-circle.current {
            border-color: #0d6efd;
        }

        .step-progress .step-circle.complete {
            background-color: #0d6efd;
            border-color: #0d6efd;
            color: white;
        }

        .step-progress .step-circle .inner-dot {
            border-radius: 50%;
        }

            .step-progress .step-circle .inner-dot.current {
                background-color: #0d6efd;
                width: 10px;
                height: 10px;
            }

            .step-progress .step-circle .inner-dot.upcoming {
                background-color: #6c757d;
                width: 8px;
                height: 8px;
            }

.bg-danger-soft {
    background-color: rgb(255, 0, 24, 0.70) !important; /* light red */
}

.bg-orange-soft{
    background-color: rgb(255, 100, 0, 0.70) !important; /* light orange */
}

.bg-warning-soft {
    background-color: rgb(255, 255, 0, 0.70) !important; /* light yellow */
}

.bg-success-soft {
    background-color: rgb(0, 255, 58, 0.70) !important; /* light green */
}

.bg-muted-soft {
    background-color: rgb(255, 255, 255, 0.00) !important; /* white */
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.timeline {
    border-left: 2px solid #0d6efd;
    margin-left: 20px;
    padding-left: 20px;
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

    .timeline-item::before {
        content: "";
        position: absolute;
        left: -26.98px;
        top: 0px;
        width: 12px;
        height: 12px;
        background-color: #0d6efd;
        border-radius: 50%;
    }

.sticky-card {
    position: fixed;
    top: 60px;
    z-index: 100;
}

.bg-dark-red {
    background-color: #8B0000 !important;
    color: #fff !important;
}

.shadow {
    box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.5) !important;
    -webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.5) !important;
    -moz-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.5) !important;
}

.form-control,
.form-select-lg{
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
}

.right-border-radius {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

#cholesterolFAQContainer table td,
#cholesterolFAQContainer table th {
    background-color: transparent !important;
}
