/* 
  PISCOD-Uganda Website Stylesheet 
  Design System & Premium Aesthetics 
*/

:root {
    /* Color Palette */
    --primary-color: #2e7d32; /* Deep Green for Environment/Growth */
    --primary-light: #60ad5e;
    --primary-dark: #005005;
    --secondary-color: #f9a825; /* Warm earthy yellow/orange */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 24px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--bg-white);
}

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

.mb-4 { margin-bottom: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

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

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

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

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a:not(.btn-primary).active::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    border-radius: 8px;
    top: 100%;
    left: 0;
    overflow: hidden;
    flex-direction: column;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-content a::after {
    display: none !important;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-image: url('../img/1000905632.jpg'); /* Need to ensure this image exists or fallback */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 80, 5, 0.7), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    animation: fadeInDown 1s ease-out;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: capitalize;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #e0e0e0;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-actions a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-actions a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Section Headers */
.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.text-white .section-header h2 {
    color: var(--bg-white);
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--secondary-color);
    margin-bottom: 30px;
    border-radius: 2px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image img:hover {
    transform: translateY(-5px);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Vision & Goals Section */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.vision-card:hover, .vision-card.active {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.vision-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--bg-white);
}

.objectives-list {
    max-width: 800px;
    margin: 0 auto;
}

.objectives-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    background: var(--bg-white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.objectives-list i {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-top: 4px;
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.activity-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.activity-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.activity-card:hover .activity-img {
    transform: scale(1.05);
}

.activity-content {
    padding: 25px;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
}

.activity-content h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.activity-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.activity-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Methodology Section */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method-card {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.method-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    color: white;
}

.method-card h3 {
    color: var(--secondary-color);
}

.method-card p {
    color: #cccccc;
}

/* Impact & Achievements */
.achievements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.achievement-item {
    display: flex;
    gap: 20px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    transition: var(--transition);
}

.achievement-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.achievement-icon {
    font-size: 2rem;
    color: var(--primary-light);
    background: rgba(96, 173, 94, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.achievement-text h4 {
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.partner-badge {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    background-color: white; /* Added background so colored logo is visible on dark footer */
    padding: 5px;
    border-radius: 8px;
}

.footer-about p {
    color: #aaaaaa;
    max-width: 400px;
}

.footer-contact h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #aaaaaa;
}

.contact-list i {
    color: var(--primary-light);
    margin-top: 5px;
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Headers (Multi-page) */
.page-header {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    padding-top: 80px;
    margin-bottom: 20px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 80, 5, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.blog-read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-read-more:hover {
    color: var(--secondary-color);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-panel h2 {
    color: var(--primary-dark);
}

.contact-list.large li {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-list.large i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-form-panel {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* Donate Page */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.donate-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.donate-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--text-main);
}



/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .vision-grid, .methodology-grid, .achievements-list {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide default, handled by JS for mobile menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 20px;
        z-index: 1001;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .floating-buttons {
        right: 50%;
        transform: translateX(50%);
        bottom: 20px;
        flex-direction: row;
        gap: 20px;
    }
    
    .hero-glass-card {
        padding: 30px 20px;
        border-radius: 15px;
        margin: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.whatsapp-btn {
    background-color: rgba(37, 211, 102, 0.5); /* WhatsApp Green but clear/semi-transparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-btn:hover {
    background-color: rgba(37, 211, 102, 0.8);
}

.donate-btn {
    background-color: rgba(249, 168, 37, 0.5); /* Secondary color but clear/semi-transparent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.donate-btn:hover {
    background-color: rgba(249, 168, 37, 0.8);
}

/* Social Icons & Contacts */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

.footer .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
}

.footer .social-icon:hover {
    background-color: var(--secondary-color);
}

.about-contacts p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.about-contacts p i {
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

/* Voices of Impact (Testimonials) */
.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    margin-bottom: 20px;
}
.testimonial-card i.fa-quote-left {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.testimonial-author {
    font-weight: 700;
    color: var(--primary-dark);
}

/* Activity Galleries */
.activity-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.activity-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}
.activity-gallery-item img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.activity-gallery-item:hover img {
    transform: scale(1.1);
}
.activity-gallery-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 80, 5, 0.9), transparent);
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.activity-gallery-item:hover::after {
    opacity: 1;
}
.activity-gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    z-index: 2;
    transition: transform 0.3s ease;
}
.activity-gallery-item:hover p {
    transform: translateY(-5px);
}

/* Impact Grid */
.impact-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.impact-image-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.impact-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}
.impact-image-item:hover img {
    transform: scale(1.05);
}
.impact-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 80, 5, 0.85); /* Primary dark with opacity */
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.team-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}
.team-info {
    padding: 20px;
}
.team-info h3 {
    margin-bottom: 5px;
    color: var(--primary-dark);
}
.team-info .role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0;
}

/* Professional Partnerships Section */
.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partnership-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46,125,50,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

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

.partnership-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(46, 125, 50, 0.15);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.partnership-card:hover .partnership-icon-wrap {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1) rotate(5deg);
}

.partnership-card h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.partnership-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    width: 100%;
}

.partnership-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.partnership-list li:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.partnership-list li i {
    color: var(--primary-color);
    margin-top: 5px;
    margin-right: 15px;
    font-size: 1.2rem;
}
