/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 12000px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end;
    align-items: right;
}

.nav-logo h2 {
    color: #2d5a27;
    font-weight: 700;
    font-size: 1.8rem;
    font-family: Georgia, serif;
}

.logo-container {
    position: fixed;
    top: -20px;
    left: 10px;
    z-index: 1001;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.conserve-logo {
    height: 40px;
    width: auto;
    max-width: 90px;
    margin-top: -5px;
}

.logo-image {
    height: 100px;
    width: auto;
    max-width: 300px;
    margin-left: -10px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #4a7c59;
}

.donate-btn {
    background: #4a7c59;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.donate-btn:hover {
    background: #2d5a27;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 50px;
    padding: 0 20px;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: Georgia, serif;
}

.hero h1 .line-break {
    display: block;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

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

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #2d5a27;
}

.btn-primary:hover {
    background: #f8f9fa;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2d5a27;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Mission Section */
.mission {
    padding: 100px 0;
    background: #f8f9fa;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission h2 {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
}

.mission p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: none !important;
    transform: none !important;
}

.stat:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: none !important;
    transition: none !important;
}

.stat h3 {
    font-size: 2.5rem;
    color: #4a7c59;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
    overflow: visible;
    white-space: nowrap;
}

.stat p {
    color: #666;
    font-weight: 500;
}


/* Mission Statement */
.mission-statement {
    padding: 120px 0 60px 0;
    background: #f8f9fa;
    text-align: center;
}

/* Reduce spacing between header + programs list on Programs page */
.programs-hero {
    padding-bottom: 24px;
}

.programs.programs-page {
    padding-top: 36px;
}

.mission-statement h1 {
    font-size: 3rem;
    color: #2d5a27;
    margin-bottom: 2rem;
    font-family: Georgia, serif;
    font-weight: 700;
}

.mission-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.pillar-navigation {
    display: flex;
    width: 100%;
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pillar-btn {
    flex: 1;
    padding: 1.5rem 2rem;
    border: none;
    font-weight: 400;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    position: relative;
}

.innovate-btn {
    background: #6b9c7a;
    color: white;
}

.innovate-btn:hover {
    background: #4a7c59;
}

.innovate-btn.active {
    background: #2d5a27 !important;
}

.support-btn {
    background: #4a7c59;
    color: white;
}

.support-btn:hover {
    background: #2d5a27;
}

.support-btn.active {
    background: #2d5a27 !important;
}

.advocate-btn {
    background: #6b9c7a;
    color: white;
}

.advocate-btn:hover {
    background: #4a7c59;
}

.advocate-btn.active {
    background: #2d5a27 !important;
}

/* Content Sections */
.content-sections {
    position: relative;
}

/* Pillar Sections */
.pillar-section {
    padding: 80px 0;
    display: none;
}

.pillar-section.active {
    display: block;
}

.innovate-section {
    background: white;
}

.support-section {
    background: white;
}

.advocate-section {
    background: white;
}


.pillar-section h2 {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
    text-align: center;
}

.pillar-description {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.petition-link {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.petition-link:hover {
    color: #2d5a27;
}

/* Programs Section */
.programs {
    padding: 120px 0 60px 0;
    background: #f8f9fa;
}

.programs h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 3rem;
    font-family: Georgia, serif;
}

.programs-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Simple programs list (Programs page) */
.programs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.program-box {
    border: 1px solid rgba(45, 90, 39, 0.18);
    background: #ffffff;
    border-radius: 0;
    padding: 1.75rem;
}

.program-box h3 {
    font-size: 1.6rem;
    color: #1a3d16;
    margin: 0 0 0.75rem 0;
    font-family: Georgia, serif;
    font-weight: 600;
}

.program-box p {
    color: #555;
    line-height: 1.75;
    margin: 0 0 0.9rem 0;
    font-size: 1rem;
}

.program-box p:last-of-type {
    margin-bottom: 0;
}

.program-box-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
}

.program-box-layout--reverse {
    grid-template-columns: 320px 1fr;
}

.program-box-layout--reverse .program-box-media {
    order: -1;
}

.program-box-text {
    min-width: 0;
}

.program-box-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.program-box-media--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.program-box-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    border: 1px solid rgba(45, 90, 39, 0.12);
}

.program-box-media--nourish img {
    height: 240px;
    object-fit: cover;
    object-position: center 30%;
}

@media (max-width: 650px) {
    .program-box-layout {
        grid-template-columns: 1fr;
    }

    .program-box-media--two {
        grid-template-columns: 1fr;
    }

    .program-box-media img {
        height: 220px;
    }

    .program-box-media--nourish img {
        height: 220px;
        object-position: center 28%;
    }
}

.program-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45, 90, 39, 0.08);
    border: 1px solid rgba(45, 90, 39, 0.08);
    transition: none !important;
    transform: none !important;
}

.program-card:hover {
    transform: none !important;
    box-shadow: 0 4px 24px rgba(45, 90, 39, 0.08) !important;
    transition: none !important;
}

/* Program card header with accent */
.program-header {
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(45, 90, 39, 0.08);
}

.program-header .program-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.program-header h3 {
    font-size: 1.35rem;
    color: #1a3d16;
    margin: 0;
    font-family: Georgia, serif;
    font-weight: 600;
}

/* Program card accent colors - unified green theme */
.program-header {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.program-icon {
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
    color: white;
}

/* Program body content */
.program-body {
    padding: 2rem;
}

.program-body p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

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

/* Program layout with image */
.program-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

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

.program-text p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.program-text p:last-of-type {
    margin-bottom: 0;
}

.program-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.program-images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: none !important;
    transform: none !important;
}

.program-images img:hover {
    transform: none !important;
    transition: none !important;
}

.program-images.single-image img {
    max-height: 280px;
}

.program-images.dual-image img {
    max-height: 180px;
}

/* Petition link styling */
.petition-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.petition-btn:hover {
    opacity: 0.9;
    color: white;
}

.petition-btn i {
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .program-layout {
        grid-template-columns: 1fr;
    }
    
    .program-images {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .program-images img {
        flex: 1;
        min-width: 200px;
        max-height: 200px;
    }
}

@media (max-width: 600px) {
    .program-header {
        padding: 1rem 1.25rem;
    }
    
    .program-body {
        padding: 1.25rem;
    }
    
    .program-header h3 {
        font-size: 1.15rem;
    }
    
    .program-images img {
        min-width: 100%;
    }
}

/* Legacy styles - keeping for compatibility */
.program-image {
    height: 200px;
    background: linear-gradient(45deg, #4a7c59, #2d5a27);
    position: relative;
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
}

.program-content {
    padding: 0;
}

.program-content h3 {
    font-size: 1.5rem;
    color: #2d5a27;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.program-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.learn-more {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #2d5a27;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: white;
}

.blog h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 3rem;
    font-family: Georgia, serif;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: none !important;
    transform: none !important;
}

.blog-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: none !important;
    transition: none !important;
}

.blog-image {
    height: 200px;
    background: linear-gradient(45deg, #4a7c59, #2d5a27);
    position: relative;
    overflow: hidden;
}

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

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain3" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain3)"/></svg>');
}

.blog-content {
    padding: 2rem;
}

.blog-date {
    color: #4a7c59;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: #2d5a27;
    margin: 0.5rem 0 1rem 0;
    font-family: Georgia, serif;
}

.blog-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #4a7c59;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2d5a27;
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
}

.blog-cta .btn {
    background: white;
    color: #4a7c59;
    border: 2px solid #4a7c59;
}

.blog-cta .btn:hover {
    background: #4a7c59;
    color: white;
}

/* Instagram Section */
.instagram-section {
    padding: 80px 0;
    background: white;
}

.instagram-section-gray {
    background: #f8f9fa;
}

.instagram-header {
    text-align: center;
    margin-bottom: 3rem;
}

.instagram-header h2 {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

/* Dark pink variant for support page */
.instagram-pink .instagram-header h2 {
    color: #ca467b;
}

.instagram-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.instagram-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.instagram-feed {
    width: 500px;
    height: 500px;
    transform: scale(0.65);
    transform-origin: top left;
    margin: -10px 0 0 -5px;
    align-self: flex-start;
}

.instagram-feed iframe,
.instagram-feed .lightwidget-widget {
    width: 100% !important;
    min-width: 500px;
    min-height: 180px;
    border: none;
    border-radius: 10px;
}

/* Instagram card wrapper */
.instagram-card {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    width: 350px;
    height: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.instagram-feed .instagram-media {
    margin: 0 auto !important;
}

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

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

.instagram-follow-btn i {
    font-size: 1.4rem;
}

.instagram-placeholder {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.instagram-placeholder-link {
    text-decoration: none;
    display: block;
}

.instagram-placeholder-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.instagram-placeholder-icon i {
    font-size: 2.5rem;
    color: white;
}

.instagram-placeholder p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.instagram-placeholder span {
    font-size: 1rem;
    color: #4a7c59;
    font-weight: 600;
}

.instagram-placeholder-link:hover .instagram-placeholder-icon {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Responsive design for Instagram section */
@media (max-width: 768px) {
    .instagram-section {
        padding: 60px 0;
    }
    
    .instagram-header h2 {
        font-size: 2rem;
    }
    
    .instagram-feed {
        min-height: 350px;
    }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* Partners Heading Section */
.partners-heading-section {
    padding: 20px 0 0 0;
    background: #ffffff;
    text-align: left;
}

.partners-heading-section h2 {
    font-size: 2.2rem;
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
    font-weight: normal;
}

/* Partners Looping Section */
.partners-looping-section {
    padding: 0 0 40px 0;
    margin: 0;
    background: #ffffff;
}

/* White Spacer Section */
.white-spacer-section {
    width: 100%;
    height: 1px;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

.partners-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .partners-heading-section {
        padding: 15px 0 0 0;
    }
    
    .partners-looping-section {
        padding: 0 0 30px 0;
    }

    .partners-heading-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .events-left h2,
    .events-right h2,
    .events-left .events-description,
    .events-left .events-list {
        text-align: center;
    }
    
    .events-right .instagram-card,
    .instagram-card-pink {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .events-right .instagram-feed {
        width: 100%;
        max-width: 450px;
    }
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll-partners 45s linear infinite;
    width: fit-content;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Second row: same animation played backwards, so it scrolls right. */
.partners-logos--reverse {
    animation-direction: reverse;
}

/* Vertical gap between the two scrolling rows. */
.partners-logos + .partners-logos {
    margin-top: 2.5rem;
}

.partner-logo {
    max-height: 100px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 0.8;
}

.cora-logo {
    max-height: 120px;
    max-width: 240px;
}

.marthas-kitchen-logo {
    max-height: 120px;
    max-width: 240px;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    margin-left: 400px;
    max-width: calc(100% - 500px);
}

.footer-section h3,
.footer-section h4 {
    color: #4a7c59;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.footer-conserve-section {
    position: absolute;
    top: 45px;
    left: 120px;
    width: 250px;
}

.footer-conserve-section p {
    margin-top: -25px;
}

.footer-conserve-section .social-links {
    margin-top: 0.5rem;
}

.footer-logo {
    height: 55px;
    width: auto;
    max-width: 160px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4a7c59;
}

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

.social-links a {
    color: #ccc;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4a7c59;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .impact-grid,
    .programs-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }


    .partners-logos {
        gap: 3rem;
        animation-duration: 38s;
    }

    .partner-logo {
        max-height: 80px;
        max-width: 180px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pillar-navigation {
        flex-direction: column;
    }
    
    .pillar-btn {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .mission-statement h1 {
        font-size: 2.5rem;
    }
    
    .mission-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .mission h2,
    .impact h2,
    .programs h2,
    .blog h2,
    .cta h2 {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4a7c59;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Newsletter Popup Styles */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
}

.newsletter-popup.show {
    opacity: 1;
    visibility: visible;
}

.newsletter-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.newsletter-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.newsletter-close:hover {
    color: #333;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    color: #2d5a27;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    background: #4a7c59;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #2d5a27;
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.4;
}



/* Support Page Styles */
.support-section {
    padding: 120px 0 100px 0;
    background-color: #f8f9fa; /* Fallback background color */
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.support-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/banners/support.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.support-section .container {
    position: relative;
    z-index: 3;
}

.support-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.support-content h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.support-content p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.support-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: none !important;
    transform: none !important;
}

.support-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: none !important;
    transition: none !important;
}

.support-card h3 {
    font-size: 1.5rem;
    color: #ca467b;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
    font-weight: 600;
    text-shadow: none;
}

.support-card p {
    color: #000000;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: none;
}

.card-btn {
    background: #e98eb2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    transition: background 0.3s ease;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.card-btn:hover {
    background: #ca467b;
}

.program-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

.program-btn:hover {
    opacity: 0.9;
    color: white;
}

.program-btn i {
    font-size: 1rem;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 80px 0;
    background: white;
}

/* Upcoming Events Section (Support Page) */
.events-section {
    padding: 80px 0;
    background: #e98eb2;
}

.events-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-left: 2rem;
}

.events-left h2,
.events-right h2 {
    text-align: left;
}

.events-left .events-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.events-left .events-list {
    text-align: left;
}

.events-right {
    text-align: left;
    padding-left: 2rem;
    margin-left: 2rem;
}

.events-right h2 {
    margin-bottom: 0.5rem;
    text-align: left;
    padding-left: 0;
}

.events-right .events-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.events-right .events-list {
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    max-width: none;
}

.events-right .event-item {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
}

.events-right .event-name,
.events-right .event-details {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.events-left .instagram-card {
    margin: 0;
}

.events-left .instagram-feed {
    max-width: 100%;
    transform: scale(0.65);
    transform-origin: top left;
    width: 500px;
    height: 520px;
    margin-left: -9px;
}

.events-left .instagram-feed iframe {
    min-width: 500px;
    min-height: 500px;
}

.instagram-card-pink {
    background: white;
    width: 340px;
    height: 400px;
    overflow: hidden;
}

.events-description {
    font-size: 1.1rem;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.events-list {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.event-item {
    margin-bottom: 2rem;
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.event-details {
    font-size: 1rem;
    color: white;
    margin: 0;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: #ca467b;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
    text-align: center;
}

.gallery-description {
    font-size: 1.1rem;
    color: #ca467b;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4a7c59;
}

.gallery-placeholder p {
    margin: 0;
    font-weight: 500;
}

/* Split Button Styles */
.split-button-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.split-btn-left {
    height: 1rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.split-btn-right {
    height: 1rem;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.split-btn-left:hover {
    background: #ca467b;
}

.split-btn-right:hover {
    background: #ca467b;
}

/* Override support-section background for programs page */
.content-sections .pillar-section.support-section {
    background: white !important;
    padding: 80px 0 !important;
    min-height: auto !important;
    display: none !important;
    align-items: unset !important;
    position: static !important;
}

.content-sections .pillar-section.support-section.active {
    display: block !important;
}

.content-sections .pillar-section.support-section::before {
    display: none !important;
}

/* Responsive design for support page */
@media (max-width: 768px) {
    .support-content h1 {
        font-size: 2.5rem;
    }
    
    .support-section {
        padding: 100px 0 80px 0;
    }
}

@media (max-width: 480px) {
    .support-content h1 {
        font-size: 2rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 120px 0 100px 0;
    background: #f5f5f5;
    min-height: 80vh;
}

/* Our Team Page */
.team-section {
    padding: 80px 0 100px 0;
    background: #ffffff;
}

.team-list {
    width: 100%;
    margin: 0 0 3.5rem 0;
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 5vw, 72px);
}

.team-member {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 520px;
}

.team-member--reverse {
    flex-direction: row-reverse;
}

.team-member-media {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 clamp(64px, 6.2vw, 110px);
}

.team-member-content {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
}

.team-member-text {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.team-kicker {
    margin: 0 0 0.35rem 0;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6a6a6a;
}

.team-name-xl {
    margin: 0 0 0.9rem 0;
    font-size: 3.4rem;
    line-height: 1.1;
    color: #1a3d16;
    font-family: Georgia, serif;
    font-weight: 600;
}

.team-photo {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.18) 0%, rgba(45, 90, 39, 0.18) 100%);
    border: 1px solid rgba(45, 90, 39, 0.12);
    color: #2d5a27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.team-photo span {
    font-size: 3rem;
}

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

.team-photo img.team-photo-img--small {
    transform: scale(0.93);
    transform-origin: center;
}

.team-cta {
    max-width: 900px;
    margin: 0 auto;
    background: #f8f9fa;
    border: 1px solid rgba(45, 90, 39, 0.08);
    border-radius: 0;
    padding: 2.25rem;
    text-align: center;
}

.team-cta h2 {
    font-size: 2rem;
    color: #2d5a27;
    margin-bottom: 0.75rem;
    font-family: Georgia, serif;
    font-weight: 700;
}

.team-cta p {
    color: #666;
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.7;
}

.team-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-cta .btn-secondary {
    color: #4a7c59;
    border-color: #4a7c59;
}

.team-cta .btn-secondary:hover {
    background: #4a7c59;
    color: #ffffff;
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 0 80px 0;
    }

    .team-list {
        gap: 2.25rem;
    }

    .team-member,
    .team-member--reverse {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        min-height: unset;
    }

    .team-member-media {
        flex-basis: auto;
        max-width: none;
        padding: 0;
    }

    .team-photo {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .team-member-content {
        max-width: none;
        flex-basis: auto;
        padding: 0 20px;
        justify-content: flex-start;
    }

    .team-name-xl {
        font-size: 2.4rem;
    }

    .team-cta {
        padding: 1.75rem;
    }

    .team-cta h2 {
        font-size: 1.75rem;
    }
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section {
    text-align: left;
}

.contact-form-section h1 {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
    font-weight: normal;
}

.contact-form-section > p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #333;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #333;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #555;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    background: #ccc;
    transform: none;
}

/* Contact Info Section */
.contact-info-section {
    text-align: left;
    padding-top: 4.5rem;
}

.contact-info {
    padding-top: 0;
}

.contact-email {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #333;
}

.contact-email a {
    color: #333;
    text-decoration: underline;
}

.contact-email a:hover {
    color: #4a7c59;
}

.business-hours h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.business-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-hours li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #666;
}

/* Contact form success message */
.contact-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}

/* Responsive design for contact page */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-section h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .contact-section {
        padding: 100px 0 80px 0;
    }
}

@media (max-width: 480px) {
    .contact-content h1 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
    }
}

/* Thank You Popup Styles */
.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
}

.thank-you-popup.show {
    opacity: 1;
    visibility: visible;
}

.thank-you-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.thank-you-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.thank-you-close:hover {
    color: #333;
}

.thank-you-content h2 {
    font-size: 2rem;
    color: #2d5a27;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
    font-weight: 700;
}

.thank-you-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}