/* CSS Variables and Reset */
:root {
    --primary: #f9bd2e;
    --secondary: #4b5c6b;
    --neutral: #64748b;
    --background: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(153, 127, 20, 0.3);
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus {
    background: #7a6710;
    transform: translateY(-3px);
}

/* High contrast mode */
@media (prefers-contrast: more) {
    :root {
        --primary: #7a5c16;
        --secondary: #2c3e50;
        --text-dark: #000000;
    }
    
    a {
        text-decoration: underline;
    }
}

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

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

/* Navigation */
.navbar {
    background: white;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

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

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

.nav-brand a {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -0.25rem;
}

/* Logo Styles with Rich UX */
.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoFadeIn 0.8s ease-out;
}

.nav-logo:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo-link:hover .brand-text {
    transform: translateX(5px);
}

.nav-menu {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

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

.mobile-nav-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link.active {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border-bottom: none;
    margin-bottom: 0.5rem;
}

.mobile-nav-link.active:hover {
    background-color: #c99d04;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary);
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 6px 30px rgba(255, 255, 255, 0.5);
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 181, 5, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 35px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

/* Hero Register Button - Extra Prominent */
.btn-hero {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    position: relative;
}

.btn-hero::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.btn-hero:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* Ripple effect on click */
.btn-hero::before {
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

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

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

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(249, 189, 46, 0.1);
    transition: left 0.5s;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover::before {
    left: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--primary);
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 4rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: white;
}

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

.page-section .section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--neutral);
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-text {
    color: var(--neutral);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--neutral);
    margin-bottom: 2rem;
}

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

/* Page Section (for inner pages) */
.page-section {
    padding: 1rem 0 0.5rem;
    background-color: white;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
}

.page-section .container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.mission-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.mission-text {
    color: var(--neutral);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-item .feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: white;
    font-size: 0.75rem;
    margin-bottom: 0;
}

/* Updates Page Styles */
.updates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.update-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.update-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.update-content {
    padding: 1.5rem;
}

.update-date {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.update-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.update-description {
    color: var(--neutral);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.update-link {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.update-link:hover {
    color: #c99d04;
}

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

/* Media Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.gallery-icon {
    font-size: 3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
}

.video-section {
    background-color: #f9fafb;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.video-description {
    color: var(--neutral);
    margin-bottom: 2rem;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background-color: #e5e7eb;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.video-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Donation Page Styles */
.donation-container {
    background: white;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    margin-top: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.donation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    flex: 1;
}

@media (min-width: 768px) {
    .donation-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Form Styles */
.form-container,
.donation-form-container {
    background: white;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.donation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 4rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.875rem;
    line-height: 1.5;
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Donation Page Specific Styles */
.impact-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.impact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.impact-subtitle {
    font-size: 0.875rem;
    color: var(--neutral);
    margin-bottom: 1rem;
}

.impact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-item {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.impact-amount {
    background: var(--primary);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.impact-content h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.impact-content p {
    color: var(--neutral);
    font-size: 0.875rem;
}

.guarantee-box {
    background: rgba(227, 181, 5, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
}

.guarantee-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.guarantee-box p {
    color: var(--neutral);
    font-size: 0.8rem;
}

/* CTA Section in Donation Page */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cta-description {
    font-size: 0.875rem;
    color: var(--neutral);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.donation-form-container {
    background: #f9fafb;
    border-radius: 1.5rem;
    padding: 2rem;
}

.amount-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(227, 181, 5, 0.1);
}

.custom-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dollar-sign {
    color: var(--text-light);
    font-weight: 600;
}

.custom-amount input {
    flex: 1;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.security-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
}

/* Donation page specific button styling */
.donation-container .btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    animation: none;
    box-shadow: 0 4px 20px rgba(249, 189, 46, 0.3);
}

.donation-container .btn-primary:hover {
    background: #c99d04;
    border-color: #c99d04;
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(249, 189, 46, 0.4);
}

.donation-container .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(249, 189, 46, 0.2), transparent);
}

.team-section {
    background-color: #f9fafb;
    border-radius: 1rem;
    padding: 3rem 2rem;
}

.team-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

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

.team-description {
    color: var(--neutral);
    font-size: 1.125rem;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-main {
    grid-column: 1;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

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

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

.social-link {
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 1;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.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: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.contact-item a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

.contact-detail {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

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

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-legal a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Mobile Logo Styles */
@media (max-width: 767px) {
    .nav-logo {
        height: 40px;
    }
    
    .logo-link {
        gap: 0.75rem;
    }
    
    .brand-title {
        font-size: 1.25rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .updates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .donation-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .cta-title {
        font-size: 3rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 0.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 1rem;
    max-width: 80%;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .lightbox-close {
        top: 15px;
        right: 25px;
        font-size: 30px;
    }
    
    .lightbox-caption {
        font-size: 0.875rem;
        bottom: 15px;
    }
}
