    :root {
      --bg-color: #0e0e0e;
      --text-color: #ffffff;
      --accent-color: #61dafb;
      --card-bg: #1a1a1a;
      --shadow-color: rgba(97, 218, 251, 0.4);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-color);
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 2rem;
      transition: background-color 0.5s ease;

      
      height: auto;                    
      overflow-y: scroll;             
      scroll-snap-type: y mandatory;
    }

    .wrapper {
      width: 100%;
      max-width: 1100px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }

    header {
      width: 100%;
      text-align: center;
      animation: fadeInDown 1s ease-out;
    }

    header h1 {
      font-size: 2.5rem;
      color: var(--accent-color);
      margin-bottom: 0.5rem;
    }

    header p {
      font-size: 1.1rem;
      opacity: 0.85;
    }
    .spotify-widget {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      margin: 0 auto;
      margin-top: 1rem;
      margin-bottom: 1rem;
      padding: 1rem;
      border-radius: 10px;
      background-color: #1e1e1e;
      width: 100%;
      max-width: 400px;
      animation: fadeIn 1s ease-in-out;
    }

    .spotify-widget img {
      width: 64px;
      height: 64px;
      border-radius: 5px;
    }

    .spotify-info {
      flex-grow: 1;
      text-align: left;
    }

    .spotify-info h4, .spotify-info p {
      margin: 0;
      line-height: 1.4;
    }

    .spotify-info h4 {
      font-size: 1rem;
      color: var(--accent-color);
    }

    .spotify-info p {
      font-size: 0.9rem;
      opacity: 0.85;
    }

    .time-info {
      display: flex;
      justify-content: space-between;
      font-size: 0.75rem;
      color: #aaa;
      margin-top: 4px;
    }
    #stack {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: .4rem;
      animation: fadeIn 2s ease-in-out;
    }
     #stack img {
      height: 30px;
    }

    .progress-bar {
      height: 4px;
      background-color: black;
      margin-top: 4px;
      border-radius: 2px;
      overflow: hidden;
      position: relative;
    }

    .progress {
      height: 100%;
      background-color: greenyellow;
      width: 0%;
    }

    .projects {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      width: 100%;
      animation: fadeInUp 1.5s ease-out;
    }

    .project-card {
      background-color: var(--card-bg);
      padding: 1.5rem;
      border-radius: 12px;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      transform: scale(1);
      border: 1px solid #222;
    }

    .project-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 5px 20px var(--shadow-color);
      border-color: var(--accent-color);
      background-color: rgba(97, 218, 251, 0.1);
    }

    .project-card h3 {
      margin-bottom: 0.5rem;
      color: var(--accent-color);
    }

    .project-card p {
      margin-bottom: 1rem;
      font-size: 1rem;
      line-height: 1.6;
    }

    .project-card a {
      color: var(--accent-color);
      text-decoration: none;
      font-weight: bold;
    }

    .project-card a:hover {
      text-decoration: underline;
    }

    .tilt-card {
      transform-style: preserve-3d;
      will-change: transform;
    }
    .popout {
      transform: translateZ(20px);
    }
   .snap-container {
      height: 100vh;
      overflow-y: scroll;
      scroll-snap-type: y mandatory;
    }
    
    .snap-section {
      min-height: 100vh;         /* Each section fills viewport */
      scroll-snap-align: start;  /* Snap to top of section */
      scroll-snap-stop: always;  /* Force stop at each section */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 2rem;
    }
    /* Technology badges */
    .tech-badge {
      height: 30px;
      cursor: pointer;
      transition: all 0.3s ease;
      filter: brightness(1);
      position: relative;
    }

    .tech-badge:hover {
      transform: scale(1.1);
      filter: brightness(1.3) drop-shadow(0 0 10px rgba(97, 218, 251, 0.6));
    }

    .tech-badge.active {
      transform: scale(1.15);
      filter: brightness(1.4) drop-shadow(0 0 15px rgba(97, 218, 251, 0.8));
    }

    /* Project card highlighting */
    .project-card.highlighted {
      transform: translateY(-10px) scale(1.05);
      box-shadow: 0 10px 30px rgba(97, 218, 251, 0.6);
      border-color: var(--accent-color);
      background-color: rgba(97, 218, 251, 0.1);
      animation: pulse 2s infinite;
    }

    .project-card.dimmed {
      opacity: 0.3;
      transform: scale(0.95);
    }
      @keyframes connectionLine {
      0% { width: 0; opacity: 0; }
      50% { opacity: 1; }
      100% { width: 100%; opacity: 0; }
    }

    .tech-badge.active::after {
      content: '';
      position: absolute;
      height: 2px;
      background: var(--accent-color);
      animation: connectionLine 1s ease-out;
    }
    .tech-tags {
          display: flex;
          flex-wrap: wrap;
          gap: 0.5rem;
          margin-top: 1rem;
    }

    .tech-tag {
      background: rgba(97, 218, 251, 0.2);
      color: var(--accent-color);
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      font-size: 0.75rem;
      border: 1px solid rgba(97, 218, 251, 0.3);
    }

    footer {
      margin-top: 2rem;
      text-align: center;
      font-size: 0.85rem;
      color: #888;
    }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
      header h1 {
        font-size: 2rem;
      }

      .project-card p {
        font-size: 0.95rem;
      }
    }
    @media (max-width: 768px) {
  body {
    scroll-snap-type: none;  /* Disable on mobile for better UX */
  }
}