/* ===============================
GLOBAL STYLES
================================ */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

body{
background:radial-gradient(circle at top,#0f172a,#050814);
color:#ffffff;
line-height:1.7;
overflow-x:hidden;
}

/* ===============================
ANIMATED BACKGROUND
================================ */

.animated-bg{
position:fixed;
inset:0;
z-index:-1;
overflow:hidden;
}

.animated-bg span{
position:absolute;
border-radius:50%;
background:rgba(56,189,248,.08);
animation:particles 20s linear infinite;
}

.animated-bg span:nth-child(1){
left:10%;
width:80px;
height:80px;
}

.animated-bg span:nth-child(2){
left:30%;
width:40px;
height:40px;
animation-delay:4s;
}

.animated-bg span:nth-child(3){
left:55%;
width:60px;
height:60px;
animation-delay:8s;
}

.animated-bg span:nth-child(4){
left:75%;
width:100px;
height:100px;
animation-delay:2s;
}

.animated-bg span:nth-child(5){
left:90%;
width:50px;
height:50px;
animation-delay:6s;
}

@keyframes particles{
0%{
transform:translateY(100vh) rotate(0deg);
opacity:0;
}


20%{
    opacity:1;
}

100%{
    transform:translateY(-120vh) rotate(720deg);
    opacity:0;
}


}

/* ===============================
NAVBAR
================================ */

.navbar{
position:sticky;
top:0;
z-index:1000;
width:100%;
background:rgba(15,23,42,.85);
backdrop-filter:blur(16px);
border-bottom:1px solid rgba(255,255,255,.06);
}

.nav-container{
width:90%;
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.nav-logo{
text-decoration:none;
color:#38bdf8;
font-size:28px;
font-weight:700;
}

.nav-links{
display:flex;
gap:30px;
}

.nav-links a{
text-decoration:none;
color:#94a3b8;
transition:.3s;
position:relative;
}

.nav-links a:hover,
.nav-links a.active{
color:#38bdf8;
}

.nav-links a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:#38bdf8;
transition:.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after{
width:100%;
}

/* ===============================
HERO SECTION
================================ */

.hero-section{
min-height:90vh;
display:flex;
align-items:center;
justify-content:center;
padding:0 10%;
position:relative;
}

.hero-container{
max-width:1200px;
width:100%;
}

.hero-subtitle{
color:#38bdf8;
text-transform:uppercase;
letter-spacing:2px;
margin-bottom:15px;
}

.hero-title{
font-size:64px;
font-weight:700;
line-height:1.1;
}

.hero-typing-container{
margin-top:12px;
min-height:50px;
font-size:30px;
font-weight:600;
}

#typing{
color:#38bdf8;
}

.cursor{
color:#38bdf8;
animation:cursorBlink .8s infinite;
}

@keyframes cursorBlink{
0%,50%{
opacity:1;
}
51%,100%{
opacity:0;
}
}

.hero-description{
margin-top:20px;
max-width:650px;
color:#94a3b8;
}

.hero-buttons{
display:flex;
gap:15px;
margin-top:35px;
}

.btn{
text-decoration:none;
padding:14px 28px;
border-radius:10px;
font-weight:600;
transition:.3s;
}

.btn-primary{
background:linear-gradient(
135deg,
#38bdf8,
#0ea5e9
);
color:#0f172a;
}

.btn-primary:hover{
transform:translateY(-3px);
}

.btn-secondary{
border:1px solid rgba(255,255,255,.12);
color:#fff;
}

.btn-secondary:hover{
background:rgba(255,255,255,.05);
}

/* ===============================
SECTION COMMON
================================ */

section{
padding:100px 10%;
max-width:1200px;
margin:auto;
}

.section-header{
text-align:center;
margin-bottom:60px;
}

.section-header h2{
font-size:38px;
margin-bottom:10px;
}

.section-subtitle{
color:#94a3b8;
}

/* ===============================
ABOUT
================================ */

.about-grid{
display:grid;
grid-template-columns:1fr 2fr;
gap:50px;
}

.about-profile-card,
.trait-card,
.project-card-wrapper,
.skill-card,
.contact-card{


background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
backdrop-filter:blur(14px);
border-radius:18px;


}

.about-profile-card{
padding:30px;
text-align:center;
}

.profile-avatar{
font-size:60px;
margin-bottom:15px;
}

.profile-role{
color:#38bdf8;
}

.profile-location{
color:#94a3b8;
margin-top:10px;
}

.education-box{
margin-top:25px;
}

.about-bio-content p{
color:#94a3b8;
margin-bottom:18px;
}

.core-traits-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
margin-top:30px;
}

.trait-card{
padding:20px;
}

.trait-icon{
font-size:28px;
}

/* ===============================
PROJECTS
================================ */

.projects-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(320px,1fr));
gap:25px;
}

.project-card-wrapper{
padding:28px;
transition:.4s;
}

.project-card-wrapper:hover{
transform:translateY(-10px);
box-shadow:0 20px 40px rgba(56,189,248,.15);
}

.project-icon{
font-size:30px;
margin-bottom:15px;
}

.project-tags{
display:flex;
flex-wrap:wrap;
gap:8px;
margin-bottom:15px;
}

.project-tags span{
background:rgba(56,189,248,.08);
color:#38bdf8;
padding:5px 10px;
border-radius:8px;
font-size:12px;
}

.project-summary{
color:#e2e8f0;
margin:15px 0;
}

.project-bullets{
color:#94a3b8;
margin-left:20px;
}

.project-link{
display:inline-block;
margin-top:20px;
color:#38bdf8;
text-decoration:none;
font-weight:600;
}

/* ===============================
SKILLS
================================ */

.skills-grid{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(180px,1fr));
gap:20px;
}

.skill-card{
padding:20px;
text-align:center;
transition:.3s;
font-weight:600;
}

.skill-card:hover{
transform:translateY(-8px);
color:#38bdf8;
}

/* ===============================
CONTACT
================================ */

.contact-grid{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:25px;
}

.contact-card{
width:180px;
text-align:center;
padding:25px;
text-decoration:none;
color:#fff;
transition:.3s;
}

.contact-card i{
font-size:32px;
color:#38bdf8;
margin-bottom:12px;
display:block;
}

.contact-card:hover{
transform:translateY(-8px);
}

/* ===============================
FOOTER
================================ */

.footer{
text-align:center;
padding:30px;
border-top:1px solid rgba(255,255,255,.06);
}

.footer p{
color:#64748b;
}

/* ===============================
SCROLL REVEAL
================================ */

.about-section,
.projects-section,
.skills-section,
.contact-section{
opacity:0;
transform:translateY(60px);
transition:1s;
}

.show{
opacity:1;
transform:translateY(0);
}

/* ===============================
RESPONSIVE
================================ */

@media(max-width:768px){


.hero-title{
    font-size:42px;
}

.hero-typing-container{
    font-size:22px;
}

.about-grid{
    grid-template-columns:1fr;
}

.core-traits-grid{
    grid-template-columns:1fr;
}

.nav-container{
    flex-direction:column;
    gap:15px;
}

.nav-links{
    flex-wrap:wrap;
    justify-content:center;
}

.hero-buttons{
    flex-direction:column;
    align-items:flex-start;
}


}
