*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,sans-serif;
    background:#081126;
    color:white;
    line-height:1.6;
}

/* NAVBAR */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;
    background:#081126;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
    border-bottom:1px solid #1f2f59;
}

.navbar h3{
    color:#6ea3ff;
}

.nav-links{
    display:flex;
    gap:25px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.nav-links a:hover{
    color:#6ea3ff;
}

/* HERO */

.hero{
    min-height:90vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:60px 25px;
}

.hero-content{
    max-width:950px;
}

.tag{
    color:#6ea3ff;
    margin-bottom:20px;
    font-weight:bold;
    letter-spacing:2px;
}

.hero h1{
    font-size:4rem;
    color:#6ea3ff;
    margin-bottom:20px;
}

.hero h2{
    font-size:2rem;
    margin-bottom:25px;
}

.hero p{
    color:#d4d4d4;
    font-size:1.15rem;
    max-width:750px;
    margin:auto;
    line-height:1.9;
}

.hero-buttons{
    margin-top:40px;
}

/* BUTTONS */

.btn{
    display:inline-block;
    text-decoration:none;
    padding:16px 36px;
    border-radius:14px;
    margin:10px;
    transition:.3s;
}

.primary{
    background:#356dff;
    color:white;
}

.primary:hover{
    background:#2458e8;
}

.secondary{
    border:2px solid #356dff;
    color:#356dff;
}

.secondary:hover{
    background:#356dff;
    color:white;
}

/* SECTIONS */

.section{
    max-width:1100px;
    margin:auto;
    padding:90px 25px;
}

.section h2{
    font-size:2.8rem;
    margin-bottom:35px;
    color:#6ea3ff;
}

/* ABOUT */

.about p{
    color:#d4d4d4;
    font-size:1.15rem;
    line-height:2;
    margin-bottom:20px;
}

/* SKILLS */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
}

.skills-grid span{
    background:#101a35;
    padding:18px;
    border-radius:14px;
    text-align:center;
    border:1px solid #22345e;
}

/* PROJECTS */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.project-card{
    background:#101a35;
    padding:30px;
    border-radius:20px;
    border:1px solid #1f2f59;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-6px);
}

.project-card h3{
    color:#6ea3ff;
    margin-bottom:18px;
}

.project-card p{
    color:#d4d4d4;
    margin-bottom:15px;
}

.tech{
    font-size:.95rem;
    color:#8eaaff;
}

.project-card a{
    display:inline-block;
    margin-top:15px;
    color:#6ea3ff;
    text-decoration:none;
    font-weight:bold;
}

/* CONTACT */

.contact p{
    color:#d4d4d4;
    margin-bottom:20px;
}

.contact-links{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
}

.contact-links a{
    color:#6ea3ff;
    text-decoration:none;
    font-weight:bold;
}

/* FOOTER */

footer{
    text-align:center;
    padding:35px;
    color:#9fa8c6;
}

/* MOBILE */

@media (max-width:768px){

.hero{
    min-height:85vh;
    padding:70px 20px;
}

.hero h1{
    font-size:3rem;
}

.hero h2{
    font-size:1.5rem;
    line-height:1.4;
}

.hero p{
    font-size:1rem;
}

.section{
    padding:70px 20px;
}

.section h2{
    font-size:2.2rem;
}

.btn{
    width:100%;
    max-width:320px;
}

.contact-links{
    flex-direction:column;
}

.navbar{
    flex-direction:column;
    gap:15px;
    padding:20px;
}

.nav-links{
    flex-wrap:wrap;
    justify-content:center;
}

}