* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: url(Visuals/business-laptop-office-computer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 700vw ;
    
}

.container {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    grid-template-rows: auto;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    max-width: 700vw;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.box {
    color: black;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.header, .footer {
    grid-column: span 2;
    position: relative;
    z-index: 3;
}

#logo {
    height: 150px;
    width: 150px;
    z-index: 4;
}

.size-6 {
    width: 30px;
}

.nav {
    display: inline-flex;
    overflow: hidden;
    max-width: 100%;
    background-color: #fff;
    padding: 0 10px;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(159, 162, 177, 0.8);
    align-items: center;
    z-index: 5;
}

nav ul li {
    list-style: none;
    display: inline-flex;
    align-items: center;
}

.nav-item {
    color: #83818c;
    padding: 15px;
    text-decoration: none;
    transition: 0.3s;
    margin: 0 6px;
    z-index: 6;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    position: relative;
    align-items: center;
}

.nav-item:before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #dfe2ea;
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: 0.3s;
}

.nav-item:not(.is-active):hover {
    color: #0d0c0e;
    transition: 0.3s;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.about {
    padding: 0.8em;
    background-color: #0d0c0ed2;
    border-radius: 0.5em;
    z-index: 7;
}

.section {
    display: flex;
    flex-direction: row;
    font-weight: 100;
    font-size: 0.9rem;
    color: white;
    align-items: center;
    text-align: left;
    padding: 0.8em;
    z-index: 8;
}

.service-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.5em;
    z-index: 9;
}

.service-kind {
    padding: 0.7em;
    background-color: rgba(116, 26, 26, 0.712);
    border-radius: 0.5rem;
    z-index: 10;
}

.cta-button {
    background-color: #7e0000;
    color: white;
    padding: 0.75em 1.5em;
    text-decoration: none;
    border-radius: 0.3125em;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    z-index: 11;
}

.cta-button:hover {
    background-color: #cc9595;
}

.contact-page {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.61);
    grid-column: span 2;
    z-index: 12;
}

.contact-page a {
    color: #df7878;
}

.aside {
    display: flex;
    flex-direction: column;
    font-weight: 200;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.596);
    color: white;
    align-items: center;
    grid-row: span 2;
    padding: 2rem;
    z-index: 13;
}

.aside ul li {
    list-style: none;
}

.aside ul li a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    color: rgb(60, 231, 69);
    align-items: center;
    text-align: center;
}

.aside ul li a:hover {
    color: red;
}

.article {
    background-color: rgba(0, 0, 0, 0.692);
    color: white;
    z-index: 14;
}
/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    color: white;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.form-group textarea {
    resize: vertical;
}

.cta-button {
    background-color: #7e0000;
    color: white;
    padding: 0.75em 1.5em;
    text-decoration: none;
    border-radius: 0.3125em;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #da9090;
}

.message-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    color: white;
}

.message-status.success {
    background-color: #4CAF50;
}

.message-status.error {
    background-color: #f44336;
}

.footer {
    margin-top: 10px;
    background-color: rgba(150, 9, 9, 0.493);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 15;
}

.lucide {
    width: 20px;
}

.footer ul li a {
    text-decoration: none;
    color: white;
    padding: 10px;
}

.footer ul li {
    list-style: none;
}

.footer ul {
    display: flex;
    flex-direction: row;
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(black, rgb(179, 4, 4))
    }
    .container {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        flex-direction: row;
        padding: 1.5px;
        font-size: medium;
    }

    .nav-item {
        margin: 5px 0;
    }

    .service-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .aside {
        grid-row: span 1;
    }

    .footer {
        flex-direction: row;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    body{
        background: linear-gradient(black, rgb(179, 4, 4))
    }
    .service-boxes {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: row;
        padding: 5px;
    }

    .nav-item {
        margin: 3px 0;
    }

    .footer {
        flex-direction: row;
        align-items: center;
    }
}