html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    background-image: url('/assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

.background-overlay {
    position: absolute;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: rgba(26, 26, 26, 0.8);
    z-index: 0;
    width: 100%;
    height: 100%; 
}
/* --- Navbar Desktop Layout --- */

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

/* --- Content Layout --- */

.section-container {
    display: flex;
    flex-direction: column;
    margin-top: 80px;
    padding: 40px 20px;
    margin: 80px auto 0 auto;
    background-color: rgba(26, 26, 26, 0.8);
    animation: slideUp 1.5s ease-out forwards;
}
section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ff9900;
    text-align: center;
}

/* --- Shared Styles for Solutions and Info Points --- */

.solutions-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px; 
    padding: 20px;
    max-width: 1200px; 
    margin: 0 auto; 
}
.section-container h2 {
    font-size: 2rem;
    text-align: center;
    color: #ff9900;
}

.info-points {
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-width: 100%;
    max-height: 100%;
    margin-bottom: 50px;
}

.solutions-container li, 
.info-points li {
    background-color: rgba(66, 66, 66, 0.55);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    list-style: none;
}

.solutions-container li:hover, 
.info-points li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.solutions-container li strong, 
.info-points li strong {
    font-size: 1.8rem;
    color: #ff9900;
    margin-bottom: 15px;
    display: block;
}

.solutions-container li p, 
.info-points li p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

/* --- Specific Styles for Solutions --- */

.solutions-container li img {
    padding-top: 30px;
    width: 100%;
    height: 60%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
}

/* --- More Details Button --- */

.more-details {
    text-align: center;
    margin-top: 20px;
}

.more-details a.btn {
    background-color: #ff9900;
    color: white;
    padding: 14px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-top: 20px;
}

.more-details a.btn:hover {
    transform: scale(1.1); 
    background-color: #e68a00;
}

.more-details a.btn:focus {
    outline: 2px solid #ff9900;
    outline-offset: 4px;
}

/* --- Navbar Mobile Layout --- */

.hamburger-container {
    position: relative;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #ff9900;
}

@media screen and (max-width: 820px) {
    html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        font-family: 'Arial', sans-serif;
        background-image: url('/assets/mbackground.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        overflow-x: hidden;
    }

    .hamburger {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: #ffffff;
        padding: 10px;
        transition: transform 0.3s ease;
        margin-left: -100px;
    }

    #navMenu {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 153, 255, 0.863);
        position: absolute;
        top: 100%;
        left: -120px; 
        transform: translateX(-30%); 
        min-width: 200px;
        max-width: 70%; 
        z-index: 3;
        border-radius: 15px;
        box-shadow: 0 8px 16px rgb(255, 255, 255);
        overflow: hidden;
        transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
        opacity: 0; 
        max-height: 0; 
    }

    .hamburger-container:hover #navMenu,
    .hamburger-container:focus-within #navMenu {
        display: flex;
        max-height: 500px; 
        opacity: 1;
    }

    .navbar nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .navbar nav ul li {
        margin: 0;
        max-width: 100%;
        padding: 10px 10px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar nav ul li:last-child {
        border-bottom: none;
    }

    .navbar nav ul li a {
        width: 100%;
        margin-left: -12px;
        display: block;
        color: #ffffff;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .navbar nav ul li a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: #0099ff; 
    }

    .navbar ul li a.active, .navbar ul li a:hover {
        background: #ffffff7c;
        color: #ffffff;
    }

    .navbar ul li a.donate {
        background: #2e2e2e;
        padding: 15px 20px;
        border-radius: 23px;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    .navbar ul li a.donate:hover {
        background-color: #ffffff;
        transform: scale(1.1); 
        color: #0099ff;
    }

    
    .navbar .logo {
        font-size: 1.2rem;
    }

    .section-container {
        display: flex;
        flex-direction: column;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 65px;
    }

    section {
        min-width: 100%;
        scroll-snap-align: start;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 12px;
        text-align: center;
        margin-top: 10%;
    }

    .section-container h2 {
        font-size: 2rem;
        margin-bottom: 15px;
        color: #0099ff;
    }

    .solutions-container, .info-points {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 30px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 10px 0;
        width: 600px;
        
    }

    .solutions-container li, .info-points li {
        flex: 0 0 auto;
        width: 150%;
        max-width: 550px;
        background-color: rgba(66, 66, 66, 0.55);
        padding: 20px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .solutions-container li strong {
        color: #0099ff;
    }

    .solutions-container li img {
        width: auto;
        height: 200px;
        border-radius: 10px;
        margin-bottom: 15px;
        padding-top: 0;
    }

    /* --- More Details Button --- */
    .more-details {
    display: flex;
    justify-content: center;
    }

    .more-details a.btn {
        background-color: #0099ff;
        color: white;
        padding: 12px 25px;
        border-radius: 25px;
        text-decoration: none;
        font-size: 1.2rem;
        transition: transform 0.3s ease, background-color 0.3s ease;
        display: flex;
        margin-top: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 150px;
        text-align: center;
        justify-content: center;
    }

    .more-details a.btn:hover {
        transform: scale(1.1);
        background-color: #0099ff;
    }
}

@media screen and (max-width: 768px) {

}

@media screen and (max-width: 430px) {
    .navbar .logo {
        font-size: 1.4rem;
    }

    .section-container {
        display: flex;
        flex-direction: column;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 20px;
    }

    section {
        min-width: 100%;
        scroll-snap-align: start;
        padding: 20px;
        box-sizing: border-box;
        border-radius: 12px;
        text-align: center;
        margin-top: 10%;
    }

    .section-container h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: #0099ff;
    }

    .solutions-container, .info-points {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 30px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 10px 0;
        width: 350px;
    }

    .solutions-container li, .info-points li {
        flex: 0 0 auto;
        width: 150%;
        max-width: 300px;
        padding: 20px;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .solutions-container li strong {
        color: #0099ff;
    }

    .solutions-container li img {
        width: 100%;
        max-width: 150px;
        height: 200px;
        border-radius: 10px;
        margin-bottom: 15px;
        padding-top: 0;
    }

    /* --- More Details Button --- */
    .more-details {
        display: flex;
        justify-content: center;
        }

    .more-details a.btn {
        background-color: #0099ff;
        color: white;
        padding: 12px 25px;
        border-radius: 25px;
        text-decoration: none;
        font-size: 1rem;
        transition: transform 0.3s ease, background-color 0.3s ease;
        display: flex;
        margin-top: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 150px;
        text-align: center;
        justify-content: center;
    }

    .more-details a.btn:hover {
        transform: scale(1.1);
        background-color: #0099ff;
    }


}

@keyframes slideUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}