/* WADO Design System â€” World Anti Drugs and Development Organization */

:root {
    --primary-blue: #0a6fa3;
    --primary-dark: #074e73;
    --primary-light: #1a8cc8;
    --accent-gold: #d4a843;
    --accent-gold-light: #e8c46a;
    --text-dark: #1a1a2e;
    --text-body: #3d3d4e;
    --text-light: #6b6b7b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(10, 111, 163, 0.12);
    --shadow-lg: 0 8px 32px rgba(10, 111, 163, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Roboto', sans-serif;
    --container-max: 1200px;
    --navbar-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* â”€â”€ Top Bar â”€â”€ */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-bar__contact a {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.top-bar__contact a:hover {
    color: var(--accent-gold-light);
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar__social a {
    color: rgba(255, 255, 255, 0.85);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background var(--transition), color var(--transition);
}

.top-bar__social a:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}

/* â”€â”€ Navbar â”€â”€ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 4px 14px rgba(10, 111, 163, 0.05);
    transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.navbar--scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(226, 232, 240, 0.95);
    box-shadow: 0 8px 28px rgba(10, 111, 163, 0.1);
}

.navbar .container.navbar__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
    gap: 1.5rem;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 0;
    transition: opacity 180ms ease;
}

.navbar__brand:hover {
    opacity: 0.88;
}

.navbar__brand img {
    height: 80px;
    width: auto;
}

.navbar__brand-text {
    display: flex;
    flex-direction: column;
}

.navbar__brand-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.navbar__brand-tagline {
    font-size: 0.6875rem;
    color: var(--text-light);
    line-height: 1.3;
    max-width: 200px;
}

.navbar__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 0.15rem;
    list-style: none;
    min-width: 0;
}

.navbar__item {
    position: relative;
}

.navbar__item--has-children:hover .navbar__dropdown,
.navbar__item--has-children:focus-within .navbar__dropdown {
    display: block;
}

.navbar__caret {
    margin-left: 0.2rem;
    vertical-align: middle;
    opacity: 0.7;
    transition: transform 180ms ease, opacity 180ms ease;
}

.navbar__item--has-children:hover .navbar__caret,
.navbar__item--has-children:focus-within .navbar__caret {
    transform: rotate(180deg);
    opacity: 1;
}

.navbar__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 210px;
    padding: 0.4rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    z-index: 50;
}

.navbar__dropdown-link {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.navbar__dropdown-link:hover,
.navbar__dropdown-link--active {
    color: var(--primary-blue);
    background: rgba(10, 111, 163, 0.06);
}

.navbar__mobile-group {
    border-bottom: 1px solid var(--border-color);
}

.navbar__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem 0.25rem;
    background: none;
    border: none;
    font: inherit;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-body);
    cursor: pointer;
    transition: color 180ms ease;
}

.navbar__mobile-toggle:hover {
    color: var(--primary-blue);
}

.navbar__mobile-toggle svg {
    transition: transform 180ms ease;
}

.navbar__mobile-toggle svg.is-open {
    transform: rotate(180deg);
}

.navbar__mobile-sublist {
    list-style: none;
    padding: 0 0 0.5rem 0.75rem;
}

.navbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    color: var(--text-body);
    border-radius: 0;
    background: transparent;
    transition: color 180ms ease;
}

.navbar__link::after {
    content: '';
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.navbar__link:hover {
    color: var(--primary-blue);
    background: transparent;
}

.navbar__link:hover::after,
.navbar__link--active::after {
    transform: scaleX(1);
}

.navbar__link--active {
    color: var(--primary-blue);
    background: transparent;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.navbar__donate {
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 10px rgba(212, 168, 67, 0.35);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.navbar__donate:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 168, 67, 0.45);
}

.navbar__donate--block {
    width: 100%;
    transform: none;
}

.navbar__donate--block:hover {
    transform: none;
}

.navbar__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 111, 163, 0.06);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0.4rem;
    color: var(--primary-dark);
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.navbar__toggle:hover {
    background: rgba(10, 111, 163, 0.1);
    border-color: rgba(10, 111, 163, 0.12);
}

.navbar__toggle svg {
    width: 24px;
    height: 24px;
}

.navbar__mobile {
    display: none;
}

.navbar__mobile-anim {
    transition: opacity 180ms ease, transform 180ms ease;
}

.navbar__mobile-anim--hidden {
    opacity: 0;
    transform: translateY(-0.5rem);
}

.navbar__mobile-anim--visible {
    opacity: 1;
    transform: translateY(0);
}

/* â”€â”€ Buttons â”€â”€ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

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

.btn--gold {
    background: var(--accent-gold);
    color: var(--text-dark);
    border-color: var(--accent-gold);
}

.btn--gold:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
    color: var(--text-dark);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn--outline-dark {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn--outline-dark:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* â”€â”€ Hero â”€â”€ */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 60%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 78, 115, 0.92) 0%, rgba(10, 111, 163, 0.78) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
    max-width: 720px;
    color: #fff;
}

.hero__content h1 {
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero__content p {
    font-size: 1.125rem;
    opacity: 0.92;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.2;
}

.hero__stat-label {
    font-size: 0.8125rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

/* â”€â”€ Page Header â”€â”€ */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.page-header__icon {
    font-size: 1.75rem;
}

.page-header p {
    font-size: 1.0625rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto;
}

.page-header__breadcrumb {
    font-size: 0.8125rem;
    opacity: 0.75;
    margin-bottom: 1rem;
}

.page-header__breadcrumb a {
    color: var(--accent-gold-light);
}

/* â”€â”€ Sections â”€â”€ */
.section {
    padding: 4.5rem 0;
}

.section--light {
    background: var(--bg-light);
}

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.section__header h2 {
    margin-bottom: 1rem;
}

.section__header p {
    color: var(--text-light);
}

/* â”€â”€ Home: About teaser â”€â”€ */
.home-about {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.home-about__inner {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.home-about__header {
    margin-bottom: 1.75rem;
}

.home-about__text {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-body);
}

.home-about__text p {
    margin-bottom: 1rem;
}

.home-about__text p:last-child {
    margin-bottom: 0;
}

.home-about__actions {
    margin-top: 2.25rem;
}

.home-about__actions .btn {
    min-height: 44px;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-md);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-about__actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10, 111, 163, 0.22);
}

/* â”€â”€ Cards â”€â”€ */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card__body {
    padding: 1.75rem;
}

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.card__icon i,
.media-category-card__icon i {
    font-size: 1.35rem;
    line-height: 1;
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.card__text {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

.card__image {
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
}

.card--mission {
    border-top: 4px solid var(--primary-blue);
}

.card--vision {
    border-top: 4px solid var(--accent-gold);
}

/* â”€â”€ Shared content cards (Thematic Areas + Projects) â”€â”€ */
.content-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.content-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.content-card__media {
    aspect-ratio: 16 / 9;
    background: var(--bg-light);
    overflow: hidden;
}

.content-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.75rem;
    background: linear-gradient(135deg, rgba(10, 111, 163, 0.08), rgba(212, 168, 67, 0.12));
}

.content-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.35rem 1.5rem;
}

.content-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.content-card__excerpt {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 1.15rem;
}

.content-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 180ms ease, gap 180ms ease;
}

.content-card__link:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}

/* â”€â”€ Grids â”€â”€ */
.grid {
    display: grid;
    gap: 1.75rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* â”€â”€ Program Tabs â”€â”€ */
.tabs {
    margin-top: 2rem;
}

.tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.tabs__btn {
    padding: 0.875rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.tabs__btn:hover {
    color: var(--primary-blue);
}

.tabs__btn--active {
    color: var(--primary-blue);
    border-bottom-color: var(--accent-gold);
}

.tabs__panel {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.pillar-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.pillar-content ul {
    list-style: none;
    margin-top: 1.25rem;
}

.pillar-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.625rem;
    color: var(--text-body);
}

.pillar-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.policy-section {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.policy-section h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.policy-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
}

.policy-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
}

.policy-list li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 0.8rem;
}

.strength-card--core {
    border: 2px solid var(--accent-gold);
    position: relative;
}

.strength-card__badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--text-dark);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.program-card ul {
    padding-left: 1.25rem;
    margin-top: 0.75rem;
}

.program-card li {
    margin-bottom: 0.35rem;
    font-size: 0.9375rem;
}

/* â”€â”€ FAQ Accordion â”€â”€ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--bg-white);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
}

.faq-item__question:hover {
    background: var(--bg-light);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    transition: transform var(--transition);
}

.faq-item__icon--open {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* â”€â”€ Team â”€â”€ */
.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.team-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--accent-gold);
}

.team-card__initials {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.team-card__role {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 500;
}

button.team-card--clickable {
    display: block;
    width: 100%;
    border: none;
    background: var(--bg-white);
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

button.team-card--clickable:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.team-card__hint {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-blue);
}

.team-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(13, 33, 55, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.team-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.9;
}

.team-modal__panel {
    width: min(100%, 480px);
    max-height: min(90vh, 640px);
    overflow-y: auto;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 2rem 1.75rem 1.75rem;
}

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

.team-modal__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--accent-gold);
}

.team-modal__initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.team-modal__name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.team-modal__role {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
}

.team-modal__bio {
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-body);
    white-space: pre-line;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

/* â”€â”€ SDG Cards â”€â”€ */
.sdg-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.sdg-card__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.75rem;
}

/* â”€â”€ Media / Post Cards â”€â”€ */
.post-card__meta {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.post-card__category {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    line-height: 1.4;
}

.post-card__meta-sep {
    opacity: 0.6;
}

.post-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.post-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.post-detail__cover {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.post-detail__meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.post-detail__body {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.post-detail__body h2,
.post-detail__body h3 {
    margin: 2rem 0 1rem;
}

.post-detail__body ul,
.post-detail__body ol {
    margin: 1rem 0 1rem 1.5rem;
}

/* â”€â”€ Gallery â”€â”€ */
.gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.gallery-album-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 111, 163, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
}

.gallery-album-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-album-card--empty {
    opacity: 0.75;
    pointer-events: none;
}

.gallery-album-card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-light);
}

.gallery-album-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-album-card:hover .gallery-album-card__media img {
    transform: scale(1.06);
}

.gallery-album-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.5rem;
}

.gallery-album-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 78, 115, 0.75), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.25rem;
}

.gallery-album-card:hover .gallery-album-card__overlay {
    opacity: 1;
}

.gallery-album-card__view {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.gallery-album-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.gallery-album-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.gallery-album-card__count {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.gallery-photo-card {
    position: relative;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-photo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gallery-photo-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.gallery-photo-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 0.8125rem;
    text-align: left;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gallery-lightbox__close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

.gallery-lightbox__content {
    max-width: min(92vw, 1100px);
    max-height: 90vh;
    text-align: center;
}

.gallery-lightbox__content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.gallery-lightbox__caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* Legacy gallery grid (kept for compatibility) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* â”€â”€ Forms â”€â”€ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-body);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 111, 163, 0.15);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-error {
    color: #dc2626;
    font-size: 0.8125rem;
    margin-top: 0.375rem;
}

.dynamic-form__choices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dynamic-form__choices .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    cursor: pointer;
}

.dynamic-form__choices .checkbox-label input {
    width: auto;
}

/* â”€â”€ Alerts â”€â”€ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* â”€â”€ Contact Info Cards â”€â”€ */
.contact-card {
    padding: 2rem;
    height: 100%;
}

.contact-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-gold);
}

.contact-card__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.contact-card__item svg {
    flex-shrink: 0;
    color: var(--primary-blue);
    margin-top: 0.15em;
}

/* â”€â”€ Footer â”€â”€ */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
    height: 56px;
    margin-bottom: 1.25rem;
}

.footer__brand-name {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.footer__brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.footer__social a:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.625rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--accent-gold-light);
}

.footer__bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* â”€â”€ Utilities â”€â”€ */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.rich-text ul { margin: 1rem 0 1rem 1.5rem; }
.rich-text li { margin-bottom: 0.5rem; }

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-light);
}

.media-category-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.media-category-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.media-category-card__count {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.project-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.project-status--active {
    background: rgba(10, 111, 163, 0.12);
    color: var(--primary-blue);
}

.project-status--completed {
    background: rgba(212, 168, 67, 0.15);
    color: #92710a;
}

/* â”€â”€ Pagination â”€â”€ */
.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    color: var(--text-body);
    transition: all var(--transition);
}

.pagination li a:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

.pagination li.active span {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

.pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--5 { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .content-card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
    .top-bar__contact { display: none; }

    .navbar__menu,
    .navbar__actions .btn--gold {
        display: none;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__mobile {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 16px 32px rgba(10, 111, 163, 0.12);
        padding: 0.75rem 1.5rem 1.25rem;
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
        z-index: 999;
    }

    .navbar__mobile-list {
        list-style: none;
    }

    .navbar__mobile-list > li {
        border-bottom: 1px solid var(--border-color);
    }

    .navbar__mobile-list .navbar__link {
        display: flex;
        width: 100%;
        padding: 0.95rem 0.25rem;
        font-size: 1rem;
        letter-spacing: 0.01em;
    }

    .navbar__mobile-list .navbar__link::after {
        display: none;
    }

    .navbar__mobile-list .navbar__link--active,
    .navbar__mobile-list .navbar__link:hover {
        color: var(--primary-blue);
        background: transparent;
    }

    .navbar__mobile-donate {
        padding: 1rem 0 0.25rem;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .grid--5 {
        grid-template-columns: 1fr;
    }

    .content-card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        min-height: auto;
    }

    .hero__content {
        padding: 3rem 0;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .tabs__nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .section {
        padding: 3rem 0;
    }

    .home-about {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .home-about__text {
        font-size: 1rem;
        line-height: 1.75;
    }

    .home-about__actions .btn {
        width: 100%;
        max-width: 22rem;
    }

    .navbar__brand-tagline {
        display: none;
    }

@media (max-width: 480px) {
    .hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }
}


/* —— Error pages (standalone; no DB-dependent chrome) —— */
.error-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(10, 111, 163, 0.06) 0%, transparent 42%),
        var(--bg-light);
}

.error-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.error-header__inner {
    display: flex;
    align-items: center;
}

.error-header__brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
}

.error-header__brand:hover .error-header__name {
    color: var(--primary-blue);
}

.error-header__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--primary-dark);
    line-height: 1.2;
    transition: color var(--transition);
}

.error-header__tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    max-width: 22rem;
}

.error-page {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 3rem 0 4rem;
}

.error-page__inner {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
}

.error-page__code {
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 18vw, 7rem);
    font-weight: 700;
    line-height: 1;
    color: var(--primary-blue);
    opacity: 0.18;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    user-select: none;
}

.error-page__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.error-page__text {
    color: var(--text-body);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.error-page__actions .btn {
    min-width: 10rem;
}

.error-footer {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-white);
    text-align: center;
}

.error-footer p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 640px) {
    .error-header__tagline {
        display: none;
    }

    .error-page {
        padding: 2.5rem 0 3rem;
    }

    .error-page__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-page__actions .btn {
        width: 100%;
        min-width: 0;
    }
}
