html {box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
html,body{font-family:Verdana,sans-serif;font-size:15px;line-height:1.5}html{overflow-x:hidden}

/* background and font  */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #F8F9FA;
  color: #333;
}

/* page width like original template */
.page-container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 10px;
}

/* two column grid */
.grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  align-items: stretch;
}

/* card look from template */
.card {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
}

/* sidebar spacing */
.sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
}

.sidebar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #6B9EA8;
}

.sidebar .card {
  background: #1A1C1E;
  color: #F3F1F4;
  padding: 40px 30px;
  flex: 1; /* This tells the card to grow and fill all available space */
}

.sidebar li {
  color: #BBC9D2;
}

.sidebar h1 {
  letter-spacing: -1px; 
  color: #FFFFFF;
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 0;
}

.sidebar p {
  color: #94A3B8;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

/* responsive layout */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .experience-header {
    flex-direction: column;
    gap: 2px;
  }
}

.contact {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.contact li {
  margin-bottom: 4px;
}

.content p {
  color: #4A5568;
  line-height: 1.7;
}

.contact a {
  color: #BBC9D2;
  text-decoration: none;
  transition: 0.2s;
}

.contact a:hover {
  color: #6B9EA8;
  margin-left: 3px;
}

.content section {
  margin-bottom: 10px;
}

/* content section */
.content h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #E2E8F0;
  color: #1A1C1E;
  margin-top: 0;
}

.content h3 {
  margin-bottom: 5px;
  font-weight: 700;
}

/* Remove the default top/bottom margins from the <h3> */
.experience-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #001312;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Aligns title to the top of the link stack */
  margin-bottom: 12px;
}

/* Style the date to look professional but secondary */
.date {
  font-size: 0.9rem;
  color: #6B9EA8;
  font-weight: 600;
  white-space: nowrap; /* Prevents the date from breaking into two lines */
}

/* The description below */
.description {
  margin-top: 0;
  color: #4A5568;
}

/* Project Specific Styling */
.project-item {
  margin-bottom: 25px;
}

.project-item li {
  list-style: none;
}

.project-item:last-child {
  margin-bottom: 0;
}

.project-link {
  font-size: 0.85rem;
  color: #6B9EA8;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #6B9EA8;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: rgba(107, 158, 168, 0.05);
  white-space: nowrap; /* Prevents link text from wrapping */
}

.project-link:hover {
  background: #6B9EA8;
  color: #FFFFFF;
  border-color: #6B9EA8;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  background: #F1F5F9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  border: 1px solid #E2E8F0;
}