*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#020617;
color:white;
overflow-x:hidden
}

/* Social Sidebar */

.social-sidebar{
position:fixed;
left:30px;
bottom:35%;
display:flex;
flex-direction:column;
gap:22px;
z-index:900;
}

.social-sidebar a{
color:#94a3b8;
text-decoration:none;
font-size:14px;
letter-spacing:1px;
transition:0.3s;
writing-mode:vertical-rl;
transform:rotate(180deg);
}

.social-sidebar a:hover{
color:#38bdf8;
}

/* Cursor Glow */
.cursor-glow{
position:fixed;
width:300px;
height:300px;
background:radial-gradient(circle,#38bdf833,transparent);
pointer-events:none;
transform:translate(-50%,-50%);
}

/* NAVBAR */

.logo{
flex-shrink:0;
font-weight:600;
}

.logo a{
color:white;
text-decoration:none;
font-size:20px;
}

.logo-short{
display:none;
}

nav{
position:fixed;
top:0;
left:0;
right:0;
height:70px;

display:flex;
align-items:center;
justify-content:space-between;

padding:0 32px;

background:rgba(2,6,23,0.65);
backdrop-filter:blur(14px);
border-bottom:1px solid rgba(255,255,255,0.05);

z-index:1000;
}

nav a{
color:white;
text-decoration:none;
font-size:15px;
letter-spacing:.4px;
transition:.25s ease;
}

nav a:hover{
color:#38bdf8;
}

nav a.active{
color:#38bdf8;
}

nav a.active::after{
content:"";
position:absolute;
bottom:-6px;
left:0;
width:100%;
height:2px;
background:#38bdf8;
border-radius:2px;
}

.nav-scrolled{
background:rgba(2,6,23,0.9);
}

/* NAV MENU */

.nav-menu{
display:flex;
gap:25px;
align-items:center;
}


/* HAMBURGER */

.hamburger{
display:none;
flex-direction:column;
justify-content:center;
gap:6px;
cursor:pointer;
width:32px;
height:32px;
}

.hamburger span{
width:26px;
height:3px;
background:white;
border-radius:3px;
transition:0.35s ease;
}


/* SECTIONS OFFSET */

section{
padding-top:100px;
scroll-margin-top:90px;
}

/* HERO */

.hero{
position:relative;
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
overflow:hidden;
}

.hero-content{
position:relative;
z-index:2;
}

#particles{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
z-index:1;
}

.typing{
font-size:20px;
margin-top:10px;
color:#94a3b8;
height:30px;
}

/* BUTTON */

.cta{
margin-top:30px;
padding:14px 34px;
border:none;
border-radius:40px;
background:linear-gradient(135deg,#38bdf8,#0ea5e9);
color:white;
cursor:pointer;
font-size:16px;

box-shadow:
0 0 10px rgba(56,189,248,0.5),
0 0 30px rgba(56,189,248,0.25);

transition:.35s;
}

.cta:hover{
transform:translateY(-2px);
box-shadow:
0 0 20px rgba(56,189,248,0.8),
0 0 40px rgba(56,189,248,0.4);
}

/* PROFILE */

.profile-wrapper{
position:relative;
display:inline-block;
border-radius:50%;
padding:6px;
}

.profile-wrapper::before{
content:"";
position:absolute;
top:-4px;
left:-4px;
right:-4px;
bottom:-4px;
border-radius:50%;
background:linear-gradient(45deg,#38bdf8,#06b6d4,#0ea5e9,#38bdf8);
z-index:-1;
animation:borderGlow 6s linear infinite;
}

.profile-photo{
width:160px;
height:160px;
border-radius:50%;
object-fit:cover;
animation:floatPhoto 6s ease-in-out infinite;
}

@keyframes floatPhoto{
0%{transform:translateY(0)}
50%{transform:translateY(-10px)}
100%{transform:translateY(0)}
}

@keyframes borderGlow{
0%{filter:hue-rotate(0deg)}
100%{filter:hue-rotate(360deg)}
}

/* CONTAINER */

.container{
max-width:1100px;
margin:auto;
padding:100px 20px;
}

.section-title{
font-size:32px;
margin-bottom:40px;
border-bottom:3px solid #38bdf8;
display:inline-block;
}

/* REVEAL */

.reveal{
opacity:0;
transform:translateY(60px);
transition:all 0.8s ease;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}

/* GRID */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

/* CARDS */

.card{
background:#0f172a;
padding:28px;
border-radius:14px;
border:1px solid rgba(255,255,255,0.05);

transition:.35s ease;
opacity:1;
transform:translateY(0);
}

.card:hover{
transform:translateY(-6px);
border-color:rgba(56,189,248,0.35);
}
.card.show{
opacity:1;
transform:translateY(0);
}

/* SKILLS */

.skill{
margin-bottom:25px;
}

.skill-bar{
height:8px;
background:#1e293b;
border-radius:10px;
overflow:hidden;
}

.skill-progress{
height:100%;
background:#38bdf8;
width:0;
transition:width 2s;
}

/* TIMELINE */

.timeline{
border-left:3px solid #38bdf8;
padding-left:20px;
}

.timeline-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:40px;
}

.timeline-column{
background:#0f172a;
padding:25px;
border-radius:12px;
}

.timeline-heading{
color:#38bdf8;
margin-bottom:20px;
}

.timeline-item{
margin-bottom:20px;
padding-left:10px;
border-left:3px solid #38bdf8;
}

.timeline-item h4{
margin-bottom:5px;
color:#38bdf8;
}

/* GALLERY */

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:30px;
padding-top:40px;
}

.gallery img{
width:100%;
height:300px;
object-fit:cover;

border-radius:14px;

box-shadow:0 15px 35px rgba(0,0,0,.45);

transition:.35s ease;
}

.gallery img:hover{
transform:scale(1.04);
}

/* LIGHTBOX */

#lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
justify-content:center;
align-items:center;
z-index:2000;
}

#lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}

#lightbox span{
position:absolute;
top:30px;
right:40px;
font-size:40px;
cursor:pointer;
}

.contact-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
margin-top:40px;
}

.contact-info p{
color:#94a3b8;
margin:15px 0 25px;
line-height:1.6;
}

.contact-item{
display:flex;
align-items:center;
gap:12px;
margin-bottom:18px;
font-size:15px;
}

.contact-item span{
font-size:20px;
color:#38bdf8;
}

.contact-item a{
color:white;
text-decoration:none;
}

.contact-item a:hover{
color:#38bdf8;
}

/* FORM */

.contact-form form{
display:flex;
flex-direction:column;
gap:18px;
}

.contact-form input,
.contact-form textarea{
background:#0f172a;
border:1px solid rgba(255,255,255,0.08);
padding:14px;
border-radius:8px;
color:white;
font-size:14px;
outline:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
border-color:#38bdf8;
}

.contact-btn{
background:linear-gradient(135deg,#38bdf8,#0ea5e9);
border:none;
padding:14px;
border-radius:30px;
color:white;
font-size:16px;
cursor:pointer;
transition:0.3s;
}

.contact-btn:hover{
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(56,189,248,0.3);
}

/* MOBILE */

@media (max-width:768px){

.contact-wrapper{
grid-template-columns:1fr;
}

}


/* FOOTER */

footer{
text-align:center;
padding:40px;
background:#020617;
}

/* Only for Mobile */

.nav-menu{
display:flex;
gap:28px;
align-items:center;
}

@media (max-width:768px){

    .social-sidebar{
display:none;
}

nav{
padding:15px 20px;
height:70px;
}

.logo-full{
display:none;
}

.logo-short{
display:inline;
}

.nav-menu{
position:fixed;
top:70px;
left:0;
width:100%;
height:calc(100vh - 70px);

background:rgba(2,6,23,0.6);   /* 60% transparency */
backdrop-filter:blur(18px);   /* blur effect */
border-top:1px solid rgba(255,255,255,0.08);

flex-direction:column;
align-items:center;
justify-content:center;

gap:30px;

transform:translateY(-110%);
transition:transform 0.35s ease;

z-index:999;
}

.nav-menu.active{
transform:translateY(0);
}

.nav-menu a{
font-size:22px;
letter-spacing:.5px;
}
.nav-menu a{
opacity:0;
transform:translateY(10px);
transition:all 0.35s ease;
}

.nav-menu.active a{
opacity:1;
transform:translateY(0);
}
.hamburger{
display:flex;
z-index:1002;
}

}

