/* ===========================
   GOOGLE FONTS
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:#030712;
    color:white;
    overflow-x:hidden;
}

/* ===========================
   HEADINGS
=========================== */

h1,h2,h3,h4{
    font-family:'Space Grotesk',sans-serif;
}

/* ===========================
   CUSTOM SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#030712;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#3b82f6;
}

/* ===========================
   BACKGROUND GLOW
=========================== */

body::before{

content:"";

position:fixed;

width:600px;

height:600px;

background:#2563eb;

filter:blur(180px);

opacity:.15;

top:-200px;

left:-200px;

z-index:-2;

}

body::after{

content:"";

position:fixed;

width:500px;

height:500px;

background:#7c3aed;

filter:blur(180px);

opacity:.12;

bottom:-150px;

right:-150px;

z-index:-2;

}

/* ===========================
   GRID BACKGROUND
=========================== */

.hero{

position:relative;

}

.hero::before{

content:"";

position:absolute;

width:100%;

height:100%;

background-image:

linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),

linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);

background-size:40px 40px;

z-index:-1;

}

/* ===========================
   NAVBAR
=========================== */

nav{

transition:.4s;

}

nav:hover{

background:rgba(15,23,42,.65);

}

/* ===========================
   LOGO
=========================== */

nav h1{

transition:.3s;

cursor:pointer;

}

nav h1:hover{

transform:scale(1.05);

}

/* ===========================
   LINKS
=========================== */

nav ul li{

list-style:none;

}

nav ul li a{

position:relative;

transition:.3s;

}

nav ul li a:hover{

color:#3b82f6;

}

nav ul li a::after{

content:"";

position:absolute;

left:0;

bottom:-5px;

width:0;

height:2px;

background:#3b82f6;

transition:.3s;

}

nav ul li a:hover::after{

width:100%;

}

/* ===========================
   BUTTONS
=========================== */

button{

transition:.35s;

cursor:pointer;

}

button:hover{

transform:translateY(-4px);

box-shadow:

0 15px 40px rgba(37,99,235,.35);

}

/* ===========================
   HERO IMAGE
=========================== */

.hero img{

animation:float 5s ease-in-out infinite;

box-shadow:

0 0 60px rgba(59,130,246,.35);

transition:.5s;

}

.hero img:hover{

transform:scale(1.03);

}

/* ===========================
   FLOAT
=========================== */

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0);

}

}

/* ===========================
   HERO TEXT
=========================== */

.hero h1{

font-size:5rem;

line-height:1.1;

}

.hero p{

max-width:650px;

}

/* ===========================
   SECTIONS
=========================== */

section{

padding:120px 30px;

}

/* ===========================
   TITLES
=========================== */

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h2{

font-size:3rem;

margin-bottom:15px;

}

.section-title p{

color:#94a3b8;

}

/* ===========================
   GLASS EFFECT
=========================== */

.glass{

background:rgba(255,255,255,.05);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.08);

border-radius:25px;

}

/* ===========================
   HOVER CARDS
=========================== */

.card{

transition:.4s;

}

.card:hover{

transform:translateY(-12px);

box-shadow:

0 20px 60px rgba(59,130,246,.18);

}

/* ===========================
   TEXT SELECTION
=========================== */

::selection{

background:#2563eb;

color:white;

}
/* =========================
   ANIMATIONS
========================= */


.hidden{

opacity:0;

transform:translateY(40px);

transition:all 0.8s ease;

}


.show{

opacity:1;

transform:translateY(0);

}




/* =========================
   NAVBAR SCROLL
========================= */


nav.scrolled{

background:rgba(3,7,18,0.85);

backdrop-filter:blur(20px);

box-shadow:0 10px 40px rgba(0,0,0,.4);

}





/* =========================
   GLASS HOVER
========================= */


.glass:hover{

border-color:rgba(59,130,246,.5);

}





/* =========================
   MOBILE
========================= */


@media(max-width:768px){


.hero h1{

font-size:3rem;

}


.section-title h2{

font-size:2.2rem;

}


nav ul{

display:none;

}


}