/* ==========================================================================
   PSIT Unified Design System — Inspired by Modern Editorial Travel UI
   Palette: Warm Cream (#F6F4EC) + Deep Midnight Navy (#121A3D)
            + Periwinkle Indigo (#6878F0) + Coral Orange (#FF834E) + Gold (#F8C537)
   ========================================================================== */

:root {
    --psit-cream: #F6F4EC;
    --psit-light-break: #F3F4F8;
    --psit-white: #FFFFFF;
    --psit-navy: #121A3D;
    --psit-navy-mid: #192556;
    --psit-navy-deep: #0B1028;
    --psit-periwinkle: #6878F0;
    --psit-periwinkle-dark: #5162DE;
    --psit-coral: #FF834E;
    --psit-coral-dark: #FF6B2E;
    --psit-gold: #F8C537;
    --psit-ink: #141D42;
    --psit-muted: #606B89;
    --psit-soft-light: #B8C4E3;
    --psit-emerald: #10B981;
    --psit-rose: #EF4444;
    --psit-radius-xl: 28px;
    --psit-radius-lg: 22px;
    --psit-radius-md: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.psit-body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--psit-navy);
    color: var(--psit-soft-light);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.psit-body h1,
.psit-body h2,
.psit-body h3,
.psit-body h4,
.psit-body h5,
.psit-body h6,
.font-display {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Buttons & Pills
   -------------------------------------------------------------------------- */
.btn-coral {
    background: linear-gradient(135deg, #FF8E58 0%, #FF6D33 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: 999px;
    padding: 0.72rem 1.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(255, 115, 58, 0.32);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

.btn-coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(255, 115, 58, 0.44);
    filter: brightness(1.04);
    color: #FFFFFF !important;
}

.btn-coral:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-periwinkle {
    background: linear-gradient(135deg, #7485F7 0%, #5162DE 100%);
    color: #FFFFFF !important;
    border: none;
    border-radius: 999px;
    padding: 0.72rem 1.75rem;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(81, 98, 222, 0.28);
    transition: all 0.25s ease;
}

.btn-periwinkle:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(81, 98, 222, 0.4);
    color: #FFFFFF !important;
}

.btn-outline-soft {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-outline-soft:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Navbar (Cream Frosted Editorial Bar)
   -------------------------------------------------------------------------- */
.psit-navbar {
    background: rgba(246, 244, 236, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(20, 29, 66, 0.07);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

.psit-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(18, 26, 61, 0.08);
    border-bottom-color: rgba(20, 29, 66, 0.09);
}

.psit-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.psit-navbar .brand-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--psit-ink);
    line-height: 1.1;
}

.psit-navbar .brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--psit-muted);
    letter-spacing: 0.04em;
    display: block;
}

.psit-navbar .nav-link {
    color: var(--psit-ink) !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 0.9rem !important;
    border-radius: 999px;
    transition: all 0.2s ease;
    position: relative;
}

.psit-navbar .nav-link:hover {
    color: var(--psit-periwinkle-dark) !important;
    background: rgba(104, 120, 240, 0.08);
}

.psit-navbar .nav-link.active {
    color: var(--psit-coral-dark) !important;
    background: rgba(255, 131, 78, 0.12);
    font-weight: 700;
}

.psit-navbar .nav-link.nav-donate {
    color: #059669 !important;
}

.psit-navbar .nav-link.nav-donate:hover {
    background: rgba(16, 185, 129, 0.1);
}

.psit-navbar .navbar-toggler {
    border: 1px solid rgba(20, 29, 66, 0.14);
    border-radius: 12px;
    padding: 0.45rem 0.7rem;
    color: var(--psit-ink);
}

.psit-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(104, 120, 240, 0.25);
}

.psit-dropdown {
    background: #FFFFFF;
    border: 1px solid rgba(20, 29, 66, 0.08);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 20px 50px rgba(18, 26, 61, 0.14);
    min-width: 220px;
}

.psit-dropdown .dropdown-item {
    color: var(--psit-ink);
    font-size: 0.87rem;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    transition: all 0.18s ease;
}

.psit-dropdown .dropdown-item:hover,
.psit-dropdown .dropdown-item:focus {
    background: rgba(104, 120, 240, 0.1);
    color: var(--psit-periwinkle-dark);
}

.psit-dropdown .dropdown-divider {
    border-top-color: rgba(20, 29, 66, 0.08);
    margin: 0.35rem 0;
}

@media (min-width: 992px) {
    .dropend:hover > .submenu {
        display: block;
        margin-top: -40px;
        margin-left: 98%;
    }
}

/* --------------------------------------------------------------------------
   Hero Section (Warm Cream + Layered Visual + Periwinkle Ribbon)
   -------------------------------------------------------------------------- */
.hero-showcase {
    background: var(--psit-cream);
    color: var(--psit-ink);
    padding: 7.5rem 0 7.5rem;
    position: relative;
    overflow: hidden;
}

.hero-showcase::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(248, 197, 55, 0.22) 0%, rgba(255, 131, 78, 0.08) 45%, transparent 72%);
    pointer-events: none;
}

.hero-showcase::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(104, 120, 240, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid rgba(20, 29, 66, 0.08);
    padding: 0.42rem 1rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--psit-periwinkle-dark);
    box-shadow: 0 6px 18px rgba(20, 29, 66, 0.05);
}

.hero-title {
    font-size: clamp(2.65rem, 5.2vw, 4.35rem);
    font-weight: 900;
    line-height: 1.03;
    color: var(--psit-ink);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin: 1.25rem 0;
}

.hero-title .sun-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #FFE074 0%, #FF8B56 100%);
    color: #FFFFFF;
    font-size: 1.4rem;
    vertical-align: middle;
    margin-left: 0.35rem;
    box-shadow: 0 10px 24px rgba(255, 131, 78, 0.38);
    animation: gentleSpin 16s linear infinite;
}

@keyframes gentleSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero-lead {
    font-size: 1.06rem;
    color: var(--psit-muted);
    max-width: 520px;
    margin-bottom: 2rem;
}

/* Floating Pill Action Bar (Signature Reference Component) */
.hero-pill-bar {
    background: #FFFFFF;
    border: 1px solid rgba(20, 29, 66, 0.08);
    border-radius: 999px;
    padding: 0.45rem 0.45rem 0.45rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 500px;
    box-shadow: 0 18px 42px rgba(20, 29, 66, 0.09);
}

.hero-pill-bar .pill-icon {
    color: var(--psit-periwinkle-dark);
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-pill-bar select {
    border: none;
    background: transparent;
    color: var(--psit-ink);
    font-weight: 600;
    font-size: 0.92rem;
    width: 100%;
    outline: none;
    cursor: pointer;
}

.hero-pill-bar .btn-coral {
    padding: 0.68rem 1.45rem;
    font-size: 0.84rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.35rem;
}

.hero-chip {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(20, 29, 66, 0.08);
    color: var(--psit-ink);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-chip:hover {
    background: #FFFFFF;
    color: var(--psit-periwinkle-dark);
    border-color: rgba(104, 120, 240, 0.35);
    transform: translateY(-1px);
}

/* Layered Tilted Hero Visual Stage */
.hero-visual-stage {
    position: relative;
    padding: 1.25rem;
}

.hero-backplate {
    position: absolute;
    inset: 14px 10px 8px 22px;
    background: linear-gradient(145deg, #7485F7 0%, #5162DE 100%);
    border-radius: 32px;
    transform: rotate(-4deg);
    box-shadow: 0 24px 55px rgba(81, 98, 222, 0.28);
    z-index: 1;
}

.hero-photo-frame {
    position: relative;
    z-index: 2;
    border-radius: 28px;
    overflow: hidden;
    border: 6px solid #FFFFFF;
    box-shadow: 0 26px 60px rgba(20, 29, 66, 0.18);
    transform: rotate(1.8deg);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    background: var(--psit-navy);
}

.hero-visual-stage:hover .hero-photo-frame {
    transform: rotate(0deg) translateY(-4px);
}

.hero-photo-frame img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.hero-photo-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: rgba(18, 26, 61, 0.84);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 0.85rem 1.15rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-float-badge {
    position: absolute;
    top: -6px;
    right: 4px;
    z-index: 3;
    background: #FFFFFF;
    color: var(--psit-ink);
    border-radius: 18px;
    padding: 0.7rem 1rem;
    box-shadow: 0 18px 36px rgba(20, 29, 66, 0.14);
    border: 1px solid rgba(20, 29, 66, 0.06);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    animation: floatY 5.5s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Angled Periwinkle Ribbon Transition (Hero -> Navy) */
.hero-ribbon-wrap {
    position: relative;
    background: var(--psit-cream);
    height: 84px;
    overflow: hidden;
}

.hero-ribbon-wrap svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* --------------------------------------------------------------------------
   Deep Midnight Navy Stage & Subtle Watermark
   -------------------------------------------------------------------------- */
.navy-stage {
    background: linear-gradient(180deg, #131D47 0%, #192556 50%, #101738 100%);
    position: relative;
    overflow: hidden;
}

.watermark-bg {
    position: absolute;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: clamp(7rem, 18vw, 15rem);
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.025);
    user-select: none;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

.watermark-light {
    color: rgba(20, 29, 66, 0.03);
}

.section-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.section-num-light {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.section-heading-white {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.12;
}

.section-heading-dark {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    color: var(--psit-ink);
    text-transform: uppercase;
    line-height: 1.12;
}

/* --------------------------------------------------------------------------
   Section 01: Services + Jadwal Jumat
   -------------------------------------------------------------------------- */
.service-card-featured {
    background: linear-gradient(155deg, #7485F8 0%, #5162DF 100%);
    border-radius: var(--psit-radius-lg);
    padding: 1.75rem;
    color: #FFFFFF;
    box-shadow: 0 24px 55px rgba(81, 98, 222, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.22);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card-featured .icon-tile {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--psit-periwinkle-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 10px 24px rgba(18, 26, 61, 0.18);
}

.service-card-navy {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(114, 131, 243, 0.35);
    border-radius: var(--psit-radius-lg);
    padding: 1.75rem;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.service-card-navy:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(114, 131, 243, 0.65);
}

.service-card-navy .icon-ring {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: var(--psit-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

/* Custom Mosque Pill Tabs */
.psit-pills {
    gap: 0.45rem;
}

.psit-pills .nav-link {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.42rem 0.95rem;
    transition: all 0.2s ease;
}

.psit-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF !important;
}

.psit-pills .nav-link.active {
    background: #FFFFFF !important;
    color: var(--psit-ink) !important;
    border-color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(18, 26, 61, 0.18);
}

.psit-pills-coral .nav-link.active {
    background: var(--psit-coral) !important;
    color: #FFFFFF !important;
    border-color: var(--psit-coral);
    box-shadow: 0 8px 20px rgba(255, 131, 78, 0.35);
}

.jumat-slot-box {
    background: rgba(18, 26, 61, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1rem 1.15rem;
}

/* --------------------------------------------------------------------------
   Section 02: White Elevated Agenda Cards + Routine Navy Cards
   -------------------------------------------------------------------------- */
.agenda-white-card {
    background: #FFFFFF;
    border-radius: var(--psit-radius-lg);
    padding: 0.9rem;
    color: var(--psit-ink);
    box-shadow: 0 22px 50px rgba(8, 12, 34, 0.32);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agenda-white-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(8, 12, 34, 0.45);
}

.agenda-thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 185px;
    background: linear-gradient(135deg, #6878F0 0%, #192556 100%);
    margin-bottom: 1rem;
}

.agenda-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    background: radial-gradient(circle at top right, rgba(248, 197, 55, 0.35), transparent 55%),
                linear-gradient(145deg, #6878F0 0%, #16204A 100%);
}

.agenda-badge-gold {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--psit-ink);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(18, 26, 61, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.agenda-badge-gold i {
    color: #F59E0B;
}

.agenda-card-body {
    padding: 0.25rem 0.45rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.agenda-meta {
    font-size: 0.82rem;
    color: var(--psit-muted);
}

.routine-navy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(114, 131, 243, 0.32);
    border-radius: 20px;
    padding: 1.35rem;
    color: #FFFFFF;
    height: 100%;
    transition: all 0.25s ease;
}

.routine-navy-card:hover {
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(248, 197, 55, 0.5);
    transform: translateY(-4px);
}

.badge-gold-pill {
    background: var(--psit-gold);
    color: var(--psit-ink);
    font-weight: 800;
    font-size: 0.76rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Section 03: Light Contrast Break + Periwinkle Banner + Ticket Card
   -------------------------------------------------------------------------- */
.light-break-section {
    background: var(--psit-light-break);
    color: var(--psit-ink);
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}

.periwinkle-banner {
    background: linear-gradient(135deg, #7485F7 0%, #5162DE 100%);
    border-radius: var(--psit-radius-xl);
    padding: 3rem 2.25rem 7.5rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(81, 98, 222, 0.24);
}

.periwinkle-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* White Boarding Pass / Ticket Feature Card */
.ticket-card {
    background: #FFFFFF;
    border-radius: 26px;
    box-shadow: 0 28px 65px rgba(18, 26, 61, 0.14);
    border: 1px solid rgba(20, 29, 66, 0.06);
    margin-top: -86px;
    position: relative;
    z-index: 4;
    overflow: hidden;
    display: flex;
}

.ticket-main {
    flex: 1;
    padding: 2.25rem;
    min-width: 0;
}

.ticket-stub {
    width: 74px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #FF8E58 0%, #FF6D33 100%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0.5rem;
    position: relative;
    border-left: 2px dashed rgba(255, 255, 255, 0.55);
}

.ticket-stub::before,
.ticket-stub::after {
    content: '';
    position: absolute;
    left: -13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--psit-light-break);
}

.ticket-stub::before { top: -12px; }
.ticket-stub::after { bottom: -12px; }

.ticket-stub-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.95;
}

@media (max-width: 767.98px) {
    .ticket-card {
        flex-direction: column;
    }
    .ticket-main {
        padding: 1.5rem;
    }
    .ticket-stub {
        width: 100%;
        flex-direction: row;
        padding: 0.85rem 1.25rem;
        border-left: none;
        border-top: 2px dashed rgba(255, 255, 255, 0.55);
    }
    .ticket-stub::before,
    .ticket-stub::after {
        display: none;
    }
    .ticket-stub-label {
        writing-mode: horizontal-tb;
        transform: none;
        letter-spacing: 0.14em;
    }
}

.saldo-hero-box {
    background: #F6F4EC;
    border: 1px solid rgba(20, 29, 66, 0.07);
    border-radius: 20px;
    padding: 1.5rem;
}

.finance-mini-card {
    border-radius: 18px;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(20, 29, 66, 0.07);
    height: 100%;
}

.finance-mini-income {
    background: #ECFDF5;
    border-color: rgba(16, 185, 129, 0.22);
}

.finance-mini-expense {
    background: #FEF2F2;
    border-color: rgba(239, 68, 68, 0.22);
}

.finance-detail-box {
    background: #F8F9FC;
    border: 1px solid rgba(20, 29, 66, 0.07);
    border-radius: 18px;
    padding: 1.25rem;
    height: 100%;
}

.finance-detail-scroll {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.insight-white-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(20, 29, 66, 0.06);
    box-shadow: 0 14px 35px rgba(20, 29, 66, 0.06);
    height: 100%;
}

.chart-white-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 1.75rem;
    border: 1px solid rgba(20, 29, 66, 0.06);
    box-shadow: 0 18px 45px rgba(20, 29, 66, 0.07);
}

/* --------------------------------------------------------------------------
   Section 04: Photo Overlay Gallery + Bottom CTA + Footer
   -------------------------------------------------------------------------- */
.navy-footer-stage {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 131, 78, 0.16) 0%, transparent 45%),
        radial-gradient(ellipse at 15% 85%, rgba(104, 120, 240, 0.14) 0%, transparent 40%),
        linear-gradient(180deg, #131D47 0%, #0D1432 55%, #090E24 100%);
    color: var(--psit-soft-light);
    position: relative;
    overflow: hidden;
}

.article-photo-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 4.3;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 50px rgba(5, 8, 24, 0.45);
    background: #0F1739;
    cursor: pointer;
}

.article-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-photo-card:hover img {
    transform: scale(1.07);
}

.article-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 16, 40, 0.1) 0%, rgba(11, 16, 40, 0.35) 48%, rgba(11, 16, 40, 0.94) 100%);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-date-pill {
    align-self: flex-end;
    background: rgba(255, 131, 78, 0.92);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.34rem 0.8rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.cta-gold-highlight {
    color: var(--psit-gold);
}

.donation-white-card {
    background: #FFFFFF;
    color: var(--psit-ink);
    border-radius: 26px;
    padding: 2.25rem;
    box-shadow: 0 28px 65px rgba(5, 8, 24, 0.45);
    height: 100%;
}

.qris-frame {
    background: var(--psit-cream);
    border: 1px solid rgba(20, 29, 66, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
}

.contact-navy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(114, 131, 243, 0.35);
    border-radius: 26px;
    padding: 2.25rem;
    color: #FFFFFF;
    height: 100%;
}

.social-circle-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.22s ease;
}

.social-circle-btn:hover {
    background: var(--psit-coral);
    border-color: var(--psit-coral);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.psit-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0 2rem;
}

.psit-footer a.footer-link {
    color: var(--psit-soft-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.psit-footer a.footer-link:hover {
    color: var(--psit-coral);
}

/* --------------------------------------------------------------------------
   Sub-pages (Arsip Jumat, Galeri, Inventaris)
   -------------------------------------------------------------------------- */
.subpage-hero {
    background: var(--psit-cream);
    color: var(--psit-ink);
    padding: 7.5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

.subpage-hero-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    color: var(--psit-ink);
    text-transform: uppercase;
}

.subpage-card-sheet {
    background: #FFFFFF;
    color: var(--psit-ink);
    border-radius: 26px;
    padding: 2rem;
    box-shadow: 0 26px 65px rgba(8, 12, 34, 0.28);
    margin-top: -54px;
    position: relative;
    z-index: 5;
}

.psit-table thead th {
    background: #EEF0FA;
    color: var(--psit-ink);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid #DCE0F2;
    padding: 1rem;
}

.psit-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #EEF1F8;
    color: var(--psit-ink);
}

.psit-table tbody tr:hover {
    background: #F8F9FD;
}

.psit-filter-select {
    background-color: #F6F7FB;
    color: var(--psit-ink);
    border: 1px solid #DCE0EE;
    border-radius: 999px;
    padding: 0.55rem 2.2rem 0.55rem 1.1rem;
    font-weight: 600;
    font-size: 0.88rem;
}

.psit-filter-select:focus {
    outline: none;
    border-color: var(--psit-periwinkle);
    box-shadow: 0 0 0 4px rgba(104, 120, 240, 0.14);
}

/* Inventaris Asset White Cards */
.asset-white-card {
    background: #FFFFFF;
    color: var(--psit-ink);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(8, 12, 34, 0.28);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.asset-white-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(8, 12, 34, 0.42);
}

.asset-img-box {
    position: relative;
    height: 210px;
    background: #EEF0FA;
    overflow: hidden;
}

.asset-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asset-status-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(18, 26, 61, 0.18);
}

.asset-status-good {
    background: #ECFDF5;
    color: #065F46;
}

.asset-status-maint {
    background: #FEF3C7;
    color: #92400E;
}

/* Light Modal for Inventaris */
.psit-modal-content {
    background: #FFFFFF;
    color: var(--psit-ink);
    border: none;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(11, 16, 40, 0.4);
}

.psit-modal-content .form-control,
.psit-modal-content .form-select {
    background: #F6F7FB;
    border: 1px solid #DCE0EE;
    color: var(--psit-ink);
    border-radius: 12px;
    padding: 0.68rem 0.95rem;
}

.psit-modal-content .form-control:focus {
    background: #FFFFFF;
    border-color: var(--psit-periwinkle);
    box-shadow: 0 0 0 4px rgba(104, 120, 240, 0.14);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-showcase {
        padding: 6.5rem 0 5rem;
        text-align: center;
    }
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-pill-bar {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-quick-chips {
        justify-content: center;
    }
    .hero-photo-frame img {
        height: 290px;
    }
}

@media (max-width: 575.98px) {
    .hero-pill-bar {
        flex-direction: column;
        border-radius: 22px;
        padding: 0.85rem;
        align-items: stretch;
    }
    .hero-pill-bar .pill-icon {
        display: none;
    }
    .periwinkle-banner {
        padding: 2rem 1.25rem 6.5rem;
    }
}
