:root{
    --green:#0B6B2E;
    --red:#B31217;
    --cream:#F8F5EF;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:var(--cream);
    overflow-x:hidden;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo img{
    height:70px;
}

nav a{
    text-decoration:none;
    color:#333;
    margin-left:25px;
    font-weight:500;
}

nav a:hover{
    color:var(--red);
}

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:60px 8%;
    position:relative;
}

.hero-text{
    width:50%;
}

.hero-image{
    width:42%;
}

.hero-image img{
    width:100%;
    border-radius:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.tagline{
    color:var(--red);
    font-weight:600;
    letter-spacing:2px;
}

h1{
    font-size:60px;
    line-height:1.1;
    margin:20px 0;
}

p{
    line-height:1.8;
    margin-bottom:30px;
    color:#444;
}

.btn{
    display:inline-block;
    background:var(--red);
    color:white;
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    transition:.3s;
}

.btn:hover{
    background:var(--green);
    transform:translateY(-3px);
}

.floating{
    position:absolute;
    font-size:70px;
    font-weight:700;
    opacity:.08;
    pointer-events:none;
    animation:float 6s ease-in-out infinite;
}

.word1{
    top:15%;
    left:5%;
}

.word2{
    right:8%;
    top:20%;
}

.word3{
    bottom:15%;
    left:20%;
}

@keyframes float{
    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0);
    }
}

@media(max-width:768px){

.hero{
    flex-direction:column;
    text-align:center;
}

.hero-text,
.hero-image{
    width:100%;
}

.hero-image{
    margin-top:40px;
}

h1{
    font-size:42px;
}

nav{
    display:none;
}

}
