* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}


/* HEADER NOTE */
.header-note {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #38bdf8;
  border: 1px solid #38bdf8;
  border-radius: 20px;
  background: rgba(56,189,248,0.08);
  animation: fadeNote 1.2s ease;
}

@keyframes fadeNote {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #020617;
  color: #e5e7eb;
}

/* HERO */
.hero {
  height: 100vh;
  background: radial-gradient(circle at top, #0f172a, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.85;
}

.hero-buttons {
  margin-top: 30px;
}

/* BUTTONS */
.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  margin: 8px;
  display: inline-block;
}

.btn.primary {
  background: #38bdf8;
  color: #020617;
}

.btn.outline {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn.outline:hover {
  background: #38bdf8;
  color: #020617;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 14px;
  z-index: 100;
}

.navbar a {
  color: #cbd5f5;
  margin: 0 14px;
  text-decoration: none;
}

.navbar a:hover {
  color: #38bdf8;
}

/* SECTIONS */
section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
}

.alt {
  background: #020617;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.center {
  max-width: 800px;
  margin: auto;
  text-align: center;
  line-height: 1.7;
}

/* GRID & CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card, .project-card {
  background: #020617;
  border: 1px solid #1e293b;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, border 0.3s ease;
}

.card:hover, .project-card:hover {
  transform: translateY(-8px);
  border-color: #38bdf8;
}

/* PUBLICATIONS */
.pub-list {
  max-width: 800px;
  margin: auto;
  line-height: 1.9;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
  border-top: 1px solid #1e293b;
}
/* PROFILE PHOTO */
.profile-wrapper {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  animation: floatIn 1.2s ease forwards;
}

.profile-pic {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #020617;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-wrapper:hover .profile-pic {
  transform: scale(1.06);
  box-shadow: 0 0 35px rgba(56,189,248,0.6);
}

/* ENTRY ANIMATION */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.profile-wrapper {
  animation: floatIn 1.2s ease forwards, pulse 3s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56,189,248,0.4); }
  70% { box-shadow: 0 0 0 18px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}
