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

html{
scroll-behavior:smooth;
scroll-padding-top:80px;
}

body{
background:#0e0e11;
color:#e6e6e6;
line-height:1.6;
}

/* NAVBAR */

header{
position:fixed;
width:100%;
background:#FFF;
border-bottom:1px solid #1d1d22;
z-index:1000;
height:auto;
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 8% 12px;
}

.logo{
display:flex;
align-items:center;

}

.logo img{
height:60px;
width:200px;
object-fit:contain;
}

.logo a{
line-height: 0;
}

nav a{
margin-left:25px;
text-decoration:none;
color:#000000;
font-weight:500;
}

nav a:hover{
color:#00c2ff;
}

/* HOME */

.home{
padding:160px 10% 120px 10%;
text-align:center;
background:radial-gradient(circle at top,#4d4d92,#0e0e11);
}

.home h1{
font-size:48px;
font-weight:600;
margin-bottom:20px;
}

.home p{
max-width:700px;
margin:auto;
font-size:20px;
margin-bottom:40px;
color:#b5b5b5;
}

/* BUTTONS */

.btn{
display:inline-block;
padding:14px 32px;
margin:10px;
border-radius:6px;
text-decoration:none;
font-weight:500;
}

.btn:hover{
box-shadow:0 10px 35px rgba(0,194,255,0.15);
}

.btn-primary{
background:#00c2ff;
color:white;
margin:0;
}

.btn-primary:hover{
background:#00a6d8;
}

.btn-outline{
border:1px solid #00c2ff;
color:#00c2ff;
}

.btn-outline:hover{
background:#00c2ff;
color:white;
}

/* SECTIONS */

section{
padding:90px 10%;
}

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

/* ABOUT */

#about{
position:relative;
background-image:url('network-bg.jpg');
background-size:cover;
background-position:center;
color:white;
}

#about::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
z-index:0;
}

#about .about,
#about .section-title{
position:relative;
z-index:1;
}

.about{
max-width:1000px;
margin:auto;
text-align:center;
color:#ffffff;
font-size:18px;
line-height:1.7;
}

/* SERVICES */

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

.card{
background:#16161c;
padding:35px 30px;
border-radius:10px;
border:1px solid #23232b;
transition:all 0.35s ease;
position:relative;
overflow:hidden;
}

.card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:3px;
background:#00c2ff;
transform:scaleX(0);
transform-origin:left;
transition:transform 0.35s ease;
}

.card:hover{
transform:translateY(-8px);
border-color:#00c2ff;
box-shadow:0 10px 35px rgba(0,194,255,0.15);
}

.card:hover::before{
transform:scaleX(1);
}

.card h3{
margin-bottom:12px;
font-size:20px;
}

.service-icon{
font-size:28px;
margin-bottom:15px;
color:#00c2ff;
}

/* STATS */

.stats{
display:flex;
justify-content:center;
gap:80px;
text-align:center;
flex-wrap:wrap;
}

.stat h3{
font-size:34px;
color:#00c2ff;
}

/* PROJECTS */

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
}

.project{
background:#16161c;
padding:25px;
border-radius:8px;
border:1px solid #23232b;
}

/* TECHNOLOGIES */

.tech{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:15px;
}

.tech span{
background:#16161c;
padding:10px 16px;
border-radius:5px;
border:1px solid #23232b;
}

.tech span:hover{
transform:translateY(-2px);
box-shadow:0 10px 35px rgba(0,194,255,0.15);
}

/* CONTACT */

.contact{
max-width:650px;
margin:auto;
text-align:center;
}

form{
margin-top:30px;
display:flex;
flex-direction:column;
}

input, textarea{
padding:12px;
margin-bottom:15px;
background:#16161c;
border:1px solid #23232b;
color:white;
border-radius:5px;
}

input:focus, textarea:focus{
outline:none;
border-color:#00c2ff;
}

/* FOOTER */

footer{
border-top:1px solid #1d1d22;
padding:35px;
text-align:center;
color:#888;
}

footer a{
text-decoration:none;
color:#888;
}

/* SCROLL ANIMATION */

.reveal{
opacity:0;
transform:translateY(40px);
transition:all 0.8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

/* MODALS */

.modal{
display:none;
position:fixed;
z-index:2000;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
overflow:auto;
}

.modal-content{
background:#16161c;
margin:8% auto;
padding:40px;
max-width:900px;
border-radius:8px;
border:1px solid #23232b;
line-height:1.7;
}

.modal-content h1{
margin-bottom:20px;
}

.modal-content h2{
margin-top:25px;
}

.close{
float:right;
font-size:26px;
cursor:pointer;
color:#aaa;
}

.close:hover{
color:#fff;
}

/* MOBILE */

@media(max-width:768px){

.home {
padding-bottom: 10%;
  }

.home h1{
font-size:34px;
padding-top: 20px;
}

.stats{
gap:40px;
}

.logo img{
height:80px;
}

nav{
display:flex;
flex-direction:column;
align-items:flex-end;
}

html {
scroll-padding-top: 120px;
}


}
