/* ===== Global ===== */

:root {
    --content-width: 1200px;
    --primary-color: #58cc02;
}

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

body {
    font-family: "Segoe UI", sans-serif;
    background-color: #f7f7f7;
    color: #3c3c3c;
    line-height: 1.6;
}

/* ===== Navigation ===== */

.navbar {
    background-color: var(--primary-color);
    width: 100%;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-container {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a.active {

    background: white;

    color: var(--primary-color);

    border-radius: 999px;

    padding: 8px 16px;

    font-weight: 700;

}

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

/* ===== Hero ===== */

.hero-wrapper {

    background: linear-gradient(
        180deg,
        #f4fff0,
        #ffffff
    );

}

.hero {
    max-width: var(--content-width);
    margin: 0 auto;
    text-align: center;
    padding: 100px 20px;
}

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

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero button {
    background-color: var(--primary-color);
    color: white;

    border: none;
    padding: 15px 35px;

    border-radius: 15px;

    font-size: 1rem;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.hero button:hover {
    background-color: var(--primary-color);
}

/* ===== Cards ===== */

.cards {
    max-width: var(--content-width);
    margin: 0 auto;

    padding: 40px;

    display: grid;

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

    gap: 25px;
}

.card {
    background: white;

    padding: 30px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    border-top: 5px solid transparent;

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);

    border-top: 5px solid var(--primary-color);

    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card h2 {
    margin-top: 15px;
    margin-bottom: 10px;
}

.card p {
    color: #666;
}

/* ===== Footer ===== */

footer {
    text-align: center;
    padding: 40px;
    color: #888;
}