  :root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --border: #334155;
  }
  
  [data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --border: #e2e8f0;
  }

  * {
    font-family: 'Inter', sans-serif;
  }
  
  h1, h2, h3, .font-poppins {
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  #unit, input{
    margin: 10px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid var(--border);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
  }

  .glass-effect {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.1);
  }
  
  [data-theme="light"] .glass-effect {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
  }
  
  .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.1), 0 10px 10px -5px rgba(59, 130, 246, 0.04);
  }
  
  .page {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
  }
  
  .page.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .skill-bar {
    background: var(--border);
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
  }
  
  .skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #06b6d4 100%);
    border-radius: 999px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    z-index: 1;
  }
  
  .nav-link.active {
    color: var(--accent);
  }
  
  .nav-link.active::after {
    width: 100%;
  }
  
  .binary-bit {
    display: inline-block;
    width: 24px;
    text-align: center;
    font-family: monospace;
    font-weight: 600;
  }
  
  .binary-octet {
    border-right: 2px solid var(--accent);
    padding-right: 8px;
    margin-right: 8px;
  }
  
  .binary-octet:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
  
  @media (max-width: 768px) {
    .timeline-item::before {
      left: -21px;
    }
  }
  img{
    width: 100%;
    height:100%;
    display: block;
    clear: both;
  }

