body {
    margin: 0;
    background-color: #111111;
    color: white;
    font-family: Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background-color: black;
}

header img {
    width: 150px;
    height: auto;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

main {
    text-align: center;
}

.hero {
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.eyebrow {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 64px;
    margin: 10px 0;
}

.hero-text {
    font-size: 20px;
    color: #cccccc;
    max-width: 600px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.hero-buttons a {
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.primary-button {
    background-color: white;
    color: black;
}

.secondary-button {
    border: 2px solid white;
    color: white;
}

.services {
    padding: 100px 40px;
    background-color: #1a1a1a;
    text-align: center;
}

.services h2 {
    font-size: 42px;
    margin: 10px 0 50px;
}

.service-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 1;
    max-width: 350px;
    padding: 40px 30px;
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 6px;
    text-align: left;
}

.service-card h3 {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 15px;
}

.service-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0;
}

.projects {
    padding: 100px 40px;
    background-color: #111111;
    text-align: center;
}

.projects h2 {
    font-size: 42px;
    margin: 10px 0 15px;
}

.section-intro {
    max-width: 650px;
    margin: 0 auto 50px;
    color: #cccccc;
    font-size: 18px;
    line-height: 1.6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
    text-align: left;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
}

.project-info p {
    color: #cccccc;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 15px 20px;
        gap: 15px;
    }

    header img {
        width: 130px;
        height: auto;
    }

    nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }

    .hero {
        width: 100%;
        min-height: auto;
        padding: 60px 20px;
    }

    .eyebrow {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-text {
        width: 100%;
        max-width: 500px;
        font-size: 1rem;
        padding: 0;
    }

    .hero-buttons {
        width: 100%;
        max-width: 350px;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .services,
    .projects {
        width: 100%;
        padding: 60px 20px;
    }

    .services h2,
    .projects h2 {
        font-size: 2rem;
    }

    .service-grid {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .service-card {
        width: 100%;
        max-width: 500px;
    }

    .section-intro {
        width: 100%;
        max-width: 500px;
        font-size: 1rem;
    }

    .project-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        width: 100%;
    }

    .project-card img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}
