/*Home Section*/
@media (max-width: 800px) {

    /* Navbar */
    header {
        position: relative;
        padding-bottom: 10px;
    }

    .navbar {
        padding: 0 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }
    
    .logo {
        margin-right: 10px;
        flex: 0 1 auto;
    }
    
    .logo img {
        max-height: 150px; 
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 25px;
        z-index: 20;
        cursor: pointer;
        background: none;
        width: 30px;
        height: 30px;
    }

    .desktop-menu {
        display: none; 
    }

    /*Hero Content */
    .hero-content {
        flex-direction: column;
    }
    .hero h1 {
        font-size: 2.5rem;
    }

    /* Mission Statement */
    .mission-statement h2 {
        font-size: 2rem; 
        padding: 0 20px;
        max-width: 100%;
    }

    .learn-more-btn {
        padding: 10px 20px; 
    }

    .mission-statement {
        padding: 40px 20px;
    }

    .learn-more-btn {
        font-size: 1rem; 
        padding: 10px 20px;
    }

    /*Donation Section*/
    .donation-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .donation-form {
        margin-top: 30px;
        width: 100%;
    }

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

    /*Join Section*/
    .join-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        margin: 60px 0;
    }
    
    .join-text h2 {
        margin-left: 0;
        font-size: 1.8rem;
        margin-bottom: 25px;
        max-width: 100%;
        line-height: 1.4;
    }

    .join-form {
        width: 100%;      
        max-width: 450px; 
        margin-left: auto;  
        margin-right: auto; 
        display: flex;        
        flex-direction: column;
        align-items: center;  
    }

    
    .join-form input[type="email"] {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        box-sizing: border-box;
        padding: 15px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-image: none;
    }
    
    .join-form button {
        width: 100%;
        padding: 15px 30px;
        background-color: #d32f2f;
        color: #fff;
        border: none;
        cursor: pointer;
        font-size: 1rem;
        font-family: 'Montserrat', sans-serif;
        border-radius: 5px;
        font-weight: 600;
        text-transform: uppercase;
        transition: background-color 0.3s ease;
    }


    /* Partner section */
    .container {
        flex-direction: column;
        align-items: center;
    }

    .column {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .column img {
        display: block;
        margin: 0 auto;
    }

    /*Footer*/
    .footer-container {
        flex-direction: column;
        text-align: center; 
    }

    .footer-section {
        padding: 20px; 
    }

    .footer-section h3 {
        font-size: 1.5rem; 
    }
}

@media (max-width: 480px) {

    .join-section {
        padding: 25px 15px;

    }

    .join-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;

    }

    .join-form input[type="email"],
    .join-form button {
        padding: 12px;
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px; 
     }

    .mission-statement h2 {
        font-size: 1.5rem; 
    }

    .learn-more-btn {
        padding: 8px 18px; 
    }

    .footer-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .footer-section {
        padding: 15px; 
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-section .social a {
        font-size: 18px;
        margin-right: 10px;
    }

    .footer-bottom {
        padding-top: 15px;
        margin-top: 20px;
    }
}



/* About Section mediaqueries */
@media (max-width: 768px) {
    .about-section h2 {
        font-size: 1rem;
    }
    
    .about-section p {
        font-size: 16px;
    }
    
    .volunteer-btn {
        width: 250px;
        font-size: 1.3rem;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .volunteer-btn {
        width: 100%;
        padding: 10px 15px;
    }
}



/* Donation Page Mediaqueries */
@media (max-width: 768px) {
    body.donation-page main {
        max-width: 90%;
        margin: 10px auto; 
        padding: 15px;  
    }

    .donation-info img {
        width: 100%; 
        max-width: 400px;
    }

    .donation-form input, 
    .donation-form select {
        padding: 8px;
    }

    .amount-options {
        flex-direction: column; 
        gap: 5px; 
    }
    .amount-btn {
        padding: 8px 15px;
        width: 100%; 
        box-sizing: border-box;
    }

    #donateBtn {
        padding: 8px 15px; 
        width: 100%;
        box-sizing: border-box;
    }


    .city-state-container {
        flex-direction: column; 
        align-items: flex-start;
        gap: 5px; 
    }

    .city-state-container input {
        width: 100%;
    }
}

/* Projects Section Mediaqueries */
@media (max-width: 768px) {
    /* Hero */
    .hero-section {
        padding: 40px 15px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem; 
    }

    .hero-text p {
        font-size: 1.1rem; 
    }

    .hero-images {
        max-width: 100%; 
        padding: 10px;
    }

    /* Info Section */
    .info-section {
        padding: 30px; 
        margin-top: 40px;
    }

    .info-section h2 {
        font-size: 1.8rem; 
    }

    .info-description {
        font-size: 1.1rem; 
    }

    .steps-container {
        flex-direction: column;
    }

    .step-box {
        margin-bottom: 30px;
    }

    .steps-container::before {
        display: none;
    }

    /*Projects Section */
    .projects-container {
        flex-direction: column;
        align-items: center;
    }

    .project-item {
        width: 100%;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-content p {
        font-size: 0.95rem;
    }
}

/*Volunteer Section*/
@media screen and (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .volunteer-signup {
        padding: 20px;
    }

    .volunteer-signup h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    button[type="submit"] {
        font-size: 1rem;
    }
}


/*Contact Page Mediaqueries*/
@media (max-width: 768px) {
    .contact-section h1 {
        font-size: 28px;
    }

    .contact-container {
        padding: 20px;
    }

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

@media (max-width: 480px) {
    .social-icons {
        flex-direction: column;
        gap: 10px;
    }

    .social-icon i {
        font-size: 28px;
    }

    button[type="submit"] {
        font-size: 16px;
        padding: 10px;
    }
}
