* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #201f1f;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(51, 51, 51, 0.322);
    padding: 20px;

}

header .logo img {
    width: 150px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background: url('tlo.jpg') no-repeat center center;
    background-size: cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    text-shadow: -1px -1px white, 1px 1px #333
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5em;
}

.motto {
    background-color: #2c2a2a57;
    border-radius: 20px;
    margin-left: 20px;
    text-align: center;
    padding: 40px;
    text-shadow: -1px -1px rgb(49, 48, 48), 1px 1px #333
}

.motto h2 {
    font-size: 1.8em;
}

.services {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 10px;
}

.service-item {
    width: 30%;
    padding: 20px;
    margin: 5px;
    background-size: cover;
    background-position: center;
    color: rgb(240, 240, 240);
    border-radius: 10px;
    text-shadow: black 0.1em 0.1em 0.2em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.service-item:nth-child(1) {
    background-image: url('bg1.jpg');
}

.service-item:nth-child(2) {
    background-image: url('bg2.jpg');
}

.service-item:nth-child(3) {
    background-image: url('bg3.jpg');
}

.contact {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #f2f2f2;
    color: #333;
}

.contact h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
    width: 100%;
    text-align: center;
}

.contact-form {
    width: 48%;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    align-self: flex-start;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 20px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.contact-form button {
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #45a049;
}

.contact-map {
    width: 48%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        text-align: center;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 80%;
        margin-bottom: 20px;
    }
.contact {
        flex-direction: column;
    }

    .contact-form, .contact-map {
        width: 100%;
        margin-bottom: 30px;
    }

    .contact-form {
        padding: 20px;
    }


    .contact h2 {
        font-size: 1.8em;
    }

    .contact-form input, .contact-form textarea {
        font-size: 0.9em;
    }

    .contact-form button {
        padding: 12px 25px;
    }
}