* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    line-height: 1.6;
}

header {
    background: white;
    padding: 20px 8%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 22px;
}

.nav-links a {
    text-decoration: none;
    color: #222;
    margin-left: 25px;
}

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 10%;
    background: linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.45)
    ),
    url("https://images.unsplash.com/photo-1592150621744-aca64f48394a?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.tag {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background: #2f7d32;
    color: white;
    padding: 14px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 38px;
    margin-bottom: 40px;
}

.cards {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.card {
    background: #f5f5f5;
    padding: 35px;
    border-radius: 10px;
    max-width: 320px;
}

.card h3 {
    margin-bottom: 15px;
}

.dark {
    background: #1f2b1f;
    color: white;
}

.contact {
    background: #f2f2f2;
}

.contact p {
    margin-bottom: 25px;
}

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 25px;
}


@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links a {
        margin: 0 8px;
    }

    .hero h2 {
        font-size: 42px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

}