/* General reset for styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Hero Section (Background Image and Main Heading) */
.hero-section {
    background: url(../images/hero.jpg) no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    /* Dark overlay for better text readability */
    padding: 40px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5em;
    max-width: 700px;
    margin: 0 auto;
}

.btn-donate {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    margin-top: 20px;
    display: inline-block;
    text-align: center;
}

.btn-donate:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* Mission Section */
.mission-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.mission-section .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.mission-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.mission-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

/* Charity Section */
.charity-section {
    padding: 60px 0;
    background-color: #e9ecef;
}

.charity-section .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.charity-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.charity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.charity-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.charity-card:hover {
    transform: translateY(-10px);
}

.charity-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #007b5e;
}

.charity-card p {
    font-size: 1.1em;
    color: #666;
}

/* Footer Section */
.footer-section {
    padding: 20px 0;
    background-color: #333;
    color: white;
    text-align: center;
}

.footer-section p {
    font-size: 1em;
}

/* Navbar Section */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Gradient line under the navbar */
.navbar:before {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #00ff00, #007b5e);
}

.logo {
    line-height: 1;
    color: white;
    font-family: var(--ff-oswald);
    font-size: 1.8rem;
    text-transform: uppercase;
    text-decoration: none;
}

.navbar-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar-list li {
    position: relative;
}

.navbar-link {
    color: white;
    font-size: 1.2em;
    text-transform: capitalize;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
}

.navbar-link:hover {
    color: #00ff00;
}

.navbar-link span {
    margin-right: 5px;
}

.navbar-link ion-icon {
    font-size: 1.2em;
}

/* Underline effect on hover */
.navbar-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #00ff00;
}

/* Close button styling */
.nav-close-btn {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }

    .navbar-list {
        flex-direction: column;
        display: none;
    }

    .navbar.active .navbar-list {
        display: flex;
    }

    .nav-close-btn {
        display: block;
        background: none;
        border: none;
        font-size: 2em;
        color: white;
        margin-left: auto;
    }
}