* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

header {
    background: #35424a;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid;
}

header h1 {
    text-align: center;
    text-transform: uppercase;
    margin: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    margin: 0 10px;
}

.nav-list a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 20px;
    transition: background 0.3s;
}

.nav-list a:hover {
    background: #e8491d;
    border-radius: 5px;
}

.nav-toggle {
    display: none;
}

#home, #profile, #about, #gallery, #clients, #contact {
    padding: 40px 0;
}


h2 {
    margin-bottom: 20px;
    color: #35424a;
}

h3 {
    color: #e8491d;
}

ul {
    margin: 20px 0;
}

ul li {
    list-style: square;
    margin-left: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 10px);
}

.gallery-item img {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.clients-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.client-logo {
    flex: 1 1 calc(25% - 10px);
    padding: 10px;
}

.client-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-info p {
    margin: 10px 0;
}

form {
    display: grid;
    gap: 10px;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

form button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #35424a;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #e8491d;
}

footer {
    background: #35424a;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        display: none;
        width: 100%;
        background: #35424a;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        color: #fff;
        font-size: 1.2em;
    }

    .hamburger {
        width: 30px;
        height: 3px;
        background: #fff;
        display: block;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        width: 30px;
        height: 3px;
        background: #fff;
        display: block;
        position: absolute;
        left: 0;
    }

    .hamburger::before {
        top: -10px;
    }

    .hamburger::after {
        bottom: -10px;
    }

    .gallery-item {
        flex: 1 1 calc(50% - 10px);
    }

    .client-logo {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 1 1 100%;
    }

    .client-logo {
        flex: 1 1 100%;
    }
}
