@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #212529;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

header {
    background: var(--dark-color);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

li {
    margin-left: 2rem;
}

nav a {
    color: #fff;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: var(--transition);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem 2rem;
}

.hero {
    background: linear-gradient(rgba(0,123,255,0.8), rgba(40,167,69,0.8)), url('cover.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 8rem 2rem 6rem;
    margin: -6rem -1rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.tagline {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
}

.btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-container .btn {
    flex: 0 0 auto;
}

.section {
    padding: 4rem 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.mission {
    background: #fff;
    padding: 4rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.mission h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.project {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.project h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.event {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.event h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.event p {
    margin-bottom: 0.5rem;
}

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

.team-member {
    text-align: center;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.get-involved {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

.get-involved h2 {
    color: #fff;
    margin-bottom: 2rem;
}

.get-involved .stat {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.get-involved .stat h3 {
    color: #fff;
}

.get-involved .stat p {
    color: #fff;
}

.get-involved .btn {
    margin: 0 1rem;
}

form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

input[type="file"] {
    padding: 0.5rem;
}

button {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.volunteer-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.volunteer-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.volunteer-donate {
    font-size: 1.5em;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.center {
    text-align: center;
}

footer {
    background: var(--dark-color);
    color: #fff;
    padding: 2rem 0 1rem;
    text-align: center;
}

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

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 1rem;
}

.success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.error {
    display: none;
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-color);
        flex-direction: column;
        display: none;
        padding: 1rem 0;
    }

    ul.active {
        display: flex;
    }

    li {
        margin: 0.5rem 0;
        text-align: center;
    }

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

    .hero {
        padding: 6rem 1rem 4rem;
    }

    .section {
        padding: 2rem 0;
    }

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

    .project-grid, .event-grid, .team {
        grid-template-columns: 1fr;
    }

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

    .get-involved .btn {
        display: block;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 0.5rem;
    }

    main {
        padding: 6rem 0.5rem 2rem;
    }

    .hero {
        margin: -6rem -0.5rem 4rem;
        padding: 4rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

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