@media (max-width: 768px){

  /* Navbar - MATCH main exactly */

  /* Keep other Projects content as-is below */



  /* ==============================
     Project Hero Section
  ============================== */
  .project-hero {
    height: 75vh;
    margin-top: 70px;
    padding-bottom: 1.5rem;
  }

  

  .project-hero-content {
    padding: 2.5rem 0;
    min-height: 180px;
  }

  .project-hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem) !important;
    margin: 0 0 1.8rem 0;
    line-height: 1.1;
  }

  .project-hero-description {
    font-size: clamp(1rem, 3.5vw, 1.4rem) !important;
    padding: 0 1.5rem;
    max-width: 700px;
    line-height: 1.5;
  }

  /* Services Bar */
  .services-bar { padding: 2rem 1.5rem; }
  .services-container { gap: 4rem; padding: 0 1rem; }
  .service-item { flex: 0 0 auto; }

  .service-icon-1,
  .service-icon-2,
  .service-icon-3 {
    width: 60px ;
    height: 60px ;
    margin-bottom: 0.4rem;
  }

  .service-icon-1 img,
  .service-icon-2 img,
  .service-icon-3 img {
    width: 30px !important;
    height: 30px !important;
  }

  .service-label { font-size: 0.8rem; }

  /* Projects Content */
  .projects-content {
    padding: 4rem 1.5rem 3rem 1.5rem;
    margin-top: 2.5rem;
    border-radius: 40px;
    max-width: 900px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr) ;
    gap: 1.8rem;
    max-width: 100%;
  }

  .project-card {
    max-width: 400px;
    width: 100%;
    justify-self: center;
    min-height: 280px;
  }

  .project-image { height: 150px; }
  .project-content { padding: 1.3rem; }
  .project-content h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  .project-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
  }

  .project-tags { gap: 0.4rem; }
  .project-tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  /* Project Overlay */
  .project-overlay-content {
    top: 80px;
    width: 90vw;
    max-width: 800px;
    height: calc(100vh - 120px);
    border-radius: 14px;
  }

  .project-slide-image { flex: 0 0 45%; max-height: 45%; }
  #overlayTitle { padding: 1rem 1.5rem; font-size: 1.4rem; }
  #overlayDescription {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .project-slide-nav {
    bottom: 12px !important;
    padding: 0.5rem 0.7rem !important;
    height: 50px !important;
    min-width: 160px !important;
    gap: 0.6rem !important;
  }

  .slide-prev, .slide-next { width: 36px; height: 36px; font-size: 1.8rem; }
  .slide-dot { width: 7px; height: 7px; }
  .slide-indicators { gap: 0.5rem; }

  /* GitHub link */
  .github-link { width: 30px !important; height: 30px !important; }
  .github-link svg { width: 17px !important; height: 17px !important; }
}
