.instagram-section {
  text-align: center;
  margin-top: 80px;
}

.instagram-section h2 {
  color: #990000;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.instagram-section p {
  color: #555;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery a {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.gallery a.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.gallery-loader {
  width: 100%;
  display: none;
  text-align: center;
  margin: 30px 0;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #e62e2e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.gallery a {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.gallery a.fade-in {
  opacity: 1;
  transform: translateY(0);
}