
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

body{
    font-family:'Poppins',sans-serif;
    background:#F8FAFC;
    color:#1F2937;
}


header{
    width:100%;
    padding:25px 8%;
}

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

.logo{
    font-size:30px;
    font-weight:700;
    color:#2E8B57;
    cursor:pointer;
}

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

.nav-links a{
    text-decoration:none;
    color:#333;
    font-size:16px;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover{
    color:#2E8B57;
}

.btn-nav{
    text-decoration:none;
    background:#2E8B57;
    color:#fff;
    padding:12px 24px;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
}

.btn-nav:hover{
    background:#236b45;
}


.hero{

    width:100%;
    min-height:90vh;

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

    padding:40px 8%;

}

.hero-left{

    width:50%;

}

.tag{

    display:inline-block;
    background:#E8F7EF;

    color:#2E8B57;

    padding:10px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    margin-bottom:25px;

}

.hero-left h1{

    font-size:65px;

    line-height:1.2;

    margin-bottom:25px;

    color:#1F2937;

}

.hero-left span{

    color:#2E8B57;

}

.hero-left p{

    font-size:18px;

    line-height:30px;

    color:#555;

    margin-bottom:35px;

    max-width:600px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

.btn-primary{

    text-decoration:none;

    background:#2E8B57;

    color:white;

    padding:15px 35px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.btn-primary:hover{

    transform:translateY(-4px);

    background:#236b45;

}

.btn-secondary{

    text-decoration:none;

    border:2px solid #2E8B57;

    color:#2E8B57;

    padding:15px 35px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.btn-secondary:hover{

    background:#2E8B57;

    color:white;

}


.hero-right{

    width:45%;

    display:flex;

    justify-content:center;

}

.hero-right img{

    width:100%;

    max-width:550px;

    animation:float 4s ease-in-out infinite;

}


@keyframes float{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0px);

    }

}


@media(max-width:992px){

    .hero{

        flex-direction:column-reverse;

        text-align:center;

        gap:50px;

    }

    .hero-left{

        width:100%;

    }

    .hero-right{

        width:100%;

    }

    .hero-left h1{

        font-size:48px;

    }

    .hero-buttons{

        justify-content:center;

    }

    .navbar{

        flex-direction:column;

        gap:20px;

    }

    .nav-links{

        gap:20px;

        flex-wrap:wrap;

        justify-content:center;

    }

}