#border-style{
    background-color: antiquewhite; text-align: right; padding: 15px; 
    border: 3px solid #2F4F4F;
} 
#border-style a{
    color: black; 
    display: inline-block; 
    margin-right: 15px; 
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;

}
#border-style a:hover {
    color: #ff6600;
    transform: scale(1.05);
    font-weight: 700;
}
 .lastpart {
  text-align: center;
  padding: 20px 0;
  background-color: antiquewhite;
  display: flex;
  flex-wrap: wrap;          /* স্ক্রিন ছোট হলে পরের লাইনে যাবে সুন্দরভাবে */
  justify-content: center;  /* মাঝখানে রাখবে */
  gap: 10px;            
}

.lastpart a {
  color: black;
  text-decoration: none;  
  margin: 0 15px;         
  font-weight: 500;
  display: inline-block;  
  transition: transform 0.2s ease;
}


.lastpart a:hover {
  transform: scale(1.1);
  font-weight: 700;
  color: #ff6600; 
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  cursor: pointer;
}