/* CSS Variables for theming */
:root {
  --bg-light: url('https://wallpapercave.com/wp/wp9139426.jpg');
  --bg-dark: url('https://images.wallpapersden.com/image/download/macos-12-monterey-stock-dark_bGxsaGiUmZqaraWkpJRobWllrWdma2U.jpg');
  --text-light: #333;
  --text-dark: #fff;
  --window-bg-light: rgba(255, 255, 255, 0.8);
  --window-bg-dark: rgba(20, 20, 20, 0.85);
  --dock-bg-light: rgba(255, 255, 255, 0.1);
  --dock-bg-dark: rgba(0, 0, 0, 0.4);
}

/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: var(--bg-light) no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
    height: 100vh;
    cursor: url('https://cdn-icons-png.flaticon.com/512/6849/6849659.png'), auto;
    transition: all 0.5s ease;
    color: var(--text-light);
  }

/* Dark theme */
body.dark-theme {
  background: var(--bg-dark) no-repeat center center fixed;
  background-size: cover;
  color: var(--text-dark);
}

/* Smooth background transition overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark) no-repeat center center fixed;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: -1;
  pointer-events: none;
}

body.dark-theme::before {
  opacity: 1;
}

  /* Desktop Layout */
  .desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: relative;
  }

  /* Dock */
  .dock {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: var(--dock-bg-light);
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
  }
  
  body.dark-theme .dock {
    background: var(--dock-bg-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
  }

  .icon {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    will-change: transform;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    overflow: hidden;
  }
  
  .icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .icon:hover {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  }
  
  .icon:hover::before {
    opacity: 1;
  }
  
  .icon:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
    transform: scale(1.1);
  }
  
  .icon:active {
    transform: scale(1.05) translateY(-2px);
  }

  .icon img {
    width: 50px;
    height: 50px;
  }

  /* Window */
  .window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--window-bg-light);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-height: 600px;
    overflow-y: auto;
    display: none;
    z-index: 10;
    resize: both;
    min-width: 450px;
    min-height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    will-change: transform, opacity, left, top;
    contain: layout style paint;
  }
  
  body.dark-theme .window {
    background: var(--window-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
    color: var(--text-dark);
    backdrop-filter: blur(25px);
  }
  
  body.dark-theme .window-content {
    color: var(--text-dark);
  }
  
  body.dark-theme .window-content h4 {
    color: #4a9eff;
    border-bottom-color: #4a9eff;
  }
  
  body.dark-theme .window-content a {
    color: #4a9eff;
  }
  
  body.dark-theme .skill-item {
    background: rgba(74, 158, 255, 0.2);
    color: var(--text-dark);
    border-color: rgba(74, 158, 255, 0.3);
  }
  
  body.dark-theme .skill-item.skill-highlight {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 152, 0, 0.25));
    border-color: rgba(255, 193, 7, 0.5);
  }
  
  body.dark-theme .skill-item.soft-skill {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(139, 195, 74, 0.2));
    border-color: rgba(76, 175, 80, 0.4);
    color: var(--text-dark);
  }
  
  body.dark-theme .skill-item.soft-skill:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(139, 195, 74, 0.3));
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.5);
  }
  
  body.dark-theme .experience-item {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #4a9eff;
  }
  
  body.dark-theme .experience-item.current-job {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: #5cb85c;
  }
  
  body.dark-theme .job-header h5 {
    color: #4a9eff;
  }
  
  body.dark-theme .company {
    color: #4a9eff;
  }
  
  body.dark-theme .achievement {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(74, 158, 255, 0.4);
  }
  
  body.dark-theme .achievement-header h6 {
    color: #4a9eff;
  }
  
  body.dark-theme .achievement strong {
    color: #4a9eff;
  }
  
  /* Dark theme for Projects */
  body.dark-theme .project-item {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #5cb85c;
  }
  
  body.dark-theme .project-item.featured-project {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
  }
  
  body.dark-theme .project-item.coming-soon {
    background: rgba(108, 117, 125, 0.08);
    border-left-color: #868e96;
  }
  
  body.dark-theme .project-title h5 a:hover {
    color: #4a9eff;
  }
  
  body.dark-theme .project-type {
    color: #4a9eff;
  }
  
  body.dark-theme .tech-tag {
    background: rgba(74, 158, 255, 0.2);
    color: #4a9eff;
    border-color: rgba(74, 158, 255, 0.3);
  }
  
  body.dark-theme .readme-button.secondary {
    color: #4a9eff;
    border-color: #4a9eff;
  }
  
  body.dark-theme .readme-button.secondary:hover {
    background: #4a9eff;
    color: #000;
  }
  
  /* Dark theme for Education */
  body.dark-theme .section-header h4 {
    color: #4a9eff;
    border-bottom-color: #4a9eff;
  }
  
  body.dark-theme .education-item, body.dark-theme .certification-item {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #4a9eff;
  }
  
  body.dark-theme .education-item.current-education {
    background: rgba(40, 167, 69, 0.1);
    border-left-color: #5cb85c;
  }
  
  body.dark-theme .education-title h5, body.dark-theme .certification-title h5 {
    color: #4a9eff;
  }
  
  body.dark-theme .institution, body.dark-theme .issuer {
    color: #4a9eff;
  }
  
  body.dark-theme .detail-value {
    color: #4a9eff;
  }
  
  body.dark-theme .detail-value.completed {
    color: #5cb85c;
    background: rgba(92, 184, 92, 0.2);
  }
  
  body.dark-theme .detail-value.discontinued {
    color: #ffcd39;
    background: rgba(255, 205, 57, 0.2);
  }
  
  body.dark-theme .education-details, body.dark-theme .certification-details {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
  }
  
  body.dark-theme .detail-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  
  body.dark-theme .thesis-info {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.3);
    border-left-color: rgba(255, 193, 7, 0.8);
  }
  
  body.dark-theme .education-link, body.dark-theme .certification-link, body.dark-theme .thesis-link {
    color: #4a9eff;
  }
  
  body.dark-theme .education-link:hover, body.dark-theme .certification-link:hover, body.dark-theme .thesis-link:hover {
    color: #66b3ff;
  }
  
  /* Projects Container */
  .projects-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 15px 0;
  }
  
  .project-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .project-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .project-item.featured-project {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.05);
  }
  
  .project-item.featured-project::before {
    content: '⭐ FEATURED';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #ffc107;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 0.5px;
  }
  
  .project-item.coming-soon {
    border-left-color: #6c757d;
    background: rgba(108, 117, 125, 0.05);
    opacity: 0.7;
  }
  
  .project-header {
    margin-bottom: 15px;
  }
  
  .project-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  
  .project-icon {
    font-size: 1.3em;
    min-width: 24px;
  }
  
  .project-title h5 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
  }
  
  .project-title h5 a {
    color: inherit;
    text-decoration: none;
  }
  
  .project-title h5 a:hover {
    color: #007BFF;
  }
  
  .project-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 0.5px;
  }
  
  .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    opacity: 0.8;
  }
  
  .project-type {
    font-weight: 500;
    color: #007BFF;
  }
  
  .project-language {
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 500;
  }
  
  .project-description p {
    margin: 15px 0;
    line-height: 1.6;
  }
  
  .project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
  }
  
  .tech-tag {
    background: rgba(0, 123, 255, 0.1);
    color: #007BFF;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.2);
  }
  
  .project-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
  }
  
  .readme-button.primary {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .readme-button.primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  }
  
  .readme-button.secondary {
    background: transparent;
    color: #007BFF;
    border: 1px solid #007BFF;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .readme-button.secondary:hover {
    background: #007BFF;
    color: white;
    transform: translateY(-1px);
  }
  
  .external-icon {
    font-size: 0.9em;
  }
  
  /* Education Container */
  .education-container, .certifications-container {
    margin: 20px 0;
  }
  
  .section-header {
    margin-bottom: 20px;
  }
  
  .section-header h4 {
    margin: 0 0 10px 0;
    color: #007BFF;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
  }
  
  .education-item, .certification-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #007BFF;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 20px;
  }
  
  .education-item:hover, .certification-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .education-item.current-education {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
  }
  
  .education-item.current-education::before {
    content: '📚 IN PROGRESS';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 0.5px;
  }
  
  .education-header, .certification-header {
    margin-bottom: 15px;
  }
  
  .education-title, .certification-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }
  
  .education-icon, .certification-icon {
    font-size: 1.3em;
    min-width: 24px;
  }
  
  .education-title h5, .certification-title h5 {
    margin: 0;
    font-size: 1.05em;
    font-weight: 600;
    color: #007BFF;
  }
  
  .education-badge, .certification-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 0.5px;
  }
  
  .certification-badge {
    background: #17a2b8;
  }
  
  .education-meta, .certification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    opacity: 0.8;
  }
  
  .institution, .issuer {
    font-weight: 600;
    color: #007BFF;
  }
  
  .duration, .issue-date {
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 500;
  }
  
  .location {
    font-style: italic;
  }
  
  .education-description, .certification-description {
    margin-top: 15px;
  }
  
  .education-details, .certification-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .detail-item:last-child {
    border-bottom: none;
  }
  
  .detail-label {
    font-weight: 600;
    opacity: 0.7;
    font-size: 0.85em;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .detail-value {
    font-weight: 500;
    color: #007BFF;
    flex: 1;
  }
  
  .detail-value.completed {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8em;
  }
  
  .detail-value.discontinued {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8em;
  }
  
  .thesis-info {
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid rgba(255, 193, 7, 0.6);
  }
  
  .thesis-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95em;
    font-weight: 600;
  }
  
  .thesis-icon {
    font-size: 1.2em;
  }
  
  .education-link, .certification-link, .thesis-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    margin-top: 10px;
    transition: all 0.3s ease;
  }
  
  .education-link:hover, .certification-link:hover, .thesis-link:hover {
    color: #0056b3;
    transform: translateX(3px);
  }
  
  .window.active {
    z-index: 1000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }

  .window.no-transition {
    transition: none !important;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.8) rotateY(10deg);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    }
  }

  @keyframes shrinkOut {
    to {
      transform: translate(-50%, -50%) scale(0.8) rotateY(-10deg);
      opacity: 0;
    }
  }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translate(-50%, -40%) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  
  .window.opening {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Window Header - Fixed */
  .window-header {
    background: linear-gradient(135deg, #333 0%, #444 100%);
    color: white;
    padding: 12px 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    user-select: none;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .window-header:active {
    cursor: grabbing;
  }
  
  body.dark-theme .window-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  }
  
  .window-header:hover {
    background: linear-gradient(135deg, #444 0%, #555 100%);
  }

  .window-header h3 {
    margin: 0;
  }

  .window-buttons {
    display: flex;
    gap: 5px;
  }

  .close-btn, .minimize-btn, .maximize-btn {
    border: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 6px;
    transition: all 0.2s ease;
    position: relative;
  }
  
  .close-btn {
    background: #ff5f56;
  }
  
  .minimize-btn {
    background: #ffbd2e;
  }
  
  .maximize-btn {
    background: #27c93f;
  }
  
  .close-btn:hover {
    background: #ff3b30;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
  }
  
  .minimize-btn:hover {
    background: #ff9500;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.4);
  }
  
  .maximize-btn:hover {
    background: #30d158;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(48, 209, 88, 0.4);
  }
  
  .close-btn:focus, .minimize-btn:focus, .maximize-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }

  .window-content {
    padding: 20px;
  }

  /* Visual Separator for h4 elements */
  .window-content h4 {
    margin-top: 0;
    color: #007BFF;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
    margin-bottom: 15px;
  }

  .window-content p {
    margin: 10px 0;
    line-height: 1.6;
  }

  .window-content a {
    color: #007BFF;
    text-decoration: none;
  }

  .window-content a:hover {
    text-decoration: underline;
  }

  /* Skills Grid */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 15px 0;
  }

  .skill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.2);
    font-weight: 500;
    text-align: center;
  }
  
  .skill-item:hover {
    background: rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  }
  
  .skill-item.skill-highlight {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border: 1px solid rgba(255, 193, 7, 0.4);
    font-weight: 600;
  }
  
  .skill-item.skill-highlight:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.3));
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
  }
  
  /* Soft Skills */
  .skill-item.soft-skill {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(139, 195, 74, 0.15));
    border: 1px solid rgba(76, 175, 80, 0.3);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    text-align: center;
  }
  
  .skill-item.soft-skill:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(139, 195, 74, 0.25));
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
  }

  /* Languages Table */
  .languages-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
  }

  .languages-table th,
  .languages-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
  }

  .languages-table th {
    background-color: #f4f4f4;
  }

  /* Experience Container */
  .experience-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 20px 0;
  }
  
  .experience-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #007BFF;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .experience-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .experience-item.current-job {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
  }
  
  .experience-item.current-job::before {
    content: '🔥 CURRENT';
    position: absolute;
    top: -8px;
    right: 15px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 0.5px;
  }
  
  .job-header {
    margin-bottom: 15px;
  }
  
  .job-header h5 {
    margin: 0 0 8px 0;
    color: #007BFF;
    font-size: 1.1em;
    font-weight: 600;
  }
  
  .company-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    opacity: 0.8;
  }
  
  .company {
    font-weight: 600;
    color: #007BFF;
  }
  
  .duration {
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 500;
  }
  
  .job-type, .location {
    font-style: italic;
  }
  
  .job-description {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .achievement {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
  }
  
  .achievement:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #007BFF;
  }
  
  .achievement-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  
  .achievement-header .icon {
    font-size: 1.2em;
    min-width: 24px;
  }
  
  .achievement-header h6 {
    margin: 0;
    color: #007BFF;
    font-size: 0.95em;
    font-weight: 600;
  }
  
  .achievement p {
    margin: 0;
    line-height: 1.6;
    color: inherit;
  }
  
  .achievement strong {
    color: #007BFF;
    font-weight: 600;
  }

  /* Custom Scrollbar */
  .window::-webkit-scrollbar {
    width: 10px;
  }

  .window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
  }

  .window::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
  }

  .window::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
  }

  /* Responsive Design */
  @media (max-width: 1024px) {
    .window {
      width: 90vw !important;
      max-width: 600px !important;
      max-height: 80vh !important;
      min-width: 300px;
      min-height: 200px;
    }
  }
  
  @media (max-width: 768px) {
    .window {
      width: 95vw !important;
      max-width: none !important;
      max-height: 85vh !important;
      min-width: 280px;
      min-height: 200px;
      border-radius: 20px;
    }
    
    .dock {
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      gap: 15px;
      padding: 8px 15px;
      max-width: 90vw;
      overflow-x: auto;
    }
    
    .icon {
      padding: 8px;
      min-width: 60px;
    }
    
    .icon img {
      width: 40px !important;
      height: 40px !important;
    }
    
    .icon p {
      font-size: 0.8em;
      margin: 5px 0 0 0;
    }
    
    .theme-toggle, .language-toggle {
      top: 10px;
    }
    
    .theme-toggle {
      right: 10px;
      width: 40px;
      height: 40px;
    }
    
    .language-toggle {
      left: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .window {
      width: 98vw !important;
      max-height: 90vh !important;
      border-radius: 15px;
    }
    
    .dock {
      gap: 10px;
      padding: 6px 10px;
    }
    
    .icon img {
      width: 35px !important;
      height: 35px !important;
    }
    
    .window-content {
      padding: 15px;
    }
    
    .skills-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 10px;
    }
    
    .experience-item {
      padding: 15px;
    }
    
    .company-info {
      flex-direction: column;
      gap: 8px;
    }
    
    .achievement {
      padding: 12px;
    }
    
    .achievement-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }
    
    .project-actions {
      flex-direction: column;
    }
    
    .project-tech-stack {
      gap: 6px;
    }
    
    .tech-tag {
      font-size: 0.75em;
      padding: 3px 8px;
    }
    
    .education-details, .certification-details {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 12px;
    }
    
    .education-title, .certification-title {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
    
    .education-meta, .certification-meta {
      flex-direction: column;
      gap: 8px;
    }
    
    .thesis-title {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }
  }

  /* macOS-inspired style for the Open Readme button */
  .readme-button {
    background: linear-gradient(to bottom, #f7f7f7, #e3e3e3);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-left: 10px;
  }
  .readme-button:hover {
    background: linear-gradient(to bottom, #e3e3e3, #d0d0d0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .readme-button:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
  }
  
  /* Loading Animation */
  .loading {
    animation: pulse 1.5s infinite;
  }
  
  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Enhanced focus styles for better accessibility */
  *:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
  }
  
  /* Reduced motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* High contrast mode support */
  @media (prefers-contrast: high) {
    .window {
      border: 2px solid;
    }
    
    .icon:focus {
      outline: 3px solid;
    }
  }