/* Reset and Base Styles */
html,
body,
div,
p,
h1,
h2,
h3,
h4,
ul,
li,
section,
header,
main,
footer,
article {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background: #fcfcfc;
  color: #333;
  display: flex;
  justify-content: center;
}

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Header/Contact Bar */
header {
  padding: 30px 40px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.title-block h1 {
  font-size: 2.2em;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.title-block h2 {
  font-size: 1em;
  font-weight: 400;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-block {
  text-align: right;
  font-size: 0.9em;
  padding-top: 5px;
}

.contact-block a {
  display: inline-block;
  margin-left: 15px;
  color: #555;
}

.contact-block .separator {
  color: #ccc;
  font-weight: 100;
  margin-left: 15px;
}

.visitor-count {
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  color: #1a73e8;
  font-weight: 600;
}

/* Main Content Layout */
main {
  padding: 40px;
}

section {
  margin-bottom: 40px;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

section:first-child {
  border-top: none;
  padding-top: 0;
}

h3 {
  font-size: 1.5em;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  display: inline-block;
  padding-bottom: 5px;
}

p {
  margin-bottom: 15px;
  color: #555;
}

/* Skills List */
.skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  font-size: 0.95em;
}

.skills-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
}

.skills-list strong {
  color: #333;
}

/* Experience & Projects Containers */
.job-entry,
.project-entry {
  margin-bottom: 25px;
}

.job-entry h4,
.project-entry h4 {
  font-size: 1.1em;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.job-entry .duration {
  display: block;
  font-size: 0.9em;
  color: #777;
  margin-bottom: 10px;
}

.job-entry ul,
.project-entry ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 2. Style list item padding and positioning for both */
.job-entry li,
.project-entry li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #555;
}

/* 3. Add the custom blue arrow bullet using ::before for both */
.job-entry li::before,
.project-entry li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #1a73e8;
  font-size: 0.8em;
  top: 0;
}

/* --- END BULLET POINT STYLING --- */

.project-details {
  margin-top: 5px;
  margin-bottom: 0;
  padding-left: 20px;
  border-left: 3px solid #f0f0f0;
}

.badge-placeholder {
  padding-top: 10px;
}

.certification {
  font-style: italic;
  font-size: 0.9em;
  color: #777;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 40px;
  font-size: 0.8em;
  color: #999;
  border-top: 1px solid #eee;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
    margin: 0;
    border: none;
    box-shadow: none;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .contact-block {
    text-align: left;
    margin-top: 15px;
  }

  .contact-block a,
  .contact-block .separator {
    margin-left: 0;
    margin-right: 10px;
  }

  main {
    padding: 20px;
  }

  .skills-list {
    grid-template-columns: 1fr;
  }
}
