body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: #333;
    color: white;
    padding: 20px 0;
    position: relative;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    margin: 0;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.language-select {
    margin-left: 20px;
}

.language-select select {
    padding: 5px;
    border-radius: 5px;
    border: none;
}

#hero {
    position: relative;
    background: url('images/Modern_marketing_office_with_diverse_team_members_.png') center center / cover no-repeat;
    height: 30vh; /* Ensures the hero section is the height of the viewport */
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

#hero .hero-content {
    position: relative;
    z-index: 1;
}

#hero h2 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: white;
}

#hero p {
    font-size: 1.2em;
    color: white;
    margin-bottom: 20px;
}

#about, #work, #why, #contact-form {
    text-align: center;
    padding: 50px 20px;
}

#about .container, #work .container, #why .container, #contact-form .container {
    flex-direction: column;
    align-items: center;
}

#about h2, #work h2, #why h2, #contact-form h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}

.services-description {
    margin-bottom: 40px;
    font-size: 1.2em;
    color: #666;
    width: 100%;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 20%; /* Make the cards narrower */
    min-width: 200px;
    max-width: 250px; /* Set a maximum width */
    text-align: left;
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #333;
}

.service-card p {
    font-size: 1em;
    color: #666;
}

#second-image-section {
    background-size: cover;
    background-position: center;
    text-align: center;
    height: 30vh;
    position: relative;
}

#second-image-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.full-width-image {
    width: 80%; /* Adjust width as needed */
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

#contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact-form label {
    margin: 10px 0 5px;
    font-size: 1em;
    color: #333;
}

#contact-form input, #contact-form textarea {
    padding: 10px;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    padding: 10px 20px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#contact-form button:hover {
    background: #e67e22;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%;
        max-width: none;
    }

    #hero {
        height: auto;
        padding: 20px 0;
    }

    #second-image-section {
        height: auto;
        padding: 20px 0;
    }
}
