* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    width: 100%;
    background-color: rgb(244, 244, 244);
    line-height: 1.6;
}

/* Responsive Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 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);
}

.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;
    margin-left: auto;
    padding: 10px;
    border: none;
    background: transparent;
}

.menu-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover .bar {
    background-color: #00796b;
    transform: scaleX(1.1);
}

/* Responsive Giving Section */
.giving-section {
    padding: 50px 15px;
    background-color: #f9f9f9;
}

.giving-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: 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;
}
.qr-code img:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.text-content {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    min-width: 250px;
}
.text-content h2 {
    font-size: clamp(24px, 4vw, 48px);
    margin-bottom: 15px;
    color: #004c4c;
    font-weight: 500;
    font-style: italic;

}
.text-content p {
    font-size: clamp(14px, 3vw, 18px);
    margin-bottom: 20px;
    color: #004c4c;
}
.support-button {
    padding: 12px 24px;
    font-size: clamp(14px, 3vw, 18px);
    color: #ffffff;
    border-radius: 30px;
    background-color:#004c4c;
}
.support-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}


/* Responsive Breakpoints */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .text-content {
        margin-left: 0;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 ;
    }

    .text-content {
        margin-top: 15px;
    }
    .qr-code {
        margin-bottom: 10px;
    }
    .menu-toggle {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }
    .menu-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .text-content {
        margin-top: 20px;
    }
}

/* 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;
  }
  
  /* Optional: Also handle containers that might cause overflow */
  .background, .form-container {
    box-sizing: border-box;
    max-width: 100%;
  }
  