
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#f5f7fb;
color:#333;
line-height:1.6;
}

/* NAVBAR */

.navbar{
display:flex;
flex-direction:column;
align-items:center;
background:#0a66c2;
padding:15px 20px;
position:sticky;
top:0;
z-index:100;
}

.logo{
color:white;
font-size:26px;
font-weight:bold;
margin-bottom:10px;
text-align:center;
}

.navbar ul{
display:flex;
list-style:none;
gap:20px;
flex-wrap:wrap;
justify-content:center;
}

.navbar a{
color:white;
text-decoration:none;
font-weight:500;
transition:0.3s;
}

.navbar a:hover{
opacity:0.8;
}

/* HERO SECTION */

.hero{
display:flex;
justify-content:center;
align-items:center;
gap:80px;
padding:90px 20px;
flex-wrap:wrap;
background:white;
text-align:center;
}

.hero-text{
max-width:500px;
}

.hero-text h1{
font-size:40px;
margin-bottom:15px;
}

.hero-text span{
color:#0a66c2;
}

.hero-text p{
font-size:18px;
margin-bottom:20px;
}

/* PROFILE IMAGE */

.hero-img{
width:260px;
height:260px;
border-radius:50%;
overflow:hidden;
border:6px solid #0a66c2;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.hero-img img{
width:100%;
height:100%;
object-fit:cover;
}

/* BUTTON */

.btn{
display:inline-block;
margin-top:15px;
margin-right:10px;
padding:10px 22px;
background:#0a66c2;
color:white;
text-decoration:none;
border-radius:6px;
transition:0.3s;
}

.btn:hover{
background:#084a8a;
}

/* SECTIONS */

section{
padding:80px 20px;
text-align:center;
}

/* SECTION TITLES */

h2{
font-size:32px;
margin-bottom:35px;
text-align:center;
position:relative;
 color: #000000;
}

h2::after{
content:"";
display:block;
width:60px;
height:3px;
background:#0a66c2;
margin:10px auto;
border-radius:5px;
}

/* EDUCATION */

.edu-container{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:25px;
}

.card{
background:white;
padding:25px;
width:220px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.card:hover{
transform:translateY(-8px);
}

/* SKILLS */

.skills{
display:flex;
justify-content:center; /* center all skill badges */
flex-wrap:wrap;         /* wrap to new line if needed */
gap:10px;               /* space between badges */
}

.skills span{
display:inline-block;
background:#0a66c2;
color:white;
padding:10px 18px;
border-radius:20px;
font-size:14px;
}

/* ACHIEVEMENTS */

.achieve-container{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:25px;
}

/* PROJECTS */

.project-container{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:25px;
}

.project-card{
background:white;
padding:25px;
width:230px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.project-card:hover{
transform:translateY(-8px);
}

.project-card a{
display:inline-block;
margin-top:10px;
text-decoration:none;
color:#0a66c2;
font-weight:bold;
}

/* CERTIFICATES */

.certificate-container{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:25px;
}

.certificate-card{
background:white;
padding:25px;
width:230px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.certificate-card:hover{
transform:translateY(-8px);
}

.certificate-card a{
display:inline-block;
margin-top:10px;
text-decoration:none;
color:#0a66c2;
font-weight:bold;
}

/* INTERESTS */

.interest-container{
display:flex;
justify-content:center; /* center interest cards */
flex-wrap:wrap;
gap:20px;
}

.interest-container .card{
background:white;
padding:20px;
width:180px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
transition:0.3s;
}

.interest-container .card:hover{
transform:translateY(-5px);
}

/* GALLERY */

.gallery-container{
display:flex;
justify-content:center; /* center gallery images */
flex-wrap:wrap;
gap:20px;
}

.gallery img{
width:250px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* CONTACT */

form{
display:flex;
flex-direction:column;
width:320px;
margin:auto;
}

form input,
form textarea{
margin:10px 0;
padding:12px;
border:1px solid #ccc;
border-radius:6px;
font-size:14px;
}

button{
background:#0a66c2;
color:white;
padding:12px;
border:none;
border-radius:6px;
cursor:pointer;
}

button:hover{
background:#084a8a;
}

/* FOOTER */

footer{
background:#0a66c2;
color:white;
padding:20px;
text-align:center;
margin-top:40px;
}

/* RESPONSIVE */

@media(max-width:768px){

.hero{
flex-direction:column;
text-align:center;
}

.hero-text h1{
font-size:32px;
}

.navbar ul{
gap:12px;
}

.hero-img{
width:200px;
height:200px;
}

.gallery img{
width:90%;
}

}