:root {
  --bg: #0d1117;
  --fg: #c9d1d9;
  --accent: #58a6ff;
  --card: #161b22;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

header {
  background: var(--card);
  padding: 1rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

nav h1 {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0;
}

.avatar-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--fg);
}

.hero {
  padding: 2rem;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

section {
  padding: 2rem;
}

.projects ul {
  padding-left: 1rem;
}

a {
  color: var(--accent);
}

footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #222;
  margin-top: 2rem;
}

.main-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.left-column, .right-column {
  flex: 1 1 45%;
  min-width: 300px;
}

.hero {
  padding: 2rem;
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-avatar {
  width: 160px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(88, 166, 255, 0.3);
}

.resume-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.resume-btn:hover {
  background: #4091e2;
}
.resume {
  text-align: center;
  margin-top: 2rem;
}

.youtube {
  text-align: center;
  margin-top: 2rem;
}
.youtube-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.youtube-link:hover {
  text-decoration: underline;
}

.geo-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.geo-modal-content {
  background: #1e3a8a;
  color: #fff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.geo-modal-cta {
  display: inline-block;
  margin-top: 1rem;
  background: #facc15;
  color: #1e3a8a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.geo-close {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.blog-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.blog-post h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.back-link {
  margin-top: 2rem;
  display: inline-block;
  color: var(--accent);
}

.geo-modal-content {
  background: #1e3a8a;
  color: #fff;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.geo-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.geo-modal-cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: #facc15;
  color: #1e3a8a;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.geo-modal-cta:hover {
  background: #fde68a;
}

