.projects{
   background: #f9f9f9;
   padding : 5rem 2rem; 
}
.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card{
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
}
/* -------- css for tech tack slider*/
.tech-stack-slider {
  display: flex;
  overflow-x: auto; /* Enables horizontal scrolling */
  gap: 20px; /* Spacing between items */
  padding: 15px 0;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #888 transparent; /* For Firefox */
}

.tech-stack-slider::-webkit-scrollbar {
  height: 6px; /* For Chrome/Safari */
}

.tech-stack-slider::-webkit-scrollbar-thumb {
  background: #888; /* Scrollbar handle */
  border-radius: 3px;
}

.tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px; /* Prevents squeezing */
}

.tech-icon {
  width: 50px; /* Adjust icon size */
  height: 50px;
  object-fit: contain;
}

.tech p {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 768px) {
  .tech {
    min-width: 70px;
  }
  .tech-icon {
    width: 40px;
    height: 40px;
  }
}
.social-links{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}