*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
scroll-behavior:smooth;
}

:root {
  --primary: #4f46e5;
  --secondary: #06b6d4;
  --accent: #ffd700;
  --dark-bg: #0f172a;
  --light-bg: #f8faff;
  --card-shadow: 0 10px 30px rgba(0,0,0,.12);
  --card-shadow-hover: 0 20px 50px rgba(0,0,0,.18);
}

html {
  scroll-padding-top: 80px;
}

body{
background:#f8faff;
color:#222;
overflow-x:hidden;
transition: background-color .3s ease, color .3s ease;
}

.cursor{
position:fixed;
top:0;
left:0;
width:20px;
height:20px;
border-radius:50%;
background:rgba(255,215,0,.9);
pointer-events:none;
transform:translate(-50%,-50%);
mix-blend-mode:screen;
z-index:9999;
transition:transform .08s ease, width .15s ease, height .15s ease, background .2s ease;
box-shadow: 0 0 20px rgba(255,215,0,.5);
}

.cursor.active{
width:50px;
height:50px;
background:rgba(255,215,0,.2);
box-shadow: 0 0 40px rgba(255,215,0,.6);
}

body::before{
content:"";
position:fixed;
inset:0;
pointer-events:none;
background:
radial-gradient(circle at 20% 50%, rgba(79,70,229,.15), transparent 50%),
radial-gradient(circle at 80% 80%, rgba(6,182,212,.12), transparent 50%),
radial-gradient(circle at 40% 10%, rgba(139,92,246,.10), transparent 40%);
z-index:-1;
animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background:
      radial-gradient(circle at 20% 50%, rgba(79,70,229,.15), transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(6,182,212,.12), transparent 50%),
      radial-gradient(circle at 40% 10%, rgba(139,92,246,.10), transparent 40%);
  }
  50% {
    background:
      radial-gradient(circle at 80% 50%, rgba(79,70,229,.15), transparent 50%),
      radial-gradient(circle at 20% 80%, rgba(6,182,212,.12), transparent 50%),
      radial-gradient(circle at 60% 10%, rgba(139,92,246,.10), transparent 40%);
  }
}

header{
min-height:100vh;
background:linear-gradient(
135deg,
#4f46e5 0%,
#6366f1 25%,
#06b6d4 75%,
#8b5cf6 100%
);
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
color:white;
position:relative;
overflow:hidden;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
backdrop-filter: blur(10px);
background: rgba(255,255,255,.08);
position: sticky;
top: 0;
z-index: 1000;
border-bottom: 1px solid rgba(255,255,255,.1);
animation: slideDown .6s ease both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo{
font-size:32px;
font-weight:800;
transition: .3s ease;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px rgba(255,215,0,.6);
}

.logo span{
color:#ffd700;
animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px rgba(255,215,0,.4); }
  50% { text-shadow: 0 0 20px rgba(255,215,0,.8); }
}

nav ul{
display:flex;
gap:30px;
list-style:none;
}

nav a{
color:white;
text-decoration:none;
font-weight:500;
transition:.3s;
position: relative;
padding-bottom: 5px;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #ffe082;
  transition: width .3s ease;
}

nav a:hover::after{
width: 100%;
}

nav a:hover{
color:#ffe082;
}

#darkMode{
background:white;
border:none;
padding:12px;
border-radius:50%;
cursor:pointer;
transition:.3s;
box-shadow:0 8px 20px rgba(0,0,0,.15);
animation: popIn .5s ease both;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#darkMode:hover{
transform:translateY(-3px);
box-shadow: 0 12px 24px rgba(0,0,0,.2);
}

.hero{
display:flex;
justify-content:center;
align-items:center;
padding:100px 8%;
gap:80px;
}

.hero-content{
max-width:650px;
animation:fadeUp .9s ease both;
}

.hero-content h3 {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 10px;
  animation: fadeInUp .6s ease .2s both;
}

.hero-content h1{
font-size:65px;
font-weight:800;
animation: fadeInUp .8s ease .4s both;
line-height: 1.2;
}

.hero-content h2{
margin:15px 0;
color:#ffe082;
animation: fadeInUp .8s ease .6s both;
font-size: 24px;
min-height: 35px;
}

.hero-content p{
line-height:1.8;
margin-bottom:30px;
max-width:560px;
animation: fadeInUp .8s ease .8s both;
opacity: 0.9;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badges{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:30px;
animation: fadeInUp .8s ease 1s both;
}

.hero-badges span{
padding:10px 16px;
border-radius:999px;
background:rgba(255,255,255,.16);
border:1px solid rgba(255,255,255,.24);
backdrop-filter:blur(10px);
font-size:14px;
transition: all .3s ease;
}

.hero-badges span:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.buttons{
display:flex;
flex-wrap:wrap;
gap:12px;
}

.btn,
.btn2,
.banner-btn{
transition:transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.btn:hover,
.btn2:hover,
.banner-btn:hover{
transform:translateY(-4px);
box-shadow:0 18px 40px rgba(0,0,0,.2);
}

.hero-image img{
width:380px;
height:380px;
object-fit:cover;
border-radius:50%;
border:8px solid white;
box-shadow:0 20px 60px rgba(0,0,0,.3);
animation: slideInRight .9s ease both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image{
position:relative;
animation:float 5s ease-in-out infinite;
filter: drop-shadow(0 0 30px rgba(255,215,0,.2));
}

.profile-frame{
width:380px;
height:380px;
border-radius:50%;
border:3px dashed rgba(255,255,255,.75);
background:rgba(255,255,255,.12);
display:grid;
place-items:center;
box-shadow:0 20px 60px rgba(0,0,0,.16);
backdrop-filter:blur(8px);
padding:24px;
}

.profile-placeholder{
width:100%;
height:100%;
border-radius:50%;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:14px;
background:rgba(15,23,42,.18);
text-align:center;
padding:24px;
}

.profile-placeholder i{
font-size:72px;
color:rgba(255,255,255,.92);
}

.profile-placeholder span{
font-size:16px;
font-weight:600;
line-height:1.5;
max-width:180px;
}

.floating-note{
position:absolute;
left:-10px;
bottom:18px;
background:rgba(15,23,42,.88);
padding:16px 18px;
border-radius:18px;
max-width:250px;
box-shadow:0 20px 40px rgba(0,0,0,.24);
backdrop-filter:blur(10px);
}

.floating-note strong{
display:block;
margin-bottom:6px;
}

.floating-note p{
font-size:13px;
line-height:1.5;
margin:0;
}

.btn{
background:white;
padding:15px 30px;
border-radius:50px;
text-decoration:none;
font-weight:600;
color:#4f46e5;
}

.btn2{
background:#ffd700;
padding:15px 30px;
border-radius:50px;
text-decoration:none;
font-weight:600;
color:black;
}

.stats{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
padding:60px 8%;
gap:20px;
}

.stat-card{
background:white;
padding:30px;
border-radius:20px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:transform .3s ease, box-shadow .3s ease;
animation: scaleIn .6s ease both;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-card h2 {
  font-size: 40px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-card:hover,
.highlight-card:hover,
.box:hover,
.card:hover{
transform:translateY(-8px);
box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.title{
text-align:center;
font-size:40px;
margin-bottom:50px;
animation: titleFadeIn .8s ease;
position: relative;
display: inline-block;
width: 100%;
}

.title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section{
padding:80px 8%;
position:relative;
}

#highlights{
padding-top:20px;
}

.glass{
background:rgba(255,255,255,.7);
backdrop-filter:blur(20px);
padding:40px;
border-radius:20px;
border: 1px solid rgba(255,255,255,.3);
animation: glassFadeIn .8s ease;
transition: all .3s ease;
}

@keyframes glassFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(20px);
  }
}

.glass:hover {
  background: rgba(255,255,255,.8);
  box-shadow: 0 15px 35px rgba(0,0,0,.1);
}

.timeline{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.box{
background:white;
padding:30px;
border-radius:20px;
box-shadow:0 10px 20px rgba(0,0,0,.08);
transition:transform .3s ease, box-shadow .3s ease;
position: relative;
overflow: hidden;
animation: slideUp .6s ease both;
}

.box:nth-child(1) { animation-delay: .1s; }
.box:nth-child(2) { animation-delay: .2s; }
.box:nth-child(3) { animation-delay: .3s; }
.box:nth-child(4) { animation-delay: .4s; }

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform .3s ease;
}

.box:hover::before {
  transform: scaleX(1);
}

.box h3 {
  transition: all .3s ease;
}

.box:hover h3 {
  color: var(--primary);
}

.skill{
max-width:800px;
margin:auto;
}

.bar{
height:12px;
background:#e5e7eb;
border-radius:20px;
margin-bottom:25px;
overflow: hidden;
animation: slideUp .8s ease both;
}

.bar span{
display:block;
height:100%;
background:linear-gradient(
90deg,
var(--primary),
var(--secondary)
);
border-radius:20px;
animation: fillBar 1.5s ease forwards;
}

@keyframes fillBar {
  from {
    width: 0 !important;
  }
  to {
    width: var(--width, 100%) !important;
  }
}

.contact{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.card{
background:white;
padding:30px;
text-align:center;
border-radius:20px;
box-shadow:0 10px 20px rgba(0,0,0,.08);
transition:transform .3s ease, box-shadow .3s ease;
position: relative;
overflow: hidden;
animation: popInCard .6s ease both;
cursor: pointer;
}

.card:nth-child(1) { animation-delay: .1s; }
.card:nth-child(2) { animation-delay: .2s; }
.card:nth-child(3) { animation-delay: .3s; }

@keyframes popInCard {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .5s ease;
}

.card:hover::before {
  left: 100%;
}

.card i{
font-size:40px;
margin-bottom:15px;
color:var(--primary);
transition: all .3s ease;
}

.card:hover i {
transform: scale(1.2) rotate(10deg);
color: var(--secondary);
}

.highlight-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:20px;
margin-bottom:24px;
}

.highlight-card{
background:white;
padding:28px;
border-radius:22px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:all .3s ease;
position: relative;
animation: cardReveal .6s ease both;
overflow: hidden;
}

.highlight-card:nth-child(1) { animation-delay: .1s; }
.highlight-card:nth-child(2) { animation-delay: .2s; }
.highlight-card:nth-child(3) { animation-delay: .3s; }

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
  border-radius: 22px;
}

.highlight-card:hover::after {
  opacity: .05;
}

.highlight-card i{
font-size:40px;
color:var(--primary);
margin-bottom:16px;
transition: all .3s ease;
}

.highlight-card:hover i {
transform: translateY(-5px);
font-size: 50px;
}

.highlight-card h3{
margin-bottom:10px;
color: #222;
transition: color .3s ease;
}

.highlight-card:hover h3 {
color: var(--primary);
}

.highlight-card p{
line-height:1.7;
color:#6b7280;
}

.highlight-banner{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
padding:28px 30px;
border-radius:24px;
background:linear-gradient(135deg,#111827,#1f2937 55%,#4f46e5);
color:white;
box-shadow:0 18px 40px rgba(15,23,42,.2);
animation: bannerSlide .8s ease;
position: relative;
overflow: hidden;
}

@keyframes bannerSlide {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.highlight-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  animation: bannerShine 3s ease infinite;
}

@keyframes bannerShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.banner-label{
font-size:13px;
letter-spacing:.12em;
text-transform:uppercase;
opacity:.8;
margin-bottom:8px;
}

.highlight-banner h3{
font-size:26px;
max-width:540px;
}

.banner-btn{
background:#ffd700;
color:#111827;
text-decoration:none;
font-weight:700;
padding:14px 24px;
border-radius:999px;
white-space:nowrap;
position: relative;
z-index: 1;
}

footer{
background:#111827;
color:white;
text-align:center;
padding:30px;
border-top: 1px solid rgba(255,255,255,.1);
animation: fadeIn .8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dark{
background:#0f172a;
color:white;
}

.dark body::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(79,70,229,.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6,182,212,.06), transparent 50%),
    radial-gradient(circle at 40% 10%, rgba(139,92,246,.05), transparent 40%);
}

.dark .stat-card,
.dark .box,
.dark .card,
.dark .glass,
.dark .highlight-card{
background:#1e293b;
color:white;
border: 1px solid rgba(255,255,255,.08);
}

.dark .highlight-card p,
.dark .glass p,
.dark .card p,
.dark .box p,
.dark .box li{
color:#cbd5e1;
}

.dark .highlight-banner{
background:linear-gradient(135deg,#020617,#1e293b 60%,#0f766e);
}

.dark .floating-note{
background:rgba(2,6,23,.9);
}

.dark .title::after {
  background: linear-gradient(90deg, rgba(79,70,229,.6), rgba(6,182,212,.6));
}

.dark nav {
  background: rgba(15,23,42,.8);
  border-bottom-color: rgba(255,255,255,.05);
}

.dark #darkMode {
  background: #1e293b;
  color: #ffd700;
}

.dark footer {
  background: #020617;
  border-top-color: rgba(255,255,255,.05);
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(20px);
}
to{
opacity:1;
transform:translateY(0);
}
}

@keyframes float{
0%,100%{
transform:translateY(0);
}
50%{
transform:translateY(-10px);
}
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp .8s ease forwards;
}

/* Staggered animation for list items */
.reveal.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .6s ease forwards;
}

.reveal.stagger.active > *:nth-child(1) { animation-delay: .1s; }
.reveal.stagger.active > *:nth-child(2) { animation-delay: .2s; }
.reveal.stagger.active > *:nth-child(3) { animation-delay: .3s; }
.reveal.stagger.active > *:nth-child(4) { animation-delay: .4s; }

/* Pulse animation for interactive elements */
@keyframes pulse {
  0%, 100% { 
    opacity: 1;
  }
  50% { 
    opacity: .7;
  }
}

/* Shimmer effect for loading */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Ripple effect for buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

button, .btn, .btn2, .banner-btn {
  position: relative;
  overflow: hidden;
}

/* Button improvements */
.btn, .btn2 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.btn {
  background: white;
  color: #4f46e5;
}

.btn:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
}

.btn2 {
  background: #ffd700;
  color: black;
}

.btn2:hover {
  box-shadow: 0 8px 25px rgba(255,215,0,.3);
}

@media(max-width:768px){

.cursor{
display:none;
}

nav ul {
  gap: 15px;
}

nav a {
  font-size: 14px;
}

.hero{
flex-direction:column-reverse;
text-align:center;
gap: 40px;
}

.hero-content h1{
font-size:45px;
}

.hero-content h2 {
  font-size: 18px;
}

.hero-image img{
width:250px;
height:250px;
}

.profile-frame{
width:250px;
height:250px;
padding:16px;
}

.profile-placeholder i{
font-size:48px;
}

.profile-placeholder span{
font-size:14px;
max-width:160px;
}

.floating-note{
position:static;
margin-top:16px;
max-width:none;
}

.highlight-banner{
flex-direction:column;
align-items:flex-start;
}

.highlight-banner h3 {
  font-size: 20px;
}

.banner-btn {
  width: 100%;
  text-align: center;
}

nav ul{
display:none;
}

.title {
  font-size: 30px;
  margin-bottom: 30px;
}

.title::after {
  width: 60px;
}

section {
  padding: 50px 8%;
}

.hero {
  padding: 60px 8%;
}

.stats {
  padding: 40px 8%;
}

}