*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
scroll-behavior:smooth;
}

body{
background:#0f172a;
color:white;
}

header{
position:fixed;
top:0;
width:100%;
background:#111827;
padding:20px 8%;
z-index:1000;
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:28px;
color:#38bdf8;
display:flex;
}

.logo img{
    margin-right:10px;
}

nav ul{
display:flex;
list-style:none;
}

nav ul li{
margin-left:30px;
}

nav ul li a{
text-decoration:none;
color:white;
transition:.3s;
}

nav ul li a:hover{
color:#38bdf8;
}

.hero{
display:flex;
justify-content:space-between;
align-items:center;
padding:50px 10% 50px 10%;
min-height:100vh;
}

.hero-text h1{
font-size:55px;
}

.hero-text span{
color:#38bdf8;
}

.hero-text p{
margin:20px 0;
font-size:20px;
}
.desc-content{
    clear: both;
}

.desc-content p{
font-size:16px;
margin:20px 0px;
}

.desc-content p img{
float:right;
margin-left:30px;
}

.desc-content h2{
    font-size:22px;
}


.w-100{
width:100%;
}

.btn{
display:inline-block;
padding:12px 28px;
background:#38bdf8;
color:white;
text-decoration:none;
border-radius:30px;
transition:.3s;
}

.btn:hover{
background:#0284c7;
}

.hero-image img{
border-radius:50%;
object-fit:cover;
border:6px solid #f17c08;
box-shadow:0 0 30px #f17c08;
}

section{
padding:50px 10%;
}
section.first-section{
    padding-top:100px;
}

section h2{
font-size:40px;
margin-bottom:30px;
color:#38bdf8;
}

.skills-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
gap:20px;
}

.card{
background:#1e293b;
padding:25px;
text-align:center;
border-radius:15px;
font-size:20px;
transition:.3s;
}

.card:hover{
background:#38bdf8;
transform:translateY(-8px);
}

.project-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.project-card{
background:#1e293b;
padding:30px;
border-radius:15px;
transition:.3s;
}

.project-card:hover{
transform:scale(1.05);
}

.project-card h3{
margin-bottom:15px;
font-size: 23px;
}
.project-card p{
    margin-bottom:15px;
}

.project-card button{
margin-top:20px;
padding:10px 20px;
border:none;
background:#38bdf8;
color:white;
border-radius:20px;
cursor:pointer;
}

.project-card .exp-button{
margin-top:20px;
padding:10px 20px;
border:none;
background:#38bdf8;
color:white;
border-radius:20px;
cursor:pointer;
display:inline-block;
text-decoration: none;
}

ul.item-list{
    padding-left:30px;
}

.project-card button:hover{
background:#0284c7;
}

.project-card .exp-button:hover{
background:#0284c7;
}

#contact p{
margin:10px 0;
}

footer{
background:#000000;
text-align:center;
padding:20px;
}

.exp-image{margin-bottom:30px;}

a.olink{color:#f17c08;}

.phone-box{
    position:relative;
}
.phone-hover{
    display:none;
    position:absolute;
    top:20px;
    left:-10px;
    background:#000;
    font-size:80%;
    padding:15px;
    border-radius:5px;
    width:200px;
}
.phone-box:hover .phone-hover{
    display:block;
}

@media(max-width:768px){

    header{
    padding:20px 5%;
    }

    .hero{
    flex-direction:column;
    text-align:center;
    }

    .hero-image{
    margin-top:40px;
    }

    .hero-image img{

    }

    nav{
    flex-direction:column;
    }

    nav ul{
    margin-top:15px;
    flex-wrap:wrap;
    justify-content:center;
    }

    nav ul li{
    margin:10px;
    }

    .hero-text h1{
    font-size:40px;
    }

}

@media(max-width:768px){
    .exp-image{max-width:100%;}
    nav ul li {margin:6px;}
    section.first-section{padding-top:150px;} 
    .hero{padding-top:180px;}
    .hero-text h1 {font-size: 28px;}
    .hero-text p{font-size:15px}
    .hero {min-height:0px;}
    .phone-hover {display:block;position:relative;width:100%;background-color:#000000;font-size:80%;margin:5px;top:0px;left:0px;}
}