/* Reset-ish minimal */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Logo-inspired palette (from your earlier gradient) */
:root {
    --accent-1: #4F46E5;
    /* purple */
    --accent-2: #EC4899;
    /* pink */
    --card-bg: rgba(255, 255, 255, 0.88);
    --muted: #555;
    --text: #111;
    --radius: 12px;
    --shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
    --transition: 200ms ease;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
}

/* full-page blurred logo background */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60vmax;
    opacity: 0.08;
    filter: blur(30px) saturate(1.2);
    transform: scale(1.05);
}

/* container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.brand-name {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.2px;
}

.small {
    font-size: 13px;
    color: var(--muted);
}

.nav a {
    margin-left: 14px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.nav a:hover {
    color: var(--accent-1);
    text-decoration: underline;
}

/* stacked cards layout */
.stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
}

/* Card base */
.card {
    background: linear-gradient(180deg, var(--card-bg), rgba(255, 255, 255, 0.94));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(17, 17, 17, 0.04);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
}

/* Top card specifics */
.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.page-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-1);
    margin-bottom: 6px;
}

.name {
    font-size: 26px;
    margin-bottom: 6px;
    font-weight: 800;
}

.role {
    font-size: 14px;
    color: var(--muted);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition);
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(76, 29, 149, 0.12);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(17, 17, 17, 0.08);
    color: var(--text);
}

.actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* About card */
.card-about .card-body {
    line-height: 1.65;
    color: var(--text);
    font-size: 16px;
}

.card-about ul {
    margin-top: 10px;
    margin-bottom: 8px;
    padding-left: 20px;
    color: var(--muted);
}

/* capacity merged card */
.card-capacity h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--accent-1);
    font-weight: 800;
}

.two-col-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.two-col-grid>div {
    flex: 1;
    min-width: 260px;
}

/* Why HYHUB card */
.card-why h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--accent-2);
    font-weight: 800;
}

.card-why ul {
    padding-left: 18px;
    color: var(--muted);
}

/* Partners */
.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 8px;
}

.partner-logo {
    height: 40px;
    width: auto;
    filter: grayscale(0.05);
    opacity: 0.95;
}

/* Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

/* Responsive */
@media (max-width:800px) {
    .container {
        padding: 18px;
    }

    .two-col-grid {
        flex-direction: column;
    }

    .page-title {
        font-size: 18px;
    }

    .name {
        font-size: 22px;
    }

    .partners {
        justify-content: center;
    }
}

.page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60vmax;
    opacity: 0.2;
    /* raise opacity so you can see it clearly */
    filter: blur(30px) saturate(1.2);
    z-index: -1;
}

nav {
    display: flex;
    gap: 20px;
    /* spacing between links */
    align-items: center;
}

nav a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    padding: 8px 12px;
    /* adds clickable space around text */
    transition: color 0.3s, background 0.3s;
}

nav a:hover {
    color: #4F46E5;
    /* pick a brand color */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
}