:root {
    --indigo: #4b0082;
    --plum: #dda0dd;
    --bg-dark: #0d1117;
    --text-light: #ffffff;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Exo 2', sans-serif;
    box-sizing: border-box;
  }
  
  .hero {
    padding: 1.5rem 1rem; /* smaller top & bottom padding, equal */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at top left, var(--indigo), var(--bg-dark));
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    z-index: 2;
  }
  
  
  nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem; /* add some horizontal padding */
    position: relative;
    z-index: 0;
    gap: 2rem; /* space between nav sections */
    text-decoration: none;
    color: var(--text-light);
  }
  
  /* Make nav-left, nav-center, nav-links flex children */
  .nav-left,
  .nav-center,
  .nav-links {
    display: flex;
    align-items: center;
  }
  
  /* Give them equal flex basis so they spread out nicely */
  .nav-left,
  .nav-center,
  .nav-links {
    flex: 1 1 auto;
  }
  
  /* Center the middle section content horizontally */
  .nav-center {
    justify-content: center;
  }
  
  /* Align left and right to start and end respectively */
  .nav-left {
    justify-content: flex-start;
  }
  
  .nav-links {
    justify-content: flex-end;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text-light);
  }
  
  /* Slightly increase logo font size and add margin-right for spacing */
  nav .logo {
    font-size: 1.75rem;
    font-weight: 700;
    margin-right: 1rem;
  }
  
  /* Style Instagram link spacing */
  .instagram-link {
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
  }
  
  /* Nav links styling remains the same */
  nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0; /* Remove default ul margin */
    padding: 0; /* Remove default ul padding */
    text-decoration: none;
    color: var(--text-light);
  }
  
  /* Optional: add a little padding for nav-links for click area */
  nav ul li a,
  nav ul li a:visited {
    color: var(--text-light);
    display: inline-block; /* Add this line */
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  
  /* On hover, keep your existing hover effect */
nav ul li a:hover {
  background: linear-gradient(90deg, #8A2BE2, dodgerblue);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transform: translateY(-3px);
  text-decoration: none;
}
  
  .hero-content .highlight {
    color: var(--plum);
    position: relative;
    z-index: 0;
  }

  .hero-content p {
    position: relative;
    z-index: 2;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 0;
  }
  
  .hero-content .highlight {
    color: #f5f5f5;
    position: relative;
    z-index: 0;
  }
  
  .hero-content .btn {
    background: linear-gradient(90deg, #8A2BE2, dodgerblue);
    padding: 0.75rem 1.5rem;
    border: none;
    color: var(--text-light);
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
  }
  
  .hero-content .btn:hover {
    transform: scale(1.05);
  }

  .typewriter {
    font-size: 2rem;
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 0;
  }
  
  
  .cursor {
    color: var(--plum);
    margin-left: 0.2rem;
    animation: blink 0.8s infinite;
    position: relative;
    z-index: 0;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .hero-logo {
    max-width: 150px;
    animation: pulseLogo 2.5s ease-in-out infinite;
    position: relative;
    z-index: 0;
    margin-bottom: 1.5rem;
    animation: pulseLogo 2.5s ease-in-out infinite;
    display: block;
  }
  
  @keyframes pulseLogo {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  #matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* Behind content */
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none; /* So clicks pass through */
  }

  .container-row {
    display: flex;
    gap: 2rem; /* space between boxes */
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap; /* responsive wrap on small screens */
    position: relative;
    z-index: 0;
  }
  
  .info-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    flex: 1 1 300px; /* flexible width, min 300px */
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    color: var(--text-light);
    text-align: center;
    position: relative;
    z-index: 0;
  }
  
  .info-box h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    z-index: 0;
  }

  .logo-and-social {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
  
  .instagram-link {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    gap: 0.4rem;
    transition: color 0.3s;

  }
  
  .instagram-link:hover {
    background: linear-gradient(90deg, #8A2BE2, dodgerblue);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    transform: translateY(-3px); /* slight upward movement */
  }
  
  .instagram-link i {
    font-size: 1rem;
  }

  .site-footer {
    background-color: #1a1a1a;
    color: #eee;
    text-align: center;
    padding: 1.5rem 1rem;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    margin-top: 3rem;
    border-top: 1px solid #444;
    position: relative;
    z-index: 0;
  }
  
  .site-footer a {
    color: #8A2BE2; /* your purple color */
    text-decoration: none;
    margin-left: 0.3rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 0;
  }
  
  .site-footer a:hover {
    color: dodgerblue;
    position: relative;
    z-index: 0;
  }
  
  .site-footer i {
    margin-right: 0.4rem;
    position: relative;
    z-index: 0;
  }

  
  
  
  
  

  
  