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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #2D5016 0%, #4A7C59 50%, #6B8E23 100%);
    min-height: 100vh;
    padding: 0;
}

header {
    background: rgba(45, 80, 22, 0.8);
    padding: 30px 20px 0;
    text-align: center;
}

nav {
    background: rgba(45, 80, 22, 0.9);
    border-top: 2px solid #6B8E23;
    border-bottom: 3px solid #6B8E23;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: #F5F5DC;
    text-decoration: none;
    padding: 15px 30px;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
    font-size: 1.1em;
    font-weight: 400;
}

nav a:hover {
    background: #6B8E23;
    color: white;
}

nav a.active {
    background: #6B8E23;
    color: white;
    font-weight: 700;
}

h1 {
    font-family: 'Great Vibes', cursive;
    color: #F5F5DC;
    font-size: 3.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb {
    color: #C8E6C9;
    margin-top: 10px;
    font-size: 1.1em;
}

.breadcrumb a {
    color: #F5F5DC;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #C8E6C9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.category-header {
    background: #FEFEF5;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.category-icon {
    font-size: 4em;
    margin-bottom: 15px;
}

.category-header h2 {
    color: #2D5016;
    font-size: 2.2em;
    margin-bottom: 10px;
}

.category-count {
    color: #4A7C59;
    font-size: 1.3em;
    font-weight: 700;
}

.organizations-list {
    background: #FEFEF5;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.org-item {
    padding: 20px;
    border-bottom: 1px solid #E0E0E0;
    transition: background 0.3s;
}

.org-item:last-child {
    border-bottom: none;
}

.org-item:hover {
    background: #F5F5E6;
}

.org-item h3 {
    color: #2D5016;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.org-description {
    color: #666;
    font-size: 0.95em;
    margin: 8px 0;
    line-height: 1.5;
}

.org-item a {
    color: #4A7C59;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s;
}

.org-item a:hover {
    color: #6B8E23;
    text-decoration: underline;
}

.org-item p {
    color: #666;
    margin-top: 5px;
    font-size: 0.95em;
}

.back-button-container {
    text-align: center;
    margin-top: 30px;
}

.back-button {
    display: inline-block;
    background: #4A7C59;
    color: #FEFEF5;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1em;
    transition: background 0.3s, transform 0.3s;
}

.back-button:hover {
    background: #2D5016;
    transform: translateY(-2px);
}

footer {
    background: rgba(45, 80, 22, 0.8);
    color: #F5F5DC;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Collapsible Category Sections */
.category-section {
    background: #FEFEF5;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

.category-toggle {
    width: 100%;
    background: #4A7C59;
    color: white;
    border: none;
    padding: 20px 30px;
    font-size: 1.4em;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    font-family: 'Lato', sans-serif;
}

.category-toggle:hover {
    background: #2D5016;
}

.category-toggle .icon {
    font-size: 1.2em;
    transition: transform 0.3s;
}

.category-toggle.active .icon {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.category-content.active {
    max-height: 10000px;
    transition: max-height 0.6s ease-in;
}

.category-content .org-item {
    border-bottom: 1px solid #E0E0E0;
}

.category-content .org-item:last-child {
    border-bottom: none;
}

/* Contact Form */
.contact-form {
    background: #FEFEF5;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #2D5016;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #4A7C59;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6B8E23;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: #4A7C59;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    font-family: 'Lato', sans-serif;
}

.submit-button:hover {
    background: #2D5016;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: #FEFEF5;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.hero h2 {
    color: #2D5016;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    color: #4A7C59;
    font-size: 1.3em;
    line-height: 1.8;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background: #4A7C59;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: 700;
    transition: background 0.3s, transform 0.3s;
    margin-top: 20px;
}

.cta-button:hover {
    background: #2D5016;
    transform: translateY(-2px);
}

/* Search Bar */
.search-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

#search-bar {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1em;
    border: 3px solid #4A7C59;
    border-radius: 30px;
    outline: none;
    font-family: 'Lato', sans-serif;
}

#search-bar:focus {
    border-color: #6B8E23;
    box-shadow: 0 0 10px rgba(107, 142, 35, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5em;
    color: #4A7C59;
    font-weight: 700;
}

.stat-label {
    color: #666;
    font-size: 1.1em;
    margin-top: 5px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    nav a {
        padding: 12px 20px;
        font-size: 1em;
    }

    .category-header {
        padding: 30px 20px;
    }

    .category-header h2 {
        font-size: 1.8em;
    }

    .organizations-list {
        padding: 20px;
    }

    .org-item h3 {
        font-size: 1.1em;
    }

    .category-toggle {
        font-size: 1.2em;
        padding: 15px 20px;
    }

    .hero {
        padding: 40px 30px;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    .category-header h2 {
        font-size: 1.5em;
    }

    .org-item {
        padding: 15px;
    }

    .back-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

/* Quick Jump Navigation */
.quick-jump {
    background: #FEFEF5;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #C8E6C9;
}

.quick-jump h3 {
    color: #2D5016;
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
}

.quick-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.quick-jump-links a {
    background: #4A7C59;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-jump-links a:hover {
    background: #6B8E23;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4A7C59;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.scroll-to-top:hover {
    background: #6B8E23;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* Mobile responsive adjustments for quick-jump and scroll-to-top */
@media (max-width: 768px) {
    .quick-jump {
        padding: 20px 15px;
    }

    .quick-jump h3 {
        font-size: 1.1em;
    }

    .quick-jump-links {
        gap: 8px;
    }

    .quick-jump-links a {
        padding: 8px 14px;
        font-size: 0.85em;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .quick-jump {
        padding: 15px 10px;
    }

    .quick-jump h3 {
        font-size: 1em;
        margin-bottom: 12px;
    }

    .quick-jump-links {
        gap: 6px;
    }

    .quick-jump-links a {
        padding: 6px 12px;
        font-size: 0.8em;
    }

    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
