@media (max-width: 600px) {
  .skills-modal-content {
    width: 98vw;
    min-width: unset;
    max-width: 100vw;
    margin: 0.5em auto;
    border-radius: 10px;
  }
  .skills-modal-body {
    max-height: 65vh;
    padding-right: 0.2em;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7em;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .skills-modal-content {
    width: 95vw;
    max-width: 95vw;
  }
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
  }
}

@media (min-width: 901px) {
  .skills-modal-content {
    width: 1200px;
    max-width: 90vw;
  }
  .skills-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 1.2em;
  }
}
@media (min-width: 900px) {
  .skills-modal-content {
    width: 700px;
    max-width: 80vw;
  }
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2em;
  }
}
.skill-badge.latest {
  background: #e6f7ff;
  color: #007bff;
  border: 1px solid #b2dafe;
}
/* Modern color palette and accent colors */
:root {
  --primary-bg: #f7f9fc;
  --primary-accent: #6f42c1;
  --primary-accent-dark: #4b2e83;
  --primary-accent-light: #b39ddb;
  --card-bg: #fff;
  --card-shadow: 0 6px 24px rgba(60,72,88,0.10);
  --text-main: #222;
  --text-secondary: #444;
  --text-accent: #6f42c1;
  --btn-bg: linear-gradient(90deg, #6f42c1 60%, #b39ddb 100%);
  --btn-hover-bg: linear-gradient(90deg, #4b2e83 60%, #6f42c1 100%);
}
/* Prevent horizontal overflow globally */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
/* Add Google Fonts Inter to the whole site */
body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-size: 1.08em;
  background: var(--primary-bg);
  color: var(--text-main);
}
header {
  background: rgba(51, 51, 51, 0.85);
  color: #fff;
  padding: 1em;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.logo {
  font-size: 2em;
  font-weight: 700;
}
.logo small {
  font-size: 0.85em;
  font-weight: 400;
}

@media (max-width: 700px) {
  .logo small {
    display: block;
    line-height: 1.3;
    margin-top: 0.2em;
    white-space: pre-line;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.6em;
}
/* Resume Summary Card Layout */
.resume-summary-card {
  background: #f7f9fc;
  border: 1.5px solid #e0e3ea;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.5em 1.2em;
  margin-bottom: 0;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.resume-summary-cards {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 2em;
}
@media (max-width: 900px) {
  .resume-summary-cards {
    flex-direction: column;
    gap: 1em;
    align-items: center;
  }
  .resume-summary-card {
    width: 100%;
    max-width: 100vw;
    margin-bottom: 1em;
  }
}
.resume-summary-card .resume-bullets {
  margin: 0;
  padding-left: 1.2em;
  list-style: none;
}
.resume-summary-card .resume-bullets.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em 2em;
}
@media (max-width: 700px) {
  .resume-summary-card .resume-bullets.grid {
    grid-template-columns: 1fr;
  }
}
.resume-summary-card .resume-bullets .highlight {
  color: var(--text-accent);
  font-weight: 600;
}

.resume-summary-card .resume-bullets li {
  margin-bottom: 0.7em;
  font-size: 1.08em;
  color: #444;
  position: relative;
  padding-left: 1.2em;
  font-family: 'Inter', Arial, sans-serif;
}
.resume-summary-card .resume-bullets li:before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #6f42c1;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1em;
}
/* Skills Modal Styles */
#skills-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.skills-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 400px;
  width: 95vw;
  padding: 1.5em 1.2em;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.skills-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #6f42c1;
  color: #fff;
  padding: 1em 1.2em;
  font-size: 1.1em;
  border-radius: 12px 12px 0 0;
}
.skills-modal-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
}
.skills-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.2em;
}
.skills-modal-body {
  padding: 1em 0.5em 0.5em 0.5em;
}
.skill-bar {
  margin-bottom: 1.2em;
}
.skill-bar span {
  font-weight: 500;
  color: #444;
  margin-bottom: 0.3em;
  display: block;
}
.progress {
  background: #eee;
  border-radius: 8px;
  height: 18px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.progress-fill {
  background: linear-gradient(90deg, #6f42c1 60%, #b39ddb 100%);
  height: 100%;
  border-radius: 8px;
  transition: width 0.7s cubic-bezier(.4,2,.3,1);
}
/* style.css */
body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  font-size: 1.08em;
}
header {
  background: rgba(51, 51, 51, 0.85);
  color: #fff;
  padding: 1em;
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.logo {
  font-size: 2em;
  font-weight: 700;
}
.logo small {
  font-size: 0.85em;
  font-weight: 400;
}
.custom-lang-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  color: white;
  min-width: 140px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 100;
}
.dropdown-menu.hidden {
  display: none;
}
.dropdown-item {
  padding: 0.5em 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.dropdown-item:hover {
  background: #444;
}
.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  transition: max-height 0.3s ease;
}
nav ul li {
  display: inline;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
}

nav a, .lang-select button {
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
section {
  padding: 2em;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  background: var(--card-bg);
  margin-bottom: 2em;
}
section:nth-of-type(even) {
  background: #f7f9fc;
}

.resume-summary {
  margin-bottom: 1.5em;
  font-size: 1.12em;
  color: #444;
  background: #f9f9f9;
  padding: 1.2em;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.resume-actions {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}
.resume-actions a,
.resume-actions .resume-chat-btn,
.resume-actions .resume-skills-btn,
.resume-actions .resume-download-btn {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 100%;
  font-size: 1.08em;
  box-sizing: border-box;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}
@media (max-width: 700px) {
  .resume-actions {
    flex-direction: column;
    gap: 0.7em;
  }
  .resume-actions a,
  .resume-actions .resume-chat-btn,
  .resume-actions .resume-skills-btn,
  .resume-actions .resume-download-btn {
    min-width: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0.7em 1em;
    font-size: 1em;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(60,72,88,0.08);
  }
}
.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--btn-bg);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 1.2em;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  min-width: 180px;
  justify-content: center;
}

.resume-skills-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--btn-bg);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 1.2em;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  min-width: 180px;
  justify-content: center;
}
.resume-skills-btn:hover {
  background: var(--btn-hover-bg);
  box-shadow: 0 4px 16px rgba(60,72,88,0.16);
}
.resume-skills-btn i {
  font-size: 1.2em;
}

.resume-download-btn:hover {
  background: var(--btn-hover-bg);
  box-shadow: 0 4px 16px rgba(60,72,88,0.16);
}
.resume-download-btn i {
  font-size: 1.2em;
}

/* Make 'chat with resume' button look like 'what I know' button */
.resume-chat-btn {
  background: var(--btn-bg);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 1.2em;
  font-size: 1.08em;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(60,72,88,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  min-width: 180px;
  justify-content: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.resume-chat-btn:hover {
  background: var(--btn-hover-bg);
  box-shadow: 0 4px 16px rgba(60,72,88,0.16);
  transform: none;
}
.resume-chat-btn i {
  font-size: 1.2em;
}


.card-container {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}
.card {
  background: #f5f5f5;
  padding: 1em;
  flex: 1 1 30%;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
.skills span {
  background: #eee;
  margin: 0.3em;
  padding: 0.4em 0.8em;
  display: inline-block;
  border-radius: 4px;
}
form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}
form input, form textarea {
  margin-bottom: 1em;
  padding: 0.8em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
form button {
  padding: 0.8em;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 1em;
}
.socials a {
  color: white;
  margin: 0 0.5em;
  font-size: 1.2em;
}
#chatbot {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  pointer-events: auto;
}
.hidden {
  display: none !important;
  pointer-events: none !important;
  pointer-events: none !important;
}
.chatbot-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 480px;
  width: 95vw;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 480px;
  width: 95vw;
  max-height: 90vh;
  display: none;
  flex-direction: column;
  overflow: hidden;
  background: #6f42c1;
  color: #fff;
  padding: 1em 1.2em;
  font-size: 1.1em;
}
.chatbot-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
}
.chatbot-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2em;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.2em;
}
.chatbot-body {
  position: relative;
  flex: 1;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 0 0 16px 16px;
  background: #fff;
}
.chatbot-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 5px solid #eee;
  border-top: 5px solid #6f42c1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* My Software Tools Section */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}
.tool-card {
  background: #fff;
  border: 1.5px solid #e3e6ee;
  border-radius: 18px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 24px rgba(60,72,88,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  text-align: center;
}
.tool-card:hover {
  box-shadow: 0 12px 32px rgba(60,72,88,0.18);
  transform: translateY(-4px) scale(1.03);
  border-color: #b3b8c5;
}
.tool-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-accent);
  font-family: 'Inter', Arial, sans-serif;
}
.tool-desc {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #444;
  font-family: 'Inter', Arial, sans-serif;
}
.tool-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 0.5rem;
}
.github-link {
  color: #24292e;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  background: #f6f8fa;
  border-radius: 5px;
  padding: 0.4em 1em;
  transition: background 0.2s;
}
.github-link i {
  margin-right: 0.4em;
}
.github-link:hover {
  background: #e3e6ee;
}
.demo-btn {
  background: var(--btn-bg);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5em 1.2em;
  font-size: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(60,72,88,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.demo-btn i {
  margin-right: 0.4em;
}
.demo-btn:hover {
  background: var(--btn-hover-bg);
  box-shadow: 0 4px 16px rgba(60,72,88,0.16);
}

/* Hobby Section Improvements */
.hobby-desc {
  font-size: 1.08em;
  color: #555;
  margin-bottom: 1em;
  margin-top: -0.5em;
  font-family: 'Inter', Arial, sans-serif;
}
h2.resume-timeline-title {
  text-align: center;
  font-size: 1.3em;
  color: var(--primary-accent);
  margin-bottom: 1.2em;
}

.resume-timeline {
  display: flex;
  gap: 2em;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 2em;
  position: relative;
  padding: 1.5em 0 2em 0;
}
.resume-timeline::before {
  content: "";
  position: absolute;
  top: 2.5em;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-accent-light);
  z-index: 0;
}
.resume-timeline-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 1.2em 1em;
  min-width: 180px;
  max-width: 220px;
  position: relative;
  z-index: 1;
  text-align: center;
  border: 1.5px solid #e0e3ea;
}
.resume-timeline-dot {
  width: 18px;
  height: 18px;
  background: var(--primary-accent);
  border-radius: 50%;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.resume-timeline-item-title {
  font-weight: 600;
  color: var(--primary-accent);
  margin-bottom: 0.5em;
  font-size: 1.08em;
}
.resume-timeline-item-desc {
  color: #444;
  font-size: 1em;
  margin-bottom: 0.3em;
}
@media (max-width: 900px) {
  .resume-timeline {
    flex-direction: column;
    gap: 2.5em;
    align-items: center;
    padding: 1em 0 2em 0;
  }
  .resume-timeline::before {
    top: 2.5em;
    left: 50%;
    width: 4px;
    height: calc(100% - 2em);
    right: auto;
    background: var(--primary-accent-light);
  }
  .resume-timeline-item {
    min-width: 220px;
    max-width: 95vw;
    margin-bottom: 0.5em;
  }
  .resume-timeline-dot {
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
  }
}
.hobby-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1em;
  margin-bottom: 2em;
}
.hobby-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.hobby-img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox-modal.hidden {
  display: none;
}
.lightbox-modal img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.lightbox-close {
  position: absolute;
  top: 2em;
  right: 2em;
  color: #fff;
  font-size: 2.5em;
  cursor: pointer;
  z-index: 2100;
  font-weight: bold;
  text-shadow: 0 2px 8px #000;
}
.contact-socials {
  display: flex;
  gap: 1.2em;
  margin-top: 1em;
  justify-content: center;
}
.contact-icon {
  color: var(--text-secondary);
  font-size: 2em;
  transition: color 0.2s;
  text-decoration: none;
}
.contact-icon:hover {
  color: var(--primary-accent);
}
.contact-desc {
  text-align: center;
  font-size: 1.12em;
  color: #555;
  margin-bottom: 0.5em;
  font-family: 'Inter', Arial, sans-serif;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  max-width: 400px;
  margin: 2em auto 0 auto;
  background: #f7f9fc;
  padding: 1.5em 1em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.contact-form input,
.contact-form textarea {
  font-size: 1.08em;
  font-family: 'Inter', Arial, sans-serif;
  padding: 0.7em;
  border: 1px solid #e0e3ea;
  border-radius: 6px;
  background: #fff;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6f42c1;
}
.contact-submit-btn {
  background: var(--primary-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8em 1.2em;
  font-size: 1.08em;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60,72,88,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.contact-submit-btn:hover {
  background: var(--primary-accent-dark);
  box-shadow: 0 4px 16px rgba(60,72,88,0.16);
}
@media (max-width: 900px) {
  nav ul {
    flex-direction: column;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100vw;
    background: #333;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 999;
    transition: max-height 0.3s ease;
  }
  nav ul.open {
    max-height: 500px;
    padding-bottom: 1em;
  }
  .menu-toggle {
    display: block;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    z-index: auto;
  }
  nav ul li {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0.7em 1.2em;
  }
  .custom-lang-dropdown {
    width: 100%;
    margin-top: 0;
  }
  .dropdown-toggle {
    width: auto;
    justify-content: flex-start;
    background: none;
    color: #fff;
    border-radius: 4px;
    padding: 0.7em 1em;
    font-size: 1em;
    border: none;
    text-align: left;
  }
  .dropdown-menu {
    position: absolute;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border-radius: 4px;
    background: #333;
    color: white;
    padding: 0;
    width: auto;
    margin-top: 0.2em;
  }
  .dropdown-item {
    background: #333;
    border-bottom: 1px solid #444;
    padding: 0.7em 1em;
    width: 100%;
    text-align: left;
  }
  .dropdown-item:hover {
    background: #444;
  }
}

.resume-chat-btn,
.resume-skills-btn,
.resume-download-btn,
.demo-btn {
  background: var(--primary-accent); /* solid color */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8em 1.2em;
  font-size: 1.08em;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(60,72,88,0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  min-width: 180px;
  justify-content: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
}
.resume-chat-btn:hover,
.resume-skills-btn:hover,
.resume-download-btn:hover,
.demo-btn:hover {
  background: var(--primary-accent-dark); /* darker solid color */
  box-shadow: 0 4px 16px rgba(60,72,88,0.18);
  transform: translateY(-2px) scale(1.04);
}
.resume-chat-btn:active,
.resume-skills-btn:active,
.resume-download-btn:active,
.demo-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(60,72,88,0.10);
}

/* Skills Modal Grid and Cards */
.skills-modal-content {
  max-width: 95vw;
  width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(60,72,88,0.18);
  margin: 2em auto;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.skills-modal-body {
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.5em;
}
@media (max-width: 600px) {
  .skills-modal-content {
    width: 98vw;
    min-width: unset;
    max-width: 100vw;
    margin: 0.5em auto;
    border-radius: 10px;
  }
  .skills-modal-body {
    max-height: 65vh;
    padding-right: 0.2em;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7em;
  }
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.skill-card {
  background: #f8f6fc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(111,66,193,0.07);
  padding: 1em 0.5em 0.7em 0.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.skill-card:hover {
  box-shadow: 0 4px 16px rgba(111,66,193,0.13);
  transform: translateY(-2px) scale(1.03);
}
.skill-icon {
  font-size: 2.2em;
  margin-bottom: 0.4em;
}
.skill-name {
  font-weight: 500;
  font-size: 1.08em;
  margin-bottom: 0.3em;
  color: #333;
}
.skill-badge {
  display: inline-block;
  padding: 0.22em 0.7em;
  border-radius: 16px;
  font-size: 0.95em;
  font-weight: 500;
  margin-top: 0.2em;
  letter-spacing: 0.02em;
}
.skill-badge.expert {
  background: #e6e6fa;
  color: #6f42c1;
  border: 1px solid #c1b2e6;
}
.skill-badge.intermediate {
  background: #eaf7fa;
  color: #1ca7b6;
  border: 1px solid #b2e6e6;
}
.skill-badge.beginner {
  background: #fbeee6;
  color: #e67e22;
  border: 1px solid #e6c1b2;
}
