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

body{
background:#050b16;
color:white;
overflow-x:hidden;
}

a{
text-decoration:none;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* NAVBAR */

nav{
position:fixed;
width:100%;
top:0;
z-index:1000;
background:rgba(5,11,22,.9);
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(0,153,255,.2);
}

.nav-content{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 0;
}

.logo{
font-size:32px;
font-weight:700;
color:#00a2ff;
}

.logo span{
color:white;
}

.menu{
display:flex;
gap:30px;
}

.menu a{
color:white;
transition:.3s;
}

.menu a:hover{
color:#00a2ff;
}

/* HERO */

.hero{
min-height:100vh;
display:flex;
align-items:center;
background:#050b16;
}

.hero-content{
max-width:700px;
}

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

.hero h1 span{
color:#00a2ff;
}

.hero p{
font-size:20px;
color:#cfd8e3;
margin-bottom:35px;
}

.btn{
display:inline-block;
padding:15px 35px;
background:#00a2ff;
color:white;
border-radius:50px;
font-weight:600;
transition:.3s;
}

.btn:hover{
transform:translateY(-3px);
box-shadow:0 0 25px #00a2ff;
}

/* SERVICES */

section{
padding:100px 0;
}

.section-title{
text-align:center;
font-size:42px;
margin-bottom:60px;
}

.section-title span{
color:#00a2ff;
}

.services{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.card{

background:#0b1323;
padding:35px;
border-radius:15px;
border:1px solid rgba(0,153,255,.15);

transition:all .35s ease;

overflow:hidden;

position:relative;

}
.card-details{

max-height:0;

overflow:hidden;

opacity:0;

margin-top:0;

color:#cfd8e3;

line-height:1.7;

transition:
max-height .4s ease,
opacity .3s ease,
margin-top .3s ease;

}

.card:hover{

transform:translateY(-10px);

border-color:#00a2ff;

box-shadow:0 0 30px rgba(0,162,255,.25);

}

.card:hover .card-details{

max-height:250px;

opacity:1;

margin-top:20px;

}

.card h3{
margin-bottom:15px;
color:#00a2ff;
}

/* WHY */

.why{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}
.why-image{

width:100%;

border-radius:20px;

margin-top:90px;

cursor:pointer;

transition:.3s;

}

.why-image:hover{

transform:scale(1.02);

}
.why ul{
list-style:none;
}

.why li{
padding:15px 0;
font-size:18px;
}

/* TECH STACK */

.stack{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:20px;
}

.tech{
padding:15px 25px;
background:#0b1323;
border-radius:50px;
border:1px solid rgba(0,153,255,.2);
}

/* CTA */

.cta{
text-align:center;
background:linear-gradient(
135deg,
#0077ff,
#00b7ff
);
padding:80px 20px;
}

.cta h2{
font-size:42px;
margin-bottom:20px;
}

/* FOOTER */

footer{
padding:40px;
text-align:center;
background:#02060d;
color:#999;
}

@media(max-width:768px){

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

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

.menu{
display:none;
}
}
#imagePreview{

position:fixed;

inset:0;

background:rgba(0,0,0,.92);

display:flex;

justify-content:center;

align-items:center;

opacity:0;

visibility:hidden;

transition:.3s;

z-index:99999;

}

#imagePreview.active{

opacity:1;

visibility:visible;

}

#previewImg{

max-width:90vw;

max-height:90vh;

border-radius:20px;

box-shadow:0 0 80px rgba(0,162,255,.4);

transform:scale(.85);

transition:.3s;

}

#imagePreview.active #previewImg{

transform:scale(1);

}
#closePreview{

    position:absolute;

    top:25px;

    right:35px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.1);

    color:white;

    font-size:28px;

    cursor:pointer;

    transition:.3s;

    z-index:100000;

}

#closePreview:hover{

    background:#00a2ff;

    transform:rotate(90deg);

}