{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #0f0f0f;
  color: #eee;
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.3s;
}

nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  gap: 2rem;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  z-index: 1000;
  animation: fadeSlideDown 1s ease;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: #00bcd4;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 1rem 4rem;
  background: linear-gradient(to bottom right, #111 40%, #222 100%);
  color: #fff;
  animation: fadeIn 1.2s ease;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid #00bcd4;
  box-shadow: 0 4px 20px rgba(0,188,212,0.3);
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.profile-pic:hover {
  transform: rotate(3deg) scale(1.05);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
}

.tagline {
  font-style: italic;
  color: #aaa;
  font-size: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(to right, #00bcd4, #00acc1);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 188, 212, 0.6);
}

/* Sections */
main {
  max-width: 900px;
  margin: auto;
  padding: 4rem 1.5rem;
}

section {
  margin-bottom: 4rem;
  animation: fadeSlideUp 1s ease;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #00bcd4;
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.6rem;
}

/* Contact Hover FX */
.contact a {
  color: #00e0ff;
  position: relative;
}

.contact a::after {
  content: " ➜";
  position: absolute;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.contact a:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: #777;
  background: #111;
}

/* 🔮 Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✨ Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #00bcd4;
  border-radius: 10px;
}

/* Section Fade-ins */
section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.3s;
}

section:nth-of-type(2) {
  animation-delay: 0.6s;
}

section:nth-of-type(3) {
  animation-delay: 0.9s;
}

section:nth-of-type(4) {
  animation-delay: 1.2s;
}

section:nth-of-type(5) {
  animation-delay: 1.5s;
}
