/* style.css */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff; /* Changed background to white */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f7f7f7; /* Updated header background color to match hero section */
    position: relative; /* Add this line to make header a positioning context */
}

.logo {
    display: flex; /* Add flex display */
    align-items: center; /* Vertically align items */
}

.logo img {
    height: 25px;
    margin-right: 10px; /* Add some spacing between logo and text */
}

nav {
    display: none; /* Initially hide the generic nav, though we are using specific classes now */
}

.nav-desktop {
    display: none; /* Initially hidden, shown in desktop media query */
}

.nav-mobile {
    display: none; /* Initially hide mobile nav */
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background-color: #fff; /* Keep mobile nav background white for contrast */
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.hero {
    text-align: center;
    padding: 60px 20px 0 20px; /* Modified padding to remove bottom padding */
    background-color: #f7f7f7; /* Added background color from the image */
    background-image: url('hero-bottom-image.png'); /* Uncommented to enable background image */
    background-repeat: no-repeat;
    background-position: bottom center; /* Image at the bottom center */
    background-size: contain; /* or cover, adjust as needed */
}

.hero h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #000;
    line-height: 1.3;
}

.hero p {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
}

.download-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9em;
}

.banner {
    width: 90vw; /* Added for mobile view to create side spaces */
    max-width: 90vw; /* Added for mobile view to control max width */
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f7f7f7; /* Updated banner background color to match hero section */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-left: auto;  /* To center the banner horizontally */
    margin-right: auto; /* To center the banner horizontally */
}

.banner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.features-section {
    text-align: center;
    /* padding: 50px 20px; */
    background-color: #fff;
}

.features-section h2 {
    font-size: 2em;
    color: #000;
    margin: 8px;
}

.features-section .section-subtitle {
    color: #555;
    /* margin-bottom: 30px; */
    font-size: 1em;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
}

.feature-card {
    background-color: #fefefe;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: left;
    border: 1px solid #eee;
}

.feature-icon {
    margin-bottom: 15px;
}

.feature-icon img {
    height: 35px;
}

.feature-card h3 {
    font-size: 1.3em;
    color: #000;
    margin-bottom: 8px;
}

.feature-card p {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #eee;
    font-size: 0.85em;
    color: #777;
    background-color: #fff;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 22px;
    margin-right: 8px;
}

.footer-nav a {
    color: #777;
    text-decoration: none;
    margin-left: 15px;
}

.menu-icon {
    display: block;
    font-size: 22px;
    cursor: pointer;
}

/* Mobile Navigation Styles */
.nav-mobile {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background-color: #fff; /* Keep mobile nav background white for contrast */
    /* padding: 20px; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-mobile ul {
    flex-direction: column; /* Stack menu items vertically */
    align-items: flex-start;
}

.nav-mobile li {
    margin-left: 0;
    margin-bottom: 15px;
}

.nav-mobile a {
    display: block; /* Make links full width */
    padding: 10px 0;
}

.nav-active {
    display: block; /* Show mobile nav when nav-active class is present */
}


/* Media query for tablet and desktop (min-width: 768px) */
@media (min-width: 768px) {
    header {
        padding: 20px 50px;
    }

    .logo img {
        height: 30px;
    }

    .hero {
        padding: 100px 20px 0 20px; /* Modified padding to remove bottom padding */
        background-size: contain; /* or cover, adjust as needed */
    }

    .hero h1 {
        font-size: 4em;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1.2em;
        margin-bottom: 30px;
    }

    .download-button {
        padding: 15px 30px;
        font-size: 1em;
    }

    .banner {
        margin-top: 60px;
        margin-bottom: 60px;
        width: 90vw; /* Keep for desktop */
        max-width: 80rem; /* Adjusted max-width for desktop */
        margin-left: auto;
        margin-right: auto;
        background-color: #f7f7f7; /* Updated banner background color to match hero section */
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }


    .features-section {
        padding: 70px 20px;
    }

    .features-section h2 {
        font-size: 3em;
        margin: 15px;
    }

    .features-section .section-subtitle {
        margin-bottom: 50px;
        font-size: 1.2em;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
    }

    .feature-card {
        padding: 35px;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    }

    .feature-icon img {
        height: 40px;
    }

    .feature-card h3 {
        font-size: 1.6em;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 1.1em;
        line-height: 1.7;
    }

    footer {
        padding: 30px 50px;
        font-size: 0.9em;
    }

    .footer-logo img {
        height: 25px;
        margin-right: 10px;
    }

    .footer-nav a {
        margin-left: 20px;
    }

    .nav-desktop {
        display: flex; /* Show desktop nav on larger screens */
    }

    .nav-mobile {
        display: none; /* Hide mobile nav on larger screens */
    }

    .menu-icon {
        display: none; /* Hide menu icon on larger screens */
    }

}

/* Media query for larger desktops (min-width: 1200px) - Optional */
@media (min-width: 1200px) {
    .features-grid {
        max-width: 1400px;
    }
    .hero {
        padding: 120px 20px 0 20px; /* Modified padding to remove bottom padding */
    }
    .banner {
        max-width: 90rem; /* Keep max-width for larger desktops */
    }
}