﻿/* Core palette */
:root {
    --hc-blue: #2E5495; /* primary blue */
    --hc-orange: #ff7a00; /* accent orange */
    --hc-light: #f8fafc;
}

/* General body */
body {
    background: var(--hc-light);
    font-family: 'Segoe UI', Arial, sans-serif;
}

img,
iframe {
    max-width: 100%;
}

/* Navbar */
.navbar-brand {
    color: var(--hc-blue) !important;
    font-size: 2rem;
}

.navbar-toggler {
    border-color: var(--hc-blue);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232E5495' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--hc-orange) !important;
    }

.hc-accent-divider {
    height: 4px;
    background-color: var(--hc-orange);
    opacity: 0.4;
    width: min(1320px, calc(100% - 1.5rem));
    margin-left: auto;
    margin-right: auto;
}

.hc-accent-divider:not(.hc-accent-divider--blue) {
    width: min(1320px, calc(100% - 3rem));
    margin-left: auto;
    margin-right: auto;
}

.hc-accent-divider:not(.hc-accent-divider--blue) {
    width: auto;
    margin-left: max(0px, calc((100vw - 1320px) / 2 + 0.75rem));
    margin-right: 0;
}

.hc-accent-divider--blue {
    height: 4px;
    background-color: var(--hc-blue);
    opacity: 0.4;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Primary button (Schedule, etc.) */
.btn-primary {
    background-color: var(--hc-blue);
    border-color: var(--hc-blue);
}

    .btn-primary:hover {
        background-color: var(--hc-orange);
        border-color: var(--hc-orange);
    }

/* Links */
a {
    color: var(--hc-blue);
    text-decoration: none;
}

    a:hover {
        color: var(--hc-orange);
        text-decoration: underline;
    }

/* Primary text utility */
.text-primary {
    color: var(--hc-blue) !important;
}

/* Link buttons */
.btn-link {
    color: var(--hc-blue);
}

.btn-link:hover {
    color: var(--hc-orange);
}

/* Footer */
.footer {
    background-color: var(--hc-blue);
}

/* Cards and sections */
.card {
    border: 1px solid #e5e5e5;
    border-radius: 0.75rem;
}

.card-title {
    color: var(--hc-blue);
}

.hc-highlight-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #fff;
}

.text-center img {
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.2));
}

.btn-outline-primary:hover {
    background-color: var(--hc-blue);
    color: #fff !important;
}

/* Health Connect main action buttons */
.btn-hc-action {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .btn-hc-action:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.18);
    }

    /* Optional subtle highlight ripple */
    .btn-hc-action::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(255,255,255,0.35), transparent 60%);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .btn-hc-action:hover::after {
        opacity: 1;
    }

/* Animated underline for nav and special links */
.nav-link,
.hc-link-underline {
    position: relative;
    display: inline-block;
}

    .nav-link::after,
    .hc-link-underline::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--hc-blue), var(--hc-orange));
        transition: width 0.22s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after,
    .hc-link-underline:hover::after {
        width: 100%;
    }

/* Hero fade-in animation */
.hero-fade {
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeIn 0.6s ease-out forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Provider logos */
.provider-logo {
    width: 180px; /* Larger display size */
    height: 90px; /* Larger display size */
    object-fit: contain; /* Keeps aspect ratio */
    object-position: center;
    margin: 0 auto;
    display: block;
}

.provider-logo--oona {
    width: 207px;
    height: 104px;
}

/* Clickable wrapper (so whole card is clickable) */
.provider-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

    .provider-card-link:hover {
        text-decoration: none;
        color: inherit;
    }

/* Main provider card */
.provider-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 200px; /* tweak if you want them taller/shorter */

    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0,0,0,0.06);
    background-color: #ffffff;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

    /* Title & subtitle spacing inside card */
    .provider-card .fw-semibold {
        margin-bottom: 0.15rem;
    }

    .provider-card .small {
        margin-bottom: 0;
    }

    /* Hover glow in brand colors */
    .provider-card:hover {
        transform: translateY(-6px);
        border-color: var(--hc-blue);
        background-color: #ffffff;
        box-shadow: 0 0 18px rgba(0, 123, 255, 0.22), 0 0 8px rgba(255, 122, 0, 0.22);
    }

.hc-btn-uniform {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    border-radius: 6px;
}

.hidden-field {
    display: none !important;
}

/* Mobile enhancements */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    .display-5 {
        font-size: 2rem;
    }

    .p-5 {
        padding: 2rem !important;
    }

    .provider-logo {
        width: 140px;
        height: 70px;
    }

    .provider-logo--oona {
        width: 161px;
        height: 81px;
    }

    .provider-card {
        min-height: auto;
    }

    .footer .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}









.hc-hero-logo-bg {
    background-image: url('/images/logo transparentx.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}



