/*=====================================
        LIGHT40X PROJECTS
======================================*/

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

:root{
--primary:#4F8CFF;
--cyan:#00D4FF;
--dark:#08111F;
--card:#101C31;
--border:#23395E;
--gray:#BFC7D8;
}

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

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#08111F;
color:white;
overflow-x:hidden;
}

/*=========================
BACKGROUND
=========================*/

body::before{
content:"";
position:fixed;
width:900px;
height:900px;
left:-350px;
top:-350px;
background:radial-gradient(circle,#4F8CFF,transparent 70%);
opacity:.08;
animation:blob1 18s linear infinite alternate;
z-index:-2;
}

body::after{
content:"";
position:fixed;
width:800px;
height:800px;
right:-300px;
bottom:-300px;
background:radial-gradient(circle,#00D4FF,transparent 70%);
opacity:.08;
animation:blob2 22s linear infinite alternate;
z-index:-2;
}

@keyframes blob1{
100%{
transform:translateY(120px) rotate(25deg);
}
}

@keyframes blob2{
100%{
transform:translateY(-120px) rotate(-20deg);
}
}

/*=========================
HEADER
=========================*/

.header{
position:fixed;
top:0;
left:0;
width:100%;
padding:22px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(8,17,31,.82);
backdrop-filter:blur(18px);
border-bottom:1px solid rgba(255,255,255,.05);
z-index:999;
}

.logo{
display:flex;
align-items:center;
gap:14px;
font-family:'Orbitron',sans-serif;
font-size:24px;
text-decoration:none;
color:white;
}

.logo i{
font-size:30px;
color:var(--cyan);
}

.menu-btn{
display:none;
font-size:30px;
cursor:pointer;
color:white;
}

nav{
display:flex;
gap:34px;
}

nav a{
text-decoration:none;
color:white;
font-size:15px;
font-weight:500;
transition:.35s;
position:relative;
}

nav a.active,
nav a:hover{
color:var(--cyan);
}

nav a::after{
content:"";
position:absolute;
bottom:-8px;
left:0;
height:2px;
width:0;
background:var(--cyan);
transition:.35s;
}

nav a:hover::after,
nav a.active::after{
width:100%;
}

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

.hero{
padding:170px 8% 90px;
text-align:center;
}

.badge{
display:inline-block;
padding:12px 22px;
border-radius:50px;
background:rgba(79,140,255,.15);
border:1px solid rgba(79,140,255,.35);
color:#9ED4FF;
margin-bottom:25px;
}

.hero h1{
font-size:70px;
font-weight:800;
margin-bottom:20px;
}

.hero h1 span{
color:var(--cyan);
}

.hero p{
max-width:700px;
margin:auto;
color:var(--gray);
line-height:1.9;
font-size:18px;
}

/*=========================
SEARCH
=========================*/

.search-box{
margin:45px auto 30px;
max-width:550px;
position:relative;
}

.search-box i{
position:absolute;
left:20px;
top:50%;
transform:translateY(-50%);
color:#8fb9ff;
}

.search-box input{
width:100%;
padding:18px 20px 18px 55px;
background:#101C31;
border:1px solid var(--border);
border-radius:50px;
color:white;
font-size:16px;
outline:none;
transition:.35s;
}

.search-box input:focus{
border-color:var(--cyan);
}

/*=========================
FILTERS
=========================*/

.filters{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:15px;
margin-top:30px;
}

.filter{
padding:12px 26px;
border:none;
border-radius:50px;
background:#183154;
color:white;
cursor:pointer;
font-weight:600;
transition:.35s;
}

.filter:hover,
.filter.active{
background:linear-gradient(135deg,#4F8CFF,#00D4FF);
}

/*=========================
PROJECTS
=========================*/

.projects{
padding:20px 8% 120px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
gap:35px;
}

.card{
background:linear-gradient(145deg,#101C31,#162845);
border-radius:24px;
overflow:hidden;
border:1px solid var(--border);
transition:.35s;
}

.card:hover{
transform:translateY(-10px);
border-color:var(--cyan);
box-shadow:0 20px 45px rgba(0,0,0,.35);
}

.card img{
width:100%;
height:220px;
object-fit:cover;
transition:.4s;
}

.card:hover img{
transform:scale(1.05);
}

.content{
padding:25px;
}

.content h3{
font-size:28px;
margin:15px 0;
}

.content p{
color:var(--gray);
line-height:1.8;
margin-bottom:25px;
}

.tag{
display:inline-block;
padding:8px 18px;
background:#183154;
color:#9fd7ff;
border-radius:30px;
font-size:13px;
font-weight:600;
}

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

.buttons{
display:flex;
gap:15px;
}

.btn{
flex:1;
padding:15px;
border-radius:12px;
text-align:center;
text-decoration:none;
font-weight:600;
transition:.35s;
}

.primary{
background:linear-gradient(135deg,#4F8CFF,#00D4FF);
color:white;
}

.primary:hover{
transform:translateY(-5px);
box-shadow:0 18px 35px rgba(79,140,255,.35);
}

.btn:not(.primary){
border:2px solid #4F8CFF;
color:white;
}

.btn:not(.primary):hover{
background:#4F8CFF;
}

/*=========================
COMING CARD
=========================*/

.coming{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:50px 30px;
text-align:center;
height:100%;
}

.coming i{
font-size:70px;
color:var(--cyan);
margin-bottom:25px;
}

.coming h3{
font-size:30px;
margin-bottom:15px;
font-family:'Orbitron',sans-serif;
}

.coming p{
margin-bottom:30px;
color:var(--gray);
}

/*=========================
FOOTER
=========================*/

footer{
padding:45px;
text-align:center;
background:#050B16;
border-top:1px solid rgba(255,255,255,.05);
color:#8EA7C7;
}

/*=========================
RESPONSIVE
=========================*/

@media(max-width:950px){

.menu-btn{
display:block;
}

nav{
position:fixed;
top:80px;
right:-100%;
width:270px;
height:100vh;
background:#08111F;
display:flex;
flex-direction:column;
padding:40px;
gap:30px;
transition:.4s;
border-left:1px solid #23395E;
}

nav.active{
right:0;
}

.hero h1{
font-size:50px;
}

}

@media(max-width:700px){

.cards{
grid-template-columns:1fr;
}

.hero{
padding-top:140px;
}

.hero h1{
font-size:42px;
}

.search-box{
max-width:100%;
}

.buttons{
flex-direction:column;
}

}
