*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:#0f172a;
color:white;
overflow-x:hidden;
}

/* 🔵 BACKGROUND CIRCLES */
body::before{
content:"";
position:fixed;
width:300px;
height:300px;
background:#38bdf8;
border-radius:50%;
top:-100px;
left:-100px;
filter:blur(100px);
opacity:0.5;
}

body::after{
content:"";
position:fixed;
width:300px;
height:300px;
background:#0ea5e9;
border-radius:50%;
bottom:-100px;
right:-100px;
filter:blur(100px);
opacity:0.5;
}

/* NAV */
nav{
position:fixed;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:white;
z-index:1000;
}

.logo{
font-weight:bold;
font-size:22px;
color:#0f172a;
}

.links{
display:flex;
gap:30px;
}

.links a{
color:#0f172a;
text-decoration:none;
}
.links a{
color:#0f172a;
text-decoration:none;
position:relative; /* MUHIIM */
font-weight:500;
}

/* 🔵 LINE */
.links a::after{
content:"";
position:absolute;
left:0;
bottom:-5px;
width:0;
height:2px;
background:#38bdf8;
transition:0.3s;
}

/* HOVER */
.links a:hover::after{
width:100%;
}

/* HAMBURGER */
.menu-toggle{
display:none;
flex-direction:column;
cursor:pointer;
}

.menu-toggle span{
width:25px;
height:3px;
background:#0f172a;
margin:4px 0;
}

/* MOBILE */
@media(max-width:768px){
.links{
position:absolute;
top:70px;
right:0;
background:white;
flex-direction:column;
width:200px;
display:none;
padding:20px;
}

.links.active{
display:flex;
}

.menu-toggle{
display:flex;
}
}

/* HEADER */
header{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
flex-direction:column;
text-align:center;
}

/* BUTTON */
.btn{
margin-top:20px;
padding:10px 20px;
background:#38bdf8;
border:none;
cursor:pointer;
border-radius:25px;
transition:0.3s;
}

.btn:hover{
background:#0ea5e9;
}

/* SECTIONS */
section{
padding:80px 20px;
}

.profile{
text-align:center;
}

.profile img{
width:150px;
border-radius:50%;
border:3px solid #38bdf8;
}

/* PROJECTS */
.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.card{
background:rgba(255,255,255,0.05);
border-radius:15px;
padding:15px;
backdrop-filter:blur(10px);
transition:0.4s;
cursor:pointer;
}

.card:hover{
transform:translateY(-10px) scale(1.05);
box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.card img{
width:100%;
border-radius:10px;
}

/* FORM */
form{
display:flex;
flex-direction:column;
gap:10px;
max-width:400px;
margin:auto;
}

input, textarea{
padding:12px;
border:none;
border-radius:10px;
outline:none;
background:#1e293b;
color:white;
}

/* MAP FULL WIDTH */
iframe{
width:100%;
height:400px;
border:none;
border-radius:0; /* ka saar wareega haddii aad rabto full */
}

input::placeholder,
textarea::placeholder{
color:#94a3b8;
}

/* ANIMATION */
.fade{
opacity:0;
transform:translateY(40px);
transition:1s;
}

.show{
opacity:1;
transform:translateY(0);
}

/* SMOOTH SCROLL */
html{
scroll-behavior:smooth;
}
