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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary {
    background-color: #3B82F6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563EB;
}

.btn-secondary {
    background-color: #F59E0B;
    color: white;
}

.btn-secondary:hover {
    background-color: #D97706;
}

.btn-outline {
    border: 1px solid #D1D5DB;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.logo-shape {
    width: 1.5rem;
    height: 0.75rem;
    background-color: white;
    border-radius: 0.75rem 0.75rem 0 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: #111827;
}

/* Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563EB;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background-color: #1F2937;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.mobile-nav .nav-link {
    padding: 0.5rem 0;
}

/* Page System */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 5rem;
}

.page.active {
    display: block !important;
}

/* Ensure events page content is visible */
#events.page.active {
    display: block !important;
}

#events .upcoming-events,
#events .past-events,
#events .event-info {
    display: block !important;
}

.page-content {
    padding: 2rem 0;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
}

.hero-text {
    max-width: 32rem;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #EFF6FF;
}

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

/* Section Styles */
section {
    padding: 4rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.section-header p {
    font-size: 1.125rem;
    color: #4B5563;
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works */
.how-it-works {
    background-color: #F9FAFB;
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: #3B82F6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.step-card p {
    color: #4B5563;
}

/* Impact Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3B82F6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: #4B5563;
    font-weight: 500;
}

/* Activities */
.activities {
    background-color: #F9FAFB;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.activity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.activity-card p {
    color: #4B5563;
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3B82F6;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.resource-card p {
    color: #4B5563;
}

/* Testimonials */
.testimonials {
    background-color: #F9FAFB;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.testimonial-card blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-card cite {
    color: #4B5563;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #EFF6FF;
}

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

/* Newsletter */
.newsletter {
    background-color: #111827;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #D1D5DB;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    background-color: #1F2937;
    color: white;
}

.newsletter-form input::placeholder {
    color: #9CA3AF;
}

/* Footer */
.footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: white;
}

.footer-description {
    color: #D1D5DB;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-icon {
    color: #9CA3AF;
}

.footer-contact a {
    color: #D1D5DB;
}

.footer-contact a:hover {
    color: #3B82F6;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #D1D5DB;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3B82F6;
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #3B82F6;
}

.nonprofit-info {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.nonprofit-info p {
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.legal-links {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.legal-links a {
    color: #9CA3AF;
}

.legal-links a:hover {
    color: #3B82F6;
}

.partners-section {
    margin-top: 2rem;
}

.partners-section h4 {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.partner-logo {
    background-color: #1F2937;
    height: 3rem;
    width: 6rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #6B7280;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.active {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

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

    .hero-buttons .btn {
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activities-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        text-align: center;
    }

    .partners-grid {
        justify-content: center;
    }
}

/* Page-specific styles */
.hero-page {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero-page-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-page-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Program Page Styles */
.program-overview,
.who-we-serve,
.safety-care {
    padding: 4rem 0;
}

.program-content,
.serve-grid {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-card {
    background: #EFF6FF;
    padding: 2rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.schedule-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    gap: 1rem;
}

.schedule-time {
    font-weight: 600;
    min-width: 8rem;
    color: #3B82F6;
}

.who-we-serve {
    background-color: #F9FAFB;
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.serve-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.serve-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.safety-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.safety-check {
    background-color: #3B82F6;
    color: white;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Get Involved Page Styles */
.ways-to-help {
    padding: 4rem 0;
}

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

.help-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.help-header {
    padding: 2rem;
    text-align: center;
    color: white;
}

.volunteer-header {
    background-color: #3B82F6;
}

.donate-header {
    background-color: #F59E0B;
}

.partner-header {
    background-color: #3B82F6;
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.help-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.help-content {
    padding: 2rem;
}

.volunteer-section,
.donate-section {
    padding: 4rem 0;
}

.volunteer-section {
    background-color: #F9FAFB;
}

.volunteer-roles {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.volunteer-roles h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #111827;
}

.roles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.role-item {
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 1.5rem;
}

.role-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.role-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.role-item p {
    color: #4B5563;
    margin-bottom: 1rem;
}

.role-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.role-detail {
    font-size: 0.875rem;
}

.role-detail strong {
    color: #374151;
}

.volunteer-cta,
.donate-cta {
    text-align: center;
    margin-top: 2rem;
}

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

.donation-impact,
.giving-ways {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.donation-impact h3,
.giving-ways h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #111827;
}

.impact-list,
.ways-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.impact-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #3B82F6;
    flex-shrink: 0;
}

.way-item {
    margin-bottom: 1rem;
}

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

.way-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

.way-item p {
    font-size: 0.875rem;
    color: #4B5563;
}

.donate-note {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 1rem;
}

/* About Page Styles */
.our-story,
.mission-vision,
.team-section {
    padding: 4rem 0;
}

.our-story {
    max-width: 800px;
    margin: 0 auto;
}

.story-content {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.story-content p {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.story-content p:last-child {
    margin-bottom: 0;
}

.mission-vision {
    background-color: #F9FAFB;
}

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

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mission-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.mission-card p {
    color: #4B5563;
    line-height: 1.6;
}

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

.team-member {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.member-photo {
    height: 16rem;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.member-role {
    color: #3B82F6;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.member-bio {
    color: #4B5563;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Events Page Styles */
.upcoming-events,
.past-events,
.event-info {
    padding: 4rem 0;
}

.past-events {
    background-color: #F9FAFB;
}

.upcoming-events h2,
.past-events h2,
.event-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.upcoming-events p,
.past-events p {
    text-align: center;
    font-size: 1.125rem;
    color: #4B5563;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.events-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background: white !important;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    min-height: 400px;
    width: 100%;
}

.event-card.featured {
    border: 2px solid #3B82F6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.event-date {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
    text-align: center;
    padding: 1rem;
    min-width: 80px;
}

.event-date .month {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .year {
    font-size: 0.875rem;
    opacity: 0.8;
}

.event-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-badge {
    background: #F59E0B;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    align-self: flex-start;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.event-details {
    margin-bottom: 1rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #4B5563;
}

.detail-icon {
    font-size: 1rem;
}

.event-description {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.highlight {
    background: #EFF6FF;
    color: #2563EB;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid #DBEAFE;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.past-event-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.past-event-image {
    height: 12rem;
    overflow: hidden;
}

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.past-event-content {
    padding: 1.5rem;
}

.past-event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.past-event-date {
    color: #3B82F6;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.past-event-content p {
    color: #4B5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.past-event-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat {
    font-size: 0.875rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #111827;
}

.info-card p {
    color: #4B5563;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    color: #374151;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-card li::before {
    content: '•';
    color: #3B82F6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Resource Page Styles */
.resource-categories,
.emergency-resources,
.access-info {
    padding: 4rem 0;
}

.resource-categories h2,
.emergency-resources h2,
.access-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.resource-categories p,
.emergency-resources p,
.access-info p {
    text-align: center;
    font-size: 1.125rem;
    color: #4B5563;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.emergency-resources {
    background-color: #FEF2F2;
}

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

.resource-category {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.category-header {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.category-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: white;
}

.resource-list {
    padding: 1.5rem;
}

.resource-item {
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.resource-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.resource-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.resource-item p {
    color: #4B5563;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.resource-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.resource-contact span {
    font-size: 0.875rem;
    color: #374151;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.emergency-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-left: 4px solid #EF4444;
}

.emergency-card.urgent {
    border-left-color: #DC2626;
    background: #FEF2F2;
}

.emergency-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #111827;
}

.emergency-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.emergency-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.emergency-contact strong {
    color: #111827;
    font-size: 0.875rem;
}

.emergency-contact span:last-child {
    color: #DC2626;
    font-weight: 600;
    font-size: 1.125rem;
}

.access-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.access-step {
    text-align: center;
    padding: 1.5rem;
}

.access-step .step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.access-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.access-step p {
    color: #4B5563;
    line-height: 1.6;
}

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

    .hero-page-content p {
        font-size: 1.125rem;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .schedule-time {
        min-width: auto;
    }

    .help-grid,
    .mission-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .role-details {
        grid-template-columns: 1fr;
    }

    .donation-info {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        min-width: auto;
    }

    .event-actions {
        flex-direction: column;
    }

    .past-events-grid {
        grid-template-columns: 1fr;
    }

    .event-info-grid {
        grid-template-columns: 1fr;
    }

    .resource-category-grid {
        grid-template-columns: 1fr;
    }

    .emergency-grid {
        grid-template-columns: 1fr;
    }

    .access-steps {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .partners-section {
        text-align: left;
    }

    .partners-grid {
        justify-content: flex-start;
    }
}
