:root {
    --pafc-black: #001020;
    --pafc-ink: #061528;
    --pafc-navy: #002a63;
    --pafc-blue: #004ea8;
    --pafc-blue-bright: #075fca;
    --pafc-blue-soft: #e7f1ff;
    --pafc-ice: #f6f9fd;
    --pafc-white: #ffffff;
    --pafc-muted: #5c6c80;
    --pafc-line: rgba(0, 16, 32, 0.12);
    --pafc-dark-line: rgba(255, 255, 255, 0.16);
    --pafc-shadow: 0 18px 46px rgba(0, 16, 32, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--pafc-ink);
    background: var(--pafc-ice);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-navbar {
    background: rgba(246, 249, 253, 0.94);
    border-bottom: 1px solid var(--pafc-line);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--pafc-black);
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.navbar-brand:hover {
    color: var(--pafc-blue);
}

.navbar-brand img {
    width: 72px;
    height: auto;
    display: block;
}

.navbar-nav .nav-link {
    color: #40546b;
    font-weight: 850;
    padding: 0.56rem 0.82rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--pafc-blue);
}

.navbar-toggler {
    border: 1px solid var(--pafc-line);
    border-radius: 999px;
    padding: 0.55rem;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 3.15rem 0 3.85rem;
    background:
        linear-gradient(105deg, rgba(0, 16, 32, 0.98) 0%, rgba(0, 42, 99, 0.96) 45%, rgba(0, 78, 168, 0.9) 100%),
        var(--pafc-blue);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 34%, rgba(255, 255, 255, 0.07) 34% 35%, transparent 35% 100%),
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.14), transparent 28%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--pafc-blue-bright), #ffffff, var(--pafc-blue-bright));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-layout {
    row-gap: 1.5rem;
}

.hero-content {
    max-width: 680px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #dcecff;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.hero h1,
.section-title h2 {
    font-weight: 950;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 660px;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 0.94;
    margin: 0 0 0.75rem;
}

.hero p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    margin: 0 0 0.9rem;
}

.event-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    margin: 0 0 1rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--pafc-dark-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.88rem;
}

.event-line strong {
    color: #fff;
}

.event-line span:first-child {
    color: #ffffff;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.btn-pafc,
.btn-pafc-outline {
    border-radius: 999px;
    font-weight: 900;
    padding: 0.72rem 1.08rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-pafc {
    background: #fff;
    border: 1px solid #fff;
    color: var(--pafc-blue);
}

.btn-pafc:hover,
.btn-pafc:focus {
    background: var(--pafc-blue-soft);
    border-color: var(--pafc-blue-soft);
    color: var(--pafc-navy);
    transform: translateY(-2px);
}

.btn-pafc-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
}

.btn-pafc-outline:hover,
.btn-pafc-outline:focus {
    background: var(--pafc-blue-bright);
    border-color: var(--pafc-blue-bright);
    color: #fff;
    transform: translateY(-2px);
}

.hero-panel > img {
    width: min(100%, 390px);
    margin: 0 auto;
    display: block;
    padding: 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
}

.media-slot,
.image-placeholder {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 1px dashed rgba(0, 78, 168, 0.34);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 78, 168, 0.08), rgba(0, 16, 32, 0.03)),
        #fff;
    color: var(--pafc-muted);
    text-align: center;
    font-weight: 900;
}

.media-slot {
    min-height: 145px;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
}

.media-slot i,
.image-placeholder i {
    color: var(--pafc-blue);
    font-size: 1.8rem;
}

.media-slot i {
    color: #fff;
}

.section {
    padding: 2.55rem 0;
}

.section-soft {
    background: linear-gradient(180deg, #edf5ff, #f8fbff);
}

.section-dark {
    background: linear-gradient(115deg, var(--pafc-black), var(--pafc-blue));
    color: #fff;
}

.section-title {
    max-width: 720px;
    margin-bottom: 1.25rem;
}

.section-title.center {
    margin-inline: auto;
    text-align: center;
}

.section-title h2 {
    font-size: clamp(1.95rem, 3.8vw, 3.35rem);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.section-title p {
    color: var(--pafc-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.section-dark .section-title p {
    color: rgba(255, 255, 255, 0.78);
}

.stat-row {
    margin-top: -4.4rem;
    position: relative;
    z-index: 3;
}

.stat-card,
.feature-card,
.contact-card {
    border: 1px solid var(--pafc-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--pafc-shadow);
}

.stat-card {
    height: 100%;
    padding: 1rem 1.05rem;
}

.stat-card strong {
    display: block;
    color: var(--pafc-blue);
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-card span,
.feature-card p,
.contact-card li {
    color: var(--pafc-muted);
}

.feature-card,
.contact-card {
    height: 100%;
    padding: 1.12rem;
}

.feature-card i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--pafc-blue-soft);
    color: var(--pafc-blue);
    margin-bottom: 0.7rem;
}

.feature-card h3,
.contact-card h3 {
    font-size: 1.03rem;
    font-weight: 950;
    margin-bottom: 0.4rem;
}

.feature-card p {
    margin: 0;
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: auto 1.12rem 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pafc-blue), var(--pafc-black));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.image-placeholder {
    min-height: 320px;
    box-shadow: var(--pafc-shadow);
}

.contact-card {
    background: #fff;
    color: var(--pafc-ink);
}

.contact-card ul {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 1rem;
}

.contact-card li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.contact-card li i {
    color: var(--pafc-blue);
}

.site-footer {
    padding: 2.55rem 0 1.4rem;
    background: var(--pafc-black);
    color: rgba(255, 255, 255, 0.76);
}

.site-footer h2,
.site-footer h4 {
    color: #fff;
    font-weight: 950;
}

.site-footer h2 {
    margin-bottom: 0.45rem;
}

.footer-logo {
    width: 132px;
    height: auto;
    display: block;
    margin-bottom: 0.7rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: #fff;
}

.footer-links {
    display: grid;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 1.6rem;
    padding-top: 0.95rem;
    font-size: 0.88rem;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .hero {
        padding: 2.8rem 0 4.8rem;
    }

    .stat-row {
        margin-top: -5.7rem;
    }

    .hero-panel > img {
        width: min(100%, 340px);
    }
}

@media (max-width: 767.98px) {
    .navbar-brand span {
        font-size: 0.92rem;
    }

    .navbar-brand img {
        width: 62px;
    }

    .hero {
        text-align: center;
        padding: 2.4rem 0 5.2rem;
    }

    .event-line,
    .hero-actions {
        justify-content: center;
        margin-inline: auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 2.25rem 0;
    }

    .stat-row {
        margin-top: -5.1rem;
    }

    .image-placeholder {
        min-height: 250px;
    }
}
