  @media (max-width: 767px) {
    /* General spacing for sections */
    #about,
    #experince,#projects, #testimonial{
      padding-top: 60px !important;
      padding-bottom: 60px !important;
      margin-top: 40px;
      margin-bottom: 40px;
    }

    #experince{
        margin-top: 100%;
    }

    /* Make text less cramped */
    #about p,
    #experince p, #testimonial p, #projects p{
      font-size: 0.95rem;
      line-height: 1.6;
    }

    /* Profile Image spacing */
    #about .profile-img {
      margin-bottom: 30px;
    }

    /* Work experience timeline adjustments */
    #experince .pl-2 {
      margin-top: 30px;
    }

    /* Section titles spacing */
    #about h1,
    #experince h1, #projects h1, #testimonial h1, #contactFrom h1, #skills h1 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
  }

  @media (max-width: 575px) {
    /* Extra small screens (iPhone SE, etc.) */
    #about,
    #experince, #projects, #contactFrom{
      padding-top: 50px;
      padding-bottom: 50px;
      margin-top: 30px;
      margin-bottom: 30px;
    }
    #about h3,
    #experince h5 {
      font-size: 1.2rem;
    }
    #contactFrom input, #contactFrom textarea{
     /* margin-top: 5%; */
     font-size: 1rem;
    }
    #contactFrom #email{
        margin-top: 7%;
    }
    #about .btn,
    #experince .btn , #contactFrom .btn{
      width: 100%;
    }
    #contactFrom .btn{
        font-size: 15px;
    }
     #home{
      margin-top: 0;
      }
       #home{
   margin-top: 0px;
  }
  }


  /* Default for large screens */
#about,  #projects, #testimonial, #contactFrom{
  height: 100vh;
  min-height: 600px; 
  padding-top: 80px;
  padding-bottom: 80px;
}
#experince {
  height: auto;
}


#projects .container{
    height: auto;
}

#contactFrom{
    height: 110vh;
 }

/* Medium screens (tablet) */
@media (max-width: 991px) {
  #about, #experince, #projects, #testimonial, #contactFrom{
    height: auto;
    min-height: unset;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  #contactFrom{
    height: 100vh;
 }
 
}


.oneTime{
    display: none;
 }


/* Small screens (mobile) */
@media (max-width: 767px) {
  #about, #experince, #projects, #testimonial, #contactFrom{
    height: auto;
    min-height: unset;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  #contactFrom{
    margin: 0;
  }
  .leftWork{
    display: none;
  }
  .oneTime{
    display: block;
  }
   .thirdJob{
    margin-top: 0px;
    height: auto;
  }
  .hireMe{
    margin-top: 10px;
  }

 #testimonial {
    margin-top: 0; 
  }

  #home{
   margin-top: 0px;
  }

  #email{
    margin-top: 0px;
  }
  .navbar1{
    display: none;
  }
}

/* end of small screen */

#home{
  margin-top: -20px;
}

.thirdJob{
    margin-top: 37%;
    height: auto;
}


.shadow-lg {
    height: 100%;
}

.p-3 {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


#testimonial {
    margin-top: 28%; 
}

@media (max-width: 767.98px) {
    #testimonial {
        margin-top: 20px; 
    }

    .card-review {
        width: 100%; 
    }
}


/* Floating Card */
.floating-card {
    background: #fff;
    border-radius: 15px;
    padding: 8px 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    position: absolute;
    max-width: 220px;
    transition: all 0.3s ease-in-out;
}

.floating-card img {
    width: 40px;
    height: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
    #home {
        padding: 10px;
    }
    .floating-card {
        transform: scale(0.8);
    }
    .floating-card.top-card {
        top: 10px;
        right: 0;
    }
    .floating-card.bottom-card {
        bottom: 10px;
    }
    .floating-card.bottom-card:last-child {
        bottom: 50px;
    }
}

#about, #experince{
  overflow-x: hidden;
}

html, body {
  overflow-x: hidden;
}
