/* ========================================
   Ray of Hope Women Group - Styles
   ======================================== */

:root {
    /* Navy Blue Palette - replacing teal */
    --primary-navy: #2D3E50;
    --navy-800: #4B5D8C;
    --navy-900: #3A4D7A;
    --navy-950: #1E3A5F;
    /* Gold/Yellow Palette - replacing amber */
    --gold-400: #F4C542;
    --gold-500: #D4A84B;
    --gold-600: #C49A3B;
    /* Coral/Red Accent */
    --coral-600: #E74C3C;
    /* Legacy variable aliases for compatibility */
    --primary-teal: var(--primary-navy);
    --teal-800: var(--navy-800);
    --teal-900: var(--navy-900);
    --teal-950: var(--navy-950);
    --amber-400: var(--gold-400);
    --amber-500: var(--gold-500);
    --amber-600: var(--gold-600);
    --orange-600: var(--coral-600);
    /* Neutral Colors */
    --stone-50: #fafaf9;
    --stone-600: #57534e;
    --white: #ffffff;
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    /* Transitions & Shadows */
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: #1c1917;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    border-top: 6px solid var(--amber-500);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal-800), var(--teal-950));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-400);
    font-weight: 700;
    font-size: 1.875rem;
    border: 1px solid var(--teal-900);
    box-shadow: var(--shadow-lg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--teal-950);
    text-transform: uppercase;
    font-family: var(--font-display);
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 800;
    color: var(--amber-600);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

/* Logo Image Styles */
.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .logo-image {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.5rem;
    transition: var(--transition);
    color: #57534e;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal-900);
    background: rgba(251, 191, 36, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-donate {
    background: linear-gradient(to right, var(--amber-600), var(--orange-600));
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(245, 158, 11, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    color: var(--teal-800);
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 700;
    border-left: 6px solid transparent;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(251, 191, 36, 0.1);
    border-left-color: var(--amber-500);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, var(--amber-600), var(--orange-600));
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--amber-400);
    color: #FFF8E7;
}

.btn-dark {
    background: var(--teal-800);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-dark:hover {
    background: var(--teal-900);
    box-shadow: var(--shadow-xl);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 0.8s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--amber-400);
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #B8C5D6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--amber-500);
    top: 10%;
    right: 15%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--teal-800);
    bottom: 20%;
    left: 10%;
    animation: float2 15s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--coral-600);
    top: 50%;
    left: 50%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(40px, -40px) rotate(180deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(calc(-50% + 30px), calc(-50% - 30px)) scale(1.15);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    animation: fadeInUp 1s ease 1s backwards;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--amber-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, 15px);
        opacity: 0.3;
    }
}

.scroll-indicator span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* Intro Section */
.intro-section {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10rem;
    width: 12px;
    height: 16rem;
    background: var(--amber-500);
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-image {
    position: relative;
}

.intro-image img {
    border-radius: 2rem;
    box-shadow: var(--shadow-2xl);
    width: 100%;
    height: 600px;
    object-fit: cover;
    border: 12px solid white;
}

.image-decoration {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    z-index: -1;
}

.decoration-1 {
    top: -24px;
    left: -24px;
    background: rgba(251, 191, 36, 0.2);
}

.decoration-2 {
    bottom: -24px;
    right: -24px;
    background: rgba(20, 184, 166, 0.2);
}

.year-badge {
    position: absolute;
    bottom: 4rem;
    left: -2.5rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
    border-left: 8px solid var(--amber-500);
}

.year {
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-800);
    font-family: var(--font-display);
    line-height: 1;
}

.year-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--stone-600);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--amber-600);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--amber-500);
    border-radius: 50%;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--teal-950);
    margin-bottom: 2rem;
    font-family: var(--font-display);
    line-height: 1.2;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1.5rem;
}

.highlight {
    font-weight: 600;
    color: var(--teal-800);
    border-bottom: 2px solid rgba(251, 191, 36, 0.5);
}

.quote-highlight {
    font-style: italic;
    color: var(--teal-900);
    font-weight: 500;
    background: rgba(251, 191, 36, 0.1);
    padding: 0 0.5rem;
    border-radius: 0.25rem;
}

/* Values Section */
.values-section {
    padding: 7rem 0;
    background: var(--stone-50);
    position: relative;
}

.values-header-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--teal-800), var(--amber-500), var(--teal-800));
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.title-divider {
    width: 96px;
    height: 8px;
    background: var(--amber-500);
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--stone-600);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(245, 158, 11, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* Removed to fix flashing overlay issue */
/* .value-card:hover::before {
    background: var(--amber-500);
} */

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    margin-bottom: 2rem;
    transition: var(--transition);
    transform: rotate(3deg);
}

.value-card:hover .value-icon {
    background: var(--amber-500);
    color: white;
    transform: rotate(0deg);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--stone-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background: white;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.overline {
    color: var(--amber-600);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    height: 500px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--teal-950), rgba(4, 47, 46, 0.6), transparent);
    opacity: 0.9;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
    width: 100%;
    transform: translateY(8px);
    transition: var(--transition);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-icon {
    width: 56px;
    height: 56px;
    background: var(--amber-500);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.project-card:hover .project-icon {
    background: white;
    color: var(--amber-600);
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.project-content p {
    color: #B8C5D6;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #FFF8E7;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: var(--transition);
}

.project-card:hover .project-link {
    color: white;
}

/* Impact Coordinator */
.impact-section {
    padding: 6rem 0;
    background: var(--stone-50);
}

.impact-coordinator {
    position: relative;
    /* CRITICAL: Contains the absolutely positioned .coordinator-bg */
    overflow: hidden;
    /* Ensures background doesn't escape */
    background: white;
    border-radius: 2rem;
    padding: 0.5rem;
    border: 2px solid rgba(251, 191, 36, 0.2);
    box-shadow: var(--shadow-2xl);
    max-width: 1200px;
    margin: 0 auto 3rem;
    transition: var(--transition);
}

.impact-coordinator:hover {
    transform: translateY(-4px);
}

.coordinator-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--teal-900), var(--teal-950));
    border-radius: 1.5rem;
    overflow: hidden;
}

.coordinator-bg::before,
.coordinator-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.coordinator-bg::before {
    top: 0;
    right: 0;
    background: var(--amber-500);
    animation: pulse 4s ease infinite;
}

.coordinator-bg::after {
    bottom: 0;
    left: 0;
    background: var(--navy-800);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.3;
    }
}

.coordinator-content {
    position: relative;
    background: linear-gradient(135deg, var(--teal-900), var(--teal-950));
    border-radius: 1.5rem;
    padding: 3rem;
    color: white;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    color: #FFF8E7;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.coordinator-left h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    line-height: 1.2;
}

.coordinator-left p {
    color: rgba(204, 251, 241, 0.8);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

.ai-interface {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 0.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-interface>div {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

#impactInput {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.125rem;
    resize: none;
    min-height: 100px;
    font-family: inherit;
    outline: none;
}

#impactInput::placeholder {
    color: rgba(204, 251, 241, 0.3);
}

.ai-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.ai-powered {
    font-size: 0.75rem;
    color: rgba(20, 184, 166, 0.5);
}

.btn-analyze {
    background: linear-gradient(to right, var(--amber-600), var(--orange-600));
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.3);
    transition: var(--transition);
}

.btn-analyze:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ai-response {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.response-icon {
    width: 40px;
    height: 40px;
    background: var(--amber-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--amber-400);
}

.response-bubble {
    background: #ffffff;
    color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 1rem;
    border-top-left-radius: 0;
    font-size: 1rem;
    line-height: 1.8;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

/* Rich text formatting for AI responses */
.response-bubble p {
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.response-bubble p:last-child {
    margin-bottom: 0;
}

.response-bubble strong {
    color: #0d4f4a;
    font-weight: 700;
}

.response-bubble .bullet {
    color: #d97706;
    font-weight: bold;
    margin-right: 0.25rem;
}

.response-bubble br {
    display: block;
    margin-top: 0.25rem;
    content: "";
}

.response-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 10px solid #ffffff;
    border-left: 10px solid transparent;
}

.ask-again {
    color: #FFF8E7;
    font-size: 0.875rem;
    font-weight: 700;
    background: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 56px;
    transition: var(--transition);
}

.ask-again:hover {
    color: white;
}

.coordinator-right {
    display: none;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.impact-card.offset {
    transform: translateY(2rem);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-0.5rem);
}

.impact-card.offset:hover {
    transform: translateY(1.5rem);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.briefcase-icon {
    background: rgba(251, 191, 36, 0.2);
    color: var(--amber-400);
}

.heart-icon {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

.shield-icon {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.users-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.impact-card:hover .card-icon {
    transform: scale(1.1);
}

.impact-card:hover .briefcase-icon {
    background: var(--amber-500);
    color: white;
}

.impact-card:hover .heart-icon {
    background: #ec4899;
    color: white;
}

.impact-card:hover .shield-icon {
    background: #3b82f6;
    color: white;
}

.impact-card:hover .users-icon {
    background: #10b981;
    color: white;
}

.card-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.card-line.short {
    width: 80%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.btn-outline {
    background: white;
    border: 2px solid var(--teal-800);
    color: var(--teal-900);
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(4, 47, 46, 0.05);
}

/* Page Hero */
.page-hero {
    padding: 6rem 0 3.5rem;
    background: var(--teal-950);
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    display: none;
}

.page-hero::before {
    display: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.page-hero p {
    font-size: 1.5rem;
    color: #B8C5D6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Mission & Vision */
.mission-vision {
    padding: 6rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 8rem;
}

.mv-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    border-top: 6px solid var(--teal-800);
    transition: var(--transition);
}

.mv-card:hover {
    box-shadow: var(--shadow-2xl);
}

.mv-icon {
    width: 64px;
    height: 64px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-800);
    margin-bottom: 2rem;
}

.mv-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-950);
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.mv-card p {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.8;
}

.story-section {
    max-width: 900px;
    margin: 0 auto;
}

.story-content p {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Team */
.team-section {
    padding: 6rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 8rem;
}

/* 3-column centered grid */
.team-grid-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
}

.member-image {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 3/4;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 47, 46, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-social {
    color: white;
    transform: translateY(1rem);
    transition: var(--transition);
}

.team-member:hover .member-social {
    transform: translateY(0);
}

.member-social p {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons i {
    color: var(--amber-400);
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 0.25rem;
    font-family: var(--font-display);
}

.member-role {
    color: var(--amber-600);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--stone-600);
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 300;
}

.volunteer-cta {
    background: var(--teal-900);
    border-radius: 3rem;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.cta-decoration {
    position: absolute;
    inset: 0;
}

.cta-decoration::before,
.cta-decoration::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
}

.cta-decoration::before {
    top: 0;
    right: 0;
    background: var(--amber-500);
    opacity: 0.2;
    animation: pulse 4s ease infinite;
}

.cta-decoration::after {
    bottom: 0;
    left: 0;
    background: var(--navy-800);
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.cta-content p {
    color: #B8C5D6;
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.btn-light {
    background: white;
    color: var(--teal-950);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.btn-light:hover {
    background: var(--amber-500);
    color: white;
}

/* Partners & News */
.partners-content,
.news-content {
    padding: 6rem 0;
}

.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    font-size: 1.25rem;
    color: var(--stone-600);
    line-height: 1.8;
}

.partnership-opportunities {
    margin-bottom: 6rem;
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.opportunity-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.opportunity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.opp-icon {
    width: 64px;
    height: 64px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    margin-bottom: 1.5rem;
}

.opportunity-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 1rem;
}

.opportunity-card p {
    color: var(--stone-600);
    line-height: 1.7;
}

.become-partner {
    text-align: center;
    background: rgba(251, 191, 36, 0.05);
    padding: 4rem 2rem;
    border-radius: 2rem;
}

.become-partner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-950);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.become-partner p {
    font-size: 1.25rem;
    color: var(--stone-600);
    margin-bottom: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
}

.news-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.news-image {
    height: 250px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content-inner {
    padding: 2rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-category {
    background: rgba(251, 191, 36, 0.1);
    color: var(--amber-600);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-date {
    color: var(--stone-600);
    font-size: 0.875rem;
}

.news-card h2,
.news-card h3 {
    color: var(--teal-950);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.news-card h2 {
    font-size: 2rem;
}

.news-card h3 {
    font-size: 1.5rem;
}

.news-card p {
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--amber-600);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--orange-600);
    gap: 0.75rem;
}

/* Contact */
.contact-content {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-950);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.contact-info>p {
    color: var(--stone-600);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(20, 184, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-800);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--amber-500);
    color: white;
}

.contact-text h4 {
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 0.5rem;
}

.contact-text p,
.contact-text a {
    color: var(--stone-600);
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--amber-600);
}

.social-connect h4 {
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-800);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--amber-500);
    color: white;
    transform: scale(1.1);
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--teal-900);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(20, 184, 166, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--amber-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--teal-950);
    color: white;
    padding: 4.5rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 10px solid var(--amber-500);
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: radial-gradient(circle, var(--amber-500) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
}

.footer-bg {
    position: absolute;
    inset: 0;
}

.footer-bg::before,
.footer-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}

.footer-bg::before {
    top: 0;
    right: 0;
    background: var(--teal-800);
}

.footer-bg::after {
    bottom: 0;
    left: 0;
    background: var(--amber-600);
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.brand-subtitle {
    color: var(--amber-400);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* Footer Logo Image */
.footer-logo-image {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(204, 251, 241, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(4, 47, 46, 0.5);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--amber-600);
    color: white;
    transform: scale(1.1);
}

.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--amber-400);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(20, 184, 166, 0.3);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(204, 251, 241, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber-500);
    border-radius: 50%;
}

.footer-links a:hover {
    color: #FFF8E7;
    transform: translateX(0.5rem);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(204, 251, 241, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-contact i {
    color: var(--amber-400);
    flex-shrink: 0;
}

.footer-newsletter p {
    color: rgba(204, 251, 241, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(20, 184, 166, 0.5);
}

.newsletter-form input {
    width: 100%;
    background: rgba(4, 47, 46, 0.5);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    color: white;
    font-size: 0.875rem;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(20, 184, 166, 0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--amber-500);
}

.btn-subscribe {
    width: 100%;
    background: linear-gradient(to right, var(--amber-600), var(--orange-600));
    color: white;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.btn-subscribe:hover {
    box-shadow: var(--shadow-xl);
}

.footer-bottom {
    border-top: 1px solid rgba(20, 184, 166, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: rgba(20, 184, 166, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--amber-400);
}

/* Utility & Responsive */
.hidden {
    display: none;
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.icon-small {
    width: 16px;
    height: 16px;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .coordinator-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .coordinator-right {
        display: none;
    }

    .intro-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .projects-grid,
    .values-grid,
    .team-grid,
    .team-grid-three {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .impact-coordinator {
        padding: 0.25rem;
    }

    .coordinator-content {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Page Styles */
.gallery-content {
    padding: 4rem 0 6rem;
    background: white;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: white;
    color: var(--stone-600);
    border: 2px solid rgba(251, 191, 36, 0.2);
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--amber-500);
    color: var(--teal-900);
}

.filter-btn.active {
    background: linear-gradient(to right, var(--amber-600), var(--orange-600));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 62, 80, 0.95), rgba(45, 62, 80, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    color: var(--amber-400);
}

.gallery-info p {
    font-size: 0.9rem;
    color: #B8C5D6;
    margin-bottom: 1rem;
}

.gallery-info i {
    width: 40px;
    height: 40px;
    background: var(--amber-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 0.5rem;
}

/* Gallery item hidden state for filtering */
.gallery-item.hidden {
    display: none;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightboxImage {
    max-width: 100%;
    max-height: calc(90vh - 150px);
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--amber-500);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    background: var(--coral-600);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-nav:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-caption {
    background: rgba(45, 62, 80, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
    text-align: center;
    max-width: 600px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.lightbox-caption h3 {
    color: var(--amber-400);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.lightbox-caption p {
    color: #B8C5D6;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

#lightboxCounter {
    display: inline-block;
    background: var(--amber-500);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Community News (RSS Feeds) Section */
.community-news-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid rgba(251, 191, 36, 0.2);
}

.rss-loading {
    text-align: center;
    padding: 4rem 2rem;
}

.rss-loading .loader {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(251, 191, 36, 0.2);
    border-top-color: var(--amber-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.rss-loading p {
    color: var(--stone-600);
    font-size: 0.9rem;
}

.rss-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.rss-feed-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(251, 191, 36, 0.1);
    display: flex;
    flex-direction: column;
}

.rss-feed-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--amber-500);
}

.rss-feed-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.rss-feed-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rss-feed-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.rss-feed-source i {
    width: 16px;
    height: 16px;
    color: var(--amber-600);
}

.rss-source-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber-600);
}

.rss-feed-date {
    font-size: 0.75rem;
    color: var(--stone-600);
    margin-left: auto;
}

.rss-feed-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rss-feed-description {
    font-size: 0.9rem;
    color: var(--stone-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rss-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-800);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.rss-read-more:hover {
    color: var(--amber-600);
    gap: 0.75rem;
}

.rss-read-more i {
    width: 16px;
    height: 16px;
}

.rss-error {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.rss-error i {
    width: 48px;
    height: 48px;
    color: var(--coral-600);
    margin: 0 auto 1rem;
}

.rss-error p {
    color: var(--stone-600);
}

@media (min-width: 1025px) {
    .coordinator-right {
        display: block;
    }
}

/* ============================================
   PROGRAMS PREVIEW SECTION (Homepage)
   Compact, evenly-spaced icon cards
   ============================================ */

.programs-preview-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--stone-50), white);
}

.programs-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-preview-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(251, 191, 36, 0.15);
    transition: var(--transition);
}

.program-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--amber-400);
}

.program-preview-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--amber-400);
    transition: var(--transition);
}

.program-preview-card:hover .program-preview-icon {
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    color: white;
    transform: scale(1.1);
}

.program-preview-icon i,
.program-preview-icon svg {
    width: 28px;
    height: 28px;
}

.program-preview-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--teal-900);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.program-preview-card p {
    font-size: 0.875rem;
    color: var(--stone-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-800);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.program-link:hover {
    color: var(--amber-600);
    gap: 0.75rem;
}

.program-link i,
.program-link svg {
    width: 16px;
    height: 16px;
}

/* Responsive: Stack cards on smaller screens */
@media (max-width: 900px) {
    .programs-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-preview-card {
        padding: 1.5rem;
    }
}

/* ============================================
   PROGRAMS SHOWCASE (Projects Page)
   Horizontal cards with themed images
   ============================================ */

.programs-showcase {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

/* Horizontal Program Card */
.program-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.program-horizontal.visible {
    opacity: 1;
    transform: translateX(0);
}

.program-horizontal:last-child {
    border-bottom: none;
}

.program-horizontal.reversed {
    direction: rtl;
    transform: translateX(30px);
}

.program-horizontal.reversed>* {
    direction: ltr;
}

.program-horizontal.reversed.visible {
    transform: translateX(0);
}

/* Program Image Wrapper */
.program-image-wrapper {
    position: relative;
}

.program-image-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.program-image-frame img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.program-horizontal:hover .program-image-frame img {
    transform: scale(1.05);
}

.program-image-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.program-horizontal:hover .program-image-overlay {
    opacity: 0.15;
}

/* Theme-specific overlays and borders */
.social-integration-theme {
    border: 4px solid #14b8a6;
}

.social-integration-theme .program-image-overlay {
    background: linear-gradient(135deg, #0d9488, #115e59);
}

.economic-empowerment-theme {
    border: 4px solid #f59e0b;
}

.economic-empowerment-theme .program-image-overlay {
    background: linear-gradient(135deg, #d97706, #92400e);
}

.justice-shield-theme {
    border: 4px solid #6366f1;
}

.justice-shield-theme .program-image-overlay {
    background: linear-gradient(135deg, #4f46e5, #312e81);
}

/* Program Number Badge */
.program-number-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-display);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

/* Program Details */
.program-details {
    padding: 1rem 0;
}

.program-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.program-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.program-horizontal:hover .program-icon-circle {
    transform: scale(1.1);
}

.program-icon-circle i,
.program-icon-circle svg {
    width: 28px;
    height: 28px;
}

/* Theme-specific icon colors */
.social-integration-icon {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: white;
}

.economic-empowerment-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.justice-shield-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.program-details h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-900);
    font-family: var(--font-display);
    margin: 0;
}

.program-description {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Program Activities List */
.program-activities {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.program-activities li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #334155;
}

.program-activities i,
.program-activities svg {
    width: 18px;
    height: 18px;
    color: #22c55e;
    flex-shrink: 0;
}

/* Program Impact Stat */
.program-impact {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(251, 191, 36, 0.08));
    border-radius: 1rem;
    border-left: 4px solid var(--amber-500);
}

.impact-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal-800);
    font-family: var(--font-display);
    line-height: 1;
}

.impact-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* Programs CTA Section */
.programs-cta-section {
    padding: 4rem 0 5rem;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.cta-card {
    background: linear-gradient(135deg, var(--teal-900), var(--teal-950));
    border-radius: 2rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.cta-content p {
    font-size: 1rem;
    color: rgba(204, 251, 241, 0.8);
    max-width: 500px;
}

.cta-card .cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .program-horizontal {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .program-horizontal.reversed {
        direction: ltr;
    }

    .program-image-frame img {
        height: 280px;
    }

    .program-activities {
        grid-template-columns: 1fr;
    }

    .program-details h2 {
        font-size: 1.5rem;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cta-content {
        text-align: center;
    }

    .cta-content p {
        max-width: 100%;
    }

    .cta-card .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-card .btn-primary,
    .cta-card .btn-outline {
        width: 100%;
        justify-content: center;
    }
}