:root {
    --ppsdr-primary: #2b6fe8;
    --ppsdr-primary-dark: #173b8f;
    --ppsdr-accent: #78a7ff;
    --ppsdr-surface: #ffffff;
    --ppsdr-border: rgba(8, 52, 68, 0.12);
    --ppsdr-text: #19313b;
    --ppsdr-muted: #5c737d;
    --ppsdr-shadow: 0 18px 45px rgba(11, 52, 63, 0.12);
    --ppsdr-radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body.site-body,
body.auth-page,
body.site-admin-layout,
body.site-data-layout {
    background:
        radial-gradient(circle at top left, rgba(120, 167, 255, 0.18), transparent 28%),
        linear-gradient(180deg, #f8fbfa 0%, #f3f7f5 100%);
    color: var(--ppsdr-text);
}

body.site-body {
    padding-top: 104px;
}

.site-main {
    min-height: calc(100vh - 360px);
}

.site-navbar {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 32px rgba(8, 52, 68, 0.08);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(8, 52, 68, 0.08);
}

.site-navbar .container {
    min-height: 84px;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-right: 1rem;
}

.site-brand-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: var(--ppsdr-primary-dark);
    letter-spacing: 0.08em;
}

.site-navbar .navbar-toggler {
    border: 1px solid var(--ppsdr-border);
    border-radius: 14px;
    padding: 0.55rem 0.8rem;
    color: var(--ppsdr-primary-dark);
}

.site-navbar .nav-link {
    font-family: "Montserrat", sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--ppsdr-primary-dark);
    padding: 0.9rem 1rem;
}

.site-navbar button.nav-link {
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
}

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

.site-navbar .dropdown-menu {
    border: 1px solid var(--ppsdr-border);
    border-radius: 18px;
    padding: 0.65rem;
    box-shadow: var(--ppsdr-shadow);
}

@media (min-width: 992px) {
    .site-navbar .site-nav-dropdown:hover > .dropdown-menu {
        display: block;
    }
}

.site-navbar .dropdown-item {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    color: var(--ppsdr-primary-dark);
    white-space: normal;
}

.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
    background: rgba(43, 111, 232, 0.08);
    color: var(--ppsdr-primary);
}

.download-btn .btn,
.solid-btn,
.google-play-btn,
.app-store-btn {
    border-radius: 999px;
    font-weight: 700;
}

.solid-btn,
.google-play-btn {
    background: linear-gradient(135deg, var(--ppsdr-primary), #4e8cff);
    border: none;
    color: #fff;
}

.solid-btn:hover,
.google-play-btn:hover {
    background: linear-gradient(135deg, #1f58bf, #356fd4);
    color: #fff;
}

.app-store-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

.site-page-hero {
    padding: 132px 0 104px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.site-kicker {
    display: inline-flex;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-section,
.site-home-section {
    padding: 96px 0;
}

.site-home-section--soft {
    background: linear-gradient(180deg, rgba(43, 111, 232, 0.05), rgba(255, 255, 255, 0.6));
}

.site-home-header {
    max-width: 760px;
    margin-bottom: 2.25rem;
}

.site-home-header h2 {
    margin-bottom: 0.85rem;
}

.site-home-header p {
    color: var(--ppsdr-muted);
}

.site-equal-row {
    align-items: stretch;
}

.site-equal-row > [class*="col-"] {
    display: flex;
}

.site-equal-row > [class*="col-"] > * {
    width: 100%;
}

.site-panel,
.content-card,
.widget,
.site-contact-card,
.site-stat-card,
.site-feature-card,
.site-gallery-card,
.site-report-card,
.site-admin-panel,
.site-auth-card,
.site-auth-brand,
.site-simple-header__inner {
    background: var(--ppsdr-surface);
    border: 1px solid var(--ppsdr-border);
    border-radius: var(--ppsdr-radius);
    box-shadow: var(--ppsdr-shadow);
}

.site-panel,
.content-card,
.widget,
.site-contact-card,
.site-feature-card,
.site-report-card,
.site-admin-panel,
.site-auth-card,
.site-auth-brand {
    padding: 2rem;
}

.content-wrapper,
.content-card,
.site-panel {
    color: var(--ppsdr-text);
    line-height: 1.85;
}

.section-title {
    border-left: 4px solid var(--ppsdr-accent);
    padding-left: 1rem;
    margin: 2.5rem 0 1.25rem;
    color: var(--ppsdr-primary-dark);
}

.media-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(8, 52, 68, 0.12);
    object-fit: cover;
}

.site-sticky-stack {
    position: sticky;
    top: 116px;
}

.site-sidebar-card + .site-sidebar-card {
    margin-top: 1.5rem;
}

.site-category-list,
.site-footer-links,
.site-footer-contact,
.site-mini-contact,
.site-auth-points,
.site-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-category-list li + li,
.site-footer-links li + li,
.site-footer-contact li + li,
.site-mini-contact li + li,
.site-auth-points li + li,
.site-contact-list li + li {
    margin-top: 0.75rem;
}

.site-category-list a {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    color: var(--ppsdr-primary-dark);
    background: #f6faf8;
    font-weight: 600;
}

.site-category-list a.is-active,
.site-category-list a:hover {
    background: rgba(43, 111, 232, 0.1);
    color: var(--ppsdr-primary);
}

.site-mini-contact li,
.site-footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.site-mini-contact span,
.site-footer-contact span {
    color: var(--ppsdr-primary);
}

.site-footer .footer-top {
    padding: 84px 0 28px;
    background:
        linear-gradient(135deg, rgba(23, 59, 143, 0.97), rgba(43, 111, 232, 0.94)),
        url("../img/footer-bg.png") center top / cover no-repeat;
}

.site-footer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h5,
.site-footer p,
.site-footer li,
.site-footer a {
    color: #fff;
}

.site-footer h5 {
    margin-bottom: 1rem;
}

.site-footer-note {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
}

.site-footer-links a,
.site-footer-contact a {
    color: #fff;
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
    color: #dbe7ff;
}

.site-footer-contact--stack li,
.site-footer-links li {
    align-items: flex-start;
}

.site-footer .social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.site-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    color: #fff;
}

.site-chip {
    display: inline-flex;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(43, 111, 232, 0.08);
    color: var(--ppsdr-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-home-hero {
    padding: 56px 0 96px;
}

.site-home-hero__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(23, 59, 143, 0.92), rgba(43, 111, 232, 0.86)),
        url("../img/hero-bg-2.jpg") center center / cover no-repeat;
    color: #fff;
    box-shadow: 0 25px 60px rgba(8, 52, 68, 0.18);
}

.site-home-hero__panel--enhanced {
    min-height: 100%;
}

.site-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.site-home-hero__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.site-home-mini-card {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.site-home-mini-card strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #fff;
}

.site-home-mini-card span {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.6;
}

.site-home-hero__panel h1,
.site-home-hero__panel p,
.site-home-hero__panel h2 {
    color: #fff;
}

.site-home-hero__main-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 25px 55px rgba(8, 52, 68, 0.18);
}

.site-home-hero__media {
    position: relative;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
}

.site-media-card {
    display: flex;
    min-height: 100%;
}

.site-media-card .media-img {
    height: 100%;
    min-height: 320px;
}

.site-floating-card {
    position: absolute;
    right: -12px;
    bottom: 28px;
    width: min(260px, 72%);
    padding: 1.2rem 1.3rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 40px rgba(8, 52, 68, 0.18);
}

.site-floating-card strong {
    color: var(--ppsdr-primary-dark);
}

.site-floating-card--primary {
    right: 1rem;
    bottom: 1rem;
}

.site-home-photo-badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(23, 59, 143, 0.82);
    color: #fff;
    box-shadow: 0 16px 36px rgba(8, 52, 68, 0.18);
}

.site-home-photo-badge span {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.88;
}

.site-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    padding: 1.5rem;
}

.site-stat-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--ppsdr-primary-dark);
}

.site-feature-card {
    height: 100%;
}

.site-feature-card__image,
.single-blog-card .card-img-top,
.site-gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 18px;
}

.single-blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.single-blog-card .card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.8rem;
}

.single-blog-card .card-title {
    width: 100%;
    margin-bottom: 0;
    min-height: 3.4rem;
}

.single-blog-card .card-text {
    width: 100%;
    margin-bottom: 0;
}

.single-blog-card .detail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
}

.site-home-service-card {
    box-shadow: 0 16px 38px rgba(17, 62, 142, 0.1);
}

.single-blog-card span.category {
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: rgba(8, 52, 68, 0.88);
}

.site-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.site-gallery-card img {
    height: 280px;
}

.site-home-image-panel {
    position: relative;
}

.site-home-image-caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.site-home-image-caption strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ppsdr-primary-dark);
}

.site-home-image-caption span {
    color: var(--ppsdr-muted);
    font-size: 0.94rem;
}

.site-contact-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.site-contact-card h4 {
    color: var(--ppsdr-primary-dark);
}

.site-highlight-card {
    padding: 1.5rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(43, 111, 232, 0.08), rgba(120, 167, 255, 0.12));
    border: 1px solid rgba(43, 111, 232, 0.12);
}

.site-report-grid {
    display: grid;
    gap: 1.5rem;
}

.site-home-donation {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.site-home-visit-card {
    display: flex;
    width: 100%;
    height: 100%;
}

.site-home-visit-card .media-img {
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.site-home-contact-card {
    box-shadow: 0 18px 40px rgba(17, 62, 142, 0.08);
}

.site-report-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.site-report-preview {
    width: 100%;
    min-height: 320px;
    border: 1px solid var(--ppsdr-border);
    border-radius: 18px;
    background: #fff;
}

.site-empty-state {
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    background: rgba(43, 111, 232, 0.05);
    border: 1px dashed rgba(43, 111, 232, 0.2);
}

.site-simple-header {
    padding: 2rem 0 0;
}

.site-simple-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.site-simple-brand,
.site-admin-brand,
.site-auth-home {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--ppsdr-primary-dark);
    font-weight: 700;
}

.site-simple-brand span,
.site-admin-brand span {
    display: block;
    color: var(--ppsdr-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.site-data-main,
.site-admin-main {
    padding: 2rem 0 4rem;
}

.site-admin-layout {
    font-family: "Nunito", sans-serif;
}

.site-admin-header {
    padding: 1.5rem 0 0;
}

.site-admin-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--ppsdr-border);
    border-radius: 24px;
    box-shadow: var(--ppsdr-shadow);
}

.site-admin-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-admin-nav a {
    color: var(--ppsdr-primary-dark);
    font-weight: 700;
}

.site-admin-panel .table {
    margin-bottom: 0;
}

.site-admin-panel .table thead th {
    background: #f2f7f6;
    color: var(--ppsdr-primary-dark);
}

.site-auth-page {
    min-height: 100vh;
    padding: 2rem 0 3rem;
}

.site-auth-topbar {
    margin-bottom: 1.5rem;
}

.site-auth-home {
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--ppsdr-border);
}

.site-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    gap: 1.5rem;
    align-items: stretch;
}

.site-auth-brand {
    background:
        linear-gradient(135deg, rgba(23, 59, 143, 0.95), rgba(43, 111, 232, 0.88)),
        url("../img/hero-bg-2.jpg") center center / cover no-repeat;
    color: #fff;
}

.site-auth-brand h1,
.site-auth-brand p,
.site-auth-brand li {
    color: #fff;
}

.site-auth-card h2 {
    color: var(--ppsdr-primary-dark);
}

.site-auth-form .form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--ppsdr-primary-dark);
    font-weight: 700;
}

.site-auth-form .form-control {
    min-height: 54px;
    border-radius: 16px;
    border: 1px solid var(--ppsdr-border);
    background: #f8fbfa;
    box-shadow: none;
}

.site-auth-form .form-control:focus {
    border-color: rgba(43, 111, 232, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(43, 111, 232, 0.08);
    background: #fff;
}

.site-auth-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-auth-card .invalid-feedback {
    display: block;
}

.site-table-wrap {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--ppsdr-border);
}

.site-table-wrap .table {
    margin-bottom: 0;
    table-layout: fixed;
}

.site-table-wrap .table thead th {
    background: linear-gradient(135deg, rgba(43, 111, 232, 0.12), rgba(23, 59, 143, 0.08));
    color: var(--ppsdr-primary-dark);
    font-weight: 700;
}

.site-media-fallback {
    margin-top: 1.25rem;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px dashed rgba(43, 111, 232, 0.24);
    background: linear-gradient(135deg, rgba(43, 111, 232, 0.05), rgba(120, 167, 255, 0.08));
}

.site-file-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(43, 111, 232, 0.1);
    color: var(--ppsdr-primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.site-table-wrap .table td,
.site-table-wrap .table th {
    vertical-align: middle;
    word-break: break-word;
}

@media (max-width: 1199.98px) {
    .site-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    body.site-body {
        padding-top: 92px;
    }

    .site-navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 22px;
        background: #fff;
        border: 1px solid var(--ppsdr-border);
        box-shadow: var(--ppsdr-shadow);
    }

    .site-navbar .navbar-nav {
        align-items: stretch !important;
    }

    .site-navbar .nav-item {
        width: 100%;
    }

    .site-navbar .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.95rem 0.4rem;
    }

    .site-navbar .site-mobile-dropdown-toggle::after {
        margin-left: auto;
        transition: transform 0.2s ease;
    }

    .site-navbar .site-nav-dropdown.is-open > .site-mobile-dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .site-navbar .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        margin-top: 0.35rem;
        border-radius: 16px;
        box-shadow: none;
        background: #f7faff;
    }

    .site-navbar .site-nav-dropdown.is-open > .dropdown-menu {
        display: block;
    }

    .site-navbar .dropdown-item {
        padding: 0.8rem 0.95rem;
    }

    .site-sticky-stack {
        position: static;
    }

    .site-auth-shell {
        grid-template-columns: 1fr;
    }

    .site-home-hero__highlights {
        grid-template-columns: 1fr;
    }

    .site-admin-header__inner,
    .site-simple-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .site-page-hero,
    .site-home-section,
    .site-section {
        padding: 72px 0;
    }

    .site-home-hero__panel,
    .site-panel,
    .content-card,
    .widget,
    .site-auth-card,
    .site-auth-brand,
    .site-feature-card,
    .site-report-card {
        padding: 1.5rem;
    }

    .site-gallery-grid {
        grid-template-columns: 1fr;
    }

    .site-equal-row > [class*="col-"] {
        display: block;
    }

    .site-home-photo-badge,
    .site-home-image-caption {
        position: static;
        margin-top: 1rem;
    }

    .site-floating-card {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

    .site-auth-links {
        flex-direction: column;
        align-items: stretch;
    }

    .site-report-card__header {
        flex-direction: column;
    }
}
