@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #ec008b;
    --primary-light: #ff4db3;
    --primary-dark: #c4006f;
    --secondary: #0071bb;
    --secondary-light: #3a9de8;
    --secondary-dark: #005a96;
    --gradient-main: linear-gradient(135deg, #ec008b 0%, #0071bb 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b9d 0%, #ec008b 50%, #c4006f 100%);
    --gradient-cool: linear-gradient(135deg, #0071bb 0%, #3a9de8 100%);
    --page-bg: #ffffff;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --surface: #f8f9fc;
    --surface-strong: #eef2fb;
    --surface-card: #ffffff;
    --border-soft: rgba(26, 26, 46, 0.08);
    --footer-bg: #15172a;
    --white: #ffffff;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html[data-theme="light"] {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --page-bg: #09111f;
    --text-dark: #edf2ff;
    --text-muted: #9eadc8;
    --surface: #101929;
    --surface-strong: #182338;
    --surface-card: #101b2d;
    --border-soft: rgba(255, 255, 255, 0.08);
    --footer-bg: #060d18;
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 16px 42px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 24px 72px rgba(0, 0, 0, 0.42);
}

body {
    font-family: 'Prompt', sans-serif;
    color: var(--text-dark);
    background:
        radial-gradient(circle at top left, rgba(236, 0, 139, 0.06), transparent 28%),
        radial-gradient(circle at top right, rgba(0, 113, 187, 0.08), transparent 24%),
        var(--page-bg);
    overflow-x: hidden;
    line-height: 1.7;
    transition: background-color var(--transition), color var(--transition);
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at top left, rgba(236, 0, 139, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(0, 113, 187, 0.16), transparent 28%),
        #09111f;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-dark,
.text-body,
.text-black {
    color: var(--text-dark) !important;
}

.bg-light,
.bg-white {
    background-color: var(--surface-card) !important;
}

.border,
.border-top,
.border-end,
.border-bottom,
.border-start {
    border-color: var(--border-soft) !important;
}

.modal-backdrop.show {
    opacity: 0.55;
}

html[data-theme="dark"] .modal-backdrop.show {
    opacity: 0.78;
}

html[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(180%);
}

html[data-theme="dark"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 0, 139, 0.2);
}

html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .offcanvas,
html[data-theme="dark"] .toast,
html[data-theme="dark"] .popover {
    background: var(--surface-card);
    color: var(--text-dark);
    border-color: var(--border-soft);
}

html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer,
html[data-theme="dark"] .dropdown-divider,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .accordion-button {
    border-color: var(--border-soft);
}

html[data-theme="dark"] .accordion-button,
html[data-theme="dark"] .accordion-button:not(.collapsed) {
    background: var(--surface);
    color: var(--text-dark);
    box-shadow: none;
}

html[data-theme="dark"] .accordion-button::after {
    filter: invert(1) grayscale(100%);
}

html[data-theme="dark"] .alert-warning {
    color: #ffe7ac;
    background: rgba(255, 193, 7, 0.12);
    border-color: rgba(255, 193, 7, 0.24);
}

html[data-theme="dark"] .alert-success {
    color: #9ee0b6;
    background: rgba(25, 135, 84, 0.14);
    border-color: rgba(25, 135, 84, 0.26);
}

html[data-theme="dark"] .alert-danger {
    color: #ffb4bd;
    background: rgba(220, 53, 69, 0.14);
    border-color: rgba(220, 53, 69, 0.24);
}

html[data-theme="dark"] .breadcrumb-item,
html[data-theme="dark"] .breadcrumb-item.active,
html[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(237, 242, 255, 0.82);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

main {
    display: block;
}

section {
    scroll-margin-top: 90px;
}

::selection {
    background: rgba(236, 0, 139, 0.15);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding,
.page-section {
    padding: 6rem 0;
}

.section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
}

.pill-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pill-label-primary {
    background: rgba(236, 0, 139, 0.12);
    color: var(--primary);
}

.pill-label-secondary {
    background: rgba(0, 113, 187, 0.12);
    color: var(--secondary);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-up-delay-3 {
    transition-delay: 0.3s;
}

.fade-up-delay-4 {
    transition-delay: 0.4s;
}

.btn-primary,
.btn-support,
.btn-submit,
.footer-donate-btn,
.btn-hero-primary,
.btn-rfl {
    background: var(--gradient-main);
    border: none;
    color: var(--white);
    border-radius: 999px;
    box-shadow: 0 8px 25px rgba(236, 0, 139, 0.24);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary:hover,
.btn-support:hover,
.btn-submit:hover,
.footer-donate-btn:hover,
.btn-hero-primary:hover,
.btn-rfl:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(236, 0, 139, 0.3);
}

.btn-outline-soft,
.btn-hero-outline,
.btn-rfl-outline {
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    color: var(--white);
    transition: all var(--transition);
}

.btn-outline-soft:hover,
.btn-hero-outline:hover,
.btn-rfl-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

#mainNav {
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    padding: 1rem 0;
    background: transparent;
}

html[data-theme="dark"] #mainNav.home-nav:not(.scrolled):not(.solid-nav) {
    background: linear-gradient(180deg, rgba(9, 17, 31, 0.88) 0%, rgba(9, 17, 31, 0.68) 100%);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

#mainNav.scrolled,
#mainNav.solid-nav {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    padding: 0.65rem 0;
}

.brand-logo {
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    padding: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.navbar-brand .logo-text {
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white);
    transition: color var(--transition);
}

.navbar-brand .logo-sub {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    opacity: 0.86;
}

#mainNav.scrolled .navbar-brand .logo-text,
#mainNav.solid-nav .navbar-brand .logo-text {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.92) !important;
    padding: 0.42rem 0.95rem !important;
    border-radius: 10px;
    transition: all var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.18);
}

#mainNav.scrolled .navbar-nav .nav-link,
#mainNav.solid-nav .navbar-nav .nav-link {
    color: var(--text-dark) !important;
}

#mainNav.scrolled .navbar-nav .nav-link:hover,
#mainNav.scrolled .navbar-nav .nav-link.active,
#mainNav.solid-nav .navbar-nav .nav-link:hover,
#mainNav.solid-nav .navbar-nav .nav-link.active {
    background: rgba(236, 0, 139, 0.1);
    color: var(--primary) !important;
}

.btn-support {
    padding: 0.6rem 1.35rem !important;
    font-size: 0.88rem;
    font-weight: 600;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.34);
    border-radius: 14px;
    background: transparent;
    color: var(--white);
    transition: all var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.theme-toggle i {
    pointer-events: none;
}

.navbar-toggler {
    border: none;
    padding: 0.4rem 0.6rem;
    color: var(--white);
    font-size: 1.55rem;
}

#mainNav.scrolled .navbar-toggler,
#mainNav.solid-nav .navbar-toggler {
    color: var(--text-dark);
}

#mainNav.scrolled .theme-toggle,
#mainNav.solid-nav .theme-toggle {
    color: var(--text-dark);
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(236, 0, 139, 0.05);
}

#mainNav.scrolled .theme-toggle:hover,
#mainNav.solid-nav .theme-toggle:hover {
    color: var(--primary);
    background: rgba(236, 0, 139, 0.12);
}

.navbar-toggler:focus {
    box-shadow: none;
}

#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background:
        linear-gradient(160deg, rgba(236, 0, 139, 0.82) 0%, rgba(0, 113, 187, 0.75) 100%),
        url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=1600&q=80') center/cover no-repeat;
    overflow: hidden;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

html[data-theme="dark"] #hero::after,
html[data-theme="dark"] .page-hero::after {
    background: #09111f;
}

.hero-content,
.hero-img-wrap,
.run4love-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.3rem;
}

.hero-title span {
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 4px;
    background: rgba(255, 255, 255, 0.58);
    border-radius: 999px;
}

.hero-desc {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    margin-bottom: 2.2rem;
    font-weight: 300;
}

.btn-hero-primary,
.btn-hero-outline,
.btn-rfl,
.btn-rfl-outline {
    padding: 0.88rem 2.2rem;
    font-weight: 700;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-stat-item {
    color: var(--white);
}

.hero-stat-num {
    display: block;
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    opacity: 0.82;
}

.hero-img-card,
.run4love-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--white);
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.1rem;
    box-shadow: var(--shadow-md);
    font-size: 0.82rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

html[data-theme="dark"] .hero-float-badge {
    background: #121d30;
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-float-badge .icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

#about,
#activities,
#stats,
#contact {
    background: var(--white);
}

#programs,
.surface-section {
    background: var(--surface);
}

html[data-theme="dark"] #about,
html[data-theme="dark"] #activities,
html[data-theme="dark"] #stats,
html[data-theme="dark"] #contact {
    background: #09111f;
}

html[data-theme="dark"] #programs,
html[data-theme="dark"] .surface-section {
    background: #0d1727;
}

.about-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    left: -1.5rem;
    bottom: 2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about-experience-badge .num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .label {
    font-size: 0.78rem;
    opacity: 0.9;
}

.mv-card,
.story-card,
.contact-info-card,
.contact-form-card,
.detail-card,
.page-panel {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .story-card,
html[data-theme="dark"] .contact-info-card,
html[data-theme="dark"] .contact-form-card,
html[data-theme="dark"] .detail-card,
html[data-theme="dark"] .page-panel,
html[data-theme="dark"] .program-card,
html[data-theme="dark"] .listing-card,
html[data-theme="dark"] .activity-card,
html[data-theme="dark"] .post-grid-card,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .error-card {
    background: var(--surface-card);
    border-color: var(--border-soft);
}

.mv-card {
    background: var(--surface);
    border-left: 4px solid;
    padding: 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition);
}

html[data-theme="dark"] .mv-card {
    background: #122033;
}

.mv-card:hover,
.story-card:hover,
.listing-card:hover,
.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mv-card.mission {
    border-color: var(--primary);
}

.mv-card.vision {
    border-color: var(--secondary);
}

.mv-icon,
.stat-icon-wrap,
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mv-card .mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.program-card,
.listing-card {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before,
.listing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--gradient-main);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.program-card:hover,
.listing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-card:hover::before,
.listing-card:hover::before {
    opacity: 1;
}

.program-icon-wrap,
.listing-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.program-icon-1 {
    background: rgba(236, 0, 139, 0.12);
    color: var(--primary);
}

.program-icon-2 {
    background: rgba(0, 113, 187, 0.12);
    color: var(--secondary);
}

.program-icon-3 {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.program-icon-4 {
    background: rgba(255, 107, 0, 0.12);
    color: #ff6b00;
}

.program-number {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.05;
    line-height: 1;
    user-select: none;
}

.program-link,
.detail-link,
.listing-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: gap var(--transition);
}

.program-link:hover,
.detail-link:hover,
.listing-link:hover {
    gap: 0.6rem;
    color: var(--primary-dark);
}

.activity-card,
.listing-card.compact-card,
.post-grid-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.activity-card:hover,
.listing-card.compact-card:hover,
.post-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.activity-card .img-wrap,
.post-grid-card .img-wrap {
    overflow: hidden;
}

.activity-card .activity-img,
.post-grid-card .card-cover,
.listing-image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card .activity-img,
.post-grid-card .card-cover {
    height: 220px;
}

.listing-image {
    height: 260px;
    border-radius: calc(var(--radius-xl) - 0.5rem);
    margin-bottom: 1.5rem;
}

.activity-card:hover .activity-img,
.post-grid-card:hover .card-cover,
.listing-card:hover .listing-image {
    transform: scale(1.04);
}

.activity-card .card-body,
.post-grid-card .card-body {
    padding: 1.5rem;
}

.activity-cat,
.meta-chip {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.activity-cat-pink,
.meta-chip-pink {
    background: rgba(236, 0, 139, 0.12);
    color: var(--primary);
}

.activity-cat-blue,
.meta-chip-blue {
    background: rgba(0, 113, 187, 0.12);
    color: var(--secondary);
}

.activity-cat-green,
.meta-chip-green {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.activity-meta,
.card-meta,
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.activity-meta i,
.card-meta i,
.detail-meta i,
.footer-contact-link i,
.footer-contact-item i {
    color: var(--primary);
}

#run4love {
    background:
        linear-gradient(150deg, rgba(0, 113, 187, 0.88) 0%, rgba(236, 0, 139, 0.82) 100%),
        url('https://images.unsplash.com/photo-1571008887538-b36bb32f4571?w=1600&q=80') center/cover no-repeat fixed;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

#run4love::before,
#run4love::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

#run4love::before {
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
}

#run4love::after {
    right: -60px;
    bottom: -120px;
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, 0.05);
}

.run4love-content,
.run4love-content h2,
.run4love-content p {
    color: var(--white);
}

.countdown-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.countdown-item {
    min-width: 84px;
    padding: 1.2rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
}

.countdown-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
}

.countdown-label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.7rem;
    opacity: 0.8;
}

.run4love-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.run4love-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.run4love-badge .date-num {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
}

#stats {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

#stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    font-size: 1.9rem;
}

.stat-number {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.35rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.contact-info-card,
.contact-form-card {
    height: 100%;
    padding: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
}

.contact-icon-pink {
    background: rgba(236, 0, 139, 0.1);
    color: var(--primary);
}

.contact-icon-blue {
    background: rgba(0, 113, 187, 0.1);
    color: var(--secondary);
}

.contact-item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-item-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--white);
    transition: all var(--transition);
}

.social-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-fb {
    background: #1877f2;
}

.social-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-yt {
    background: #ff0000;
}

.social-line {
    background: #06c755;
}

.social-x {
    background: #000000;
}

.form-control,
.form-select {
    border: 1.5px solid #e9ecef;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-family: 'Prompt', sans-serif;
    font-size: 0.92rem;
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
    background: #0b1525;
    border-color: #2a3957;
    color: var(--text-dark);
}

html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] textarea.form-control::placeholder {
    color: #8390ab;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(236, 0, 139, 0.12);
    background: var(--white);
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
    background: #101b2d;
}

html[data-theme="dark"] .auth-modal .modal-content {
    background:
        radial-gradient(circle at top right, rgba(0, 113, 187, 0.16), transparent 30%),
        radial-gradient(circle at top left, rgba(236, 0, 139, 0.18), transparent 36%),
        #101929;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .auth-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

html[data-theme="dark"] .auth-divider::before {
    background: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .auth-divider span {
    background: #101929;
}

html[data-theme="dark"] .auth-feedback.is-error {
    background: rgba(220, 53, 69, 0.16);
    border-color: rgba(220, 53, 69, 0.28);
    color: #ffb8c0;
}

html[data-theme="dark"] .auth-feedback.is-success {
    background: rgba(25, 135, 84, 0.18);
    border-color: rgba(25, 135, 84, 0.28);
    color: #9de7c1;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.auth-modal .modal-content {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(0, 113, 187, 0.08), transparent 28%),
        radial-gradient(circle at top left, rgba(236, 0, 139, 0.1), transparent 34%),
        rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.auth-modal .modal-header,
.auth-modal .modal-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.auth-modal .btn-close {
    box-shadow: none;
}

.auth-modal-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.auth-form .btn-submit {
    margin-top: 0.35rem;
}

.auth-divider {
    position: relative;
    margin: 1.25rem 0 1rem;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(108, 117, 125, 0.22);
}

.auth-divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.98);
}

.btn-line-login {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 199, 85, 0.18);
    background: #06c755;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(6, 199, 85, 0.22);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-line-login:hover {
    color: #ffffff;
    background: #02b84c;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(6, 199, 85, 0.28);
}

.btn-line-login:focus {
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(6, 199, 85, 0.18);
}

.auth-feedback {
    display: none;
    margin-bottom: 1rem;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.auth-feedback.is-visible {
    display: block;
}

.auth-feedback.is-error {
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.18);
    color: #b42337;
}

.auth-feedback.is-success {
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.18);
    color: #198754;
}

.form-success {
    display: none;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    padding: 0.95rem 1.1rem;
    border: 1.5px solid rgba(40, 167, 69, 0.28);
    background: rgba(40, 167, 69, 0.08);
    color: #218838;
}

html[data-theme="dark"] .form-success {
    background: rgba(40, 167, 69, 0.12);
    border-color: rgba(40, 167, 69, 0.34);
    color: #7ee2a8;
}

.form-success.is-visible {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.map-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    margin-top: 1.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #e8f0fe 0%, #f0e8fe 100%);
    overflow: hidden;
    color: var(--secondary);
    font-size: 2.1rem;
}

html[data-theme="dark"] .map-placeholder {
    background: linear-gradient(135deg, #11223f 0%, #1a1836 100%);
    color: #9fc5ff;
}

.map-placeholder .map-label {
    position: absolute;
    margin-top: 5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.page-hero {
    position: relative;
    padding: 11rem 0 5rem;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(26, 26, 46, 0.84) 0%, rgba(0, 113, 187, 0.78) 50%, rgba(236, 0, 139, 0.74) 100%),
        url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=80') center/cover no-repeat;
    color: var(--white);
}

html[data-theme="dark"] #mainNav.scrolled,
html[data-theme="dark"] #mainNav.solid-nav {
    background: rgba(9, 17, 31, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .brand-logo {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] #mainNav.scrolled .theme-toggle,
html[data-theme="dark"] #mainNav.solid-nav .theme-toggle {
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] #mainNav.scrolled .theme-toggle:hover,
html[data-theme="dark"] #mainNav.solid-nav .theme-toggle:hover {
    color: #ffd5ee;
    background: rgba(236, 0, 139, 0.18);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 -2px 0;
    height: 90px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 100%);
}

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

.page-hero .section-title,
.page-hero p,
.page-hero .breadcrumb-shell a,
.page-hero .breadcrumb-shell .active {
    color: var(--white);
}

.page-hero-copy {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.02rem;
}

.hero-summary-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.hero-summary-card .meta-line {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.hero-summary-card .meta-line + .meta-line {
    margin-top: 0.85rem;
}

.breadcrumb-shell {
    margin-top: 1.35rem;
}

.breadcrumb-shell .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.35rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.breadcrumb-shell .breadcrumb-item {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.breadcrumb-shell .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: rgba(255, 255, 255, 0.5);
    padding-right: 0.5rem;
}

.breadcrumb-shell .breadcrumb-item.active {
    color: var(--white);
}

.story-card,
.detail-card,
.page-panel {
    padding: 2rem;
}

.story-card h3,
.detail-card h3,
.page-panel h3 {
    margin-bottom: 0.85rem;
}

.story-card ol,
.story-card ul,
.detail-content ol,
.detail-content ul {
    padding-left: 1.3rem;
}

.story-card li,
.detail-content li {
    margin-bottom: 0.5rem;
}

.listing-grid {
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

.post-grid-card .card-body {
    padding: 1.4rem;
}

.post-grid-card h5,
.listing-card h5,
.detail-card h2 {
    line-height: 1.45;
}

.card-title-link {
    color: var(--text-dark);
    transition: color var(--transition);
}

.card-title-link:hover {
    color: var(--primary);
}

.detail-card {
    box-shadow: var(--shadow-lg);
}

.detail-cover {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 0.25rem);
    margin-bottom: 2rem;
}

.detail-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: rgba(236, 0, 139, 0.08);
    border-radius: 999px;
    color: var(--primary);
    font-weight: 600;
    transition: all var(--transition);
}

.return-link:hover {
    background: rgba(236, 0, 139, 0.14);
    color: var(--primary-dark);
}

.detail-content {
    color: var(--text-dark);
}

html[data-theme="dark"] .detail-content a {
    color: var(--secondary-light);
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 1.25rem 0;
}

.detail-content iframe {
    max-width: 100%;
}

.error-shell {
    padding: 12rem 0 6rem;
}

.error-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.error-code {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state {
    padding: 3rem 2rem;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

html[data-theme="dark"] .return-link {
    background: rgba(236, 0, 139, 0.16);
}

html[data-theme="dark"] .stat-divider {
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.18), transparent);
}

footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

html[data-theme="dark"] footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer .footer-brand .logo-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
}

footer .footer-brand .logo-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

footer h6 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

footer a {
    color: rgba(255, 255, 255, 0.64);
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.88rem;
    transition: color var(--transition);
}

footer a:hover {
    color: var(--primary-light);
}

.footer-copy {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

.footer-contact-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.8;
    margin-bottom: 0.55rem;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-heart {
    color: var(--primary);
}

.footer-donate-btn {
    padding: 0.45rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 2rem 0 1.5rem;
}

.footer-bottom {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-social .social-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
}

#backToTop {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

#backToTop.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        border-radius: var(--radius-lg);
        padding: 1rem;
        margin-top: 0.6rem;
        box-shadow: var(--shadow-md);
    }

    .navbar-collapse .nav-link {
        color: var(--text-dark) !important;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        background: rgba(236, 0, 139, 0.1);
        color: var(--primary) !important;
    }

    .navbar-collapse .theme-toggle {
        color: var(--text-dark);
        border-color: rgba(15, 23, 42, 0.12);
        background: rgba(236, 0, 139, 0.05);
    }

    .navbar-collapse .theme-toggle:hover {
        color: var(--primary);
        background: rgba(236, 0, 139, 0.12);
    }

    html[data-theme="dark"] .navbar-collapse {
        background: rgba(9, 17, 31, 0.96);
    }

    html[data-theme="dark"] .navbar-collapse .nav-link {
        color: var(--text-dark) !important;
    }

    html[data-theme="dark"] .navbar-collapse .nav-link:hover,
    html[data-theme="dark"] .navbar-collapse .nav-link.active {
        background: rgba(236, 0, 139, 0.16);
        color: #ffd5ee !important;
    }

    html[data-theme="dark"] .navbar-collapse .theme-toggle {
        color: var(--text-dark);
        border-color: rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.05);
    }

    html[data-theme="dark"] .navbar-collapse .theme-toggle:hover {
        color: #ffd5ee;
        background: rgba(236, 0, 139, 0.18);
    }

    .about-experience-badge {
        left: 1rem;
    }

    .page-hero {
        padding-top: 9.5rem;
    }

    .listing-grid {
        margin-top: -1.5rem;
    }
}

@media (max-width: 767.98px) {
    #hero {
        min-height: 100svh;
    }

    .hero-stats,
    .countdown-wrap {
        gap: 0.85rem;
    }

    .countdown-item {
        min-width: 72px;
        padding: 0.9rem 1rem;
    }

    .countdown-num {
        font-size: 1.7rem;
    }

    .hero-float-badge {
        position: static;
        margin-top: 1rem;
        animation: none;
    }

    .stat-divider {
        display: none;
    }

    .contact-info-card,
    .contact-form-card,
    .story-card,
    .detail-card,
    .page-panel,
    .program-card,
    .listing-card,
    .error-card {
        padding: 1.5rem;
    }

    .detail-header {
        align-items: flex-start;
    }

    #backToTop {
        right: 1rem;
        bottom: 1rem;
    }
}