/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #ee7a31;
    --indigo: #210e50;
    --indigo-dark: #190a3d;
    --indigo-light: #2d1a66;
    --white: #ffffff;
    --light-bg: #fff8f2;
    --gray-light: #f5f0eb;
    --gray: #6b7280;
    --text-dark: #210e50;
    --text-light: #ffffff;
    --shadow: 0 4px 20px rgba(33, 14, 80, 0.1);
    --shadow-hover: 0 8px 30px rgba(33, 14, 80, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --font:
        "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    color: var(--indigo);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

a:hover {
    color: var(--orange);
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(
        135deg,
        var(--indigo-dark) 0%,
        var(--indigo) 50%,
        var(--indigo-light) 100%
    );
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: none;
}

/* Thin orange accent bar at the very top */
.header-top-bar {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--orange) 0%,
        #f59e42 50%,
        var(--orange) 100%
    );
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: calc(100% - 4px);
    position: relative;
    padding: 0 24px;
}

/* Subtle bottom shadow */
.header-inner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(238, 122, 49, 0.2),
        transparent
    );
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

@media (max-width: 600px) {
    .logo-img {
        height: 40px;
    }
}

/* Right side group: language switcher + nav */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    transition:
        background 0.25s ease,
        color 0.25s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    background: rgba(238, 122, 49, 0.15);
    color: var(--white);
}

.main-nav a.active {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(238, 122, 49, 0.3);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    margin-right: 4px;
}

.lang-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: "Nunito", sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition:
        color 0.2s,
        background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.lang-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
    color: var(--orange);
    background: rgba(238, 122, 49, 0.12);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.7rem;
    font-weight: 300;
}

/* Nav toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px 12px;
    z-index: 1100;
    transition: border-color 0.3s;
}

.nav-toggle:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 899px) {
    .nav-toggle {
        display: flex;
    }

    .lang-switcher {
        padding-right: 0;
        border-right: none;
        margin-right: 0;
    }

    .lang-btn {
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: 0;
        width: min(85vw, 360px);
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(
            180deg,
            var(--indigo-dark) 0%,
            var(--indigo) 100%
        );
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: calc(var(--header-height) + 20px) 24px 32px;
        transform: translateX(100%);
        opacity: 0;
        transition:
            transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.25s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-right.open {
        transform: translateX(0);
        opacity: 1;
    }

    /* Overlay behind mobile nav */
    .nav-right::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.35s ease;
        pointer-events: none;
    }

    .nav-right.open::before {
        opacity: 1;
        pointer-events: auto;
    }

    .lang-switcher {
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 8px;
        text-align: center;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(33, 14, 80, 0.88) 0%,
        rgba(33, 14, 80, 0.65) 50%,
        rgba(238, 122, 49, 0.55) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 0;
}

.hero-text {
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    background: rgba(238, 122, 49, 0.25);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-text h1 .swahili {
    display: block;
    color: var(--orange);
}

.hero-text h1 .english {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--indigo);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero-text h1 {
        font-size: 4rem;
    }

    .hero-text h1 .english {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 650px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 70vh;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h1 .english {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background 0.2s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--indigo);
    color: var(--white);
}

.btn-primary:hover {
    background: #3a1d7a;
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--indigo);
}

.btn-secondary:hover {
    background: var(--gray-light);
    color: var(--indigo);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--indigo);
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 60px 0;
}

.section-dark {
    background: var(--indigo);
    color: var(--white);
}

.section-orange {
    background: var(--orange);
    color: var(--white);
}

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

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-body {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
}

.section-body.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

/* ===== INTRO SECTION ===== */
.intro-section {
    padding: 50px 0;
    text-align: center;
    background: var(--light-bg);
}

.intro-section .section-body {
    margin: 0 auto;
    max-width: 800px;
}

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .card-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .card-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow);
    transition:
        box-shadow 0.3s,
        transform 0.3s;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--orange);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--indigo);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

.message-card {
    background: var(--white);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s;
}

.message-card:hover {
    box-shadow: var(--shadow-hover);
}

.message-card .card-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.message-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== RESEARCH FACTS (pull-out stats) ===== */
.facts-section {
    padding: 50px 0;
}

.fact-card {
    background: var(--indigo);
    color: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.fact-card .fact-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.fact-card p {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
}

/* Fact grid */
.fact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .fact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SOCIAL / FOLLOW SECTION ===== */
.social-section {
    text-align: center;
    padding: 50px 0;
}

.social-section h2 {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--indigo);
    color: var(--white);
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.2s;
}

.social-links a:hover {
    background: var(--orange);
    color: var(--indigo);
    transform: scale(1.1);
}

.social-links a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hashtag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.hashtag-list span {
    font-weight: 700;
    color: var(--orange);
    font-size: 0.9rem;
}

/* ===== FILMS PAGE ===== */
.film-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.film-header {
    background: var(--indigo);
    color: var(--white);
    padding: 24px;
}

.film-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
}

.film-header .film-swahili {
    color: var(--orange);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 4px;
}

.film-body {
    padding: 24px;
}

.film-body p {
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Episodes */
.episodes-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .episodes-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .episodes-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.episode-card {
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.episode-card:hover {
    box-shadow: var(--shadow);
}

.episode-thumb {
    aspect-ratio: 16 / 9;
    background: var(--indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.episode-thumb .play-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.9;
    transition: transform 0.3s;
}

.episode-card:hover .play-icon {
    transform: scale(1.1);
}

.episode-info {
    padding: 16px;
}

.episode-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.episode-info .episode-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.episode-info p {
    font-size: 0.9rem;
    color: #555;
}

/* Behind the scenes gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Discussion prompts */
.discussion-box {
    background: var(--indigo);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    margin-top: 40px;
}

.discussion-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.discussion-box ul {
    list-style: none;
    padding: 0;
}

.discussion-box li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.discussion-box li:last-child {
    border-bottom: none;
}

.discussion-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.discussion-box .discussion-footer {
    margin-top: 20px;
    font-weight: 700;
    color: var(--orange);
}

/* ===== ABOUT CONDITIONS PAGE ===== */
.condition-section {
    margin-bottom: 50px;
}

.condition-section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--indigo);
}

.condition-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--indigo);
    margin-top: 24px;
}

.condition-section p,
.condition-section ul {
    margin-bottom: 16px;
    line-height: 1.8;
}

.condition-section ul {
    padding-left: 24px;
}

.condition-section ul li {
    margin-bottom: 8px;
}

.medical-note {
    background: var(--indigo);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Myth vs Fact */
.myth-fact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.myth-fact-pair {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.myth-fact-pair .myth,
.myth-fact-pair .fact {
    padding: 16px 20px;
}

.myth-fact-pair .myth {
    background: #fff0f0;
    border-bottom: 2px solid var(--orange);
}

.myth-fact-pair .myth-label {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d32f2f;
    margin-bottom: 4px;
}

.myth-fact-pair .fact-label {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2e7d32;
    margin-bottom: 4px;
}

.myth-fact-pair .fact {
    background: #f0fff4;
}

@media (min-width: 768px) {
    .myth-fact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== LIVED EXPERIENCE PAGE ===== */
.testimony-section {
    margin-bottom: 50px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimony-section .section-header {
    margin-bottom: 20px;
}

.testimony-section .section-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--indigo);
}

.testimony-section .section-header .subheading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange);
    font-style: italic;
    margin-top: 4px;
}

.testimony-section .intro-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.testimony-section .closing-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid var(--gray-light);
}

.quote-block {
    background: var(--light-bg);
    border-left: 4px solid var(--orange);
    padding: 20px 24px;
    margin-bottom: 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.quote-block p {
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    color: #333;
}

.quote-block p::before {
    content: "\201C";
    font-size: 2rem;
    color: var(--orange);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}

.reflection-prompt {
    background: var(--orange);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    margin-top: 40px;
}

.reflection-prompt h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.reflection-prompt .question {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.reflection-prompt p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== RESEARCH PAGE ===== */
.research-overview {
    background: var(--indigo);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    margin-bottom: 40px;
}

.research-overview h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.research-overview p {
    line-height: 1.8;
}

.research-findings {
    margin-bottom: 40px;
}

.research-findings h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--indigo);
}

.research-findings .findings-body {
    line-height: 1.8;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.partner-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-light);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-info h4 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.partner-info p {
    font-size: 0.9rem;
    color: #555;
}

/* Contact box */
.contact-box {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 30px;
    margin-top: 30px;
}

.contact-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ===== GET INVOLVED PAGE ===== */
.involved-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.involved-card .involved-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 12px;
}

.involved-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--indigo);
}

.involved-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--indigo);
    color: var(--white);
    padding: 60px 0 0;
}

/* --- Brand row --- */
.footer-brand {
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-logo-img {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 16px;
}

@media (max-width: 600px) {
    .footer-logo-img {
        height: 48px;
    }
}

.footer-tagline {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--orange);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- Grid columns --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--orange);
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(238, 122, 49, 0.3);
}

.footer-about-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.footer-about-text {
    margin-bottom: 12px;
}

.footer-about-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--orange);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition:
        color 0.2s,
        gap 0.2s;
}

.footer-about-link:hover {
    color: var(--white);
    gap: 8px;
}

/* --- Quick links --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition:
        color 0.2s,
        padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 4px;
}

/* --- Social icons --- */
.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition:
        background 0.25s,
        transform 0.2s;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--orange);
    color: var(--indigo);
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

/* --- Contact items --- */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: var(--orange);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-contact-item a:hover {
    color: var(--orange);
}

/* --- Hashtags --- */
.footer-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-hashtags span {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    background: rgba(238, 122, 49, 0.12);
    padding: 5px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.footer-hashtags span:hover {
    background: rgba(238, 122, 49, 0.25);
}

/* --- Disclaimer --- */
.footer-disclaimer {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.78rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    padding: 24px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

/* --- Bottom bar --- */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.footer-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-admin-btn {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.2s;
}

.footer-admin-btn:hover {
    color: var(--white);
    border-color: var(--orange);
    background: rgba(238, 122, 49, 0.1);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(238, 122, 49, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.2s,
        box-shadow 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--indigo);
    box-shadow: 0 6px 24px rgba(33, 14, 80, 0.35);
    transform: translateY(-3px);
}

.back-to-top:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-brand {
        padding-bottom: 28px;
        margin-bottom: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-hashtags {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

/* ===== PAGE HEADER BANNER ===== */
.page-banner {
    background: var(--orange);
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
}

.page-banner .page-banner-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
}

@media (min-width: 768px) {
    .page-banner {
        padding: 60px 0;
    }
    .page-banner h1 {
        font-size: 2.5rem;
    }
}

/* ===== UTILITY ===== */
.text-center {
    text-align: center;
}
.mt-20 {
    margin-top: 20px;
}
.mt-40 {
    margin-top: 40px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-40 {
    margin-bottom: 40px;
}
.pb-0 {
    padding-bottom: 0;
}
.pt-0 {
    padding-top: 0;
}
