body
{
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
  font-family: 'Arial', sans-serif;
  background: #f0f0f0;
  color: #333;
  line-height: 1.6;
  line-height: 1.6;
  line-height: 1.6;
}

.title
{
  font-size: 1.1em;
}

footer a
{
   text-decoration: none;
}

hr
{
  border-style: dashed;
  color: #ddd;
}

/* Navigation bar container */
.navbar
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f8f9fa; /* Light background color */
  border-bottom: 1px solid #ddd; /* Optional border */
}

/* header and footer areas */
.menu
{
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
padding-top: 10px;
  gap: 15px; /* Space between menu items */
}

.menu li
{
  display: inline;
  margin-right: 10px; /* Space between menu items */
}

/* Menu items */
.menu li a
{
  text-decoration: none;
  color: #0073e6; /* Default link color */
  font-weight: bold;
}

.article-meta, .menu a
{
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}

.menu, .article-meta, footer
{
  text-align: center;
}

/* Highlight the active menu item */
.menu li.active a
{
  color: #ff6600; /* Highlight color for active menu item */
  border-bottom: 2px solid #ff6600; /* Optional underline */
}

.menu li a:hover
{
  background-color: #0056b3; /* Darker blue on hover */
  color: #ffffff; /* White text on hover */
}

/* code */
pre
{
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code
{
  background: #f9f9f9;
}

pre code
{
  background: none;
}

/* misc elements */
img, iframe, video
{
  max-width: 100%;
}

main
{
  hyphens: auto;
}

blockquote
{
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table
{
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }

.social-links
{
  display: flex;
  gap: 15px; /* Space between social media icons */
  text-align: center;
}

.social-links a
{
  text-decoration: none;
  color: #333; /* Default icon color */
  font-size: 1.5em; /* Icon size */
  margin: 0 10px;
}

.social-links a:hover
{
  color: #0073e6; /* Hover color */
  text-decoration: underline;
}

/* Add spacing above the footer */
footer
{
  margin-top: 10px; /* Adjust the value as needed */
  padding-top: 10px; /* Optional: Add padding inside the footer */
}

/* Ensure the footer content is styled properly */
footer .social-links
{
  margin-top: 10px; /* Add spacing inside the footer for social links */
  text-align: center; /* Center-align the social links */
}

/*---------------------------------------------------------------
/* About Section */

.about-section
{
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.about-text
{
  flex: 2; /* Equal space for text and image */
  text-align: left;
  font-size: 1.2em; /* Adjust text size for better balance */
  line-height: 1.5; /* Maintain readability */
  color: #333; /* Softer text color */
}

.about-image
{
  flex: 1; /* Equal space for text and image */
  text-align: right; /* Center the image */
}

.about-image img
{
  max-width: 100%; /* Ensure the image scales properly */
  height: auto;
  border-radius: 10px; /* Optional: Add rounded corners */
  padding-top: 20px;
}

@media (max-width: 768px)
{
  .about-section {
    flex-direction: column; /* Stack text and image vertically on smaller screens */
    align-items: center;
  }

  .about-text, .about-image {
    flex: unset; /* Reset flex values for stacking */
    width: 100%; /* Full width for both text and image */
    text-align: center; /* Center-align text on smaller screens */
  }

  .about-image img {
    max-width: 80%; /* Reduce image size for smaller screens */
  }
}

/*---------------------------------------------------------------
/* Vitae Titles */
/*---------------------------------------------------------------

/* Section Titles */
.vitae-section-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  border-bottom: 2px solid #0073e6; /* Add a colored underline */
  padding-bottom: 5px;
  color: #333;
}

.vitae-section-title i {
  margin-right: 10px;
  color: #0073e6; /* Icon color */
}

/* Vitae Cards */
.vitae-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vitae-card h4 {
  margin: 0;
  font-size: 1.2em;
  color: #0073e6;
}

.vitae-card h4 img {
  vertical-align: middle;
  margin-right: 10px;
}

.vitae-card p {
  margin: 5px 0;
  color: #555;
}

.vitae-card ul {
  padding-left: 20px;
  list-style-type: disc;
}

.vitae-card ul li {
  margin-bottom: 5px;
}

/* Education and Certifications */
ul {
  padding-left: 20px;
  list-style-type: disc;
}

ul li {
  margin-bottom: 10px;
}

/* Resume Button */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  text-align: center;
}

.btn:hover {
  background-color: #005bb5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .vitae-card {
    padding: 10px;
  }

  .vitae-section-title {
    font-size: 1.5em;
  }

  .btn {
    font-size: 0.9em;
    padding: 8px 16px;
  }
}

/* Pdf printing to hide the print as pdf button */

@media print {
  .no-pdf {
    display: none;
    word-spacing: 0.1em; /* Ensure proper word spacing in the PDF */

  }
}

/* Hide the "Download as PDF" button in print mode */
.print-mode .no-pdf {
  display: none;
}

/* Apply other print-specific styles if needed */
.print-mode {
  font-size: 12px; /* Example: Adjust font size for the PDF */
  line-height: 1.5;
  text-align: justify;
  font-family: 'Arial', sans-serif; /* Use a web-safe font */
  word-spacing: 0.1em; /* Ensure proper word spacing in the PDF */

}

.short-intro {
  font-size: 1.2em; /* Adjust font size */
  line-height: 1.6; /* Improve readability */
  color: #333; /* Softer text color */
  margin-bottom: 20px; /* Add spacing below */
  text-align: justify; /* Justify the text for better alignment */
  word-spacing: 0.1em; /* Add consistent spacing between words */
}

.print-mode .short-intro1 {
  font-size: 1.2em; /* Slightly smaller font for PDF */
  color: #000; /* Ensure text is black in the PDF */

}

/* Hide the contact section by default on the webpage */
.pdf-only {
  display: none;
}

/* Make the contact section visible in the PDF */
@media print {
  .pdf-only {
    display: block;
    padding: 10px;
  }
}

/* Hide the "Download as PDF" button in print mode */
.print-mode .pdf-only {
  display: block;
}