/* General Styles */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    position: relative; /* Ensure body is relative for absolute footer */
    min-height: 100vh; /* Ensure body takes at least the full viewport height */
}

header {
    background-color: #ffcc00;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
}

/* Hamburger Icon */
.hamburger {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

.login {
    margin-right: 20px;
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
}

.hero {
    background: #198731;
    padding: 50px 20px;
    color: white;
}

.features {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-bottom: 100px; /* Add padding to prevent footer overlap */
}

.feature {
    width: 30%;
    padding: 20px;
}

.feature img {
    max-width: 100%;
    border-radius: 10px;
}

footer {
    background-color: #ffcc00;
    padding: 10px;
    width: 100%;
    text-align: center;
}

/* Desktop Footer */
@media (min-width: 769px) {
    footer {
        position: absolute;
        bottom: 0;
    }
}

/* Mobile Footer */
@media (max-width: 768px) {
    footer {
        position: relative;
        margin-top: 20px; /* Add margin for better spacing */
    }

    /* Center Login Buttons on Mobile */
    .login {
        justify-content: center; /* Center buttons horizontally */
        width: 100%; /* Take full width */
        margin: 10px 0; /* Add some vertical spacing */
    }
}

.construction {
    text-align: center;
    padding: 50px;
}

.construction img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show hamburger icon on mobile */
    }

    nav {
        display: none; /* Hide nav by default on mobile */
        width: 100%;
    }

    nav.active {
        display: block; /* Show nav when active */
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    nav ul li {
        display: block;
    }

    .hero {
        padding: 30px 10px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .features {
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px; /* Adjust padding for mobile */
    }

    .feature {
        width: 80%;
        padding: 10px;
    }

    .feature img {
        height: 60px;
    }

    .feature h2 {
        font-size: 1.3em;
    }

    .feature p {
        font-size: 0.9em;
    }

    footer {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .feature {
        width: 90%;
    }

    .feature img {
        height: 50px;
    }

    .feature h2 {
        font-size: 1.2em;
    }

    .feature p {
        font-size: 0.8em;
    }
}