@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --green: #2f5d3a;
    --green-light: #5f8f6f;
    --bg: #f4f6f5;
    --text: #1f2a1f;
    --card: rgba(255, 255, 255, 0.9);
    --shadow: 0 12px 35px rgba(0,0,0,0.08);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #ffffff, var(--bg));
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* CONTAINER */
.container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.header {
    background: linear-gradient(120deg, var(--green), var(--green-light));
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    opacity: 0.85;
    position: relative;
    transition: 0.2s;
}

nav a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: white;
    transition: 0.2s;
}

nav a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--green), var(--green-light));
    color: white;
    padding: 100px 20px;
    text-align: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero h2 {
    font-size: 44px;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 720px;
    margin: auto;
}

/* BUTTONS */
.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: white;
    color: var(--green);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.btn:active {
    transform: translateY(0px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 50px 0;
}

/* CARDS */
.card {
    background: var(--card);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.25s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.card img {
    border-radius: var(--radius);
    margin-bottom: 14px;
    width: 100%;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 50px 20px;
    background: #0f1a12;
    color: white;
    margin-top: 70px;
}

/* FORMS */
form input,
form textarea {
    width: 100%;
    padding: 13px 14px;
    margin: 8px 0;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    font-family: inherit;
    font-size: 14px;
    transition: 0.2s;
    background: white;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(47, 93, 58, 0.12);
}

/* LINKS */
a {
    text-decoration: none;
    color: var(--green);
}

/* SMALL UI TOUCH */
h1, h2, h3 {
    letter-spacing: -0.3px;
}

/* ===== MOBILE OPTIMERING ===== */
@media (max-width: 768px) {

    .hero h2 {
        font-size: 30px;
    }

    .hero {
        padding: 80px 16px;
        border-radius: 0;
    }

    .header .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav {
        justify-content: center;
        gap: 10px;
    }

    .grid {
        padding: 30px 0;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}