body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: #fdfdfd;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 700;
  color: #222;
}

#sideNav .nav-link.active {
  background-color: #ffffff20; /* semi-transparent white */
  color: #ffffff !important;
  font-weight: bold;
  border-left: 4px solid #ffffff;
  padding-left: 16px;
  border-radius: 5px;
}

.resume-section {
  min-height: 100vh;
  scroll-margin-top: 70px; /* for browsers that respect scroll margin */
}

.resume-item {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #ccc;
}

a.cert-link:hover, a.btn-outline-primary:hover {
  color: #ffffff !important;
  background-color: #bd5d38 !important;
  border-color: #bd5d38 !important;
}

.black-link {
  color: black;
  text-decoration: none;
}

.black-link:hover {
  color: #333;
}


.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

#visitor-count {
  font-size: 0.9rem;
  color: #ecf0f1;
  background: rgba(0,0,0,0.3);
  padding: 6px 10px;
  border-radius: 10px;
  margin-top: 10px;
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  } to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  #sideNav {
    padding: 1rem;
  }

  .resume-section {
    padding: 20px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-date {
  margin-left: auto;
  margin-right: 150px; /* adjust this value to move left/right */
}

.edu-date {
  margin-left: auto;
  margin-right: 150px; /* adjust this value to move left/right */
}

.cert-title {
  color: black;
}

#visitor-count {
  font-weight: bold;
  color: black;
}

#visitor-count-num {
  font-weight: bold;
  color: white;
}

.skill-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 2rem auto;
}

.skill-row {
  display: flex;
  gap: 20px;
}

.skill-row.second {
  margin-left: 60px; /* Offset to center between first and second items of top row */
}

.skill-card {
  width: 300px;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  transition: transform 0.3s;
}


.skill-card:hover {
  transform: translateY(-6px);
  background-color: #eaf6ff;
}

.skill-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.skill-card p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.skill-category {
  font-size: 1.4rem;
  margin: 30px 0 10px;
  color: #333;
  font-weight: 600;
  text-align: center;
}

