* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    line-height: 1.6;
}


/* NAVBAR */

header {
    background: #111827;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1100px;
    margin: auto;
    padding: 18px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h2 {
    font-size: 22px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}


/* HERO */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 40px 20px;

    background: white;
}

.hero-text {
    max-width: 750px;
}

.small-text {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #666;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}


/* BUTTON */

.button {
    display: inline-block;

    padding: 12px 25px;

    background: #2563eb;
    color: white;

    text-decoration: none;

    border-radius: 8px;

    transition: 0.3s;
}

.button:hover {
    background: #1d4ed8;
}


/* SECTION */

.section {
    max-width: 1000px;
    margin: auto;

    padding: 90px 25px;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.section > p {
    max-width: 750px;
}


/* PROJECT CARD */

.cards {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;

    margin-top: 30px;
}

.card {
    background: white;

    padding: 25px;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
    margin-bottom: 10px;
}


/* CONTACT */

.contact {
    text-align: center;
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact a {
    color: #2563eb;
}


/* FOOTER */

footer {
    background: #111827;
    color: white;

    text-align: center;

    padding: 25px;
}


/* RESPONSIVE */

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }
}