/* Custom styles */
.code-window {
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: rgb(17, 24, 39);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.code-window-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: rgb(31, 41, 55);
}

.window-controls {
  display: flex;
  gap: 0.5rem;
}

.control {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
}

.window-title {
  display: flex;
  align-items: center;
  margin: 0 auto;
  color: rgb(156, 163, 175);
  font-size: 0.875rem;
}

.code-window-content {
  padding: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875rem;
}

.typewriter-text::after {
  content: '_';
  animation: pulse 1s infinite;
}

/* About section styles */
.about-card {
  background: linear-gradient(to bottom right, rgb(31 41 55 / 0.6), rgb(17 24 39 / 0.6));
  border-radius: 1rem;
  border: 1px solid rgb(74 222 128 / 0.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.about-content {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  align-items: center;
}

.about-image {
  flex-shrink: 0;
}

.about-text {
  flex: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(74 222 128 / 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgb(156 163 175);
}

.stat-item i {
  color: rgb(74 222 128);
}

/* Experience timeline styles */
.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgb(74 222 128 / 0.2);
}

.timeline-item {
  position: relative;
}

.timeline-bullet {
  position: absolute;
  left: -2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgb(74 222 128);
  transform: translateX(0.5px);
}

.timeline-bullet::before {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  height: 2px;
  width: 0.75rem;
  background: rgb(74 222 128 / 0.4);
  transform: translateY(-50%);
}

/* Responsive styles */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .stat-item {
    justify-content: center;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}