:root {
    --ink: #132238;
    --paper: #f8f4ee;
    --accent: #d96f32;
    --accent-dark: #b8561f;
    --sand: #e7dccd;
    --mint: #d8ebe6;
    --white: #ffffff;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fcfaf7 0%, #f8f4ee 100%);
}

h1, h2, h3, h4, h5 {
    font-family: "Fraunces", serif;
}

a {
    color: inherit;
}

.topbar {
    background: #10263f;
}

.social-links a,
.lang-switcher a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 10px;
    text-decoration: none;
}

.lang-switcher a.active {
    color: #fff;
    font-weight: 700;
}

.site-header {
    backdrop-filter: blur(14px);
    background: rgba(248, 244, 238, 0.92);
    border-bottom: 1px solid rgba(19, 34, 56, 0.08);
}

.navbar-brand {
    font-size: 1.5rem;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    margin-right: 10px;
}

.nav-link.active,
.nav-link:hover {
    color: var(--accent);
}

.btn-brand {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 0.8rem 1.3rem;
}

.btn-brand:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.hero-slide {
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before,
.page-banner-detail::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 38, 63, 0.92) 0%, rgba(16, 38, 63, 0.45) 55%, rgba(16, 38, 63, 0.1) 100%);
}

.hero-copy,
.page-banner .container {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 680px;
    color: #fff;
}

.hero-copy h1,
.page-banner h1 {
    font-size: clamp(2.8rem, 4vw, 5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.section-pad {
    padding: 90px 0;
}

.section-tint {
    background: linear-gradient(180deg, rgba(216, 235, 230, 0.4), rgba(255, 255, 255, 0.8));
}

.section-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
}

.feature-card,
.testimonial-card,
.mini-card,
.sidebar-panel,
.cta-panel,
.portfolio-panel,
.cause-card,
.blog-card,
.event-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(19, 34, 56, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(19, 34, 56, 0.06);
}

.feature-card,
.testimonial-card,
.mini-card,
.sidebar-panel,
.cta-panel,
.portfolio-panel {
    padding: 2rem;
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.cause-card img,
.event-card img,
.blog-card img,
.team-card img,
.portfolio-item img,
.related-post img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.cause-card img,
.event-card img,
.blog-card img {
    height: 230px;
}

.cause-body,
.event-content,
.blog-body {
    padding: 1.5rem;
}

.progress {
    height: 10px;
    background: #e7e1d7;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent) 0%, #f3b06a 100%);
}

.badge-soft {
    display: inline-block;
    background: rgba(217, 111, 50, 0.12);
    color: var(--accent-dark);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
}

.portfolio-item span,
.portfolio-copy {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #fff;
    z-index: 1;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(16, 38, 63, 0.85) 100%);
}

.portfolio-item img {
    height: 280px;
}

.stats-band {
    background: #10263f;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.stat-card h3 {
    font-size: 2.6rem;
}

.testimonial-card p {
    font-size: 1.05rem;
}

.testimonial-card span {
    display: block;
    color: #68758a;
}

.page-banner {
    padding: 100px 0 70px;
    background: radial-gradient(circle at top right, rgba(217, 111, 50, 0.2), transparent 34%), linear-gradient(180deg, #fff, #f5ede2);
}

.page-banner-detail {
    position: relative;
    padding: 140px 0 100px;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.team-card {
    text-align: center;
}

.team-card img {
    height: 320px;
    border-radius: 28px;
    margin-bottom: 1rem;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 18px;
}

.filter-chips {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chip {
    border: 1px solid rgba(19, 34, 56, 0.12);
    background: #fff;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    cursor: pointer;
}

.chip.active,
.chip.static {
    background: var(--ink);
    color: #fff;
}

.text-link {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 700;
}

.sidebar-list li + li {
    margin-top: 0.75rem;
}

.share-strip {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.related-post {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1rem;
    align-items: center;
}

.related-post + .related-post {
    margin-top: 1rem;
}

.related-post img {
    height: 92px;
    border-radius: 14px;
}

.map-placeholder {
    min-height: 280px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: repeating-linear-gradient(45deg, #dbe5e2, #dbe5e2 20px, #edf4f1 20px, #edf4f1 40px);
    color: #4d5a69;
    font-weight: 700;
}

.volunteer-banner {
    background: radial-gradient(circle at left center, rgba(216, 235, 230, 0.9), transparent 42%), linear-gradient(180deg, #fff9ef, #f3ece3);
}

.volunteer-intro {
    padding: 2rem;
    background: linear-gradient(180deg, #10263f, #1d4068);
    color: #fff;
    border-radius: 32px;
}

.volunteer-points li {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.volunteer-form-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 238, 0.96));
}

.site-footer {
    background: #10263f;
    color: #fff;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
    .hero-slide {
        min-height: 68vh;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .section-pad {
        padding: 70px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-banner h1 {
        font-size: 2.5rem;
    }
}
