/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  padding: 20px;
}

/* Container */
body {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
  /* border-bottom: 3px solid #3498db; */
  padding-bottom: 10px;
}

h2 {
  font-size: 1.8rem;
  color: #34495e;
  margin: 30px 0 15px 0;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 8px;
}

h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin: 20px 0 10px 0;
  font-weight: 600;
}

/* Header section */
#title-block-header {
  text-align: center;
  margin-bottom: 30px;
}

#title-block-header h1 {
  border-bottom: none;
  color: #2c3e50;
}

/* Contact info */
p:first-of-type {
  /* text-align: center; */
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #7f8c8d;
}

/* Horizontal rules */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #3498db, #ecf0f1);
  margin: 30px 0;
}

/* Lists */
ul {
  margin: 15px 0;
  padding-left: 20px;
}

li {
  margin: 8px 0;
  line-height: 1.5;
}

/* Strong text */
strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Emphasis */
em {
  color: #7f8c8d;
  font-style: italic;
}

/* Links */
a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Project sections */
h3 + p {
  margin-bottom: 15px;
  color: #7f8c8d;
  font-size: 0.95rem;
}

/* Skills section */
#technical-skills ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  list-style: none;
  padding-left: 0;
}

#technical-skills li {
  background-color: #f8f9fa;
  padding: 12px 15px;
  border-radius: 6px;
  border-left: 4px solid #3498db;
  margin: 0;
}

/* Experience sections */
#professional-experience h3 + p {
  margin-bottom: 20px;
}

#professional-experience ul {
  margin-bottom: 25px;
}

/* Technical projects */
#technical-projects h3 + p {
  margin-bottom: 15px;
}

#technical-projects ul {
  margin-bottom: 25px;
}

/* Certifications */
#certifications h3 + p {
  margin-bottom: 15px;
}

/* Education */
#education h3 + p {
  margin-bottom: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 20px;
    margin: 10px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  #technical-skills ul {
    grid-template-columns: 1fr;
  }
}

/* Print styles */
@media print {
  body {
    background-color: white;
    box-shadow: none;
    padding: 20px;
  }
  
  hr {
    background: #ccc;
  }
}
