:root {
    --color-primary: #0077be;
    --color-primary-dark: #044a73;
    --color-secondary: #f59f45;
    --color-accent: #0f766e;
    --color-ink: #102033;
    --color-muted: #5f6f82;
    --color-bg: #f5f9fc;
    --color-surface: #ffffff;
    --color-border: rgba(16, 32, 51, 0.08);
    --color-footer: #0f172a;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 12px 28px rgba(4, 74, 115, 0.12);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background:
        radial-gradient(circle at top right, rgba(0, 119, 190, 0.14), transparent 26%),
        linear-gradient(180deg, #fafdff 0%, var(--color-bg) 100%);
    line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    line-height: 1.1;
}
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(16, 32, 51, 0.05);
    box-shadow: 0 10px 30px rgba(16, 32, 51, 0.04);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.brand img {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    object-fit: contain;
    background: #ffffff;
    padding: 0.2rem;
    box-shadow: var(--shadow-card);
}
.brand-text strong {
    display: block;
    font-size: 1rem;
    font-family: var(--font-heading);
}
.brand-text span { display: block; color: var(--color-muted); font-size: 0.88rem; }
.nav-wrap { display: flex; align-items: center; gap: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; }
.nav-links a {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted);
    transition: 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-primary-dark); background: rgba(0, 119, 190, 0.1); }
.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 119, 190, 0.1);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--color-primary-dark);
    border-radius: 999px;
}
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(3, 26, 46, 0.88), rgba(0, 119, 190, 0.68)),
        url('data1/images/a.jpg') center/cover no-repeat;
}
.hero::after {
    content: '';
    position: absolute;
    inset: auto -5% -80px -5%;
    height: 160px;
    background: var(--color-bg);
    border-radius: 50% 50% 0 0;
}
.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 72vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
    padding: 4.5rem 0 8rem;
}
.hero-copy h1 { font-size: clamp(2.7rem, 5vw, 4.9rem); letter-spacing: -0.04em; margin-bottom: 1.25rem; }
.hero-copy p { max-width: 46rem; color: rgba(255, 255, 255, 0.9); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-secondary); color: #1f2937; box-shadow: 0 10px 24px rgba(245, 159, 69, 0.3); }
.btn-secondary { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.hero-panel { display: grid; gap: 1rem; }
.glass-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    padding: 1.4rem;
}
.glass-card h3, .glass-card p, .glass-card li { color: #fff; }
.section { padding: 5rem 0; }
.section-tight { padding-top: 2.25rem; }
.section-header { margin-bottom: 2.4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-primary-dark); }
.section-header p { max-width: 46rem; color: var(--color-muted); font-size: 1.02rem; }
.grid-2, .grid-3, .champion-grid, .events-grid, .leaders-grid, .gallery-grid, .footer-grid, .stats {
    display: grid;
    gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .champion-grid, .events-grid, .leaders-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -2.8rem; position: relative; z-index: 2; }
.stat-card, .card, .news-card, .table-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.stat-card { padding: 1.5rem; }
.stat-card strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-size: 2rem;
}
.stat-card span { color: var(--color-muted); font-weight: 600; }
.card, .champion-card, .event-card, .leader-card { overflow: hidden; }
.card-body { padding: 1.5rem; }
.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.feature-list { display: grid; gap: 1rem; }
.feature-list li {
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, rgba(0, 119, 190, 0.08), rgba(15, 118, 110, 0.05));
    border-radius: var(--radius-md);
}
.feature-list strong { display: block; margin-bottom: 0.4rem; color: var(--color-primary-dark); }
.side-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #eef4f8;
}
.news-card { padding: 1.45rem; }
.news-list { display: grid; gap: 0.9rem; }
.news-list a {
    display: block;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-sm);
    background: #f8fbfe;
    border: 1px solid rgba(0, 119, 190, 0.08);
    color: var(--color-ink);
    font-weight: 600;
}
.news-list a:hover {
    border-color: rgba(0, 119, 190, 0.22);
    transform: translateY(-1px);
}
.news-list a small { display: block; margin-top: 0.35rem; color: var(--color-muted); font-weight: 500; }
.champion-card, .event-card, .leader-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}
.champion-card,
.event-card,
.leader-card,
.card,
.news-card,
.table-card,
.stat-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.champion-card:hover,
.event-card:hover,
.leader-card:hover,
.card:hover,
.news-card:hover,
.table-card:hover,
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 32, 51, 0.1);
    border-color: rgba(0, 119, 190, 0.16);
}
.champion-card img,
.event-card img {
    height: 250px;
    width: 100%;
    object-fit: contain;
    background: #eef4f8;
}
.leader-photo { aspect-ratio: 1 / 1; overflow: hidden; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-meta { color: var(--color-secondary); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.leader-note, .muted { color: var(--color-muted); }
.split-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
.page-hero { padding: 5.25rem 0 2.25rem; }
.page-hero-panel {
    background:
        linear-gradient(130deg, rgba(4, 74, 115, 0.95), rgba(15, 118, 110, 0.78)),
        url('images/Banner_Home_page.gif') center/cover no-repeat;
    border-radius: 32px;
    padding: 3.25rem;
    color: #fff;
    box-shadow: var(--shadow-card);
}
.page-hero-panel p { max-width: 44rem; color: rgba(255, 255, 255, 0.88); }
.page-hero-panel h1 { margin-bottom: 1rem; }
.about-story { columns: 2 280px; column-gap: 2rem; }
.about-story p { break-inside: avoid; }
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 1rem; border-bottom: 1px solid rgba(16, 32, 51, 0.08); text-align: left; }
th { background: var(--color-primary-dark); color: #fff; font-size: 0.92rem; }
tbody tr:hover { background: rgba(0, 119, 190, 0.04); }
.official-highlight { display: grid; gap: 1rem; }
.official-mini {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(0, 119, 190, 0.08), rgba(15, 118, 110, 0.04));
    border-radius: var(--radius-md);
}
.official-mini img { width: 112px; height: 112px; border-radius: 16px; object-fit: cover; }
.event-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.9rem; }
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 119, 190, 0.1);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.office-feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.office-avatar {
    width: 132px;
    height: 132px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    background: #dfeaf2;
    box-shadow: 0 10px 24px rgba(4, 74, 115, 0.12);
    border: 4px solid rgba(255, 255, 255, 0.9);
}
.office-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.office-name {
    margin-bottom: 0.45rem;
    color: var(--color-primary);
}
.office-role {
    margin-bottom: 0.9rem;
    color: var(--color-secondary);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}
.office-copy {
    color: var(--color-muted);
    font-size: 0.95rem;
}
.section-surface {
    background: #f8fafc;
}
.officials-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.officials-table th,
.officials-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}
.officials-table th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
}
.officials-table tbody tr:hover {
    background: rgba(0, 119, 190, 0.04);
}
.gallery-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: stretch;
}
.gallery-feature {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: var(--shadow-card);
    background: #dfeaf2;
}
.gallery-feature::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 26, 46, 0.08), rgba(3, 26, 46, 0.82));
}
.gallery-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-feature-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.75rem;
    color: #fff;
}
.gallery-side-stack {
    display: grid;
    gap: 1.5rem;
}
.gallery-side-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.gallery-side-card img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}
.gallery-side-card-copy {
    padding: 1.25rem 1.25rem 1.25rem 0;
}
.gallery-side-card-copy h3 {
    margin-bottom: 0.55rem;
    color: var(--color-primary-dark);
}
.gallery-side-card-copy p {
    color: var(--color-muted);
    margin-bottom: 0;
}
.gallery-ribbon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.gallery-ribbon-card {
    background: linear-gradient(180deg, rgba(0, 119, 190, 0.08), rgba(15, 118, 110, 0.05));
    border: 1px solid rgba(0, 119, 190, 0.1);
    border-radius: 22px;
    padding: 1.2rem 1.25rem;
}
.gallery-ribbon-card strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
}
.gallery-ribbon-card span {
    color: var(--color-muted);
    font-size: 0.95rem;
}
.gallery-collections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.gallery-collection-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.gallery-collection-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.gallery-collection-body {
    padding: 1.5rem;
}
.gallery-collection-body h3 {
    margin-bottom: 0.6rem;
    color: var(--color-primary-dark);
}
.gallery-collection-body p {
    color: var(--color-muted);
}
.gallery-grid-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.asset-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.asset-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 32, 51, 0.1);
    border-color: rgba(0, 119, 190, 0.16);
}
.asset-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #eef4f8;
    padding: 1rem;
}
.asset-card-body {
    padding: 1.2rem 1.25rem 1.35rem;
}
.asset-card-body h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
    font-size: 1.08rem;
}
.asset-card-body p {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    background: #eef4f8;
}
.gallery-item::after {
    content: attr(data-title);
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(2, 18, 33, 0.86));
    color: #fff;
    font-weight: 700;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
.gallery-item:hover::after { transform: translateY(0); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.02); }
.footer {
    margin-top: 3rem;
    background: var(--color-footer);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 3.25rem;
}
.footer h3, .footer h4 { color: #fff; }
.footer-links a { display: block; margin-bottom: 0.65rem; }
.footer-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.footer-gallery img {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #eef4f8;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0 1.4rem;
    text-align: center;
    font-size: 0.92rem;
}
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
    .hero-inner, .split-layout { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .champion-grid, .events-grid, .leaders-grid, .gallery-grid, .footer-grid, .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-hero,
    .gallery-collections {
        grid-template-columns: 1fr;
    }
    .gallery-ribbon,
    .gallery-grid-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .container { width: min(1180px, calc(100% - 1.25rem)); }
    .navbar { min-height: 76px; }
    .brand { gap: 0.75rem; }
    .brand img { width: 52px; height: 52px; border-radius: 12px; }
    .brand-text strong { font-size: 0.94rem; }
    .brand-text span { font-size: 0.8rem; }
    .nav-toggle { display: inline-block; }
    .nav-wrap { position: relative; }
    .nav-links {
        display: none;
        position: absolute;
        right: 0;
        top: calc(100% + 0.75rem);
        width: min(280px, calc(100vw - 2rem));
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid var(--color-border);
        border-radius: 24px;
        box-shadow: var(--shadow-soft);
        gap: 0.35rem;
    }
    .nav-links a { padding: 0.8rem 0.95rem; }
    .nav-links.open { display: flex; }
    .hero::after { height: 120px; }
    .hero-inner { min-height: auto; padding: 2.6rem 0 6.5rem; gap: 1.5rem; }
    .hero-copy h1 { font-size: clamp(2.15rem, 9vw, 3rem); }
    .hero-copy p { font-size: 1rem; }
    .hero-actions { gap: 0.75rem; }
    .btn { width: 100%; }
    .section { padding: 4rem 0; }
    .section-header { margin-bottom: 1.8rem; }
    .page-hero { padding: 4.3rem 0 1.5rem; }
    .page-hero-panel { padding: 2rem 1.35rem; border-radius: 24px; }
    .card-body,
    .news-card,
    .stat-card { padding: 1.2rem; }
    .grid-2, .grid-3, .champion-grid, .events-grid, .leaders-grid, .gallery-grid, .footer-grid, .stats, .official-mini {
        grid-template-columns: 1fr;
    }
    .gallery-side-card {
        grid-template-columns: 1fr;
    }
    .gallery-side-card img {
        min-height: 220px;
    }
    .gallery-side-card-copy {
        padding: 0 1.2rem 1.2rem;
    }
    .gallery-ribbon,
    .gallery-grid-gallery,
    .gallery-collections {
        grid-template-columns: 1fr;
    }
    .asset-card img {
        height: 220px;
    }
    .gallery-feature {
        min-height: 320px;
    }
    .stats { margin-top: -2rem; }
    .gallery-grid { gap: 1rem; }
    .footer { margin-top: 2rem; padding-top: 2.5rem; }
    .official-mini img { width: 100%; height: 240px; }
    .office-feature-card { padding: 1.5rem 1.2rem; }
    .office-avatar { width: 116px; height: 116px; }
}
