body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}


#hero {
    background: url('./img/background.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 60px; /* to offset fixed header */
}

#hero .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 3em;
    border-radius: 10px;
    width:100%;
    margin: auto;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    animation: fadeInDown 1s;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 1em;
    animation: fadeInUp 1s;
}

#hero button {
    padding: 0.75em 1.5em;
    font-size: 1em;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#hero button:hover {
    background-color: #45a049;
}

#services, #about, #clients, #contact {
    padding: 4em 2em;
    text-align: center;
}

#services h2, #about h2, #clients h2, #contact h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

#services .service-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-top: 2em;
}

#services .service {
    background-color: #f9f9f9;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease;
}

#services .service:hover {
    transform: translateY(-10px);
}

#services .service h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

#clients .client-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-top: 2em;
}

#clients .client-logos img {
    max-height: 50px;
    max-width: 100px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

#clients .client-logos img:hover {
    filter: none;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: auto;
}

#contact form label {
    margin-top: 1em;
    align-self: flex-start;
}

#contact form input, #contact form textarea {
    margin-top: 0.5em;
    padding: 0.75em;
    width: 100%;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#contact form textarea {
    height: 150px;
}

#contact form button {
    margin-top: 1.5em;
    padding: 0.75em 1.5em;
    font-size: 1em;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#contact form button:hover {
    background-color: #45a049;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
    font-size: 0.9em;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#about {
    padding: 4em 2em;
    text-align: center;
    max-width: 800px; /* Set maximum width */
    margin: 0 auto; /* Center the section */
}

#about h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

#about p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

#about p:last-child {
    margin-bottom: 0; /* Remove bottom margin for the last paragraph */
}


/* General header styles */
header {
    background-color: #000;
    color: #fff;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo and company title */
.logo-title {
    display: flex;
    align-items: center;
}

.logo {
    height: 30px;
    margin-right: 10px;
}

.company-title {
    font-size: 1.2em;
    margin: 0;
}

/* Hamburger menu toggle */
.menu-toggle {
    font-size: 1.5em;
    cursor: pointer;
    display: none; /* Hidden by default */
}

/* Navigation menu */
nav {
    display: flex;
}

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

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4CAF50;
}

/* Show menu toggle on smaller screens */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show on smaller screens */
    }

    nav {
        display: none; /* Hide by default on smaller screens */
        position: fixed;
        top: 60px;
        left: 0;
        background-color: #000;
        width: 100%;
    }

    nav.show {
        display: flex; /* Show when .show class is applied */
        flex-direction: column;
        align-items: center;
    }

    nav.show ul {
        margin-top: 20px; /* Add space between menu items and header */
    }
}
