* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5e7eb;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #020617;
  padding: 15px 0;
  z-index: 1000;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 20px;
  font-weight: bold;
}

.nav-links a {
  margin-left: 20px;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: #a5b4fc;
}

/* Hero */
.hero {
  min-height: calc(100vh - 70px);
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  font-size: 18px;
  opacity: 0.85;
}

/* Sections */
.section {
  padding: 80px 60px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Profiles */
.profile-links a {
  display: inline-block;
  margin-right: 20px;
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 600;
}

.profile-links a:hover {
  text-decoration: underline;
}

/* Kaggle */
.kaggle-link {
  color: #38bdf8;
}

.kaggle-card {
  background: #020617;
  padding: 24px;
  border-radius: 14px;
  margin-top: 40px;
}

.kaggle-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.kaggle-card p {
  font-size: 15px;
  opacity: 0.9;
}

.kaggle-actions a {
  display: inline-block;
  margin-top: 12px;
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.kaggle-actions a:hover {
  text-decoration: underline;
}

/* GitHub Contributions */
.contribution-wrapper {
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
}

.contribution-wrapper img {
  min-width: 720px;
}

/* Projects */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.project-card {
  background: #020617;
  padding: 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.project-card h3 {
  margin: 0;
  font-size: 20px;
}

.desc {
  font-size: 14px;
  opacity: 0.85;
}

.meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  opacity: 0.9;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #1e293b;
  color: #a5b4fc;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.links a {
  margin-right: 16px;
  color: #a5b4fc;
  font-weight: 600;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}
