@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    color: #00c896;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 3000;
    background: transparent;
    border: none;
  }

  .nav-home {
    flex-direction: row;
    align-items: flex-end;
    gap: 15px;
    position: absolute;
    top: 60px;
    left: 10px;
    right: 10px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
    z-index: 2000;
  }

  .nav-home.show {
    max-height: 500px;
    padding: 10px 15px;
  }

  .nav-home a {
    font-size: 13px;
    padding: 8px 0;
    color: azure;
    text-align: center;
    text-decoration: none;
  }

  .nav-home a:hover {
    color: #00c896;
    text-align: center;
  }

  #mobile-img {
    display: block;
    height: 30px;
    width: 30px;
    border: 1px solid;
    border-radius: 50%;
    position: absolute;
    top: 23px;
    left: 12px;
  }

  .hero {
    width: 90%;
    margin-top: 120px;
    padding: 20px;
  }

  .intro h1 span.typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    top: 10px;
    animation: typing 3s steps(20, end), blink 0.75s step-end infinite;
  }

  .hero img {
    width: 200px;
    margin-top: -60px;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro span {
    font-size: 1.1rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .Experience {
    padding: 1rem;
  }

  .merged-work {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }

  .merged-work.personal-projects {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
  }

  .skill-card {
    padding: 0.8rem;
  }

  .skill-card img {
    width: 24px;
    height: 24px;
  }

  .skill-info h3 {
    font-size: 0.9rem;
  }

  .skill-info p {
    font-size: 0.7rem;
  }

  .project-card h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .tech-stack {
    justify-content: flex-start;
  }

  .project-title {
    font-weight: bold;
    flex: 1;
    min-width: 150px;
  }

  .tech-tools {
    font-size: 9px;
    right: -4px;
    top: 5px;
    padding: 2px 4px;
  }

  .tech-stack img {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    position: relative;
    top: 5px;
    right: -5px;
    transition: transform 0.2s ease;
  }

  .tech-stack-logo img {
    width: 35px;
    height: 35px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .email-us {
    flex-direction: column;
    gap: 10px;
  }

  .email-us input,
  .email-us button {
    border-radius: 8px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-home {
    gap: 15px;
  }

  .nav-home a {
    font-size: 10px;
    text-align: center;
  }

  .intro h1 {
    font-size: 1.5rem;
  }

  .Experience h1,
  .Blogs h1,
  .contact h1 {
    font-size: 1.5rem;
  }

  .education-details {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tech-tools {
    font-size: 9px;
    right: 2px;
    top: 5px;
    padding: 2px 3px;
  }

  .tech-stack img {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    position: relative;
    top: 5px;
    right: 5px;
    transition: transform 0.2s ease;
  }

  .tech-stack-logo img {
    width: 30px;
    height: 30px;
  }
  .edu-text {
    align-items: center;
  }

  .stream-date {
    position: static;
    margin-top: 1.5rem;
    left: auto;
    top: auto;
  }

  .stream span {
    color: #ccc;
    display: block;
    word-wrap: break-word;
    white-space: normal;
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3rem;
    padding: 0 0.5rem;
  }

  .edu-img {
    margin-bottom: 0.5rem;
  }

  .merged-work a {
    padding: 1rem;
  }

  .merged-work.personal-projects a {
    padding: 1.5rem;
  }

  #pr-desc {
    margin-top: 2px;
    display: inline-block;
    margin-left: 1.9rem;
  }

  .recent-blogs {
    padding: 1.5rem;
  }

  footer span {
    color: #00c896;
    font-weight: bold;
  }
}


