:root {
    --u-primary: #0d2f6d;
    --u-secondary: #1d4f9c;
    --u-accent: #f2b705;
    --u-ink: #13213a;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--u-ink);
    background: #f5f7fb;
}

.u-nav {
    background: linear-gradient(90deg, #0a2a63 0%, #143a79 56%, #1c4f9a 100%);
    border-bottom: 2px solid var(--u-accent);
    box-shadow: 0 8px 24px rgba(8, 30, 72, 0.28);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.u-nav .navbar-toggler {
    border-color: rgba(242, 246, 255, 0.55);
}

.u-footer {
    background: linear-gradient(90deg, #0e2b60, #183b75 65%, #214989);
    border-top: 2px solid rgba(242, 183, 5, 0.75);
}

.u-brand {
    margin-right: 1rem;
    padding-top: 0;
    padding-bottom: 0;
}

.uhg-logo-institutional {
    height: 54px;
    width: auto;
    display: block;
    max-width: min(42vw, 320px);
}

.u-nav-links .nav-link {
    color: rgba(240, 247, 255, 0.9);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.46rem 0.52rem;
    white-space: nowrap;
}

.u-nav-links .nav-link:hover,
.u-nav-links .nav-link:focus {
    color: #ffffff;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.u-nav-actions .btn {
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.38rem 0.78rem;
    white-space: nowrap;
}

.u-nav-actions .btn-light {
    color: #0d2f6d;
}

.u-nav-actions .btn-outline-light {
    border-color: rgba(245, 250, 255, 0.72);
}

.u-nav .dropdown-menu {
    border-radius: 10px;
    border: 1px solid #d8e0f2;
    box-shadow: 0 14px 28px rgba(13, 47, 109, 0.22);
}

.u-footer-text {
    color: rgba(246, 250, 255, 0.94);
    font-size: 1.03rem;
    font-weight: 500;
}

.u-footer-inner {
    text-align: center;
}

.u-footer-title {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 1.16rem;
}

.u-footer-sub {
    color: rgba(237, 245, 255, 0.9);
    font-size: 0.96rem;
}

.hero-wrap {
    background:
        radial-gradient(circle at 10% 10%, rgba(13, 47, 109, 0.14), transparent 42%),
        radial-gradient(circle at 90% 20%, rgba(29, 79, 156, 0.12), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.stat-card {
    background: white;
    border: 1px solid #d8e0f2;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(13, 47, 109, 0.08);
}

.stat-card h3 {
    margin: 0;
    font-weight: 800;
    color: var(--u-primary);
}

.stat-card p {
    margin: 0.25rem 0 0;
    color: #4f5f7f;
    font-size: 0.88rem;
}

.card {
    border-radius: 14px;
}

@media (max-width: 1200px) {
    .u-nav .navbar-collapse {
        background: rgba(5, 22, 57, 0.46);
        border: 1px solid rgba(220, 232, 255, 0.22);
        border-radius: 14px;
        margin-top: 0.65rem;
        padding: 0.72rem 0.9rem 0.82rem;
        backdrop-filter: blur(3px);
    }

    .u-nav-links .nav-link {
        font-size: 1rem;
        white-space: normal;
        padding: 0.55rem 0.22rem;
    }

    .u-nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
        margin-top: 0.35rem;
        padding-bottom: 0;
        width: 100%;
    }

    .u-nav-actions .btn,
    .u-nav-actions .dropdown,
    .u-nav-actions form {
        width: 100%;
    }

    .u-nav-actions .btn {
        min-height: 42px;
    }

    .u-nav-actions .dropdown .btn {
        width: 100%;
    }

    .u-nav .dropdown-menu {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .uhg-logo-institutional {
        height: 46px;
        max-width: 78vw;
    }

    .hero-wrap .display-5 {
        font-size: clamp(1.95rem, 8.4vw, 2.5rem);
        line-height: 1.12;
    }

    .hero-wrap .lead {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .hero-wrap .d-flex.flex-wrap.gap-2 > .btn {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .u-nav-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .uhg-logo-institutional {
        height: 40px;
        max-width: 74vw;
    }

    .hero-wrap .d-flex.flex-wrap.gap-2 > .btn {
        flex-basis: 100%;
    }

    .hero-wrap .btn-lg {
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .u-footer-title {
        font-size: 1.03rem;
    }
}
