@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;700&display=swap');

:root {
    --primary-color: #00B3B3;
    --secondary-color: #363636;
    --font-family: 'Montserrat', sans-serif;
    --font-size: 16px;
    --line-height: 1.5;
    --spacing-unit: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: 'Montserrat', sans-serif;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 2);
}

header {
    background-color: var(--primary-color);
    padding: calc(var(--spacing-unit) * 2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
}

nav ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;

}

nav ul li a:hover {
    color: white;
    cursor: pointer;
}
.hero {
    background: url('images/bg.jpg') no-repeat center center/cover;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    color: white;
    text-align: center;
    padding: calc(var(--spacing-unit) * 4);
    position: relative;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    h1 {
        font-size: 4rem;
        margin-bottom: calc(var(--spacing-unit) * 2);
        z-index: 2;
        color: var(--primary-color);
        font-weight: 200;
        width: 30ch;
    }

    p {
        font-size: 1.5rem;
        z-index: 2;
        width: 41ch;

        span {
            color: var(--primary-color);
        }
    }

    button {
        margin-top: calc(var(--spacing-unit) * 4);
        padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 5);
        font-size: 1.2rem;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 3em;
        cursor: pointer;
        z-index: 2;
        transition: opacity 0.2s, color 0.3s ease-in-out;

        &:hover {
            opacity: 0.7;
        }
    }
}

.services .container {
    gap: calc(var(--spacing-unit) * 8);
    margin-top: calc(var(--spacing-unit) * 4);
    z-index: 2;
    display: flex;
    justify-content: center;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--secondary-color);
    margin: calc(var(--spacing-unit) * 4) 0;
    letter-spacing: 4px;
    color: var(--primary-color);
    font-weight: 200;
}

.services .service-item {
    background-color: rgb(243, 243, 243);
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: calc(var(--spacing-unit) * 2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.services .service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.services .service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.services .service-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 4) ;
    font-weight: 400;
}

.services .service-item p {
    font-size: 1rem;
    color: rgb(156, 156, 156);
    line-height: var(--line-height);
    margin-bottom: 1em;
}

.services .service-item i {
    font-size: 4em;
    color: var(--primary-color);
}

@media (max-width: 1000px) {
    .services .container {
        flex-direction: column;
        align-items: center;
    }

    .services .service-item {
        width: 80%;
        margin-bottom: calc(var(--spacing-unit) * 4);
    }

    nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
        width: 90%;
    }

    .hero p {
        font-size: 1.2rem;
        width: 90%;
    }
}

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 4);
    font-size: 1em;
}


.about .content {
    display: flex;
    gap: calc(var(--spacing-unit) * 8);
    margin-top: calc(var(--spacing-unit) * 4);
    align-items: start;
}

.about .content img {
    border-radius: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    right: 50px;
}

.about p {
    font-size: 1.5rem;
    color: rgb(100, 100, 100);
    line-height: var(--line-height);
    flex: 1;
}

@media (max-width: 800px) {
    .about .content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about .content img {
        width: 100%;
        position: static;
    }
}

.contact-form {
    max-width: 480px;
    margin: 40px auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-family: system-ui, -apple-system, sans-serif;
}

.contact-form h2 {
    margin-bottom: 24px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #111;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}

.contact-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-sizing: border-box;
}

.contact-form button:hover {
    opacity: 0.8;
}

.contact-form button:active {
    transform: scale(0.98);
}

footer p {
    color: white;
}