/* Base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

/* Outer layout */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
}

/* Left Sidebar */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 40px;
}

.profile-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #ccc;
  margin-bottom: 20px;
}

/* Education & Contact Blocks */
.edu-block h3,
.contact-block h3 {
  font-size: 1.1em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.edu-block p,
.contact-block p {
  font-size: 0.95em;
  margin: 6px 0;
  color: #444;
}

.contact-block a {
  color: #0077cc;
  text-decoration: none;
  display: inline-block;
  word-break: break-word;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Main and Right Layout */
.content-wrapper {
  display: flex;
  gap: 20px;
}

/* Main Content Area */
.content {
  flex-grow: 1;
  max-width: 700px;
}

/* Headings */
h1 {
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 8px;
}

h2 {
  color: #2c3e50;
  margin-top: 40px;
  margin-bottom: 10px;
}

h3 {
  margin: 0;
  font-size: 1.1em;
  color: #2c3e50;
}

.tagline {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
}

/* Paragraph spacing */
#story p,
#academic-reflection p {
  margin-bottom: 16px;
}

/* Work Experience */
#experience .job {
  margin-bottom: 32px;
}

#experience .period {
  font-weight: normal;
  font-size: 0.9em;
  color: #777;
  margin-left: 8px;
}

#experience a {
  color: #0077cc;
  font-weight: 500;
}

#experience a:hover {
  text-decoration: underline;
}

/* Skills Grid with Icons */
#skills {
  margin-top: 40px;
}

.skill-section {
  margin-bottom: 32px;
}

.skill-section h4 {
  font-size: 1em;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-badge {
  background-color: #111;
  color: #fff;
  padding: 8px 14px;
  font-size: 0.85em;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  gap: 6px;
  transition: background 0.3s;
}

.skill-badge img {
  height: 20px;
  width: 20px;
  object-fit: contain;
  margin-right: 6px;
}

.skill-badge:hover {
  background-color: #0077cc;
  cursor: default;
}

/* Right Sidebar */
.right-sidebar {
  width: 260px;
  flex-shrink: 0;
  font-size: 0.95em;
  position: sticky;
  top: 40px;
  align-self: flex-start;
}

.right-sidebar h3 {
  color: #2c3e50;
  font-size: 1.05em;
  margin-top: 0;
  margin-bottom: 10px;
}

.right-sidebar ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.right-sidebar li {
  margin-bottom: 8px;
}

.right-sidebar a {
  color: #0077cc;
  text-decoration: none;
}

.right-sidebar a:hover {
  text-decoration: underline;
}

/* Academic Reflection GitHub Link */
#academic-reflection a {
  font-weight: 500;
  color: #0077cc;
}
