:root{
    --bg:#e8ede4;
    --surface:#f7faf5;
    --primary:#6f8f72;
    --primary-dark:#547058;
    --text:#283028;
    --text-light:#6a726b;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Inter,system-ui,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:min(1100px,90%);
    margin:auto;
}

.navbar{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    backdrop-filter:blur(15px);
    background:rgba(232,237,228,.75);
    border-bottom:1px solid rgba(0,0,0,.05);
    z-index:999;
}

.navbar .container{
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:var(--primary-dark);
    font-size:1.5rem;
    font-weight:700;
}

.nav-links{
    display:flex;
    gap:2rem;
}

.nav-links a{
    color:var(--text);
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:var(--primary);
}

#menu-toggle{
    display:none;
}

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.hamburger span{
    width:28px;
    height:3px;
    background:var(--primary-dark);
    border-radius:20px;
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    background:linear-gradient(
        180deg,
        #eef3ea,
        #e8ede4
    );
}

.cloud{
    position:absolute;
    background:#fdfefd;
    border-radius:100px;
    opacity:.8;
}

.cloud::before,
.cloud::after{
    content:"";
    position:absolute;
    background:#fdfefd;
    border-radius:50%;
}

.cloud-1{
    width:180px;
    height:60px;
    top:130px;
    left:5%;
}

.cloud-1::before{
    width:80px;
    height:80px;
    left:20px;
    top:-30px;
}

.cloud-1::after{
    width:90px;
    height:90px;
    right:20px;
    top:-35px;
}

.cloud-2{
    width:240px;
    height:70px;
    right:8%;
    top:180px;
}

.cloud-2::before{
    width:90px;
    height:90px;
    left:25px;
    top:-35px;
}

.cloud-2::after{
    width:100px;
    height:100px;
    right:20px;
    top:-40px;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:750px;
}

.badge{
    display:inline-block;
    background:rgba(111,143,114,.15);
    color:var(--primary-dark);
    padding:10px 18px;
    border-radius:999px;
    margin-bottom:1.5rem;
    font-size:.9rem;
}

.hero h1{
    font-size:clamp(3rem,8vw,6rem);
    line-height:1;
    margin-bottom:1.5rem;
}

.hero p{
    font-size:1.1rem;
    color:var(--text-light);
    line-height:1.8;
    max-width:600px;
    margin-bottom:2rem;
}

.hero-buttons{
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
}

.btn-primary{
    background:var(--primary);
    color:white;
    padding:14px 28px;
    border-radius:999px;
    transition:.3s;
}

.btn-primary:hover{
    background:var(--primary-dark);
}

.btn-secondary{
    border:1px solid rgba(0,0,0,.08);
    color:var(--text);
    padding:14px 28px;
    border-radius:999px;
    background:white;
}

.section{
    padding:100px 0;
}

.section h2{
    font-size:2.5rem;
    margin-bottom:2rem;
    color:var(--primary-dark);
}

.about-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1.5rem;
}

.card{
    background:var(--surface);
    padding:2rem;
    border-radius:24px;
}

.card h3{
    margin-bottom:1rem;
}

.card p{
    color:var(--text-light);
    line-height:1.8;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:1.5rem;
}

.project-card{
    background:var(--surface);
    padding:2rem;
    border-radius:24px;
    transition:.3s;
}

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

.project-card h3{
    margin-bottom:1rem;
}

.project-card p{
    color:var(--text-light);
}

.contact-box{
    background:var(--surface);
    padding:3rem;
    border-radius:30px;
    text-align:center;
}

.contact-box p{
    margin-top:1rem;
    color:var(--text-light);
}
.social-links{
    margin-top:2rem;
    display:flex;
    justify-content:center;
    gap:1rem;
}

.social-links a{
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:white;
    border-radius:50%;
    color:var(--primary-dark);
    font-size:1.5rem;
    transition:.3s;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.social-links a:hover{
    transform:translateY(-5px);
    background:var(--primary);
    color:white;
}

footer{
    text-align:center;
    padding:30px;
    color:var(--text-light);
}

@media(max-width:768px){

    .hamburger{
        display:flex;
    }

    .nav-links{
        position:fixed;
        top:80px;
        right:-100%;
        width:260px;
        height:100vh;
        background:var(--surface);
        flex-direction:column;
        padding:2rem;
        transition:.4s;
    }

    #menu-toggle:checked ~ .nav-links{
        right:0;
    }

    .hero{
        text-align:center;
    }

    .hero-content{
        margin:auto;
    }

    .hero p{
        margin-left:auto;
        margin-right:auto;
    }

    .hero-buttons{
        justify-content:center;
    }

    .about-grid{
        grid-template-columns:1fr;
    }

    .cloud{
        display:none;
    }
}