
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
header{
    width:100%;
    padding:25px 8%;
}

.nav{
    position: relative;

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

    padding: 22px 40px;

    background: #111;

    border-bottom: 1px solid #30363d;
}

.logo{
    position: absolute;
    left: 40px;
}

.logo a{
    color: #f0f6fc;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links{
    display: flex;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a{
    color: #c9d1d9;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-links a:hover{
    color: #3fb950;
}
body{
    background:#111;
    color:white;
    font-family:Arial,sans-serif;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}
.hero{

    min-height:75vh;

    display:flex;
    flex-direction:column;

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

    text-align:center;

    padding:0 20px;

}

.hero h1{

    font-size:4.5rem;

    color:#ffffff;

    margin-bottom:20px;

}

.hero h2{

    font-size:1.5rem;

    color:#3fb950;

    font-weight:500;

    margin-bottom:25px;

}

.hero p{

    max-width:750px;

    color:#9ca3af;

    font-size:1.15rem;

    line-height:1.8;

    margin-bottom:45px;

}

/* ===========================
   Buttons
=========================== */

.hero-buttons{

    display:flex;

    gap:20px;

}

.button{

    padding:14px 32px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    transition:.25s;

}

.primary{

    background:#238636;

    color:white;

}

.primary:hover{

    background:#2ea043;

    transform:translateY(-3px);

}

.secondary{

    border:1px solid #30363d;

    color:white;

}

.secondary:hover{

    border-color:#3fb950;

    color:#3fb950;

}

/* ===========================
   Section
=========================== */

.section{

    width:min(1200px,90%);

    margin:100px auto;

}

.section h2{

    font-size:2rem;

    margin-bottom:40px;

}

/* ===========================
   Grid
=========================== */

.grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

/* ===========================
   Card
=========================== */

.card{

    background:#1b1b1b;

    border:1px solid #30363d;

    border-radius:18px;

    padding:28px;

    transition:.25s;

    text-decoration:none;

    color:inherit;

}

.card:hover{

    transform:translateY(-6px);

    border-color:#3fb950;

    box-shadow:0 0 18px rgba(63,185,80,.15);

}

.card h3{

    color:white;

    margin-bottom:12px;

}

.card p{

    color:#9ca3af;

    line-height:1.6;

}

/* ===========================
   Responsive
=========================== */

@media(max-width:900px){

    .hero h1{

        font-size:3rem;

    }

    .grid{

        grid-template-columns:1fr;

    }

    .hero-buttons{

        flex-direction:column;

    }

}
