:root {
    --papd-primary: #1c3f94;
    --papd-secondary: #e0b400;
    --papd-body-bg: #f5f7fb;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--papd-body-bg);
    color: #1f2937;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    background: linear-gradient(90deg, #10172a 0%, #1f2937 100%);
}

.navbar {
    background-color: #ffffff;
}

.navbar-brand .brand-mark {
    width: 48px;
    height: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #1f2937;
}

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

.hero {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(120% 120% at 50% 0, rgba(28, 63, 148, 0.15) 0, rgba(28, 63, 148, 0) 100%), #ffffff;
}

.hero.hero-with-image {
    position: relative;
    overflow: hidden;
    color: #f9fafb;
    background: center/cover no-repeat url('/upload/slider_papd_01.jpg');
}

.hero.hero-with-image .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, 0.85) 0%, rgba(17, 24, 39, 0.65) 55%, rgba(17, 24, 39, 0.25) 100%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-background.is-active {
    opacity: 1;
}

.hero .hero-overlay {
    z-index: 0;
}

.hero.hero-with-image .container,
.hero.hero-with-image .row {
    position: relative;
    z-index: 2;
}

.hero.hero-with-image .badge {
    background-color: rgba(224, 180, 0, 0.95);
    color: #111827;
}

.hero.hero-with-image .card {
    box-shadow: 0 20px 60px -18px rgba(15, 23, 42, 0.55);
}

.hero.hero-with-image .card,
.hero.hero-with-image .card .text-secondary {
    color: #1f2937;
}

.hero.hero-with-image .lead,
.hero.hero-with-image h1,
.hero.hero-with-image .btn {
    color: inherit;
}

.hero.hero-with-image .btn.btn-outline-primary {
    color: #e5e7eb;
    border-color: rgba(229, 231, 235, 0.6);
}
.hero.hero-with-image .btn.btn-outline-primary:hover {
    background-color: rgba(229, 231, 235, 0.15);
    border-color: rgba(229, 231, 235, 0.75);
}

.hero .badge {
    background-color: var(--papd-primary);
}

.section-title {
    font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
    font-weight: 700;
    color: #111827;
}

.section-lead {
    max-width: 720px;
    margin: 0 auto 2rem;
    color: #4b5563;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.4);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    background-color: rgba(28, 63, 148, 0.1);
    color: var(--papd-primary);
    font-size: 1.5rem;
}

.timeline {
    border-left: 2px solid rgba(17, 24, 39, 0.1);
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.75rem;
    top: 0.35rem;
    width: 0.9rem;
    height: 0.9rem;
    background-color: var(--papd-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(28, 63, 148, 0.15);
}

.alert-banner {
    border-radius: 0.75rem;
    border: 1px solid rgba(224, 180, 0, 0.35);
    background: linear-gradient(120deg, #fff9db, #fff4b8);
}

.footer {
    background: linear-gradient(0deg, #0f172a 0%, #111827 100%);
}

.footer h5 {
    letter-spacing: 0.08em;
}

.btn-arrow::after {
    content: "→";
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

.content-section {
    padding: 4rem 0;
}

.content-section:nth-of-type(even) {
    background-color: #ffffff;
}

.content-section:nth-of-type(odd) {
    background-color: var(--papd-body-bg);
}

.photo-gallery .photo-card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
}

.photo-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.photo-card-body {
    padding: 1.5rem;
}

.photo-card-body .text-secondary {
    color: #4b5563 !important;
}


