:root {
  --bg: #0b0d10;
  --card: #12161c;
  --text: #e9eef5;
  --muted: #a8b3c2;
  --border: rgba(255,255,255,0.08);
  --accent: #7dd3fc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 18px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
}

.links a {
  margin-left: 12px;
  color: var(--muted);
}
.links a.active { color: var(--text); }

.hero { padding: 60px 0 40px; text-align: center; }
.hero-content { max-width: 800px; margin: 0 auto; }
h1 { 
  font-size: 2.5rem; 
  margin: 0 0 12px; 
  font-weight: 700;
}
h1 .highlight {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tagline {
  font-size: 1.4rem;
  color: var(--muted);
  font-weight: 500;
  margin: 8px 0;
}
h2 { font-size: 1.5rem; margin: 0 0 8px; }
h3 { font-size: 1.1rem; margin: 0 0 12px; color: var(--text); }
.subtitle { 
  color: var(--muted); 
  margin: 14px 0 24px; 
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}

.about-section {
  margin: 30px 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.about-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  margin-top: 24px;
  justify-content: center;
}
.button {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: var(--text);
}
.button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .links a { margin-left: 10px; }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.3);
}

.card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.card li {
  margin: 8px 0;
  color: var(--muted);
}

.meta { color: var(--muted); margin-top: 6px; }
.links-row a { margin-right: 14px; }

.footer {
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 50px;
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.pdf embed {
  width: 100%;
  height: 900px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

/* Projects Page Styles */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.4);
}

.project-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text);
}

.project-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0;
}

/* Resume Page Styles */
.resume-section {
  margin: 40px 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.resume-heading {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  padding-bottom: 10px;
}

.resume-item {
  margin-bottom: 24px;
}

.resume-item:last-child {
  margin-bottom: 0;
}

.resume-item h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--text);
}

.resume-item ul {
  margin: 12px 0;
  padding-left: 24px;
  list-style-type: disc;
}

.resume-item li {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.6;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-category h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.skill-category ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.skill-category li {
  padding: 6px 0;
  color: var(--muted);
}

.contact-info {
  margin-top: 12px;
}

.contact-info p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-info strong {
  color: var(--text);
  margin-right: 8px;
}
