/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Global Styles */
body {
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.8;
    /* background-color: #FFF8E7; Light cream for retro aesthetic */
    color: #333;
    height: 100dvh;
    width: 100dvw;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    /* background-color: #ffae42; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100px;
}

/* Navigation */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    /* padding: 10px 20px; */
    position: sticky;
    top: 0;
    width: 100%;
    padding: 0px 30px;
    box-shadow: 0 0 20px -10px;

}

.logo {
    height: 90px;
}

.nav-menu {
    list-style: none;
    /* display: flex; */
    /* gap: 20px; */
    display: flex; 
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    /* background-color: #fff; */
    flex-direction: column;
    justify-content: start;
    align-items: flex-end;
    padding-top: 60px;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    transform: translateX(100%) translateY(100px);
    transition: all 0.5s ease;
    /* visibility: hidden; */
    opacity: 0;
    background: rgb(181,142,4);
    background: linear-gradient(90deg, rgba(181,142,4,0.248358718487395) 0%, rgba(173,17,163,0.5648853291316527) 70%, rgba(255,255,255,1) 70%);
}

.nav-menu.open {
    /* display: flex; */
    width: 100%;
    /* visibility: visible; */
    opacity: 1;
    transform: translateX(0) translateY(100px);
}

.nav-menu li {
    /* padding: 15px; */
    width: 30%;
}

.nav-menu li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    padding: 15px 0px;
    border-radius: 5px;
    /* background-color: #f67c1b; */
    /* transition: background-color 0.3s ease, transform 0.3s ease; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.nav-menu li a:hover {
    /* background-color: #eee; */
    transform: scale(1.3);

}

/* Drawer Menu */
body.menu-open main {
    overflow: hidden; /* Disable scrolling */
}

#menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    /* display: none; Hidden on larger screens */
    color: #333;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

/* Section Layout */
section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    gap: 20px;
    margin: 0px auto;
    max-width: 900px;
    flex-direction: column;
}

/* section.alt {
    flex-direction: row-reverse;
} */

.section-image {
    width: 40%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* width: 100%; */
    /* height: 200px; */
    /* object-fit: cover; */
}

.content {
    max-width: 720px;
    text-align: left;
    flex-direction: column;
    display: flex;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    /* background-color: #fffae3; */
}

.hero-image {
    /* width: 40%; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hero-text {
    max-width: 600px;
    text-align: left;
}

section h1 {
    font-family: sans-serif;
    line-height: normal;
    font-size: 2.5rem;
    /* margin-bottom: 15px; */
    color: #e5641a;
    width: 100%;
}

section h2 {
    /* font-family: sans-serif; */
    line-height: normal;
    font-size: 2rem;
    /* margin-bottom: 10px; */
    color: #333;
}

section p {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Buttons */
a.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
    background-color: #ffae42;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 30%;
    text-align: center;
    margin: auto;
}

a.btn:hover {
    background-color: #e5641a;
    transform: scale(1.05);
}

/* Highlight Section */
section.highlight {
    background-color: #ffecd1;
    border-radius: 10px;
    /* flex-direction: row; */
    margin: 20px auto;

}
section.highlight .section-image {
    /* width: 40%; */
    /* border-radius: 10px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Impact Numbers */
.impact-numbers {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.impact-item {
    text-align: center;
    flex: 1 1 200px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.impact-item i {
    font-size: 2.5rem;
    color: #f67c1b;
    margin-bottom: 10px;
}

.impact-item h2 {
    font-size: 1.8rem;
    color: #333;
}

.impact-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
footer {
    /* background-color: #f67c1b; */
    /* color: #fff; */
    text-align: center;
    padding: 15px;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 40px;
}
footer a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    /* margin: 0 20px; */
    /* transition: transform 0.3s, background 0.3s; */
}

footer a:hover {
    transform: scale(1.3);
    background: linear-gradient(90deg, 
        rgba(181,142,4,0.248) 0%, 
        rgba(173,17,163,0.565) 100%, 
        rgba(255,255,255,1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
}


/* ========================================= */
/* Responsive Design for Mobile (max-width: 768px) */
/* ========================================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    .nav-menu {
        background: rgb(181,142,4);
        background: linear-gradient(90deg, rgba(181,142,4,0.248358718487395) 0%, rgba(173,17,163,0.5648853291316527) 30%, rgba(255,255,255,1) 30%);
    }

    .nav-menu li {
        /* padding: 15px; */
        width: 70%;
        /* padding-right: 30px; */
    }

    section {
        flex-direction: column;
        text-align: center;
    }

    .section-image {
        width: 100%;
    }

    .hero-image {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .content {
        max-width: 100%;
    }

    #menu-toggle {
        display: block;
    }

    body.menu-open main {
        overflow: hidden;
    }

    footer a {
        display: none;
    }
}
