
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.box {
  background: #ffffff;
  overflow: hidden;
  border: 1px solid #cccccc;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  text-decoration: none!important;
}

.box:hover {
  transform: translateY(-10px);
  border: 1px solid #e94e09;
}
.box-image{
  overflow: hidden;
}
.box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.box:hover img {
  transform: scale(1.05);
}

.box-content {
  padding: 20px;
}
.box-content h4{
  font-weight: 400!important;
}
.box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
  font-weight: 600;
}

.box p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.load-more {
  display: block;
  margin: 0 auto;
  padding: 15px 40px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
}

.load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(238, 90, 36, 0.6);
  background: linear-gradient(45deg, #ee5a24, #ff6b6b);
}

.load-more:active {
  transform: translateY(0);
}

.loading {
  text-align: center;
  color: white;
  font-size: 1.2rem;
  margin: 20px 0;
}
.top-title {
  text-align: center;
  color: #000000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-title::before,
.top-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99,99,99,0.5), transparent);
  margin: 0 20px;
}

.top-title::before {
  background: linear-gradient(90deg, transparent, rgba(99,99,99,0.5));
}

.top-title::after {
  background: linear-gradient(90deg, rgba(99,99,99,0.5), transparent);
}


@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .gallery {
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
  }
}

@media (max-width: 768px) {
  .gallery {
      grid-template-columns: repeat(1, 1fr);
      gap: 15px;
  }
  

  
  .box-content {
      padding: 15px;
  }
}