/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* HERO SECTION */

.hero{
    position:relative;
    min-height:100vh;
    background:black;

    display:flex;
    align-items:center;
    overflow:hidden;

    /* TOP GAP FIX */
    padding-top:60px;
    padding-bottom:60px;
}

/* DARK OVERLAY */

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}

/* CONTAINER */

.container{
    width:100%;
    max-width:1400px;
    margin:auto;

    padding:0 2%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:60px;

    position:relative;
    z-index:2;
}

/* LEFT SIDE */

.hero-content{
    flex:1;
    max-width:650px;
}

.subtitle{
    color:#ff8c2b;
    font-size:1.4rem;
    font-weight:500;
    display:block;
    margin-bottom:20px;
}

.hero-content h1{
    color:#fff;
    font-size:4.3rem;
    line-height:1.15;
    font-weight:500;
    margin-bottom:25px;
}

.hero-content p{
    color:#fff;
    font-size:1.3rem;
    margin-bottom:40px;
}

/* BUTTON */

.hero-btn{
    
    display:inline-block;
    background:#c40000;
    color:#fff;
    text-decoration:none;
    padding:16px 55px;
    font-size:20px;
    font-weight:bold;
    transition:.4s;
    border-radius: 5px;
}

.hero-btn:hover{
    background:white;
    color:black;
    transform:translateY(-3px);
}

/* RIGHT SIDE */

.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image img{
    width:100%;
    max-width:600px;
    height:auto;
    display:block;

    animation:float 5s ease-in-out infinite;
}

/* FLOAT ANIMATION */

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0);
    }
}

/* ========================= */
/* LARGE LAPTOP */
/* ========================= */

@media(max-width:1200px){

    .hero-content h1{
        font-size:3.8rem;
    }

    .hero-image img{
        max-width:520px;
    }
}

/* ========================= */
/* TABLET */
/* ========================= */

@media(max-width:992px){

    .hero{
        padding-top:140px;
        padding-bottom:80px;
    }

    .container{
        flex-direction:column;
        text-align:center;
        gap:50px;
    }

    .hero-content{
        max-width:100%;
    }

    .hero-content h1{
        font-size:3rem;
    }

    .hero-content p{
        font-size:1.1rem;
    }

    .hero-image img{
        max-width:650px;
    }
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:768px){

    .hero{
        min-height:auto;
        padding-top:120px;
        padding-bottom:60px;
    }

    .container{
        gap:40px;
    }

    .subtitle{
        font-size:1rem;
    }

    .hero-content h1{
        font-size:2.3rem;
        line-height:1.2;
    }

    .hero-content p{
        font-size:1rem;
    }

    .hero-btn{
        padding:14px 35px;
        font-size:.95rem;
    }

    .hero-image img{
        max-width:450px;
    }
}

/* ========================= */
/* SMALL MOBILE */
/* ========================= */

@media(max-width:480px){

    .hero{
        padding-top:100px;
        padding-bottom:50px;
    }

    .container{
        padding:0 5%;
        gap:30px;
    }

    .subtitle{
        font-size:.9rem;
        margin-bottom:12px;
    }

    .hero-content h1{
        font-size:2rem;
        line-height:1.2;
        margin-bottom:18px;
    }

    .hero-content p{
        font-size:.95rem;
        margin-bottom:25px;
    }

    .hero-btn{
        padding:12px 28px;
        font-size:.9rem;
    }

    .hero-image img{
        width:100%;
        max-width:320px;
    }
}

/* ========================= */
/* EXTRA SMALL DEVICES */
/* ========================= */

@media(max-width:360px){

    .hero-content h1{
        font-size:1.7rem;
    }

    .hero-image img{
        max-width:260px;
    }

    .hero-btn{
        padding:10px 24px;
    }
}