    /* Terminal Hero Section */
    .terminal-hero {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* changed from center */
        min-height: auto;        /* removed full height */
        padding-top: 4rem;  
        padding-left: 2rem;     /* adds space from navbar */
        padding-right: 2rem;
        padding-bottom: 2rem;
      }
      
      .terminal-window {
        background-color: #1e2129;
        border-radius: 8px;
        width: 100%;
        /* max-width: 1000px; */
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
      }
      body.light .terminal-window {
        background-color: #34373d;
        /* background-color:#102128; */
        box-shadow: 0 0 20px rgba(92, 106, 196, 0.1);
      }
      .terminal-header {
        background-color: #2b2e3b;
        padding: 0.5rem 1rem;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
      .circle {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: inline-block;
      }
      .red { background-color: #ff5f56; }
      .yellow { background-color: #ffbd2e; }
      .green { background-color: #27c93f; }
      .terminal-title {
        margin-left: auto;
        font-size: 0.9rem;
        color: #888;
      }
      
      /* Terminal Body */
      .terminal-body {
        display: flex;
        padding: 1rem;
        gap: 1rem;
        min-height: 400px;
      }
      .terminal-text {
        flex: 1;
        white-space: pre-wrap;
        font-size: 1.3rem;
        line-height: 1.6;
        min-height: 200px;
      }
      .terminal-photo {
        width: 300px;
        height: 350px;
        overflow: hidden;
        /* border: 1px dashed #555; */
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .terminal-photo img {
        width: 100%;
        height: auto;
        opacity: 0.4;
      }
      
      /* My Work */
    
      .my-work-section {
        padding: 5rem 2rem;
        background: #0f1117;
        color: #fff;
        text-align: center;
      }
      body.light .my-work-section {
        background: #f7f7f7;
        color: #111;
      }
      body.light .section-subtitle,
    body.light .section-title,
    body.light .work-card h3,
    body.light .work-card p {
      color: black;
    }
    body.light .nav-links a {
      color: #007acc; /* sky blue */
    }
    body.light svg {
      stroke: #007acc;
    }
    body.light .logo {
      color: #009e8e; /* subtle teal */
    }
    
    body.light .card-link  {
      color: #5c6ac4; /* indigo for CTAs */
    }
    
      .section-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
      }
      
      .section-subtitle {
        font-size: 0; /* hide text visually */
        position: relative;
      }
      
      .section-subtitle::after {
        content: "";
        display: block;
        width: 100%;
        max-width: 400px;
        height: 1px;
        background-color: #888;
        margin: 0 auto;
        margin-bottom: 40px;
        margin-top: 40px;
      }
      
      .card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
      }
      
      .work-card {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 1rem;
        padding: 2rem;
        text-align: left;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
        cursor: pointer;
        color: #fff;
        position: relative;
        text-decoration: none;
      }
      
      .work-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 30px rgba(3, 87, 67, 0.233);
        border-color: rgba(0, 255, 204, 0.3);
      }
      
      .card-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
      }
      
      .work-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
      }
      
      .work-card p {
        font-size: 1rem;
        color: #ccc;
        margin-bottom: 1rem;
      }
      
      .card-link {
        font-weight: bold;
        color: #00ffcc;
        text-decoration: none;
      }
    
      
      .card-icon svg {
        width: 40px;
        height: 40px;
        transition: transform 0.3s ease, stroke 0.3s ease;
      }
      
      .work-card:hover .card-icon svg {
        transform: scale(1.15);
        stroke: #00ffff;
      }
      body.light .work-card{
        background-color: white;
        box-shadow: 0 0 10px #042c442f;
      }
      body.light .work-card:hover .card-icon svg {
        stroke: #044c7c; 
        border-color: #042b44;
      }
      body.light .work-card:hover {
        box-shadow: 0 8px 30px rgba(3, 87, 67, 0.233);
        border-color:#042b44;
        transition: transform 0.3s ease, box-shadow 0.3s ease ;
      }
      /* Responsive */
      @media (max-width: 768px) {
        .terminal-body {
          flex-direction: column;
          gap: 1rem;
        }
        .terminal-photo {
          width: 100%;
          height: auto;
        }
        .nav-links {
          flex-wrap: wrap;
          gap: 1rem;
        }
      }
      
      /* Highlight Section */
    .highlights-section {
      padding: 4rem 2rem;
      text-align: center;
      background: #0f111a;
      color: #e5e5e5;
    }
    
    .highlight-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      margin-bottom: 4rem;
    }
    
    .highlight-card {
      background: rgba(255, 255, 255, 0.05);
      padding: 1.5rem;
      border-radius: 1rem;
      width: 160px;
      transition: transform 0.4s ease;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .highlight-card:hover {
      transform: translateY(-5px);
      border-color: #00ffcc;
    }
    
    .highlight-card .icon {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
    
    .highlight-card .count {
      font-size: 2rem;
      font-weight: bold;
    }
    
    .highlight-card p {
      margin-top: 0.3rem;
      font-size: 1rem;
      color: #aaa;
    }
    
    
    
    /* Light Theme Compatibility */
    body.light .highlights-section {
      background: #f4f4f4;
      color: #111;
    }
    body.light .highlight-card {
      background: #ffffff;
      color: #111;
      border: 1px solid #ccc;
    }
    body.light .highlight-card p {
      color: #555;
    }
    .glass {
      backdrop-filter: blur(20px);
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 15px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .glass:hover {
      transform: scale(1.02);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
    
    .grid-layout {
      display: grid;
      grid-template-columns: 3fr 2fr;
      gap: 2rem;
      padding: 2rem;
    }
    
    .card {
      background: rgba(255, 255, 255, 0.08);
      border-radius: 1.2rem;
      padding: 1.5rem;
      backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.4s ease;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }
    
    .card:hover {
      backdrop-filter: blur(22px);
      transform: translateY(-5px);
    }
    
    .github-stats {
      margin-top: 1.5rem;
      width: 100%;
      border-radius: 0.5rem;
    }
    
    .tech-icons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 1rem;
      justify-content: center;
      align-items: center;
    }
    
    .tech-icons img {
      height: 40px;
      transition: transform 0.4s ease;
    }
    
    .tech-icons img:hover {
      transform: scale(1.2);
    }
    
    
    /* Responsive */
    @media (max-width: 768px) {
      .grid-layout {
        grid-template-columns: 1fr;
      }
    }
    

    /* ========== Improved Responsive Enhancements ========== */

/* Global text scaling on smaller screens */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }
  .terminal-body {
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .terminal-hero {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
  }

  .terminal-window {
    width: 100%;
  }

  .terminal-body {
    flex-direction: column;
    /* align-items: center; */
    padding: 1rem;
    min-height: auto;
  }

  .terminal-text {
    font-size: 1.1rem;
    /* text-align: center; */
  }

  .terminal-photo {
    width: 90%;
    max-width: 300px;
    height: auto;
    margin-top: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .highlight-row {
    gap: 1.5rem;
  }

  .highlight-card {
    width: 80%;
    max-width: 240px;
  }

  .grid-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1rem;
  }

  .tech-icons img {
    height: 36px;
  }
  .work-heading{
    font-size: 1rem;
  }
  .work-subtitle {
    font-size: 0.9rem;
  }
}

/* Even smaller screens */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .terminal-text {
    font-size: 1rem;
  }

  .highlight-card .count {
    font-size: 1.5rem;
  }

  .highlight-card {
    padding: 1rem;
  }
  

  .tech-icons {
    gap: 8px;
  }

  .tech-icons img {
    height: 30px;
  }

  .card-link {
    font-size: 0.95rem;
  }
}
