@media (max-width: 640px) {

  body {
    padding: 0 16px;
  }

  .cursor-glow {
    display: none;
  }

  .navbarr {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  .navbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }

  .baba {
    font-size: 13px;
  }

  .main3 {
    gap: 20px;
    font-size: 11px;
  }

  .herosection1 {
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .supersection1 {
    padding: 0;
    margin-bottom: 20px;
  }

  .images img {
    height: 180px;
    width: 180px;
    object-fit: cover;
  }

  .supersection2 {
    padding-top: 0;
    width: 100%;
    text-align: center;
  }

  .subsection2 {
    justify-content: center;
  }

  .subsection3 {
    justify-content: center;
  }

  .ritu {
    font-size: 24px;
  }

  .subsection4,
  .building {
    max-width: 100%;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
  }

  .subsection5 {
    justify-content: center;
  }

  .subsection6 {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .resume {
    margin-right: 0;
  }

   .herosection2 {
    max-width: 100%;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    overflow-x: hidden;          
  }

  .subsection21 {
    padding-left: 0;
    padding-top: 10px;
    padding-bottom: 16px;
  }

    .subsection22,
  .subsection23 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }


  .subsection23 {
    margin-top: 8px;     
    padding-bottom: 20px;
  }

  .htmls, .csss, .js, .cpp, .git, .vs, .nodejs, .opencode,
  .python, .aistudio, .linuxx, .notion, .vercel, .figmaa, .bash {
    flex: 0 0 auto;
    white-space: nowrap;
    margin: 0;
    max-width: 100%;
  }

  .herosection3 {
    max-width: 100%;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 10px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    padding-right: 0;
    gap: 16px;
  }

  .project-image {
    height: 180px;
  }

  .herosection4 {
    max-width: 100%;
    width: 100%;
  }

  .subsection41 {
    padding-left: 12px;
  }

  .blogs {
    padding: 0 12px 16px 12px;
  }

  .blogoneupper {
    display: flex;
    flex-direction: row;         
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    align-items: center;
  }

  .blogname {
    font-size: 15px;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    white-space: nowrap;        
    overflow: hidden;           
    text-overflow: ellipsis;  
  }

   .blogdate {
    flex-shrink: 0;
    white-space: nowrap;
    margin-top: 2px;            
  }

  .date {
    font-size: 12px;
  }
  .blogmiddle {
    display: -webkit-box;
    -webkit-line-clamp: 2;        
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .herosection5 {
    max-width: 100%;
    width: 100%;
    padding: 16px 12px;
  }

  .socials {
    gap: 12px;
  }

  .social-item {
    flex: 1 1 calc(50% - 12px);
    min-width: 130px;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .hover-card {
    display: none;
  }

  .herosection6 {
    max-width: 100%;
    width: 100%;
  }

  .quotebody {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 24px;
  }

  .quote-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .quote-name {
    font-size: 11px;
  }

  .herosection7 {
    max-width: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    gap: 8px;
  }

  .subsection71 {
    padding-left: 0;
    padding-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .source {
    padding-right: 0;
  }

}