* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

.material-symbols-outlined, .fa {
  vertical-align: middle;
  font-size: 36px;
  margin-right: 10px;
  color: #ffffff;
}

.info {
  margin-top: 100px;
  
  
  
}

.Info {
  vertical-align: middle;
  font-family: 'Nothing You Could Do', cursive;
  font-size: large;
  font-style: normal;
  font-size: 60px;
  margin-top: 150px;
  margin-left: 80px;
  margin-right: 80px;
  color: rgb(255, 255, 255);
  
  

}

.info p {
  font-size: 2px;
  margin: 20px 0;
  text-align: center;
}

.home-button {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  font-family: 'Nothing You Could Do', cursive;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8px 14px;
  border-radius: 30px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.home-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}



.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px 30px;
  width: 250px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
  margin-top: 250px
}

.card:hover {
  transform: translateY(-5px);
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.card .icon {
  margin-bottom: 12px;
}

.card .icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

.call-icon {
  height: 30px
}

.mail-icon {
 height: 30px;
 width: 40px;
}

.snap-icon{
  height: 35px;
}



        
 .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); 
            grid-template-rows: repeat(3, auto);   
            gap: 100px; 
            margin-top: 60px;
            max-width: 1100px; 
        }

        .project-card {
    display: block;
    text-decoration: none;
    color: white; 
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease-in-out;
    margin-left: 30px;
    margin-right: 30px;
}

.project-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2); 
}


        .project-card h2 {
            font-size: 1.4rem;
            margin-bottom: 10px;
        }

        .project-card p {
            font-size: 1rem;
            color: #ddd;
        }


  .project-card img {
    width: 100%;
    height: 150px;        
    object-fit: cover;   
    border-radius: 10px;  
    margin-bottom: 10px;
}

 

@media (max-width: 768px) {
  
  .home-title,
  .title,
  .Info {
    font-size: 36px;
    margin-top: 100px;
    margin: 20px 0;
    padding: 20px;
    text-align: center;
  }

 
  .info {
    margin-top: 50px;
  }

  .info p {
    font-size: 16px;
    padding: 0 10px;
  }

 
  .nav-button {
    width: 90%;
    padding: 12px 20px;
    font-size: 1.2rem;
  }

  
  .home-button {
    font-size: 1rem;
    padding: 6px 12px;
    top: 10px;
    left: 10px;
  }

  
  .cards {
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    gap: 20px;
  }

  .card {
    width: 90%;
    margin-top: 0;
    padding: 20px;
  }


  .projects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 80px auto;
    padding: 0 20px;
  }

  .project-card img {
    height: 180px;
  }

  .project-card h2 {
    font-size: 1.2rem;
  }

  .project-card p {
    font-size: 0.95rem;
  }
}
