:root {
    --bg: #FAF8F4;
    --bg-2: #F1ECE2;
    --bg-3: #EAE3D4;
    --ink: #1F3E55;
    --ink-2: #243B4F;
    --muted: #5F6F7A;
    --line: rgba(31, 62, 85, .12);
    --teal: #5FBDB4;
    --teal-2: #4FAFA6;
    --teal-deep: #2E7C77;
    --teal-soft: #E6F3F2;
    --gold: #C9A66B;
    --dark: #16313F;
    --dark-2: #1B3B4D;
    --shadow-sm: 0 2px 8px rgba(31, 62, 85, .06);
    --shadow-md: 0 10px 30px rgba(31, 62, 85, .08);
    --shadow-lg: 0 24px 60px rgba(31, 62, 85, .14);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: 'Plus Jakarta Sans', 'Manrope', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
.serif {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -.018em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -.025em
}

h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    line-height: 1.14;
    margin-bottom: 1rem;
    letter-spacing: -.02em
}

h3 {
    font-size: 1.3rem;
    line-height: 1.3
}

p {
    margin-bottom: 1rem
}

.lead {
    font-size: 1.115rem;
    color: var(--muted);
    font-weight: 400;
    line-height: 1.6
}

a {
    color: var(--teal-deep);
    text-decoration: none;
    transition: color .2s
}

a:hover {
    color: var(--teal-2)
}

.container {
    max-width: 1200px
}

section {
    padding: 5rem 0
}

.section-sm {
    padding: 3.5rem 0
}

.eyebrow {
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin-bottom: 1rem;
    display: inline-block
}

.eyebrow.light {
    color: var(--teal)
}

.accent {
    color: var(--teal-deep);
    font-style: italic;
    font-weight: 500
}

.muted {
    color: var(--muted)
}

.divider {
    width: 56px;
    height: 3px;
    background: var(--teal);
    border: 0;
    border-radius: 3px;
    margin: 1.25rem 0 1.5rem;
    opacity: 1
}

.bg-cream {
    background: var(--bg-2)
}

.bg-sand {
    background: var(--bg-3)
}

.topbar {
    background: #0F2530;
    color: #D9E3E8;
    font-size: .82rem;
    font-weight: 500;
    padding: .6rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap
}

.topbar .tb-left,
.topbar .tb-right {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap
}

.topbar a {
    color: #D9E3E8
}

.topbar a:hover {
    color: var(--teal)
}

.topbar i {
    color: var(--teal);
    margin-right: .4rem
}

.topbar .socials a {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: flex-end;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    margin-left: .35rem;
    font-size: .75rem;
    align-content: stretch;
}

@media (max-width:991px) {
    .topbar {
        display: none
    }
}

.navbar {
    background: rgba(250, 248, 244, .97);
    backdrop-filter: saturate(160%) blur(12px);
    transition: padding .25s ease, box-shadow .25s ease;
    padding: .9rem 0;
    border-bottom: 1px solid transparent;
    top: 46px;
}

.navbar.scrolled {
    padding: .55rem 0;
    box-shadow: 0 6px 24px rgba(15, 27, 34, .08);
    border-bottom-color: var(--line)
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 1rem
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0;
    padding: 0;
    flex-shrink: 0
}

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

.navbar.scrolled .navbar-brand img {
    height: 58px
}

.navbar .nav-link {
    color: var(--ink-2) !important;
    font-weight: 600;
    font-size: .95rem;
    padding: .55rem .85rem !important;
    position: relative;
    letter-spacing: -.005em;
    white-space: nowrap;
}

.navbar .nav-link:hover {
    color: var(--teal-deep) !important
}

.navbar .nav-link.active {
    color: var(--teal-deep) !important
}

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .1rem;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
}

.navbar-nav {
    align-items: center
}

.navbar-toggler {
    padding: .3rem .55rem;
    color: var(--ink)
}

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

.btn {
    border-radius: 999px;
    padding: .78rem 1.55rem;
    font-weight: 600;
    font-size: .94rem;
    letter-spacing: .005em;
    transition: all .22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-width: 1.5px;
    line-height: 1.2;
}

.btn-teal {
    background: var(--teal);
    color: #fff;
    border: 1.5px solid var(--teal);
    box-shadow: 0 6px 18px rgba(95, 189, 180, .32)
}

.btn-teal:hover {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(46, 124, 119, .4)
}

.btn-ink {
    background: var(--ink);
    color: #fff;
    border: 1.5px solid var(--ink);
    box-shadow: 0 6px 18px rgba(31, 62, 85, .25)
}

.btn-ink:hover {
    background: #0c2535;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(31, 62, 85, .35)
}

.btn-outline-ink {
    border: 1.5px solid var(--ink);
    color: var(--ink);
    background: transparent
}

.btn-outline-ink:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(31, 62, 85, .2)
}

.btn-outline-teal {
    border: 1.5px solid var(--teal-deep);
    color: var(--teal-deep);
    background: #fff
}

.btn-outline-teal:hover {
    background: var(--teal-deep);
    color: #fff;
    transform: translateY(-2px)
}

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, .6);
    color: #fff;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(4px)
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25)
}

.btn-lg {
    padding: 1rem 1.95rem;
    font-size: 1.02rem
}

.btn-donate {
    padding: .7rem 1.6rem
}

.hero {
    position: relative;
    height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: #0a141a;
    overflow: hidden;
    isolation: isolate
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transition: opacity .85s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0)
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(100deg, rgba(10, 20, 26, .92) 0%, rgba(10, 20, 26, .65) 55%, rgba(10, 20, 26, .3) 100%)
}

.hero .container {
    position: relative;
    z-index: 3;
    padding-top: 6rem;
    padding-bottom: 3rem
}

.hero h1 {
    color: #fff
}

.hero h1 .accent {
    color: var(--teal);
    font-style: italic;
    font-weight: 500
}

.hero .lead {
    color: rgba(255, 255, 255, .88);
    max-width: 560px;
    margin: 1.4rem 0 2.2rem;
    font-size: 1.18rem
}

.hero-stats {
    display: flex;
    gap: 2.6rem;
    margin-top: 3.2rem;
    flex-wrap: wrap
}

.hero-stats .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--teal);
    line-height: 1
}

.hero-stats .stat-lbl {
    font-size: .74rem;
    letter-spacing: .2em;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-top: .35rem
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    gap: .55rem;
    z-index: 4
}

.hero-dots button {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    border: 0;
    background: rgba(255, 255, 255, .3);
    cursor: pointer;
    padding: 0;
    transition: .25s
}

.hero-dots button.active {
    background: var(--teal);
    width: 48px
}

.hero-arrows button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 1.1rem;
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s
}

.hero-arrows button:hover {
    background: var(--teal);
    border-color: var(--teal)
}

.hero-arrows .prev {
    left: 1.4rem
}

.hero-arrows .next {
    right: 1.4rem
}

@media (min-width:992px) {
    .hero-arrows button {
        display: inline-flex
    }
}

.page-hero {
    position: relative;
    background: var(--dark);
    color: #fff;
    padding: 12rem 0 5rem;
    overflow: hidden
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--page-img, linear-gradient(135deg, #1B3B4D, #0F2530)) center/cover no-repeat
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 37, 48, .9) 0%, rgba(15, 37, 48, .74) 55%, rgba(15, 37, 48, .55) 100%)
}

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

.page-hero h1 {
    color: #fff
}

.page-hero .lead {
    color: rgba(255, 255, 255, .88);
    max-width: 640px
}

.crumbs {
    font-size: .82rem;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 1rem
}

.crumbs a {
    color: rgba(255, 255, 255, .7)
}

.crumbs a:hover {
    color: #fff
}

.crumbs .sep {
    margin: 0 .5rem;
    opacity: .5
}

.card-soft {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: .25s
}

.card-soft:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(95, 189, 180, .45)
}

.icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--teal-soft);
    color: var(--teal-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.15rem
}

.card-soft h3 {
    margin-bottom: .5rem
}

.card-soft p {
    color: var(--muted);
    margin: 0;
    font-size: .97rem;
    line-height: 1.6
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.4rem 1.4rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: .25s;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(95, 189, 180, .5)
}

.contact-card .ico {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal), var(--teal-deep));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 18px rgba(95, 189, 180, .35);
}

.contact-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    margin: 0 0 .25rem;
    color: var(--ink);
    font-weight: 600
}

.contact-card p,
.contact-card a {
    margin: 0;
    font-size: .94rem;
    color: var(--muted);
    display: block;
    line-height: 1.5
}

.contact-hero-card {
    background: linear-gradient(135deg, var(--ink) 0%, #0F2530 100%);
    color: #fff;
    border-radius: 22px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.contact-hero-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(95, 189, 180, .35), transparent)
}

.contact-hero-card h3 {
    color: #fff;
    margin-bottom: .6rem;
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    position: relative;
    z-index: 1
}

.contact-hero-card p {
    color: rgba(255, 255, 255, .85);
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: .96rem
}

.map-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    background: #fff
}

.map-wrap iframe {
    display: block;
    width: 100%;
    border: 0
}

.activity-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease, border-color .3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(31, 62, 85, .05);
    color: inherit;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(31, 62, 85, .16);
    border-color: rgba(95, 189, 180, .45)
}

.activity-card .thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10
}

.activity-card .thumb-wrap .thumb {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .7s ease;
}

.activity-card:hover .thumb {
    transform: scale(1.07)
}

.activity-card .thumb-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 37, 48, .45));
    pointer-events: none
}

.activity-card .cat-pill {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: #fff;
    color: var(--teal-deep);
    padding: .4rem .85rem;
    border-radius: 999px;
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.activity-card .body {
    padding: 1.6rem 1.7rem 1.7rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.activity-card .meta-row {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .85rem;
    font-weight: 500;
}

.activity-card .meta-row span {
    display: inline-flex;
    align-items: center;
    gap: .35rem
}

.activity-card .meta-row i {
    color: var(--teal-deep);
    font-size: .95rem
}

.activity-card h3 {
    font-size: 1.28rem;
    margin-bottom: .6rem;
    line-height: 1.32;
    color: var(--ink);
    font-weight: 600
}

.activity-card p {
    color: var(--muted);
    font-size: .96rem;
    flex: 1;
    line-height: 1.6;
    margin-bottom: 1.1rem
}

.activity-card .more {
    margin-top: auto;
    font-weight: 700;
    color: var(--teal-deep);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .92rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.activity-card .more i {
    transition: .25s
}

.activity-card:hover .more i {
    transform: translateX(5px)
}

.detail-aside {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.8rem;
    position: sticky;
    top: 130px;
    box-shadow: var(--shadow-sm);
}

.detail-aside h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    margin: 0 0 1rem;
    color: var(--ink)
}

.detail-aside .info-row {
    display: flex;
    gap: .85rem;
    padding: .85rem 0;
    border-bottom: 1px dashed var(--line);
    align-items: flex-start
}

.detail-aside .info-row:last-of-type {
    border-bottom: 0
}

.detail-aside .info-row .ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--teal-soft);
    color: var(--teal-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem
}

.detail-aside .info-row .lbl {
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: .15rem
}

.detail-aside .info-row .val {
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.4
}

.detail-aside .btn {
    width: 100%;
    margin-top: 1.2rem
}

.detail-hero-img {
    width: 100%;
    border-radius: 22px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    aspect-ratio: 21/9;
    object-fit: cover
}

.impact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    margin-top: 3rem
}

.impact .stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 2.2rem 1.6rem;
    text-align: center;
    position: relative;
    transition: .25s;
    overflow: hidden
}

.impact .stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal-deep))
}

.impact .stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(95, 189, 180, .4)
}

.impact .stat .ico {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--teal-soft);
    color: var(--teal-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem
}

.impact .stat .num {
    font-family: 'Fraunces', serif;
    font-size: 2.7rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -.02em
}

.impact .stat .num .plus {
    color: var(--teal);
    font-weight: 500
}

.impact .stat .lbl {
    margin-top: .55rem;
    font-weight: 700;
    color: var(--ink);
    font-size: 1.02rem
}

.impact .stat .sub {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .4rem;
    line-height: 1.5
}

.team-card {
    text-align: center
}

.team-card .ph {
    aspect-ratio: 4/5;
    background-size: cover;
    /* background-position: center; */
    background-position: top center;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm)
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: .2rem
}

.team-card .role {
    font-size: .74rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--teal-deep);
    font-weight: 700
}

.team-card p {
    color: var(--muted);
    font-size: .94rem;
    margin-top: .8rem;
    text-align: left
}

.quote-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm)
}

.quote-card .q {
    font-family: 'Fraunces', serif;
    font-size: 1.12rem;
    line-height: 1.55;
    color: var(--ink);
    font-style: italic;
    font-weight: 400
}

.quote-card .who {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    gap: .8rem
}

.quote-card .av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem
}

.quote-card .nm {
    font-weight: 700;
    color: var(--ink);
    font-size: .95rem;
    line-height: 1.1
}

.quote-card .rl {
    font-size: .8rem;
    color: var(--muted)
}

.cta-band {
    background: linear-gradient(135deg, var(--dark) 0%, #0F2530 100%);
    color: #fff;
    border-radius: 26px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(95, 189, 180, .35), transparent)
}

.cta-band h2 {
    color: #fff
}

.cta-band p {
    color: rgba(255, 255, 255, .85)
}

footer {
    background: #0A1B23;
    color: rgba(255, 255, 255, .72);
    padding: 4.5rem 0 1.5rem
}

footer h5 {
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-size: .82rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    font-weight: 700
}

footer a {
    color: rgba(255, 255, 255, .7);
    display: inline-block;
    padding: .25rem 0;
    font-size: .94rem
}

footer a:hover {
    color: var(--teal)
}

footer .brand {
    font-family: 'Fraunces', serif;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .7rem
}

footer .brand img {
    height: 60px;
    width: auto
}

footer .socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .07);
    margin-right: .5rem;
    color: #fff;
    transition: .2s
}

footer .socials a:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-2px)
}

footer .bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .5)
}

.form-card {
    background: #fff;
    border-radius: 22px;
    padding: 2.5rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md)
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: .9rem 1rem;
    background: #fafafa;
    font-family: inherit;
    font-size: .96rem
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 .2rem rgba(95, 189, 180, .18);
    background: #fff
}

.form-label {
    font-weight: 600;
    color: var(--ink);
    font-size: .92rem;
    margin-bottom: .4rem
}

.donate-tier {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    height: 100%
}

.donate-tier:hover,
.donate-tier.active {
    border-color: var(--teal);
    box-shadow: 0 14px 30px rgba(95, 189, 180, .22);
    transform: translateY(-3px)
}

.donate-tier .amt {
    font-family: 'Fraunces', serif;
    font-size: 2.4rem;
    color: var(--teal-deep);
    font-weight: 600
}

.donate-tier .desc {
    color: var(--muted);
    font-size: .92rem;
    margin-top: .4rem
}

.rounded-img {
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.story-img {
    border-radius: 22px;
    width: 100%;
    display: block;
    box-shadow: var(--shadow-md)
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem
}

.value-pill {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.4rem;
    text-align: center
}

.value-pill .ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(201, 166, 107, .15);
    color: #8a6f3f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: .7rem
}

.value-pill h4 {
    font-size: 1.05rem;
    margin: 0;
    font-family: 'Fraunces', serif;
    color: var(--ink);
    font-weight: 600
}

.tag {
    display: inline-block;
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: var(--teal-soft);
    padding: .32rem .75rem;
    border-radius: 999px;
    font-weight: 700
}

.prose {
    max-width: 740px;
    margin: 0
}

.prose p {
    font-size: 1.06rem;
    color: var(--ink-2);
    margin-bottom: 1.2rem;
    line-height: 1.75
}

.prose img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
}

.prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.prose iframe,
.prose video {
    max-width: 100%;
}

.prose h2 {
    margin-top: 2.5rem;
    font-size: 1.8rem
}

.prose blockquote {
    border-left: 3px solid var(--teal);
    padding-left: 1.2rem;
    font-style: italic;
    color: var(--ink);
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    margin: 2rem 0
}

@media (max-width:991px) {
    .navbar {
        top: 0 !important;
        padding: .65rem 0
    }

    .navbar .navbar-brand img {
        height: 54px
    }

    .navbar.scrolled .navbar-brand img {
        height: 48px
    }

    .navbar-collapse {
        margin-top: .85rem;
        background: #fff;
        border-radius: 18px;
        padding: 1rem;
        border: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }

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

    .navbar .nav-link {
        padding: .7rem 1rem !important;
        border-radius: 10px;
        text-align: left
    }

    .navbar .nav-link:hover {
        background: var(--teal-soft)
    }

    .navbar .nav-link.active::after {
        display: none
    }

    .navbar .nav-link.active {
        background: var(--teal-soft);
        color: var(--teal-deep) !important
    }

    .navbar .btn-donate {
        margin: 1rem 0 .25rem !important;
        width: 100%;
        justify-content: center
    }
}

@media (max-width:768px) {
    section {
        padding: 3.5rem 0
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem
    }

    .hero .container {
        padding-top: 2rem
    }

    .hero-stats {
        gap: 1.6rem;
        margin-top: 2rem
    }

    .hero-stats .stat-num {
        font-size: 1.8rem
    }

    .cta-band {
        padding: 2rem;
        border-radius: 20px
    }

    .form-card {
        padding: 1.5rem
    }

    .page-hero {
        padding: 7rem 0 3.5rem
    }

    .impact .stat .num {
        font-size: 2.1rem
    }

    .detail-aside {
        position: static;
        top: auto
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.ts-wrapper .ts-control {
    min-height: 52px;
    padding: .75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fafafa;
    font-size: .96rem;
    display: flex;
    align-items: center;
}

.ts-wrapper.focus .ts-control {
    border-color: var(--teal);
    box-shadow: 0 0 0 .2rem rgba(95, 189, 180, .18);
    background: #fff;
}

.ts-dropdown {
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    font-size: .96rem;
}

.ts-dropdown .option {
    padding: .65rem 1rem;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background: var(--teal-soft);
    color: var(--teal-deep);
}

.ts-dropdown .selected {
    background: var(--teal);
    color: #fff;
}

.accordion-button {
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    box-shadow: none;
    padding: 1.2rem 1.4rem;
}

.accordion-button:not(.collapsed) {
    color: var(--teal-deep);
    background: var(--teal-soft);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    filter: none;
}

.accordion-button:not(.collapsed)::after {
    filter: none;
}

.accordion-item {
    border: 1px solid var(--line) !important;
    border-radius: 14px !important;
    overflow: hidden;
    background: #fff;
}

.accordion-body {
    padding: 1.1rem 1.4rem 1.4rem;
    font-size: .97rem;
    line-height: 1.7;
    color: var(--muted);
}

.bg-dark-gradient {
    background: linear-gradient(135deg, var(--dark) 0%, #0F2530 100%);
}

.scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .3s ease;
    z-index: 1030;
    border: none;
    cursor: pointer;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--teal-deep);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(46, 124, 119, .4);
}

@media (max-width:768px) {
    .scroll-top-btn {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

.gallery-filters {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.5rem;
}

.filter-btn {
    background: transparent;
    border: 1.5px solid var(--line);
    color: var(--ink-2);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.gallery-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(95, 189, 180, 0.45);
}

.media-preview-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #000;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-thumb {
    transform: scale(1.06);
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 37, 48, 0.4);
    opacity: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15px;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .media-overlay {
    opacity: 1;
}

.icon-indicator {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.gallery-card:hover .icon-indicator {
    transform: scale(1.1);
}

.gallery-card-body {
    padding: 1.1rem 1.2rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.album-tag {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-type-lbl {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

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

/* ── LIGHTBOX LAYOUT MODULE ── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 26, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.show {
    display: flex;
    opacity: 1;
}

.lightbox-content-container {
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-media-box {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#lightbox-media-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

.video-embed-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    margin-top: 1.25rem;
    color: #fff;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--teal);
    transform: scale(1.05);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
    background: var(--teal);
    color: #fff;
}

.lightbox-nav.prev {
    left: 30px;
}

.lightbox-nav.next {
    right: 30px;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }

    #lightbox-media-box {
        aspect-ratio: 4/3;
    }
}