
body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    text-align: center;
    line-height: 1.6;
}

.navbar {
    background-color: #000;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1200;  /* Ensure navbar has higher stacking context */
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover, .nav-links a:active {
    color: black;
    background-color: white;
}

.main-header h1 {
    margin-top: 100px;
    font-size: 3em;
    margin-bottom: 20px;
}

.intro h2 {
    font-size: 2.5em;
    margin-top: 40px;
}

.intro p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.cta-button {
    padding: 12px 30px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: white;
    color: black;
}

.features {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding-bottom: 80px;
}

.feature-box {
    background-color: rgba(169, 169, 169, 0.4);
    padding: 30px;
    border-radius: 15px;
    width: 220px;
    height: 250px;
    border: 3px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
}

.feature-box img {
    width: 70px;
    margin-bottom: 15px;
}

footer {
    padding: 30px 0;
    background-color: #000;
    font-size: 1em;
    margin-top: 60px;
}

/* Hamburger menu icon styling */
.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1300;  /* Ensure it's above other content */
}

.hamburger div {
    background-color: white;
    height: 3px;
    width: 35px;
    margin: 6px 0;
}

/* Mobile responsive - hamburger menu and slide-out */
@media only screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 75%;
        background-color: #000;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        justify-content: center;
        text-align: center;
        transition: left 0.3s ease-in-out;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links a {
        color: black;
        font-size: 24px;
        padding: 15px;
        display: block;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: white;
        color: black;
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1300;  /* Ensure visibility on top */
    }
    
    .hamburger.active + .nav-links {
        left: 0;
    }
}

/* Ensure proper scaling on mobile */
@viewport {
    width: device-width;
    initial-scale: 1.0;
}
