body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    line-height: 1.6;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 1em 0;
    position: relative;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 80px;
    margin-right: 20px;
}

header h1 {
    font-size: 2em;
    margin: 0;
    flex: 1;
    text-align: left;
    padding-right: 50px; /* Add padding to prevent collision */
}

nav {
    background-color: #333;
    overflow: hidden;
}

nav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a:hover {
    background-color: #ddd;
    color: black;
}

nav a {
    padding: 14px 20px;
    font-size: 1em;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    background-color: white;
}

section {
    margin-bottom: 40px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
}

.content-image {
    max-width: 100%;
    height: auto;
}

.section-title {
    color: #4CAF50;
    font-size: 1.5em;
}

.intro-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.intro-content {
    flex: 1;
    margin: 20px;
    max-width: 600px;
}

.intro-image {
    flex: 1;
    max-width: 600px;
    margin: 20px;
}

/* Hamburger Menu CSS */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: white;
}

.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        margin-right: 10px;
        height: 60px;
    }

    header h1 {
        font-size: 1.2em;
        text-align: center;
        padding-right: 30px; /* Increase padding to ensure space for the menu icon */
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
        background-color: #333;
    }

    nav a {
        float: none;
        width: 100%;
        text-align: left;
        padding: 10px 20px;
        border-bottom: 1px solid #ddd;
    }

    nav a:hover {
        background-color: #575757;
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        cursor: pointer;
        font-size: 30px;
        color: white;
    }

    .menu-icon div {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
    }

    .intro-container {
        flex-direction: column;
    }

    .intro-content, .intro-image {
        max-width: 100%;
        margin: 10px 0;
    }

    .section-title {
        font-size: 1.2em;
    }

    .active {
        display: flex;
    }
}
