/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Color palette — dark mode + purple/violet */
:root {
  --bg-dark: #7a718c;
  --bg-card: #c0b1d6;
  --text-main: #fdf6ff;
  --text-muted: #d9c7f0;
  --accent: #151317;
  --accent-light: #ae1160;
  --accent-dark: #7b2cbf;
  --text-main: #584881;
--text-muted: #161516;
}
body {
  background:
    linear-gradient(135deg, rgba(246,217,255,0.75), rgba(199,125,255,0.7), rgba(123,44,191,0.75)),
    url("https://img.freepik.com/premium-photo/3d-cute-icon-software-developer-coding-blockchain-modern-tech-office-isometric-scene_980716-152869.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  min-height: 100vh;
}
h1, h2, h3 {
  font-weight: 700;
}

section {
  padding: 80px 10%;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(15, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
}

#navbar .logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-light);
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #2d1b4e;
  font-weight: 700;
  text-decoration: none;
  border-radius: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 15px rgba(199, 125, 255, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 158, 207, 0.6);
}

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.highlight {
  color: var(--accent-light);
}

#typing-text {
  font-size: 1.3rem;
  color: var(--text-muted);
  min-height: 1.6em;
}

.timeline-item h3 {
  color: #000000;
}

.timeline-item .date {
  color: #333333;
}

.timeline-item p {
  color: #000000;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: #fdf6ff;
  border-radius: 16px;
  padding: 25px;
  border: 1px solid var(--accent);
}

.project-card h3 {
  color: #000000;
  margin-bottom: 10px;
}

.project-card p {
  color: #333333;
  margin-bottom: 15px;
}

.tag {
  display: inline-block;
  background: var(--accent-light);
  color: #2d1b4e;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-right: 6px;
  margin-bottom: 6px;
}

#contact {
  text-align: center;
}

#contact h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

#contact p {
  color: #000000;
  margin-bottom: 30px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-links a {
  background: #fdf6ff;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  border: 1px solid var(--accent);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-links a:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
}