@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #f1f5f9;
            overflow-x: hidden;
        }
        
        .hero-bg {
            background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230f172a"/><path d="M0 0L100 100M100 0L0 100" stroke="%231e293b" stroke-width="0.5"/></svg>');
            background-size: cover;
        }
        
        .skill-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
        }
        
        .timeline-item {
            position: relative;
            padding-left: 30px;
        }
        
        .timeline-item:before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #3b82f6;
            border: 3px solid #0f172a;
        }
        
        .timeline-item:after {
            content: '';
            position: absolute;
            left: 5px;
            top: 22px;
            width: 2px;
            height: calc(100% + 20px);
            background: #3b82f6;
        }
        
        .timeline-item:last-child:after {
            display: none;
        }
        
        .contact-card {
            transition: all 0.3s ease;
        }
        
        .contact-card:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.3);
        }
        
        .animate-fade-in {
            animation: fadeIn 1s ease-in;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .section-title {
            position: relative;
            display: inline-block;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            border-radius: 2px;
        }

/* Avatar: remove 1px seam and ensure perfect circle */
.avatar-img{
  display:block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
  border-radius: 9999px;
  object-fit: cover;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Glossy/reflet effect for role text */
.gloss {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.0) 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}



/* Improved gloss fallback: gradient + subtle text-shadow to ensure visible on dark backgrounds */
.gloss {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 30%, rgba(255,255,255,0.15) 60%, rgba(255,255,255,0.0) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35), 0 -1px 6px rgba(255,255,255,0.05);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* Shine effect for headings / role */
.shine{
  position: relative;
  color: #cbd5e1; /* fallback */
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.45) 45%, rgba(255,255,255,0.08) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-move 5s linear infinite;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(255,255,255,0.02);
}
@keyframes shine-move{
  0%{ background-position: 200% 0; }
  50%{ background-position: 0% 0; }
  100%{ background-position: -200% 0; }
}

/* Small pulsing glow variant for hover */
.shine.glow-on-hover:hover{
  text-shadow: 0 6px 18px rgba(99,102,241,0.14), 0 2px 6px rgba(99,102,241,0.08);
  transition: text-shadow .25s ease;
}

/* Reveal on scroll */
.reveal-on-scroll{
  opacity: 0;
  transform: translateY(12px) scale(0.995);
  transition: opacity 600ms cubic-bezier(.2,.9,.2,1), transform 600ms cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}
.reveal-on-scroll.in-view{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Button click pulse */
.btn-pulse-click{
  position: relative;
  overflow: visible;
}
.btn-pulse-click::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: rgba(59,130,246,0.25);
  border-radius: 9999px;
  transform: translate(-50%,-50%) scale(1);
  opacity: 0;
  transition: transform .6s ease-out, opacity .6s ease-out;
  pointer-events: none;
}
.btn-pulse-click.pulse::after{
  transform: translate(-50%,-50%) scale(40);
  opacity: 0.0;
  transition: transform .6s ease-out, opacity .8s ease-out;
}

/* small helper: enable smooth scroll if browser respects CSS */
html{ scroll-behavior: smooth; }


/* Mobile menu improvements */
#mobile-menu { 
  box-shadow: 0 10px 30px rgba(2,6,23,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#mobile-menu a { 
  color: #d1d5db; 
  display: block;
}
#mobile-menu button#mobile-menu-close {
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 6px;
}
/* Ensure btn-pulse-click links inside mobile menu look consistent */
#mobile-menu .btn-pulse-click {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
/* Prevent body scroll when menu open (class toggled via JS) */
body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}
