/* Theme */
:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent-primary: #58a6ff;
    --accent-secondary: #bc8cff;
    --accent-success: #3fb950;
    --accent-warning: #d29922;
    --border-color: #30363d;
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-lg: rgba(0, 0, 0, 0.6);
    --code-bg: #0d1117;
    --terminal-green: #3fb950;
  }
  
  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    background-image: 
      radial-gradient(circle at 20% 50%, rgba(88, 166, 255, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(188, 140, 255, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
  }
  
  /* Scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Cursor */
  @keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
  }
  
  .cursor::after {
    content: '_';
    animation: blink 1s infinite;
    color: var(--accent-primary);
  }
  
  /* Navigation */
  header {
    background-color: rgba(13, 17, 23, 0.9);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  nav::before {
    content: '$';
    color: var(--terminal-green);
    font-weight: bold;
    margin-right: 0.5rem;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: lowercase;
    font-family: 'JetBrains Mono', monospace;
  }
  
  nav a:hover {
    color: var(--accent-primary);
    background-color: var(--bg-tertiary);
  }
  
  nav a::before {
    content: './';
    color: var(--text-secondary);
    opacity: 0.5;
    margin-right: 0.25rem;
  }
  
  nav a:hover::before {
    color: var(--accent-primary);
    opacity: 1;
  }
  
  /* Container */
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
  }
  
  /* Hero */
  .hero {
    text-align: left;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      linear-gradient(90deg, transparent 0%, rgba(88, 166, 255, 0.03) 50%, transparent 100%),
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(88, 166, 255, 0.03) 2px,
        rgba(88, 166, 255, 0.03) 4px
      );
    pointer-events: none;
    opacity: 0.5;
  }
  
  .terminal-prompt {
    color: var(--terminal-green);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  
  .terminal-prompt::before {
    content: '➜';
    margin-right: 0.5rem;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
    position: relative;
    z-index: 1;
  }
  
  .hero h1::before {
    content: '> ';
    color: var(--accent-primary);
    font-weight: normal;
  }
  
  .hero h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .hero h2::before {
    content: '// ';
    color: var(--accent-primary);
    opacity: 0.6;
  }
  
  .tagline {
    display: block;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--accent-primary);
    font-weight: 500;
    margin: 1rem 0 2rem;
    position: relative;
    z-index: 1;
    font-family: 'JetBrains Mono', monospace;
    padding-left: 2rem;
    border-left: 2px solid var(--accent-primary);
  }
  
  .hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 0 2.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .hero p::before {
    content: '/* ';
    color: var(--text-secondary);
    opacity: 0.4;
  }
  
  .hero p::after {
    content: ' */';
    color: var(--text-secondary);
    opacity: 0.4;
  }
  
  /* Buttons */
  .buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }
  
  .buttons a,
  .btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
  }
  
  .buttons a::before,
  .btn::before {
    content: '$ ';
    color: var(--terminal-green);
    margin-right: 0.5rem;
  }
  
  .buttons a:hover,
  .btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
  }
  
  .buttons a:active,
  .btn:active {
    transform: translateY(0);
  }
  
  /* Headings */
  section h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: left;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
  }
  
  section h1::before {
    content: '# ';
    color: var(--accent-primary);
  }
  
  section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
  }
  
  section h2::before {
    content: '## ';
    color: var(--accent-primary);
    opacity: 0.6;
  }
  
  section h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
  }
  
  section h3::before {
    content: '### ';
    color: var(--accent-primary);
    opacity: 0.5;
  }
  
  /* Text */
  section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    font-family: 'JetBrains Mono', monospace;
  }
  
  /* Lists */
  ul {
    list-style: none;
    padding: 0;
  }
  
  ul li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
    font-family: 'JetBrains Mono', monospace;
  }
  
  ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
  }
  
  /* Projects */
  .project-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px var(--shadow);
    position: relative;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.2);
  }
  
  .project-card:hover::before {
    opacity: 1;
  }
  
  .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .project-header h2 {
    margin: 0;
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-header h2::before {
    content: '';
  }
  
  .project-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-badge.learning {
    color: var(--accent-warning);
    border-color: var(--accent-warning);
  }
  
  .project-tech,
  .project-domain {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-tech strong,
  .project-domain strong {
    color: var(--accent-primary);
  }
  
  .project-tech::before {
    content: 'Tech: ';
    color: var(--accent-primary);
    opacity: 0.7;
  }
  
  .project-domain::before {
    content: 'Domain: ';
    color: var(--accent-primary);
    opacity: 0.7;
  }
  
  .project-section {
    margin: 1.5rem 0;
  }
  
  .project-section h3 {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-section h3::before {
    content: '';
  }
  
  .project-features {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .project-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terminal-green);
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  .project-links {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
  }
  
  .project-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-link::before {
    content: '→ ';
    margin-right: 0.5rem;
  }
  
  .project-link:hover {
    color: var(--terminal-green);
    transform: translateX(5px);
  }
  
  .project-note {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--bg-tertiary);
    border-left: 3px solid var(--accent-warning);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .project-note::before {
    content: 'Note: ';
    color: var(--accent-warning);
    font-weight: bold;
    font-style: normal;
  }
  
  /* Skills */
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .skill-category {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .skill-category:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 166, 255, 0.15);
  }
  
  .skill-category h4 {
    color: var(--accent-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    font-family: 'JetBrains Mono', monospace;
  }
  
  .skill-category h4::before {
    content: '> ';
    color: var(--terminal-green);
  }
  
  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .skill-tag:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
  }
  
  /* Contact */
  .contact-info {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .contact-info a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    margin: 0 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .contact-info a::before {
    content: '→ ';
    margin-right: 0.25rem;
  }
  
  .contact-info a:hover {
    color: var(--terminal-green);
    transform: translateY(-2px);
  }
  
  /* Resume */
  .resume-container {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .resume-actions {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .resume-actions .btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
  }
  
  .resume-actions .btn::before {
    content: '$ wget ';
    color: var(--terminal-green);
    margin-right: 0.5rem;
  }
  
  .resume-actions .btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
  }
  
  .pdf-viewer-container {
    width: 100%;
    height: calc(100vh - 300px);
    min-height: 800px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    position: relative;
  }
  
  .pdf-viewer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    z-index: 1;
  }
  
  .pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }
  
  .resume-fallback {
    text-align: center;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
  }
  
  .resume-fallback a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
  }
  
  .resume-fallback a:hover {
    color: var(--terminal-green);
    text-decoration: underline;
  }
  
  /* About */
  .about-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  /* Contact */
  .contact-container {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .contact-content {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
  }
  
  .contact-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
  }
  
  .contact-section:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.1);
  }
  
  .contact-section h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .contact-section h3::before {
    content: '> ';
    color: var(--terminal-green);
  }
  
  .contact-section p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .contact-email {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
  }
  
  .contact-label {
    color: var(--accent-primary);
    font-weight: 600;
  }
  
  .contact-label::before {
    content: '$ ';
    color: var(--terminal-green);
  }
  
  .email-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .email-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
  }
  
  .social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
  }
  
  .social-link:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
  }
  
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--accent-primary);
    flex-shrink: 0;
  }
  
  .social-link:hover .social-icon {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
  }
  
  .social-text {
    font-weight: 500;
  }
  
  /* Social Hover */
  .social-link.linkedin:hover {
    border-color: #0077b5;
  }
  
  .social-link.linkedin:hover .social-icon {
    background: #0077b5;
    color: white;
  }
  
  .social-link.github:hover {
    border-color: #333;
  }
  
  .social-link.github:hover .social-icon {
    background: #333;
    color: white;
  }
  
  .social-link.youtube:hover {
    border-color: #ff0000;
  }
  
  .social-link.youtube:hover .social-icon {
    background: #ff0000;
    color: white;
  }
  
  .social-link.twitter:hover {
    border-color: #1da1f2;
  }
  
  .social-link.twitter:hover .social-icon {
    background: #1da1f2;
    color: white;
  }
  
  .social-link.medium:hover {
    border-color: #00ab6c;
  }
  
  .social-link.medium:hover .social-icon {
    background: #00ab6c;
    color: white;
  }
  
  .social-link.devto:hover {
    border-color: #0a0a0a;
  }
  
  .social-link.devto:hover .social-icon {
    background: #0a0a0a;
    color: white;
  }
  
  .social-link.stackoverflow:hover {
    border-color: #f48024;
  }
  
  .social-link.stackoverflow:hover .social-icon {
    background: #f48024;
    color: white;
  }
  
  .social-link.blog:hover {
    border-color: var(--accent-primary);
  }
  
  .social-link.blog:hover .social-icon {
    background: var(--accent-primary);
    color: white;
  }
  
  /* Replace the existing Responsive section (around line 950) with this enhanced version */

/* Responsive */
@media (max-width: 1024px) {
    .container {
      padding: 0 1.5rem;
    }
  
    .hero {
      padding: 5rem 1.5rem;
    }
  
    section {
      padding: 3.5rem 0;
    }
  
    .project-card {
      padding: 1.75rem;
    }
  }
  
  @media (max-width: 768px) {
    body {
      font-size: 15px;
    }
  
    nav {
      padding: 0.75rem 0;
      flex-direction: column;
      gap: 0.75rem;
    }
  
    nav::before {
      display: none;
    }
  
    .nav-links {
      width: 100%;
      justify-content: center;
      gap: 0.5rem;
    }
  
    nav a {
      font-size: 0.85rem;
      padding: 0.4rem 0.8rem;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .container {
      padding: 0 1rem;
    }
  
    .hero {
      padding: 3rem 1rem;
      text-align: center;
    }
  
    .hero h1 {
      font-size: clamp(2rem, 8vw, 3.5rem);
      margin-bottom: 0.75rem;
    }
  
    .hero h2 {
      font-size: clamp(1.1rem, 4vw, 1.5rem);
      margin-bottom: 0.75rem;
    }
  
    .tagline {
      font-size: clamp(0.9rem, 3vw, 1.1rem);
      margin: 1rem auto 1.5rem;
      padding-left: 1rem;
      text-align: left;
      max-width: 100%;
    }
  
    .hero p {
      font-size: clamp(0.95rem, 3vw, 1.1rem);
      margin: 0 auto 2rem;
      text-align: left;
    }
  
    section {
      padding: 2.5rem 0;
    }
  
    section h1 {
      font-size: clamp(1.75rem, 6vw, 2.5rem);
      margin-bottom: 2rem;
      padding-bottom: 0.75rem;
    }
  
    section h2 {
      font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
  
    section h3 {
      font-size: clamp(1.1rem, 3vw, 1.3rem);
      margin: 1.5rem 0 0.75rem;
    }
  
    section p {
      font-size: 1rem;
      line-height: 1.7;
    }
  
    .buttons {
      flex-direction: column;
      align-items: stretch;
      gap: 0.75rem;
      width: 100%;
    }
  
    .buttons a,
    .btn {
      width: 100%;
      max-width: 100%;
      padding: 1rem 1.5rem;
      font-size: 0.9rem;
      text-align: center;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .project-card {
      padding: 1.25rem;
      margin-bottom: 1.5rem;
    }
  
    .project-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
    }
  
    .project-header h2 {
      font-size: clamp(1.25rem, 4vw, 1.5rem);
      width: 100%;
    }
  
    .project-badge {
      font-size: 0.7rem;
      padding: 0.35rem 0.7rem;
    }
  
    .project-tech,
    .project-domain {
      font-size: 0.85rem;
    }
  
    .project-section {
      margin: 1.25rem 0;
    }
  
    .project-section h3 {
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }
  
    .project-features li {
      font-size: 0.95rem;
      padding: 0.4rem 0;
      padding-left: 1.25rem;
    }
  
    .project-links {
      margin-top: 1.25rem;
      padding-top: 1.25rem;
    }
  
    .project-link {
      font-size: 0.9rem;
      min-height: 44px;
      display: flex;
      align-items: center;
    }
  
    .project-note {
      padding: 0.875rem;
      font-size: 0.85rem;
    }
  
    .skills-container {
      grid-template-columns: 1fr;
      gap: 1.25rem;
      margin-top: 1.5rem;
    }
  
    .skill-category {
      padding: 1.25rem;
    }
  
    .skill-category h4 {
      font-size: 1.1rem;
      margin-bottom: 0.875rem;
      padding-bottom: 0.625rem;
    }
  
    .skill-tags {
      gap: 0.625rem;
    }
  
    .skill-tag {
      font-size: 0.8rem;
      padding: 0.45rem 0.875rem;
      min-height: 36px;
      display: inline-flex;
      align-items: center;
    }
  
    .pdf-viewer-container {
      height: calc(100vh - 200px);
      min-height: 500px;
      margin-bottom: 1.5rem;
    }
  
    .resume-actions {
      justify-content: stretch;
      margin-bottom: 1.5rem;
    }
  
    .resume-actions .btn {
      width: 100%;
      max-width: 100%;
      text-align: center;
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .resume-fallback {
      padding: 0.875rem;
      font-size: 0.85rem;
    }
  
    .contact-content {
      gap: 1.5rem;
      margin-top: 1.5rem;
    }
  
    .contact-section {
      padding: 1.25rem;
    }
  
    .contact-section h3 {
      font-size: 1.1rem;
      margin-bottom: 0.875rem;
    }
  
    .contact-section p {
      font-size: 0.95rem;
      margin-bottom: 1.25rem;
    }
  
    .contact-email {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.75rem;
      padding: 0.875rem;
    }
  
    .contact-label {
      font-size: 0.9rem;
    }
  
    .email-link {
      font-size: 0.95rem;
      word-break: break-all;
    }
  
    .social-links {
      grid-template-columns: 1fr;
      gap: 0.875rem;
      margin-top: 1.25rem;
    }
  
    .social-link {
      padding: 0.875rem;
      font-size: 0.85rem;
      min-height: 48px;
    }
  
    .social-icon {
      width: 28px;
      height: 28px;
      font-size: 0.7rem;
    }
  
    .about-content {
      padding: 0 0.5rem;
    }
  
    .about-content p {
      font-size: 0.95rem;
      margin-bottom: 1.25rem;
    }
  }
  
  @media (max-width: 480px) {
    body {
      font-size: 14px;
    }
  
    nav {
      padding: 0.5rem 0;
    }
  
    .nav-links {
      gap: 0.25rem;
    }
  
    nav a {
      font-size: 0.8rem;
      padding: 0.35rem 0.7rem;
      min-height: 40px;
    }
  
    .container {
      padding: 0 0.75rem;
    }
  
    .hero {
      padding: 2.5rem 0.75rem;
    }
  
    .hero h1 {
      font-size: clamp(1.75rem, 10vw, 2.5rem);
    }
  
    .hero h2 {
      font-size: clamp(1rem, 5vw, 1.25rem);
    }
  
    .tagline {
      font-size: clamp(0.85rem, 4vw, 1rem);
      padding-left: 0.75rem;
      border-left-width: 1.5px;
    }
  
    .hero p {
      font-size: clamp(0.9rem, 4vw, 1rem);
    }
  
    section {
      padding: 2rem 0;
    }
  
    section h1 {
      font-size: clamp(1.5rem, 8vw, 2rem);
      margin-bottom: 1.5rem;
    }
  
    section h2 {
      font-size: clamp(1.1rem, 5vw, 1.5rem);
    }
  
    section h3 {
      font-size: clamp(1rem, 4vw, 1.2rem);
    }
  
    .buttons a,
    .btn {
      padding: 0.875rem 1.25rem;
      font-size: 0.85rem;
      min-height: 44px;
    }
  
    .project-card {
      padding: 1rem;
      margin-bottom: 1.25rem;
    }
  
    .project-header h2 {
      font-size: clamp(1.1rem, 5vw, 1.35rem);
    }
  
    .project-badge {
      font-size: 0.65rem;
      padding: 0.3rem 0.6rem;
    }
  
    .project-tech,
    .project-domain {
      font-size: 0.8rem;
    }
  
    .project-features li {
      font-size: 0.9rem;
      padding-left: 1rem;
    }
  
    .skills-container {
      gap: 1rem;
    }
  
    .skill-category {
      padding: 1rem;
    }
  
    .skill-category h4 {
      font-size: 1rem;
    }
  
    .skill-tag {
      font-size: 0.75rem;
      padding: 0.4rem 0.75rem;
    }
  
    .pdf-viewer-container {
      height: calc(100vh - 180px);
      min-height: 400px;
      border-radius: 6px;
    }
  
    .contact-section {
      padding: 1rem;
    }
  
    .contact-section h3 {
      font-size: 1rem;
    }
  
    .contact-section p {
      font-size: 0.9rem;
    }
  
    .social-link {
      padding: 0.75rem;
      font-size: 0.8rem;
    }
  
    .social-icon {
      width: 26px;
      height: 26px;
      font-size: 0.65rem;
    }
  }
  
  @media (min-width: 769px) and (max-width: 1024px) {
    .container {
      max-width: 1200px;
    }
  
    .hero {
      padding: 5rem 2rem;
    }
  
    .skills-container {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .social-links {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1025px) {
    .container {
      max-width: 1400px;
    }
  }
  
  @media (orientation: landscape) and (max-height: 500px) {
    .hero {
      padding: 2rem 1rem;
    }
  
    section {
      padding: 2rem 0;
    }
  
    .pdf-viewer-container {
      height: calc(100vh - 150px);
      min-height: 400px;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  @media (hover: none) and (pointer: coarse) {
    nav a:hover,
    .buttons a:hover,
    .btn:hover,
    .project-link:hover,
    .social-link:hover,
    .skill-tag:hover {
      transform: none;
    }
  
    nav a:active,
    .buttons a:active,
    .btn:active {
      opacity: 0.8;
    }
  }
  
  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-primary);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
  }
  
  /* Selection */
  ::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
  }