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

body{

font-family:'Poppins',sans-serif;
background:#ffffff;
color:#1d3557;
}

img{
max-width:100%;
display:block;
}

header{

display:flex;
justify-content:space-between;
align-items:center;

padding:25px 10%;

background:#0d47a1;
position:fixed;
width:100%;
top:0;
left:0;
z-index:1000;

}

.logo{

font-size:28px;
font-weight:700;
color:white;

}

.logo span{

color:#4fc3f7;

}

nav a{

margin-left:30px;
text-decoration:none;
color:white;
transition:.3s;

}

nav a:hover{

color:#4fc3f7;

}

/* HERO */

.hero{

display:grid;
grid-template-columns:1fr 1fr;

align-items:center;

padding:150px 10% 80px;

background:linear-gradient(135deg,#e3f2fd,#bbdefb);

}

.hero h3{

font-size:28px;
margin-bottom:10px;

}

.hero h1{

font-size:70px;
margin-bottom:20px;

}

.hero h1 span{

color:#2196f3;

}

.hero p{

line-height:1.8;
margin-bottom:35px;

}

.hero-image{

text-align:right;

}

.hero-image img{

width:500px;
border-radius:20px;
box-shadow:0 20px 50px rgba(0,0,0,.15);

}

.btn{

display:inline-block;

background:#2196f3;
color:white;

padding:15px 35px;

text-decoration:none;

border-radius:40px;

transition:.3s;

}

.btn:hover{

background:#1565c0;

}

.btn-outline{

display:inline-block;

border:2px solid #2196f3;

color:#2196f3;

padding:14px 35px;

margin-left:15px;

border-radius:40px;

text-decoration:none;

}

.socials{

margin-top:40px;

}

.socials i{

font-size:20px;

margin-right:20px;

color:#1565c0;

cursor:pointer;

transition:.3s;

}

.socials i:hover{

color:#4fc3f7;

transform:translateY(-5px);

}

/* ABOUT */

.about{

padding:100px 10%;

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

align-items:center;

}

.about h2{

font-size:42px;
margin-bottom:20px;

}

.about p{

line-height:1.9;
margin-bottom:35px;

}

.skills .skill{

margin-bottom:25px;

}

.label{

display:flex;
justify-content:space-between;

margin-bottom:8px;

}

.bar{

height:8px;

background:#dbefff;

border-radius:10px;

}

.fill{

height:100%;

background:#2196f3;

border-radius:10px;

}

.bar1{width:95%;}
.bar2{width:90%;}
.bar3{width:60%;}
.bar4{width:46%;}

/* SERVICES */

.services{

background:#f6fbff;

padding:100px 10%;

text-align:center;

}

.services h2{

font-size:40px;

margin-bottom:60px;

}

.service-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.card{

background:white;

padding:40px;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.3s;

}

.card:hover{

transform:translateY(-10px);

}

.card i{

font-size:45px;

color:#2196f3;

margin-bottom:25px;

}

/* PORTFOLIO */

.portfolio{

padding:100px 10%;

text-align:center;

}

.portfolio h2{

font-size:40px;

margin-bottom:50px;

}

.gallery{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

gap:30px;

}

.gallery img{

border-radius:15px;

transition:.4s;

box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.gallery img:hover{

transform:scale(1.05);

}

/* FOOTER */

footer{

background:#0d47a1;

color:white;

padding:35px;

text-align:center;

margin-top:60px;

}

/* MOBILE */

@media(max-width:900px){

.hero,
.about{

grid-template-columns:1fr;

text-align:center;

}

.hero-image{

margin-top:40px;
text-align:center;

}

header{

flex-direction:column;

}

nav{

margin-top:15px;

}

nav a{

margin:10px;

display:inline-block;

}

.hero h1{

font-size:50px;

}

}
