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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Welcome Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 1s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #000;
}

.modal-content h2 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.modal-btn-primary:hover {
    background: #2563eb;
}

.modal-btn-secondary {
    background: #f3f4f6;
    color: #1e3a8a;
    border: 2px solid #3b82f6;
}

.modal-btn-secondary:hover {
    background: #e5e7eb;
}

.modal-footer {
    font-size: 0.95rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-btn {
        font-size: 1rem;
    }
}

/* Navigation */
nav {
    background: #1e3a8a;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    background-image: url('https://images.unsplash.com/photo-1577495508048-b635879837f1?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 1rem 4rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

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

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

/* Sections */
section {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
}

section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #1e40af;
}

section p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.endorsement-container {
    max-width: 900px;
    margin: 0 auto;
}

.supporter-block {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.supporter-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.person-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.person-block img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3b82f6;
}

.person-block p {
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
    text-align: center;
}

.supporter-block > p {
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .supporter-block {
        flex-direction: column;
        gap: 1rem;
    }
    
    .person-block {
        margin-bottom: 1rem;
    }
}

/* Tag Bubbles */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.tag-bubble {
    background: #3b82f6;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 220px;
    flex-shrink: 0;
}

.tag-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* About Binder */
.about-binder {
    margin: 2rem 0;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

.binder-title {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.5rem;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 2px solid #cbd5e1;
}

.folder-tabs {
    display: flex;
    background: #e9ecef;
    border-bottom: 2px solid #cbd5e1;
    /* overflow-x: auto; */
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    border-right: 1px solid #cbd5e1;
    transition: background 0.2s, color 0.2s;
    color: #64748b;
    text-align: center;
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover {
    background: #dee2e6;
}

.tab-button.active {
    background: white;
    color: #3b82f6;
    border-bottom: 3px solid #3b82f6;
}

.tab-content-container {
    background: white;
    min-height: 200px;
}

.tab-content {
    display: none;
    padding: 2rem;
    line-height: 1.6;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Map Section */
.map-section {
    background: #eff6ff;
    border: 2px solid #3b82f6;
}

#map {
    margin: 1rem 0;
    border-radius: 8px;
    border: 2px solid #d1d5db;
}

#address {
    width: 70%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    margin-right: 0.5rem;
}

#checkBtn {
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#checkBtn:hover {
    background: #2563eb;
}

#result {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Questions List */
.questions-list {
    margin: 10px 0 1.5rem;
    font-size: 1.1rem;
    line-height: 2;
}

.questions-list li {
    margin-bottom: 5px;
    margin-left: 30px;
}

/* Commitment Box */
.commitment-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
}

.commitment-box h3 {
    margin-top: 5px;
    margin-bottom: 0;
    color: #1e40af;
    font-size: 1.3rem;
}

.commitment-box ul {
    list-style: none;
    /* margin-top: 1rem; */
}

.commitment-box li {
    padding: 0.15rem 0;
    font-size: 1.1rem;
    color: #1e40af;
    font-weight: 600;
}

.commitment-box li::before {
    content: "• ";
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Highlight Box */
.highlight-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: #92400e;
}

/* Special Reveal Section */
.reveal-section {
    background: #f0fdf4;
    border-left: 4px solid #10b981;
}

/* Community Events */
.event-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.event-box h3 {
    color: #92400e;
    margin-top: 0;
}

.event-box p {
    color: #78350f;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

footer h3 {
    margin-bottom: 0.5rem;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Get Involved Page Sections */
.volunteer-section,
.endorsement-form-section,
.donations-section {
    border: 2px solid #cbd5e1;
}

.volunteer-content,
.endorsement-content,
.donation-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Action Buttons */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.5rem auto;
    display: flex;
    max-width: 350px;
    background: #3b82f6;
    color: white;
    transition: background 0.2s;
}

.action-btn:hover {
    background: #2563eb;
}

.btn-icon {
    font-size: 1.3rem;
}

/* Simple notes */
.volunteer-note,
.endorsement-note,
.donation-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 1rem;
}

/* Donation Box */
.donation-box {
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.donation-box h3 {
    margin-top: 0;
    text-align: center;
}

.donation-box p {
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    section h2 {
        margin-left: 1rem;
    }
    
    .action-btn {
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    section {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    section h3 {
        font-size: 1.2rem;
    }

    section p {
        font-size: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .tag-container {
        margin: 1.5rem 0;
    }
    
    .tag-bubble {
        width: 100%;
        max-width: 400px;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .commitment-box,
    .highlight-box {
        padding: 1rem;
    }

    .commitment-box li {
        font-size: 1rem;
    }

    .hero {
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    #address {
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    #checkBtn {
        width: 100%;
    }
    
    .questions-list {
        margin-left: 1rem;
        font-size: 1rem;
    }

    /* Tabs stack on mobile */
    .folder-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        border-right: none;
        border-bottom: 1px solid #cbd5e1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    section {
        padding: 1rem;
    }
}