:root {
    --bg: #eef2f5;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --text: #17212b;
    --muted: #5d6975;
    --border: rgba(20, 41, 61, 0.12);
    --brand: #0d5c63;
    --brand-strong: #0a4c52;
    --accent: #d8b25b;
    --link: #0b5660;
    --shadow: 0 18px 45px rgba(16, 29, 44, 0.12);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(216, 178, 91, 0.12), transparent 26%),
        linear-gradient(180deg, #f6f8fa 0%, var(--bg) 100%);
    min-height: 100vh;
    padding: 8px 32px 40px;
}

nav {
    position: sticky;
    top: 8px;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
    padding: 16px 24px;
    z-index: 1000;
    border-radius: 16px;
}

.qrz {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.qrz h1 {
    font-size: 1.55rem;
    letter-spacing: 0.08em;
    color: var(--brand-strong);
}

.qrz__tagline {
    color: var(--muted);
    font-size: 0.92rem;
}

.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.15rem;
    min-height: 100%;
}

.nav__links li {
    display: flex;
    align-items: center;
}

.nav__links li a {
    position: relative;
    font-size: 0.97rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--link);
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav__links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav__links li a:hover {
    color: var(--brand-strong);
    transform: translateY(-1px);
}

.nav__links li a:hover::after,
.nav__links li a:focus-visible::after {
    transform: scaleX(1);
}

.nav__links li a[aria-current="page"] {
    color: var(--brand-strong);
}

.nav__links li a[aria-current="page"]::after {
    transform: scaleX(1);
}


.flexbox__Top_Container {
    display: flex;
    margin-top: 34px;
}

.top-box-left,
.top-box-right {
    flex: 1;
    min-height: 200px;
}

.top-box-center {
    flex: 4;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.flexbox__container {
    display: flex;
    margin-top: 34px;
}

.box-left,
.box-right {
    flex: 1;
    min-height: 200px;
}

.box-center {
    flex: 4;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.box-center > a.card,
.box-center > .card:not(#welcome-card) {
    max-width: 700px;
    align-self: center;
}

.card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
    width: 100%;
    font-size: 15px;
    border-radius: 22px;
    text-decoration: none;
    color: var(--text);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card h1,h2,h3{
    color: var(--brand-strong);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(16, 29, 44, 0.16);
    border-color: rgba(13, 92, 99, 0.24);
}

/* Kill ALL hover animation for welcome card */
.card#welcome-card:hover {
  transform: none !important;
}


.card__section {
    flex: 0 0 120px;
}

.card__section img {
    display: block;
    max-width: 100%;
    height: auto;
}

.card__body h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--brand-strong);
}

.card__body p {
    line-height: 1.7;
    color: var(--muted);
}




body {
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: 40px;
    padding: 18px 24px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.site-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    body {
        padding: 8px 16px 24px;
    }

    nav {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .nav__links {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    .top-box-left,
    .top-box-right,
    .box-left,
    .box-right {
        display: none;
    }

    .top-box-center,
    .box-center {
        flex: 1;
    }

    .card {
        flex-direction: column;
        align-items: flex-start;
    }
}
