/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    width: 100%;
    background-color: rgba(102, 178, 178);
    line-height: 1.6;
}

/* Responsive Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 5%;
}

/* Responsive Navbar */
.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    width: 100%;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    align-items: center;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    transition: color 0.3s ease;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Responsive Giving Section */
.giving-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    text-align: center;
}

.qr-code {
    max-width: 100%;
    margin-bottom: 20px;
}

.qr-code img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.text-content {
    flex: 1;
    text-align: justify;
    padding: 0 15px;
    min-width: 250px;
}

.text-content h2 {
    font-size: clamp(24px, 4vw, 48px);
    margin-bottom: 15px;
}

.text-content p {
    font-size: clamp(14px, 3vw, 18px);
    margin-bottom: 20px;
}

.support-button {
    padding: 12px 24px;
    font-size: clamp(14px, 3vw, 18px);
    border-radius: 30px;
    background-color: #008080;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.support-button:hover {
    background-color: #005959;
}

/* Responsive Footer */
.footer {
    background: #004c4c;
    color: #ffffff;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-column {
    flex: 1;
    min-width: 280px;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: #f8f5f5;
}

.email {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: bold;
    margin-top: 10px;
    word-wrap: break-word;
}

.footer-line {
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ffffff;
    font-size: 18px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #aaaaaa;
}

/* Responsive Breakpoints */
@media screen and (max-width: 1024px) {
    .container {
        padding: 10px 5%;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 5%;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-bottom: 15px;
    }

    .text-content {
        margin-top: 20px;
        text-align: center;
    }

    .giving-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        margin-top: 10px;
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 10px;
    }

    .navbar {
        padding: 10px;
    }

    .email {
        font-size: 24px;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 16px;
    }

    .qr-code {
        margin-bottom: 10px;
    }

    .text-content {
        margin-top: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent horizontal scroll and ensure full-width fit on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure elements inside don't overflow */
.background, .form-container {
    box-sizing: border-box;
    max-width: 100%;
}
