/* ===========================
   GLOBAL STYLES
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#fff;
    overflow-x:hidden;

    background:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
        radial-gradient(circle at top,#153c6b,#0B1120 70%);

    background-size:
        40px 40px,
        40px 40px,
        cover;

    animation:gridMove 18s linear infinite;
}

/* ===========================
   NAVBAR
=========================== */

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    background:#101827;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:30px;
    font-weight:700;
}

.logo img{
    width:55px;
}

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

.nav-links a{
    color:white;
    text-decoration:none;
    font-size:18px;
    transition:.3s;
}

.nav-links a:hover{
    color:#38BDF8;
}

/* ===========================
   HERO SECTION
=========================== */

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

.hero-left{

    flex:1;

    animation:fadeUp 1s ease;

}

.hero-right{

    flex:1;

    display:flex;
    justify-content:center;

    animation:fadeIn 1.4s ease;

}

.hero-right img{
    width:450px;
    max-width:100%;
    animation:float 5s ease-in-out infinite;
}

.hero h1{
    font-size:72px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    font-size:22px;
    color:#CBD5E1;
    line-height:1.7;
    margin-bottom:40px;
}

/* ===========================
   BUTTONS
=========================== */

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn-primary,
.btn-secondary{
    padding:16px 35px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:#0EA5E9;
    color:white;
}

.btn-primary:hover{

transform:translateY(-5px);

box-shadow:
0 0 20px rgba(56,189,248,.6);

}

.btn-secondary{
    border:2px solid #0EA5E9;
    color:#0EA5E9;
}

.btn-secondary:hover{
    background:#0EA5E9;
    color:white;
    transform:translateY(-3px);
}

/* ===========================
   LOGO FLOAT ANIMATION
=========================== */

@keyframes float{

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

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

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

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:900px){

.hero{

    flex-direction:column-reverse;
    text-align:center;
    padding-top:50px;

}

.hero h1{

    font-size:72px;
    line-height:1.1;
    margin-bottom:25px;

    color:#ffffff;

    text-shadow:
        0 0 8px #38BDF8,
        0 0 18px #38BDF8,
        0 0 35px rgba(56,189,248,.6);

}

.hero p{

    font-size:18px;

}

.hero-buttons{

    justify-content:center;

}

.navbar{

    flex-direction:column;
    gap:20px;

}

.nav-links{

    gap:20px;
    flex-wrap:wrap;
    justify-content:center;

}

.hero-right img{

    width:320px;

}

}

@keyframes gridMove{

    from{
        background-position:0 0,0 0,center;
    }

    to{
        background-position:40px 40px,40px 40px,center;
    }

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

