:root {
  --bg: #0b1220;
  --bg-elev: #10192e;
  --text: #f1f5f9;
  --muted: #cbd5e1;
  --accent: #0ea5e9;
  --accent-2: #22d3ee;
  --card: #1e293b;
  --border: #334155;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.4);
}

/* Light theme overrides */
.theme-light {
  --bg: #f8fafc;
  --bg-elev: #ffffff;
  --text: #0f172a;
  --muted: #334155;
  --accent: #0284c7;
  --accent-2: #06b6d4;
  --card: #ffffff;
  --border: #cbd5e1;
  --shadow: 0 10px 20px rgba(2, 6, 23, 0.08);
}

/* Dark theme contrast improvements */
.nav-link.active, 
.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.terminal {
  background: rgba(2, 6, 23, 0.7);
}

.btn-outline:hover {
  background: rgba(14, 165, 233, 0.12);
}

/* Light theme specific adjustments */
.theme-light .site-header {
  background: rgba(248, 250, 252, 0.9);
  border-bottom-color: #cbd5e1;
}

.theme-light .nav-link.active,
.theme-light .nav-link:hover {
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent);
}

.theme-light .terminal {
  background: rgba(241, 245, 249, 0.8);
  border-color: #cbd5e1;
  color: #475569;
}

.theme-light .chip {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

.theme-light .btn-outline {
  border-color: #cbd5e1;
  color: var(--text);
}

.theme-light .btn-outline:hover {
  border-color: var(--accent);
  background: rgba(2, 132, 199, 0.05);
}

.theme-light .contact-item {
  border-color: #cbd5e1;
}

.theme-light .contact-link {
  color: var(--text);
}

.theme-light .contact-link:hover {
  color: var(--accent);
}

.theme-light .chat-window {
  border-color: #cbd5e1;
}

.theme-light .bot-message .message-content {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--text);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tech background layers */
body::before, body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
}
/* animated grid */
body::before {
  background-image:
    linear-gradient(
      rgba(255,255,255,0.06) 1px, transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.06) 1px, transparent 1px
    );
  background-size: 40px 40px, 40px 40px;
  transform: translateZ(0);
  animation: gridPan 20s linear infinite;
  opacity: 0.25;
}
/* radial glow */
body::after {
  background: radial-gradient(600px 300px at 20% -10%, rgba(34,211,238,0.18), transparent 60%),
              radial-gradient(500px 260px at 90% 10%, rgba(14,165,233,0.18), transparent 60%);
  z-index: -1;
}

@keyframes gridPan {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section { padding: 80px 0; }
.section.alt { background: var(--bg-elev); }
.section-title { font-size: 32px; margin: 0 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border: none; }
.btn-outline { background: transparent; }
.btn-sm { padding: 8px 12px; border-radius: 8px; }

.accent { color: var(--accent-2); }
.lead { color: var(--muted); font-size: 18px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo { font-weight: 700; font-size: 20px; }
.logo span { color: var(--accent-2); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .2s ease; }

.nav-menu { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.nav-link { padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.nav-link.active, .nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.theme-toggle { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; cursor: pointer; }

/* Hero */
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .actions { display: flex; gap: 12px; margin-top: 18px; }
.avatar { border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Terminal-styled subtitle */
.terminal {
  background: rgba(2,6,23,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.terminal .dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; margin-right: 6px; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.caret { display: inline-block; width: 8px; height: 18px; background: var(--accent-2); margin-left: 4px; animation: blink 1s steps(2, start) infinite; vertical-align: -3px; }
@keyframes blink { 50% { opacity: 0; } }

/* Skills */
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chip { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--muted); }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 16px; }
.card-body h3 { margin: 0 0 6px; }
.card-body p { color: var(--muted); margin: 0 0 12px; }
.card-actions { display: flex; gap: 10px; }

/* Education */
.edu-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.edu-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.edu-item h3 { margin: 0 0 4px; }
.edu-meta { color: var(--muted); font-size: 14px; margin-bottom: 6px; }

/* Contact */
.contact-form { max-width: 640px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row input, .form-row textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg);
  color: var(--text);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.error { color: #f43f5e; font-size: 13px; min-height: 16px; }
.form-note { color: var(--muted); font-size: 14px; margin-left: 10px; }
.form-actions { display: flex; align-items: center; gap: 10px; }

/* Embedded form */
.form-embed iframe { width: 100%; border: 0; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); }

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--accent-2);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-link {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: var(--bg-elev); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.back-to-top { color: var(--muted); }
.back-to-top:hover { color: var(--text); }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Notice */
.notice {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  box-shadow: var(--shadow);
}

/* AI Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.5);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  height: 500px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.chat-window.open {
  display: flex;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-icon {
  font-size: 24px;
}

.chat-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.chat-status {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.chat-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

.message {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-message {
  justify-content: flex-end;
}

.message-content {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  word-wrap: break-word;
}

.user-message .message-content {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border-bottom-right-radius: 4px;
}

.bot-message .message-content {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.message-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.chat-input-container {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(14, 165, 233, 0.2);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.chat-send:hover {
  transform: scale(1.05);
}

.chat-send:active {
  transform: scale(0.95);
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}


/* Responsive */
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; right: 16px; top: 64px; flex-direction: column; background: var(--bg-elev);
    border: 1px solid var(--border); border-radius: 12px; padding: 10px; gap: 6px; display: none;
  }
  .nav-menu.open { display: flex; }
  .projects-grid { grid-template-columns: 1fr; }
  
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }
  
  .chat-window {
    width: calc(100vw - 32px);
    height: calc(100vh - 100px);
    max-height: 600px;
    bottom: 70px;
    right: 0;
  }
  
  .resume-maker-container {
    grid-template-columns: 1fr;
  }
  
  .resume-preview-panel {
    position: relative;
    top: 0;
    max-height: none;
  }
  
  .resume-form-panel {
    max-height: none;
  }
}

/* Resume Maker Styles */
.resume-maker-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.resume-form-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  max-height: 80vh;
  overflow-y: auto;
}

.resume-form-panel::-webkit-scrollbar {
  width: 6px;
}

.resume-form-panel::-webkit-scrollbar-track {
  background: transparent;
}

.resume-form-panel::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.resume-form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.resume-tab {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-family: inherit;
}

.resume-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.resume-tab.active {
  color: var(--accent-2);
  background: rgba(14, 165, 233, 0.1);
}

.resume-tab-panel {
  display: none;
}

.resume-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.resume-tab-panel h3 {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--text);
}

.resume-tab-panel .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.resume-tab-panel .form-row label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.resume-tab-panel .form-row input,
.resume-tab-panel .form-row textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.resume-tab-panel .form-row input:focus,
.resume-tab-panel .form-row textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(14, 165, 233, 0.2);
  background: var(--bg-elev);
}

.resume-input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.resume-input:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(14, 165, 233, 0.2);
  background: var(--bg-elev);
}

.resume-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.resume-section-header h3 {
  margin: 0;
}

.resume-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  position: relative;
}

.resume-item input,
.resume-item textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.resume-item input:focus,
.resume-item textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(14, 165, 233, 0.2);
  background: var(--card);
}

.resume-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.resume-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s ease;
}

.resume-item-remove:hover {
  background: rgba(239, 68, 68, 0.1);
}

.resume-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.resume-form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#download-resume-pdf {
  position: relative;
}

#download-resume-pdf:disabled {
  cursor: wait;
  opacity: 0.7;
}

#download-resume-pdf svg {
  flex-shrink: 0;
}

.resume-preview-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.resume-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.resume-preview-header h3 {
  margin: 0;
  font-size: 20px;
}

.resume-preview-container {
  flex: 1;
  overflow-y: auto;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  padding-bottom: 40px;
  background: #e5e7eb;
  border-radius: 8px;
}

.theme-light .resume-preview-container {
  background: #f5f5f5;
}

.resume-preview-container::-webkit-scrollbar {
  width: 6px;
}

.resume-preview-container::-webkit-scrollbar-track {
  background: transparent;
}

.resume-preview-container::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.resume-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 400px;
  color: var(--muted);
  text-align: center;
  padding: 40px;
  margin: auto;
}

/* Resume Document Styles - A4 Format */
.resume-document {
  background: white;
  color: #1f2937;
  padding: 40px;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.resume-header {
  border-bottom: 3px solid #0ea5e9;
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.resume-header h1 {
  margin: 0 0 8px;
  font-size: 32px;
  color: #0f172a;
  font-weight: 700;
}

.resume-header .resume-title {
  color: #0ea5e9;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 12px;
}

.resume-header .resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #475569;
}

.resume-header .resume-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.resume-section {
  margin-bottom: 24px;
}

.resume-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #0ea5e9;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.resume-summary {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.resume-experience-item,
.resume-education-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.resume-experience-item:last-child,
.resume-education-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.resume-item-header-preview {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.resume-item-header-preview h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.resume-item-meta {
  color: #0ea5e9;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 8px;
}

.resume-item-description {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.resume-item-description ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.resume-item-description li {
  margin-bottom: 4px;
}

.resume-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.resume-skills-list li {
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #0f172a;
}

.resume-languages {
  color: #475569;
  font-size: 14px;
}


