body {
  background-color: #121212;
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 30px 20px;
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
}

.terminal {
  width: min(980px, 96vw);
  height: min(780px, 88vh);
  min-height: 600px;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 255, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background-color: #252525;
  padding: 12px 15px;
  display: flex;
  align-items: center;
}

.terminal-buttons {
  display: flex;
}

.button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.button.red {
  background-color: #ff5f57;
}

.button.yellow {
  background-color: #ffbd2e;
}

.button.green {
  background-color: #28ca42;
}

.terminal-title {
  color: #ccc;
  font-size: 14px;
  margin-left: 10px;
}

.terminal-tabs {
  display: flex;
  background-color: #1e1e1e;
  padding: 0;
  border-bottom: 1px solid #333;
}

.tab {
  padding: 10px 20px;
  color: #888;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.tab:hover {
  background-color: #333;
  color: #fff;
}

.tab.active {
  background-color: #000;
  color: #28ca42;
  border-top: 2px solid #28ca42;
  font-weight: bold;
}

.terminal-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  color: #ccc;
  background-color: #000;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.command {
  color: #4dff88;
}

.output-green {
  color: #4dff88;
}

.output-pink {
  color: #ff5fa2;
}

.output-blue {
  color: #4da6ff;
}

.navigation-hint {
  color: #888;
  font-style: italic;
}

.terminal-input {
  background-color: #000;
  border-top: 1px solid #333;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  max-height: 220px;
  cursor: text;
}

#terminal-output {
  overflow-y: auto;
  padding: 6px 20px 0;
  max-height: 160px;
  font-size: 13px;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  flex-shrink: 0;
}

.prompt {
  color: #4dff88;
  white-space: nowrap;
  flex-shrink: 0;
}

.cmd-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ccc;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  flex: 1;
  caret-color: #4dff88;
  min-width: 0;
}

.cmd-input::placeholder {
  color: #444;
}

.t-line {
  color: #4dff88;
  margin-bottom: 2px;
}

.t-response {
  color: #ccc;
  margin-bottom: 8px;
  white-space: pre;
  padding-left: 12px;
  border-left: 1px solid #1e1e1e;
  line-height: 1.6;
}

.t-error {
  color: #ff5f57;
  margin-bottom: 8px;
  padding-left: 12px;
}

/* Profile Section */
.profile-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 20px;
}

.profile-image {
  width: 170px;
  height: auto;
  border-radius: 5px;
  margin-top: -45px;
}

.profile-text {
  flex: 1;
}

/* Experience Section */
.experience-container {
  margin-top: 10px;
}

.experience-item {
  margin-bottom: 25px;
  padding-left: 15px;
  border-left: 2px solid #4da6ff;
}

.experience-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.experience-company {
  margin-bottom: 5px;
}

.experience-duration {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

.experience-description {
  color: #ccc;
  margin-bottom: 10px;
}

.experience-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background-color: #1a3e2f;
  color: #4dff88;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid #4dff88;
}
/* Projects Section */
.projects-container {
  margin-top: 10px;
}

.project-item {
  margin-bottom: 25px;
  padding-left: 15px;
  position: relative;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.project-folder {
  color: #4da6ff;
  font-size: 16px;
}

.project-name {
  font-weight: bold;
  font-size: 16px;
}

.project-status {
  margin-left: auto;
  background-color: #4a432e;
  color: #d4aa00;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.project-status.active-dev {
  background-color: #4a3e2b;
  color: #d4aa00;
}

.project-status.beta {
  background-color: #2a4a2e;
  color: #7bc96f;
}

.project-description {
  color: #ccc;
  margin-bottom: 10px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.project-link {
  color: #ff5fa2;
  font-size: 14px;
}
/* Hobbies Section */
/* Hobbies Section */
.json-container {
  margin-left: 20px;
  margin-top: 10px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
}

.json-brace {
  color: #ccc;
}

.json-item {
  margin-left: 10px;
}

.json-key {
  color: #4da6ff;
  font-weight: bold;
}

.json-property {
  margin-left: 20px;
}

.json-value {
  margin-left: 20px;
  word-break: break-word;
}
/* Contact Section */
.contact-container {
  margin-top: 10px;
  margin-left: 5px;
}

.contact-intro {
  color: #ccc;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-input, .form-textarea {
  background-color: #1e1e1e;
  border: 1px solid #4da6ff;
  color: #ccc;
  padding: 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-button {
  background-color: #4da6ff;
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  cursor: pointer;
  max-width: 150px;
  align-self: flex-start;
}

.submit-button:hover {
  background-color: #3a8ddf;
}

.contact-echo {
  color: #ccc;
  margin-top: 20px;
  font-family: 'Courier New', monospace;
}

/* ── Links ── */
.terminal-content a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.terminal-content a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ── Profile Links (LinkedIn / GitHub) ── */
.profile-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.profile-link {
  color: #4dff88;
  font-size: 13px;
  text-decoration: none;
}
.profile-link i {
  margin-right: 4px;
}
.profile-link:hover {
  text-decoration: underline;
}

/* ── Skills ── */
.skills-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.skill-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.skill-label {
  font-size: 13px;
  min-width: 145px;
}

/* ── Experience bullet lists ── */
.experience-description ul {
  margin: 0;
  padding-left: 18px;
}
.experience-description li {
  margin-bottom: 3px;
  color: #ccc;
  font-size: 13px;
}

/* ── Volunteer badge ── */
.volunteer-badge {
  font-size: 12px;
  color: #888;
  font-weight: normal;
}

/* ── Education divider ── */
.education-divider {
  margin: 20px 0 12px;
  font-size: 13px;
  letter-spacing: 2px;
}
.education-item {
  border-left-color: #28ca42;
}

/* ── Hobbies gallery ── */
.hobby-card {
  margin-left: 10px;
  margin-bottom: 12px;
}
.hobby-card-header {
  font-size: 13px;
  margin-bottom: 4px;
}
.hobby-card-body {
  margin-left: 10px;
}
.hobby-meta {
  font-size: 13px;
  line-height: 1.6;
  flex-wrap: wrap;
  word-break: break-word;
}
.hobby-card-close {
  font-size: 13px;
  margin-top: 4px;
}
.hobby-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px 0 4px 20px;
}
.hobby-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #111;
  border: 1px dashed #2a2a2a;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}
.hobby-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.3s ease;
}
.hobby-photo:hover img {
  transform: scale(1.05);
}
.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1;
  color: #333;
}
.photo-overlay i {
  font-size: 20px;
  color: #2a2a2a;
}
.photo-overlay span {
  font-size: 9px;
  color: #2a2a2a;
  text-align: center;
  padding: 0 4px;
}

/* ── Contact links row ── */
.contact-links-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.contact-link-item {
  color: #4dff88;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-link-item i {
  width: 16px;
  color: #ff5fa2;
  flex-shrink: 0;
}
.contact-link-item:hover {
  text-decoration: underline;
}
.contact-link-item.no-link {
  cursor: default;
}
.contact-link-item.no-link:hover {
  text-decoration: none;
}

/* ── Project links ── */
.project-link a {
  color: #ff5fa2;
}
.project-link a:hover {
  text-decoration: underline;
}