/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #0f4c3a;
    /* Deep Official Green */
    --primary-dark: #083025;
    /* Darker Green for Footer/Hero */
    --secondary-color: #1ba37e;
    /* Vibrant Youth Green */
    --accent-color: #ffb703;
    /* Optimistic Yellow/Gold */
    --text-dark: #1e293b;
    /* Slate 800 */
    --text-light: #64748b;
    /* Slate 500 */
    --white: #ffffff;
    --off-white: #f8fafc;
    --border-color: #e2e8f0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --h1-size: clamp(2.5rem, 5vw, 4rem);
    --h2-size: clamp(2rem, 4vw, 3rem);
    --h3-size: 1.5rem;
    --body-size: 1.125rem;

    /* Spacing */
    --section-padding: 5rem 2rem;
    --container-width: 1200px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   2. UTILITIES & LAYOUT
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

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

.text-start {
    text-align: left;
}

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

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

.text-accent {
    color: var(--accent-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(27, 163, 126, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(27, 163, 126, 0.4);
}

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

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

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
    background: rgba(8, 48, 37, 0.95);
    /* Start semi-transparent dark */
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(8, 48, 37, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between logo and text */
}

.nav-logo-img {
    height: 60px;
    /* Increased size for visibility */
    width: auto;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: #fff;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
    display: inline-block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.5rem;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    overflow: hidden;
    padding-top: 80px;
    /* Offset for fixed header */
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/hero-community-dialogue.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero-tag {
    display: inline-block;
    background: rgba(27, 163, 126, 0.2);
    border: 1px solid rgba(27, 163, 126, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: var(--h1-size);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Improving legibility */
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    /* Slightly more opaque */
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Floating Shapes Animation */
.shape {
    position: absolute;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    /* Organic Blob */
    filter: blur(80px);
    z-index: 0;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -100px;
    right: -100px;
    opacity: 0.2;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: 50px;
    left: -50px;
    opacity: 0.15;
    animation-delay: -5s;
    border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
}

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

    100% {
        transform: translate(30px, 50px);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   5. SECTIONS (General)
   ========================================= */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: var(--h2-size);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* =========================================
   6. CARDS (What We Do)
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(27, 163, 126, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

.project-card p {
    flex-grow: 0;
    font-size: 0.95rem;
}

.card-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    color: var(--primary-color);
    gap: 0.75rem;
    /* Slight slide effect */
}

/* =========================================
   6B. PROGRAMS PAGE
   ========================================= */
.programs-hero {
    min-height: 520px;
    padding-top: 120px;
}

.programs-hero .hero-bg {
    background-position: center 40%;
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.programs-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(8, 48, 37, 0.96) 0%, rgba(8, 48, 37, 0.78) 48%, rgba(8, 48, 37, 0.25) 100%);
}

.programs-hero-content {
    max-width: 780px;
}

.programs-hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
}

.program-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0 2.25rem;
}

.program-stat {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 0.8rem;
    align-items: center;
    color: var(--white);
}

.program-stat-icon {
    grid-row: 1 / 3;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 163, 126, 0.82);
    color: var(--white);
    font-size: 1.25rem;
}

.program-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.program-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.86);
}

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

.program-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.program-tab {
    min-height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.program-tab:hover,
.program-tab.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-color: transparent;
}

.programs-heading {
    margin: 0 0 2rem;
}

.featured-program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.featured-program-card {
    min-height: 370px;
    border-radius: 10px;
    overflow: hidden;
    color: var(--white);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.featured-program-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 163, 126, 0.5);
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
}

.featured-program-card h3 {
    max-width: 430px;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.18;
    margin-bottom: 1rem;
    color: var(--white);
}

.featured-program-card p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
}

.program-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 1.4rem;
}

.program-feature-list span {
    display: grid;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    line-height: 1.35;
}

.program-feature-list i {
    color: var(--secondary-color);
    font-size: 1.35rem;
}

.program-list {
    display: grid;
    gap: 1rem;
}

.program-row {
    display: grid;
    grid-template-columns: 1.05fr 1.65fr 1.25fr 1.1fr;
    min-height: 250px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.program-row-title,
.program-row-copy,
.program-row-points {
    padding: 2rem;
}

.program-row-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-row-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 163, 126, 0.18);
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.program-row-title h3 {
    color: var(--primary-dark);
    font-size: 1.55rem;
    line-height: 1.2;
}

.program-row-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-row-copy p {
    color: var(--text-dark);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.program-row-copy p:last-child {
    margin-bottom: 0;
}

.program-row img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.program-row-points {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    background: linear-gradient(135deg, rgba(27, 163, 126, 0.12), rgba(255, 255, 255, 0.95));
}

.program-row-points span {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.85rem;
    align-items: start;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.93rem;
}

.program-row-points i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 0.1rem;
}

.program-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 3.5rem 0;
}

.program-cta::before {
    content: '';
    position: absolute;
    inset: auto auto -80px -80px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40%;
}

.program-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.program-cta h2 {
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0.4rem;
}

.program-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
}

/* =========================================
   6C. PROJECTS PAGE
   ========================================= */
.projects-hero {
    min-height: 520px;
    padding-top: 120px;
}

.projects-hero .hero-bg {
    background-image: url('../images/program-youth-leadership.jpg');
    background-position: center 35%;
    opacity: 0.52;
    mix-blend-mode: multiply;
}

.projects-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(8, 48, 37, 0.96) 0%, rgba(8, 48, 37, 0.78) 48%, rgba(8, 48, 37, 0.22) 100%);
}

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

.project-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.project-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(27, 163, 126, 0.45);
    box-shadow: var(--shadow-lg);
}

.project-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #dbe7e2;
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-showcase-card:hover .project-card-media img {
    transform: scale(1.04);
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.project-card-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 3.1rem 1.6rem 1.6rem;
}

.project-card-icon {
    position: absolute;
    top: -34px;
    left: 1.5rem;
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d8f4e8;
    color: var(--secondary-color);
    border: 5px solid var(--white);
    font-size: 1.7rem;
    box-shadow: var(--shadow-sm);
}

.project-card-body h3 {
    color: var(--primary-dark);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.12;
    margin-bottom: 1.3rem;
}

.project-detail-list {
    display: grid;
    gap: 0;
}

.project-detail-list p {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0.9rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.62;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    margin: 0;
}

.project-detail-list p:first-child {
    border-top: 0;
    padding-top: 0;
}

.project-detail-list i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

.projects-impact-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 3rem 0;
}

.projects-impact-cta::before {
    content: '';
    position: absolute;
    inset: auto auto -90px -80px;
    width: 280px;
    height: 280px;
    border-radius: 42%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.projects-impact-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.projects-impact-inner h2 {
    color: var(--white);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin-bottom: 1.4rem;
}

.project-impact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.project-impact-links span {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.project-impact-links i {
    color: var(--accent-color);
    font-size: 1.35rem;
}

.project-impact-button {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    max-width: 300px;
    min-height: 86px;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.project-impact-button:hover {
    background: #15916f;
    transform: translateY(-2px);
}

.project-impact-button i {
    font-size: 1.8rem;
}

/* =========================================
   7. ABOUT PREVIEW
   ========================================= */
.about-preview {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 560px;
}

.about-text .section-title {
    line-height: 1.12;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.75;
}

.check-list li {
    color: var(--text-dark);
    font-weight: 500;
}

.home-about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 5rem;
}

.about-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    background: #e2e8f0;
    /* Fallback */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-about-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.home-about-image img {
    position: absolute;
    inset: 0;
    object-position: center;
}

.stat-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

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

/* =========================================
   8. FOOTER
   ========================================= */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

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

.footer-brand h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .program-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .featured-program-grid {
        grid-template-columns: 1fr;
    }

    .program-row {
        grid-template-columns: 1fr 1.2fr;
    }

    .program-row img {
        min-height: 260px;
    }

    .program-row-points {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-impact-inner {
        grid-template-columns: 1fr;
    }

    .home-about-grid {
        gap: 3rem;
    }

    .about-text {
        max-width: none;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

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

    .program-stats,
    .hero-btns,
    .program-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .program-tabs {
        display: flex;
        overflow-x: auto;
        gap: 0.75rem;
        padding: 0.25rem 0 0.8rem;
        margin-left: 0;
        margin-right: 0;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .program-tabs::-webkit-scrollbar {
        display: none;
    }

    .programs-heading {
        display: block;
    }

    .programs-heading::after {
        left: 0;
        transform: none;
    }

    .program-tab {
        flex: 0 0 auto;
        min-width: auto;
        min-height: 40px;
        padding: 0.6rem 1rem;
        border-color: rgba(27, 163, 126, 0.28);
        box-shadow: none;
        background: var(--white);
    }

    .featured-program-card {
        min-height: auto;
        padding: 1.5rem;
        border-radius: 10px;
        background-position: center;
        justify-content: flex-start;
        box-shadow: var(--shadow-md);
    }

    .featured-program-card:nth-child(1) {
        background-image: linear-gradient(rgba(8, 48, 37, 0.94), rgba(8, 48, 37, 0.94)), url('../images/program-democracy-dialogue.jpg') !important;
    }

    .featured-program-card:nth-child(2) {
        background-image: linear-gradient(rgba(8, 48, 37, 0.94), rgba(8, 48, 37, 0.94)), url('../images/team-discussion.jpg') !important;
    }

    .featured-program-icon {
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .featured-program-card h3 {
        font-size: 1.45rem;
        max-width: none;
        color: var(--white) !important;
    }

    .featured-program-card p {
        max-width: none;
        margin-bottom: 1.4rem;
        font-size: 0.95rem;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.94) !important;
    }

    .program-feature-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding-top: 1rem;
    }

    .program-feature-list span {
        grid-template-columns: 24px 1fr;
        align-items: start;
        gap: 0.75rem;
        font-size: 0.86rem;
        color: rgba(255, 255, 255, 0.92) !important;
    }

    .program-feature-list i {
        font-size: 1.1rem;
        margin-top: 0.1rem;
    }

    .program-row {
        grid-template-columns: 1fr;
    }

    .program-row-title,
    .program-row-copy,
    .program-row-points {
        padding: 1.5rem;
    }

    .program-row-points {
        grid-template-columns: 1fr;
    }

    .project-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-showcase-card {
        border-radius: 10px;
        box-shadow: var(--shadow-md);
    }

    .project-card-media {
        height: 220px;
    }

    .project-card-body {
        padding: 2.85rem 1.25rem 1.25rem;
    }

    .project-card-icon {
        left: 1.15rem;
        width: 60px;
        height: 60px;
        top: -30px;
        font-size: 1.45rem;
        border-width: 4px;
    }

    .project-card-body h3 {
        font-size: 1.45rem;
        line-height: 1.18;
        margin-bottom: 1rem;
    }

    .project-detail-list p {
        grid-template-columns: 24px 1fr;
        gap: 0.75rem;
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0.9rem 0;
    }

    .project-detail-list i {
        font-size: 1.05rem;
    }

    .project-category {
        top: 0.85rem;
        left: 0.85rem;
        font-size: 0.75rem;
        max-width: calc(100% - 1.7rem);
        white-space: normal;
    }

    .project-impact-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .project-impact-button {
        max-width: none;
        width: 100%;
    }

    .home-about-image {
        aspect-ratio: 1 / 1;
    }

    .stat-box {
        bottom: 14px;
        right: 14px;
        min-width: 130px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .programs-hero,
    .projects-hero {
        padding: 7rem 0 3rem;
    }

    .programs-hero-content h1 {
        font-size: 2.4rem;
    }

    .programs-hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .program-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .program-stat {
        width: 100%;
        padding: 0.8rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
    }

    .featured-program-grid,
    .project-showcase-grid {
        gap: 1rem;
    }

    .featured-program-card {
        padding: 1.2rem;
    }

    .project-card-media {
        height: 190px;
    }

    .project-card-body {
        padding: 2.7rem 1rem 1rem;
    }

    .projects-impact-inner h2 {
        font-size: 1.45rem;
    }
}
