/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #6CB4E8;
    --soft-blue: #8FC9F0;
    --light-blue: #EAF4FC;
    --warm-orange: #E8177F;
    --earth-brown: #C4126A;
    --white: #FFFFFF;
    --off-white: #FDF6F9;
    --text-dark: #2D2D2D;
    --text-gray: #5A5A5A;
    --light-gray: #E8E0E4;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--warm-orange);
}

.logo-icon {
    font-size: 30px;
    margin-right: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
    margin-right: 10px;
    border-radius: 50%;
}

.logo-text {
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.btn-donate-nav {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.btn-donate-nav:hover {
    background-color: var(--soft-blue);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(232, 23, 127, 0.85), rgba(108, 180, 232, 0.85)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.4s ease;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.scroll-arrow {
    font-size: 24px;
    animation: bounce 2s infinite;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--soft-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 16px 45px;
    font-size: 1.1rem;
}

.btn-footer {
    background-color: var(--warm-orange);
    color: var(--white);
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-footer:hover {
    background-color: var(--earth-brown);
}

/* Impact Counter */
.impact-counter {
    background-color: var(--light-blue);
    padding: 60px 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.counter-item {
    padding: 20px;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--warm-orange));
    margin: 0 auto 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Mission Section */
.mission {
    background-color: var(--off-white);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mission-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.mission-image {
    position: relative;
    width: 100%;
}

.mission-slider-container {
    position: relative;
    width: 100%;
}

.mission-slider {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    background-color: #0f172a;
}

.mission-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.04);
}

.mission-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.mission-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 4;
    opacity: 0;
}

.mission-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 12px;
}

.slider-next {
    right: 12px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 14px;
    flex-wrap: wrap;
    max-width: 100%;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-blue));
    width: 24px;
    border-radius: 10px;
}

.image-caption {
    text-align: center;
    margin-top: 12px;
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.95rem;
    min-height: 24px;
    transition: opacity 0.3s ease;
}

/* How We Help */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.help-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.help-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.help-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.help-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-blue);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 25px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-blue));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--warm-orange);
}

.footer-mission {
    color: var(--light-gray);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--warm-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-blue));
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .counter-number {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* About Page Specific Styles */
.our-story {
    background-color: var(--off-white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.vision-mission {
    padding: 80px 0;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.vm-card {
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.vision-card {
    background: linear-gradient(135deg, var(--light-blue), var(--white));
}

.mission-card {
    background: linear-gradient(135deg, var(--white), var(--light-blue));
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.vm-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.why-matters {
    background-color: var(--off-white);
}

.matters-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.matters-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.matters-text h3:first-of-type {
    margin-top: 0;
}

.matters-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.matters-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-box h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.stat-box ul {
    list-style: none;
}

.stat-box li {
    padding: 8px 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--light-gray);
}

.stat-box li:last-child {
    border-bottom: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Work Page Specific Styles */
.activity-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 75px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background-color: var(--light-blue);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-time {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    background-color: var(--light-blue);
    padding: 15px;
    border-radius: 10px;
    height: fit-content;
}

.timeline-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.photo-gallery {
    background-color: var(--off-white);
    padding: 80px 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--white);
    color: var(--text-gray);
    border: 2px solid transparent;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-blue));
    color: var(--white);
    box-shadow: 0 6px 18px rgba(232, 23, 127, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    height: 280px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    background-color: #eee;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay .gallery-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.gallery-item.hidden {
    display: none;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 29, 0.92);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-container {
    max-width: 850px;
    max-height: 75vh;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.lightbox-img {
    width: 100%;
    height: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 15px;
    max-width: 700px;
}

.lightbox-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--white);
}

.lightbox-caption p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -65px;
}

.lightbox-next {
    right: -65px;
}

@media (max-width: 900px) {
    .lightbox-prev {
        left: 10px;
        background: rgba(0, 0, 0, 0.5);
    }
    .lightbox-next {
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
    }
    .lightbox-close {
        top: -40px;
        right: 10px;
    }
}

/* Home & Page Impact Visual Strips */
.impact-strip-section {
    background-color: var(--off-white);
    padding: 70px 0;
}

.impact-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.impact-photo-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 240px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.impact-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.impact-photo-card:hover img {
    transform: scale(1.08);
}

.impact-photo-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.location-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.location-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

.location-address {
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.location-note {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 25px;
    background-color: var(--light-blue);
    border-radius: 10px;
    text-align: center;
}

.events {
    background-color: var(--off-white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    gap: 25px;
}

.event-date {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
}

.event-content h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.event-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.impact-stats-detailed {
    background: linear-gradient(135deg, var(--light-blue), var(--white));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Get Involved Page Styles */
.ways-to-help {
    background-color: var(--off-white);
}

.help-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.help-option-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.help-option-card:hover {
    transform: translateY(-5px);
}

.help-option-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.help-option-card h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.help-option-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.volunteer-section {
    background-color: var(--off-white);
}

.volunteer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.volunteer-info h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.volunteer-info h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
}

.volunteer-info p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.volunteer-tasks,
.volunteer-requirements {
    list-style: none;
}

.volunteer-tasks li,
.volunteer-requirements li {
    padding: 10px 0;
    color: var(--text-gray);
}

.volunteer-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.volunteer-form h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.volunteer-testimonials {
    background-color: var(--light-blue);
}

.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-card h4 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Donate Page Styles */
.donate-header {
    background: linear-gradient(135deg, var(--warm-orange), var(--primary-blue));
}

.donation-impact {
    background-color: var(--off-white);
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.impact-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.impact-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.impact-card p {
    color: var(--text-gray);
}

.donate-main {
    padding: 80px 0;
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.donate-info h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.donate-info p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.transparency-box {
    background-color: var(--light-blue);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.transparency-box h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.transparency-box ul {
    list-style: none;
}

.transparency-box li {
    padding: 8px 0;
    color: var(--text-gray);
}

.donation-uses {
    margin-top: 30px;
}

.donation-uses h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.use-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.use-percent {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    min-width: 60px;
}

.use-label {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.donate-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.donate-box h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.upi-qr-section {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.qr-code-container {
    text-align: center;
}

.qr-code {
    width: 250px;
    height: 250px;
    border: 3px solid var(--primary-blue);
    border-radius: 15px;
    padding: 15px;
    background-color: var(--white);
}

.qr-instruction {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.upi-id-section {
    text-align: center;
    margin: 30px 0;
}

.upi-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.upi-id-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: var(--light-blue);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.upi-id {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.copy-btn {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: var(--soft-blue);
}

.upi-note {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-style: italic;
}

.quick-amounts {
    margin-top: 30px;
    text-align: center;
}

.quick-amounts p {
    margin-bottom: 15px;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.amount-btn {
    background-color: var(--light-blue);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.amount-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.amount-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.custom-amount-group {
    margin-top: 20px;
    text-align: left;
}

.custom-amount-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.custom-amount-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.custom-amount-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.pay-upi-btn {
    width: 100%;
    margin-top: 25px;
    font-size: 1.2rem;
    padding: 16px 24px;
}

.dynamic-qr-section {
    margin-top: 30px;
    text-align: center;
}

.qr-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.qr-divider::before,
.qr-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.qr-divider span {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.qr-code-wrapper {
    display: inline-block;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--light-blue);
}

.qr-code-wrapper canvas,
.qr-code-wrapper img {
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.qr-amount-label {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--dark-blue);
}

.amount-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

.other-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.other-methods h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.method-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.method-card h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.method-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.monthly-giving {
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    padding: 80px 0;
}

.monthly-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.monthly-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.monthly-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.monthly-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.benefit-icon {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.donor-testimonials {
    background-color: var(--off-white);
}

.donation-faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faq-item h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .story-content,
    .mission-content,
    .volunteer-content,
    .donate-content {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .matters-content {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-item::after {
        display: none;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================
   Join Us Page Styles
   ============================================= */

.join-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Family Section Header */
.family-section-header {
    margin-top: 35px;
    margin-bottom: 10px;
    padding-top: 25px;
    border-top: 2px solid var(--light-gray);
}

.family-section-header h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.family-section-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* Family Input Grid */
.family-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Add Family Button */
.add-family-btn {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

.add-icon {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

/* Family List Container */
.family-list-container {
    margin-top: 20px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Family Member Card */
.family-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--light-blue), var(--white));
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 3px 12px rgba(74, 144, 226, 0.1);
    animation: slideIn 0.35s ease;
    transition: transform 0.2s, box-shadow 0.2s;
}

.family-card:hover {
    transform: translateX(4px);
    box-shadow: 0 5px 18px rgba(74, 144, 226, 0.18);
}

.family-card div {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.family-card strong {
    color: var(--primary-blue);
}

/* Remove Button */
.remove-btn {
    background-color: transparent;
    color: #e74c3c;
    border: 1.5px solid #e74c3c;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.remove-btn:hover {
    background-color: #e74c3c;
    color: var(--white);
    transform: scale(1.05);
}

/* Submit Registration Button */
.submit-registration-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Slide-in animation for family cards */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive: Join Us Page */
@media (max-width: 768px) {
    .join-us-layout {
        grid-template-columns: 1fr;
    }

    .family-input-grid {
        grid-template-columns: 1fr;
    }
}
