body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f4f4f4;
}

.container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 10px 0;
  font-size: 2.2em;
  color: #333;
}

h2 {
  border-bottom: 2px solid #007BFF;
  padding-bottom: 5px;
  margin: 25px 0 15px 0;
  color: #007BFF;
  text-align: center;
  font-size: 1.5em;
}

.education-entry,
.work-entry {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Align text in the right column to the right */
.education-entry > div:last-child,
.work-entry > div:last-child {
  text-align: right;
}

.skills-row {
  display: flex;
  margin-bottom: 10px;
}

.non-technical-skills ul {
  margin: 10px 0;
  padding-left: 20px;
}

.non-technical-skills li {
  list-style-type: none;
  margin-bottom: 5px;
}

/* Add hyphen only to items after the first one (Leadership) */
.non-technical-skills li:not(:first-child)::before {
  content: "- ";
  /* Optional: Add margin-right: 5px; if more space is needed */
}

.certifications ul {
  padding-left: 0;
  margin: 10px 0;
}

.certifications li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.certifications li span {
  margin-top: 5px; /* Add space between cert name and date */
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 5px 0;
  line-height: 1.5;
}

/* Reduce font sizes on smaller screens */
@media (max-width: 768px) {
  body {
    font-size: 0.8em; /* Further reduced base font size */
    padding: 0.5rem; /* Remove body padding on small screens */
  }

  h1 {
    font-size: 1.5em; /* Further reduced h1 size */
  }

  h2 {
    font-size: 1.1em; /* Further reduced h2 size */
  }

  /* Reduce font size for specific sections to help maintain layout */
  .education-entry,
  .work-entry,
  .skills-row,
  .non-technical-skills,
  .certifications li {
    font-size: 0.75em; /* Smaller font for these sections */
  }

  /* Align non-technical skills list left on small screens */
  .non-technical-skills ul {
    padding-left: 0;
  }

  /* Optionally adjust container padding */
  .container {
    padding: 0; /* Remove container padding on small screens */
    background: transparent; /* Remove container background */
    box-shadow: none; /* Remove container shadow */
  }

  /* Reduce font size for certification items to keep them inline */
  /* .certifications li { <= Removed duplicate rule } */
    /* font-size: 0.75em; */ 
}

/* Projects Section Styles */
.project-entry {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-details {
  list-style-type: none;
  padding-left: 0;
  margin: 10px 0;
}

.project-details li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
}

.project-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007BFF;
}

.tech-stack {
  color: #007BFF;
  font-weight: 500;
}

/* Align text in the right column to the right */
.project-entry > div:last-child {
  text-align: right;
}

/* Media query adjustments for projects */
@media (max-width: 768px) {
  .project-entry {
    font-size: 0.75em; /* Match other sections' font size */
  }

  .project-details li {
    margin-bottom: 3px; /* Slightly reduce spacing between bullet points */
  }
}
