body {
  font-family: sans-serif;
  line-height: 1.6;
  margin: 0 auto; /* Center the content */
  padding: 30px;
  max-width: 800px; /* Approximate width similar to a document */
  border: 1px solid #ccc; /* Optional border to mimic paper */
  background-color: #fff;
  position: relative; /* Needed for potential absolute positioning in footer */
  padding-bottom: 80px; /* Add padding for footer and button */
}
.header {
  text-align: left;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.header h1 {
  margin: 0;
  font-size: 2.5em;
  color: #333;
}
.header .contact-info {
  margin-top: 10px;
  font-size: 0.9em;
  color: #555;
  display: flex; /* Use flexbox for alignment */
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 15px; /* Space between contact items */
  justify-content: space-between;
}
.header .contact-info span {
  display: inline-flex; /* Align icon and text */
  align-items: center; /* Vertically center icon and text */
  gap: 5px; /* Space between icon and text */
}
.header .contact-info i {
  /* Style for Lucide icons */
  width: 16px; /* Icon size */
  height: 16px; /* Icon size */
  stroke-width: 2; /* Icon line thickness */
}

.summary {
  margin-bottom: 20px;
  font-size: 1em;
  color: #444;
}

h2 {
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4em;
  color: #333;
}

.section {
  margin-bottom: 20px;
}

.section-title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 5px;
  color: #444;
}
.job,
.education-entry,
.project {
  margin-bottom: 15px;
}

.job .title,
.education-entry .degree {
  font-weight: bold;
}
.job .company,
.education-entry .institution {
  font-style: italic;
  color: #555;
}
.job .date,
.education-entry .date,
.project .date {
  float: right;
  font-weight: normal;
  font-size: 0.9em;
  color: #777;
}

ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 5px;
}
li {
  margin-bottom: 5px;
  color: #555;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Use flexbox for inline-block like behavior */
  flex-wrap: wrap; /* Allow skills to wrap */
}
.skills-list li {
  background-color: #eee;
  color: #333;
  padding: 5px 10px;
  margin-right: 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Floating Button Styles */
.print-button-container {
    position: fixed; /* Make it stay in place */
    bottom: 25px; /* Distance from bottom */
    right: 25px; /* Distance from right */
    z-index: 1000; /* Ensure it's above other content */
    /* Remove margin-top as it's no longer in flow */
}

.print-button {
    padding: 12px 20px; /* Slightly larger padding */
    font-size: 1em;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px; /* Make it round */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3); /* Add shadow */
    display: flex; /* Align icon and text */
    align-items: center;
    gap: 8px;
}
.print-button:hover {
    background-color: #0056b3;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.4);
}
 .print-button i { /* Style for icon inside button */
     width: 18px;
     height: 18px;
 }

/* .print-button-container {
  text-align: center;
  margin-top: 30px;
}

.print-button {
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
}
.print-button:hover {
  background-color: #0056b3;
} */

/* Footer Styles */
.footer {
  position: absolute; /* Or static if preferred */
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.9em; /* Slightly larger for better readability */
  color: #666; /* Slightly darker text */
  padding: 15px 0; /* More padding */
  border-top: 1px solid #eee;
  margin-top: 20px; /* Add space above footer */
}
.footer p {
  margin: 0;
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  gap: 15px; /* Space between links/text */
}
.footer a {
  color: #007bff; /* Link color */
  text-decoration: none; /* Remove underline */
  display: inline-flex; /* Align icon and text */
  align-items: center;
  gap: 4px; /* Space between icon and text */
}
.footer a:hover {
  text-decoration: underline; /* Underline on hover */
  color: #0056b3;
}
.footer .separator {
  color: #ccc; /* Separator color */
}

/* Styles for printing - hide button */
@media print {
  body {
    border: none; /* Remove border for printing */
    padding-bottom: 30px; /* Adjust padding for printing */
  }
  .print-button-container,
  .footer {
    display: none;
  }
  .job .date,
  .education-entry .date,
  .project .date {
    float: none; /* Prevent dates from floating during print */
    display: inline-block; /* Keep dates on the same line if possible */
    margin-left: 10px; /* Add some space if not floating */
  }
  .clearfix::after {
    /* Clearfix might not be needed for print */
    content: '';
    clear: none;
    display: block;
  }
  .header .contact-info {
    gap: 10px; /* Reduce gap for print */
  }
  .skills-list li {
    background-color: #f0f0f0; /* Lighter background for print */
    color: #000;
  }
}

/* Footer Styles (Example) */
.footer {
  position: absolute; /* Or static if preferred */
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.8em;
  color: #888;
  padding: 10px 0;
  border-top: 1px solid #eee;
  margin-top: 20px; /* Add space above footer */
}

/* Clear floats */
.clearfix::after {
  content: '';
  clear: both;
  display: table;
}
