*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#020617;
color:#e5e7eb;
line-height:1.7;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
overflow-x:hidden;
}
body::before{
content:"";
position:fixed;
inset:0;
background:
radial-gradient(circle at center, rgba(255,255,255,0.03), transparent 60%),
repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px);
z-index:-2;
}

body::after{
content:"";
position:fixed;
inset:0;
background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.6));
z-index:-1;
pointer-events:none;
}

.container{
width:85%;
max-width:1400px;
margin:0 auto;
display:block;
padding: 0 10px;
}

/* NAVBAR */
header{
position:sticky;
top:0;
z-index:1000;
display:flex;
justify-content:space-between;
align-items:center;
padding:22px 0;
background:rgba(11,18,32,0.7);
backdrop-filter: blur(8px);
border-bottom:1px solid rgba(255,255,255,0.08);
width:100%;
max-width:100%;
margin:0;
padding-left:40px;
padding-right:40px;
}

.logo{
font-size:22px;
font-weight:600;
letter-spacing:0.3px;
}

.navbar a{
margin-left:28px;
text-decoration:none;
color:#cbd5f5;
font-size:14px;
font-weight:500;
transition:0.2s ease;
position:relative;
}
.navbar a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0%;
height:2px;
background:#0f172a;
transition:width 0.25s ease;
}
.navbar a:hover::after{
width:100%;
}

.navbar a:hover{
color:#ffffff;
}

/* HERO */
.hero{
display:flex;
align-items:center;
justify-content:center;
gap:100px;
padding:140px 0 100px;
width:100%;
max-width:1200px;
margin:0 auto;
}

.hero-left{
max-width:600px;
}

.hero-left h1{
font-size:48px;
font-weight:700;
letter-spacing:-0.5px;
}

.hero-left h2{
font-size:20px;
color:#64748b;
margin-top:8px;
font-weight:500;
}

.hero-left p{
margin-top:24px;
color:#cbd5f5;
line-height:1.8;
max-width:520px;
}

.hero-right img{
width:280px;
height:280px;
border-radius:50%;
object-fit:cover;
object-position: center 32%;
transform: scale(1.25);
border:3px solid rgba(255,255,255,0.8);
box-shadow:0 15px 40px rgba(0,0,0,0.15), 0 0 0 6px rgba(99,102,241,0.1);
margin:auto;
display:block;
transition:all 0.3s ease;
}

.hero-right img:hover{
transform:scale(1.04);
box-shadow:0 20px 50px rgba(0,0,0,0.2), 0 0 0 8px rgba(99,102,241,0.15);
}

.hero-right{
flex:1;
display:flex;
justify-content:center;
}

/* BUTTON + ICONS */
.actions{
margin-top:20px;
display:flex;
align-items:center;
gap:20px;
}

.btn{
padding:10px 18px;
background:#0f172a;
color:#fff;
text-decoration:none;
border-radius:8px;
font-size:14px;
font-weight:500;
transition:all 0.2s ease;
box-shadow:0 2px 6px rgba(15,23,42,0.15);
position:relative;
overflow:hidden;
}
.btn::after{
content:"";
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
transition:all 0.4s ease;
}
.btn:hover::after{
left:100%;
}

.btn:hover{
transform:translateY(-2px);
box-shadow:0 8px 18px rgba(15,23,42,0.25);
}

.icons a{
margin-right:12px;
font-size:18px;
color:#cbd5f5;
transition:0.2s ease;
}

.icons a:hover{
color:#ffffff;
transform:translateY(-2px);
}

/* SECTIONS */
section{
padding:90px 0;
}

section + section{
border-top:1px solid rgba(0,0,0,0.04);
}

section > *{
max-width:1200px;
width:100%;
margin:0 auto;
animation:fadeUp 0.6s ease both;
padding-left:10px;
padding-right:10px;
}

/* SECTION TITLE */
.section-title{
font-size:30px;
margin-bottom:35px;
font-weight:600;
color:#e5e7eb;
text-align:left;
letter-spacing:-0.3px;
}
.section-title::after{
content:"";
display:block;
width:40px;
height:3px;
margin-top:10px;
background:linear-gradient(90deg,#6366f1,#ec4899);
border-radius:2px;
}

/* CARDS */
.card{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.1);
padding:24px;
border-radius:14px;
margin-bottom:20px;
max-width:100%;
transition:all 0.25s ease;
text-align:left;
position:relative;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:8px;
min-height:120px;
}

.card a{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  color:#8b5cf6;
  margin-top:8px;
  text-decoration:none;
  transition:0.3s ease;
}

.card a:hover{
  transform:scale(1.2);
  color:#6366f1;
}

.card h3{
  text-align:center;
}

.card::before{
content:"";
position:absolute;
inset:0;
border-radius:14px;
padding:1px;
background:linear-gradient(120deg, rgba(15,23,42,0.12), rgba(15,23,42,0.02));
-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite:xor;
mask-composite:exclude;
pointer-events:none;
}

.card:hover{
transform:translateY(-6px);
box-shadow:0 14px 40px rgba(0,0,0,0.08);
border-color:rgba(99,102,241,0.25);
}
.grid-3{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
gap:22px;
margin-top:20px;
}

.grid-3 .card{
height:100%;
}


.education-grid{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:20px;
}

.education-grid .card{
text-align:center;
}

/* TIMELINE */
.timeline{
position:relative;
margin-top:40px;
}

.timeline::before{
content:"";
position:absolute;
left:50%;
top:0;
width:2px;
height:100%;
background:linear-gradient(to bottom, #6366f1, #8b5cf6);
transform:translateX(-50%);
box-shadow:0 0 10px rgba(99,102,241,0.6);
}

.timeline-item{
position:relative;
width:50%;
padding:20px 30px;
}

.timeline-item:nth-child(odd){
left:0;
text-align:right;
}

.timeline-item:nth-child(even){
left:50%;
text-align:left;
}

.timeline-item::before{
content:"";
position:absolute;
top:25px;
width:14px;
height:14px;
background:#6366f1;
border-radius:50%;
box-shadow:0 0 12px rgba(99,102,241,0.9);
}

.timeline-item:nth-child(odd)::before{
right:-6px;
}

.timeline-item:nth-child(even)::before{
left:-6px;
}

.timeline-content{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.1);
padding:18px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.25);
backdrop-filter: blur(6px);
}

/* Force left alignment inside timeline boxes */
.timeline-item:nth-child(odd) .timeline-content{
  text-align:left;
}

.timeline-content h3,
.timeline-content span,
.timeline-content ul,
.timeline-content li{
  text-align:left;
}

.timeline-content ul{
margin-top:12px;
padding-left:18px;
}

.timeline-content li{
margin-bottom:8px;
font-size:14px;
color:#cbd5f5;
line-height:1.6;
}

/* RESPONSIVE */
@media(max-width:768px){

.hero{
flex-direction:column;
text-align:center;
}

.navbar{
display:none;
}

.hero-right img{
width:160px;
height:160px;
}

.timeline::before{
left:10px;
}

.timeline-item{
width:100%;
left:0 !important;
text-align:left !important;
padding-left:30px;
}

.timeline-item::before{
left:0 !important;
}

.grid-3{
grid-template-columns:1fr;
}

/* Achievements responsive fix */
#achievements .card{
  max-width:95%;
  padding:20px;
}

#achievements ul{
  font-size:14px;
  line-height:1.6;
}

}

/* smooth scrolling */
html{
scroll-behavior:smooth;
}

p{
margin-top:8px;
}
p{
margin-top:8px;
}

@keyframes moveBg{
0%{
transform:translate(0,0);
}
100%{
transform:translate(200px,200px);
}
}

@keyframes auroraMove{
0%{ transform: translate(0,0) scale(1); }
100%{ transform: translate(-5%, -3%) scale(1.1); }
}

@keyframes gridDrift{
0%{ transform: translate(0,0); }
100%{ transform: translate(80px, 80px); }
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(10px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@keyframes floatBg{
0%{transform:translate(0,0);}
100%{transform:translate(200px,300px);}
}


/* FLOATING BACKGROUND ICONS */
.background-icons{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
  filter: saturate(1.1);
}

.background-icons i{
  position:absolute;
  top:-10%;
  font-size: clamp(18px, 2.5vw, 42px);
  color:rgba(255,255,255,0.45);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.25));
  text-shadow: none;
  animation: snowFall linear infinite;
  will-change: transform, opacity;
}

.background-icons i:nth-child(1){ left:8%;  animation-duration:17s; animation-delay:-3s; }
.background-icons i:nth-child(2){ left:18%; animation-duration:23s; animation-delay:-7s; }
.background-icons i:nth-child(3){ left:28%; animation-duration:19s; animation-delay:-11s; }
.background-icons i:nth-child(4){ left:38%; animation-duration:27s; animation-delay:-5s; }
.background-icons i:nth-child(5){ left:48%; animation-duration:21s; animation-delay:-13s; }
.background-icons i:nth-child(6){ left:58%; animation-duration:25s; animation-delay:-2s; }
.background-icons i:nth-child(7){ left:68%; animation-duration:18s; animation-delay:-9s; }
.background-icons i:nth-child(8){ left:78%; animation-duration:29s; animation-delay:-15s; }
.background-icons i:nth-child(9){ left:88%; animation-duration:22s; animation-delay:-6s; }

@keyframes snowFall{
  0%{
    transform: translateY(-150px) translateX(0) rotate(0deg);
    opacity:0;
  }
  10%{ opacity:0.6; }
  50%{
    transform: translateY(50vh) translateX(40px) rotate(180deg);
  }
  100%{
    transform: translateY(120vh) translateX(-30px) rotate(360deg);
    opacity:0;
  }
}

/* Added styles for achievements card */
#achievements .card{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  box-sizing:border-box;
  padding:28px;
  align-items:flex-start;
}

#achievements ul{
  text-align:left;
  margin:0;
  max-width:100%;
}