* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Text Selection Styling */
::selection {
    background: #28a745;
    color: white;
}

::-moz-selection {
    background: #28a745;
    color: white;
}

body {
    background: #f4f4f4;
    scroll-behavior: smooth;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* reduce left padding so logo sits flush to the left edge */
    padding: 12px 40px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
   
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle.active svg {
    transform: rotate(90deg);
}

nav {
    display: flex;
}

nav.show {
    display: flex;
    animation: slideInDown 0.3s ease-out;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    header {
        padding: 12px 15px;
        justify-content: flex-start;
        gap: 15px;
    }

    .logo {
        flex-shrink: 0;
        width: auto;
        justify-content: flex-start;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo h2 {
        /* slightly smaller on tablet-width devices */
        font-size: clamp(11px, 2.2vw, 15px);
        max-width: 170px;
        line-height: 1.05;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    nav {
        order: 3;
        display: none !important;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        width: 100%;
        flex-direction: column;
    }

    nav.show {
        display: flex !important;
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        display: block;
        padding: 12px 15px;
        border-radius: 8px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    /* ensure logo block sits at the far left */
    margin-left: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.logo h2 {
    /* responsive font with upper/lower bounds; allow wrapping but do not truncate */
    font-size: clamp(10px, 1.5vw, 20px);
    font-weight: 700;
    letter-spacing: 0.3px;
    max-width: 240px;
    line-height: 1.1;
    text-transform: uppercase;
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    -ms-word-break: break-word;
    word-break: break-word;
    hyphens: auto;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    border: 2px solid transparent;
}

nav a:hover {
    color: #28a745;
    transform: translateY(-3px);
    background: rgba(40, 167, 69, 0.2);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    border-color: rgba(40, 167, 69, 0.3);
}

nav a.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.donate-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

.donate-btn:hover {
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.6);
    transform: translateY(-2px);
}

/* PAGE SYSTEM */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
    animation: slideIn 0.6s ease-out;
}

#page-home {
    display: block !important;
    padding-top: 0 !important;
}

#page-home:not(.active) {
    display: none;
}

.page:not(#page-home) {
    padding-top: 100px;
}

/* HERO BANNER SECTION */
.hero-banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    top: 0;
    left: 0;
}

.carousel-slide.active-slide {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(10, 61, 28, 0.3) 0%,
        rgba(10, 61, 28, 0.5) 50%,
        rgba(10, 61, 28, 0.8) 100%);
    z-index: 2;
}

.slide-caption {
    position: absolute;
    top: 25%;
    left: 3%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    opacity: 0;
    color: white;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

.carousel-item .carousel-slide.active-slide ~ .slide-overlay ~ .slide-caption {
    animation: slideCaption 0.8s ease-out 0.3s forwards;
}

.slide-caption h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
}

.slide-caption p {
    font-size: 1.6rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.5;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.8) 0%, rgba(40, 167, 69, 0.9) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 1) 0%, rgba(32, 201, 151, 1) 100%);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.slide-counter {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
    background: rgba(40, 167, 69, 0.8);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.dot.active-dot {
    background: #28a745;
    width: 18px;
    height: 18px;
    border-color: #28a745;
    box-shadow: 0 0 15px rgba(40, 167, 69, 1);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInScale 0.8s ease-out;
}

.fade-in-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
}

.fade-in-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    color: white;
}

.hero-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    font-weight: 600;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
}

/* HOME PAGE SECTIONS */
.home-section {
    padding: 80px 20px;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.home-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.welcome-section .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-text {
    color: #333;
}

.section-text h2 {
    text-align: left;
    color: #0a3d1c;
    margin-bottom: 30px;
}

.section-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.section-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.section-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

/* Founder Highlight Section */
.founder-highlight .section-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.founder-overview {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.founder-photo img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0a3d1c;
}
.founder-details {
    flex: 1;
    min-width: 220px;
}
.founder-role {
    font-weight: 600;
    color: #0a3d1c;
    margin-bottom: 5px;
}
.founder-location {
    font-size: 0.95rem;
    color: #555;
    margin: 4px 0;
}
.founder-tagline {
    font-size: 1rem;
    font-style: italic;
    color: #333;
}
.founder-story-summary h4,
.founder-accomplishments h4,
.founder-legacy h4 {
    color: #0a3d1c;
    margin-top: 30px;
    margin-bottom: 15px;
}
.founder-story-summary p,
.founder-legacy p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}
.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.accomplishment-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}
.accomplishment-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.accomplishment-card h5 {
    font-size: 1.1rem;
    color: #0a3d1c;
    margin-bottom: 8px;
}
.founder-quote {
    font-style: italic;
    color: #0a3d1c;
    margin: 15px 0;
    border-left: 3px solid #0a3d1c;
    padding-left: 15px;
}
.founder-cta {
    text-align: center;
    margin-top: 30px;
}
.founder-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Alternate About Template */
.about-page .about-hero-alt {
    background: #0a3d1c;
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.about-hero-alt .hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}
.about-hero-alt .hero-text p {
    font-size: 1.2rem;
}

.about-block {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
}
.about-block.reverse {
    flex-direction: row-reverse;
}
.about-block .about-image img {
    max-width: 100%;
    border-radius: 10px;
}
.about-block .about-text {
    flex: 1;
    min-width: 280px;
}
.about-block .about-text h3 {
    color: #0a3d1c;
    margin-bottom: 10px;
}
.about-block.full-width .about-text {
    flex: 1 1 100%;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.values-list .value-item {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.values-list .value-item strong {
    display: block;
    color: #0a3d1c;
    margin-bottom: 5px;
}
.about-block:last-child {
    background: #f8f9fa;
}

/* Impact Stats Section */
.impact-section {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    color: white;
}

.impact-section h2 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255,255,255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255, 0.15);
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #28a745;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Programs Section */
.programs-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.programs-section h2 {
    color: #0a3d1c;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 5px solid #28a745;
    overflow: hidden;
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.program-card:hover::before {
    left: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 1.4rem;
    color: #0a3d1c;
    margin-bottom: 15px;
    font-weight: 700;
}

.program-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
}

.cta-wrapper {
    text-align: center;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-btn.donate {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.cta-btn.donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
}

.cta-btn.volunteer {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.volunteer:hover {
    background: white;
    color: #0a3d1c;
    transform: translateY(-3px);
}

.hero-content {
    animation: fadeInScale 1s ease-out;
    position: relative;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    margin-bottom: 40px;
}

.fade-in-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: slideInDown 0.8s ease-out;
}

.fade-in-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.hero-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    animation: slideInUp 0.8s ease-out 0.4s backwards;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
}

.hero-btn:active {
    transform: translateY(-1px);
}

/* PAGE CONTENT */
.page-content {
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.slide-in-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
    animation: slideInDown 0.6s ease-out;
    color: black;
}

.page.dark {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    color: white;
}

.page:not(.dark) {
    background: linear-gradient(to bottom, #f4f4f4, #ffffff);
}

/* ABOUT PAGE */
.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    animation: fadeInScale 0.8s ease-out;
}

.about-logo {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
}

.about-logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

/* CARDS */
.cards {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #28a745;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.3);
}

.card h3 {
    color: #0a3d1c;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #666;
    line-height: 1.6;
}

.bounce-in {
    animation: bounceInUp 0.8s ease-out;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid.large {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(0.8);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 61, 28, 0.9), transparent);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.4s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.4s ease;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.close:hover {
    color: #28a745;
    transform: scale(1.2);
}

/* FORMS */
.form-container {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideInUp 0.6s ease-out;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fafafa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
    background: white;
}

input[type="text"]:invalid,
input[type="email"]:invalid,
input[type="number"]:invalid {
    border-color: #dc3545;
}

input[type="text"]:invalid:focus,
input[type="email"]:invalid:focus,
input[type="number"]:invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: -15px;
    display: none;
}

.form-error.show {
    display: block;
}

.form-container button {
    padding: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.form-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.5);
}

.form-container button:active {
    transform: translateY(0);
}

.form-container button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

input.error-input,
textarea.error-input {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.05) !important;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* DONATE PAGE */
.donate-page {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    color: white;
}

.donate-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out;
    color: rgba(255,255,255,0.9);
    text-align: center;
    line-height: 1.6;
}

.donate-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 600px;
    margin: 30px auto;
    flex-wrap: wrap;
    animation: slideInUp 0.6s ease-out;
}

#amount {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255,255,255,0.15);
    color: white;
    transition: all 0.3s ease;
    font-weight: 600;
}

#amount::placeholder {
    color: rgba(255,255,255,0.7);
}

#amount:focus {
    outline: none;
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.2);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

#amount.error-input {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.15) !important;
    animation: shake 0.3s ease;
}

.donate-btn-large {
    padding: 15px 40px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: black;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.donate-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
}

.donate-btn-large:active {
    transform: translateY(-1px);
}

.donate-btn-large:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* FOOTER */
footer {
    background: #0a3d1c;
    color: white;
    text-align: center;
    padding: 30px;
    font-weight: 500;
    border-top: 3px solid #28a745;
    margin-top: 50px;
    animation: slideInUp 0.6s ease-out;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* NOTIFICATION */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
    animation: slideInRight 0.4s ease-out;
    max-width: 400px;
    min-width: 300px;
}

.notification.success-notification {
    border-left: 5px solid #28a745;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    color: #333;
    font-weight: 600;
}

.notification-content svg {
    color: #28a745;
    flex-shrink: 0;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: #333;
}

.notification {
    display: none;
}

.notification.show {
    display: flex;
}

.notification {
    opacity: 0;
    transform: translateX(100px);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.4s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideCaption {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   MOBILE RESPONSIVE
================================= */
@media (max-width: 900px) {

    .event-card {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    header {
        padding: 12px 15px;
        justify-content: flex-start;
        gap: 15px;
    }

    .logo {
        flex-shrink: 0;
        width: auto;
        justify-content: flex-start;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo h2 {
        /* slightly smaller on tablet-width devices */
        font-size: clamp(11px, 2.2vw, 15px);
        max-width: 170px;
        line-height: 1.05;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    nav {
        order: 3;
        display: none !important;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        width: 100%;
        flex-direction: column;
    }

    nav.show {
        display: flex !important;
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        display: block;
        padding: 12px 15px;
        border-radius: 8px;
    }
}

/* ABOUT PAGE ENHANCEMENTS */

/* About Intro Section */
.about-intro-section {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-intro-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 5px solid #28a745;
}

.about-intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.intro-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-intro-card h3 {
    color: #0a3d1c;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.about-intro-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Values Section */
.values-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.values-section h2 {
    color: #0a3d1c;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h4 {
    color: #0a3d1c;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Journey Timeline Section */
.journey-section {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.journey-section h2 {
    color: #0a3d1c;
    margin-bottom: 40px;
}

.journey-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.journey-block {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.journey-year {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(10, 61, 28, 0.3);
}

.journey-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    border-left: 4px solid #28a745;
}

.journey-content h4 {
    color: #0a3d1c;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.journey-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsive adjustments for journey timeline */
@media (max-width: 600px) {
    .journey-block {
        flex-direction: column;
        gap: 15px;
    }
    
    .journey-year {
        min-width: unset;
        width: fit-content;
    }
}

/* FOUNDER PAGE STYLES */
    .founder-page .page-content {
        max-width: 900px;
        margin: 0 auto;
        padding: 40px 20px;
    }



    .founder-image-container {
        position: relative;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .founder-image {
        width: 280px;
        height: 280px;
        border-radius: 50%; /* circular image */
        object-fit: cover;
        border: 8px solid rgba(255,255,255,0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
    }

    .founder-image:hover {
        transform: scale(1.02);
    }

    .founder-badge {
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        background: #ffc107;
        color: #0a3d1c;
        padding: 10px 20px;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .founder-info {
        flex: 1;
        min-width: 280px;
        text-align: left; /* ensure proper alignment */
    }

    .founder-name {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
        text-align: center;
    }

    .founder-location {
        font-size: 1.2rem;
        margin-bottom: 15px;
        opacity: 0.95;
        text-align: center;
    }

    .founder-tagline {
        font-size: 1.1rem;
        font-style: italic;
        opacity: 0.9;
        line-height: 1.6;
        text-align: center;
    }

    /* Founder Story Section */



    .founder-story {
        background: white;
        padding: 40px;
        border-radius: 10px;
        margin-bottom: 50px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-left: 5px solid #0a3d1c;
    }

    .story-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    @media (min-width: 768px) {
        .story-content {
            grid-template-columns: 1fr 1fr;
        }
    }

    .founder-story h3 {
        font-size: 2rem;
        color: #0a3d1c;
        margin-bottom: 25px;
    }

    .founder-story p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 20px;
        text-align: justified;
    }

    /* Accomplishments Grid */
    .founder-accomplishments {
        margin-bottom: 50px;
    }

    .founder-accomplishments h3 {
        font-size: 2rem;
        color: #0a3d1c;
        margin-bottom: 30px;
        text-align: center;
    }

    .accomplishments-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
        margin-bottom: 40px;
    }

    .accomplishment-card {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-top: 4px solid #0a3d1c;
    }

    .accomplishment-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .accomplishment-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .accomplishment-card h4 {
        font-size: 1.3rem;
        color: #0a3d1c;
        margin-bottom: 12px;
    }

    .accomplishment-card p {
        font-size: 0.95rem;
        color: #555;
        line-height: 1.6;
    }

    /* Legacy Section */
    .founder-legacy {
        background: linear-gradient(135deg, rgba(10, 61, 28, 0.1) 0%, rgba(13, 92, 46, 0.1) 100%);
        padding: 40px;
        border-radius: 10px;
        margin-bottom: 40px;
        border-left: 5px solid #0a3d1c;
    }

    .founder-legacy h3 {
        font-size: 2rem;
        color: #0a3d1c;
        margin-bottom: 25px;
    }

    .founder-legacy p {
        font-size: 1.05rem;
        line-height: 1.8;
        color: #333;
        margin-bottom: 20px;
        text-align: justified;
    }

    .founder-legacy em {
        color: #0a3d1c;
        font-weight: 600;
    }

    /* CTA Section */
    .founder-cta {
        background: white;
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        text-align: center;
    }

    .founder-cta p {
        font-size: 1.2rem;
        color: #333;
        margin-bottom: 25px;
    }

    .founder-cta-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

/* PROGRAMS PAGE STYLES */
.programs-overview {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.programs-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.programs-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-detail-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 5px solid #28a745;
}

.program-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.program-detail-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.program-detail-card h3 {
    color: #0a3d1c;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.program-tagline {
    font-style: italic;
    color: #28a745;
    margin-bottom: 20px;
    font-weight: 600;
}

.program-details h4 {
    color: #0a3d1c;
    margin: 20px 0 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.program-details ul {
    list-style: none;
    padding: 0;
}

.program-details ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

.program-details ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* GET INVOLVED PAGE STYLES */
.ways-section {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: -30px auto 50px;
}

.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.involvement-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.involvement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.involvement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.involvement-card h3 {
    color: #0a3d1c;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.involvement-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.involvement-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.involvement-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

/* Volunteer Form Section */
.volunteer-form-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.volunteer-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.volunteer-form-container .form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info h4 {
    color: #0a3d1c;
    margin-bottom: 5px;
}

.author-info p {
    color: #777;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #0a3d1c;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #28a745;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
}

/* DONATE PAGE STYLES */
.donate-hero {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.donate-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.donate-hero .donate-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.donate-options {
    background: #ffffff;
}

.donation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.donation-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.donation-card:hover {
    transform: translateY(-10px);
    border-color: #28a745;
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.2);
}

.donation-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.donation-card h3 {
    color: #0a3d1c;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.donation-card p {
    color: #555;
    line-height: 1.6;
}

/* Donation Form Section */
.donate-form-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.donate-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.amount-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #28a745;
    color: #28a745;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #28a745;
    color: white;
}

.custom-amount {
    margin-bottom: 30px;
    text-align: center;
}

.custom-amount label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.custom-amount input {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
}

.donation-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.donation-form .form-group {
    margin-bottom: 20px;
}

.donation-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.donation-form input,
.donation-form select,
.donation-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.donation-form input:focus,
.donation-form select:focus,
.donation-form textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
    background: white;
}

.donate-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.donate-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
}

.donate-secure {
    text-align: center;
    margin-top: 15px;
    color: #777;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Impact of Donations */
.impact-donation {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.impact-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #28a745;
}

.impact-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #28a745;
    margin-bottom: 10px;
}

.impact-result {
    color: #555;
    line-height: 1.5;
}

/* Bank Transfer Section */
.bank-transfer {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.transfer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.transfer-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.transfer-card h3 {
    color: #0a3d1c;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.bank-details p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.bank-details strong {
    color: #0a3d1c;
}

/* Tax Benefits */
.tax-benefits {
    background: #0a3d1c;
    color: white;
}

.tax-content {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.tax-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.tax-text h3 {
    color: white;
    margin-bottom: 10px;
}

.tax-text p {
    opacity: 0.9;
    line-height: 1.7;
}

/* GALLERY SECTION STYLING */
.gallery-hero {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
}

.gallery-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.gallery-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Gallery Filter Buttons */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #28a745;
    background-color: white;
    color: #0a3d1c;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #28a745;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.filter-btn.active {
    background-color: #28a745;
    color: white;
}

/* Gallery Container and Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 61, 28, 0.95);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.gallery-overlay p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.close {
    position: absolute;
    right: 35px;
    top: 20px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #28a745;
}

#caption {
    text-align: center;
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    max-width: 800px;
}

/* EVENTS SECTION STYLING */
.events-hero {
    background: linear-gradient(135deg, #0a3d1c 0%, #0d5c2e 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
}

.events-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.events-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.events-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    color: #0a3d1c;
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #28a745;
}

.event-card {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.event-card.past-event {
    opacity: 0.9;
}

.event-image {
    flex-shrink: 0;
    width: 300px;
    height: 250px;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-details {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details h3 {
    font-size: 1.8rem;
    color: #0a3d1c;
    margin-bottom: 15px;
    font-weight: bold;
}

.event-info {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #666;
    flex-wrap: wrap;
}

.event-date, .event-location {
    display: flex;
    align-items: center;
}

.event-details p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.event-category {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    width: fit-content;
}

.event-category.sports {
    background-color: #e3f2fd;
    color: #1976d2;
}

.event-category.education {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.event-category.humanitarian {
    background-color: #e8f5e9;
    color: #388e3c;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .programs-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .tax-content {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-amounts {
        gap: 10px;
    }
    
    .amount-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Gallery Responsive */
    .gallery-hero h1 {
        font-size: 2rem;
    }

    .gallery-filter {
        margin: 30px 10px;
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    .gallery-item {
        height: 250px;
    }

    /* Events Responsive */
    .events-hero h1 {
        font-size: 2rem;
    }

    .event-card {
        flex-direction: column;
        gap: 0;
    }

    .event-image {
        width: 100%;
        height: 200px;
        border-radius: 12px 12px 0 0;
    }

    .event-details {
        padding: 20px;
    }

    .event-details h3 {
        font-size: 1.4rem;
    }

    .event-info {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
