* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "ABeeZee", sans-serif;
}

body {
  font-family: Arial, sans-serif;
}

.gallery-container {
  width: 100%;
  padding: 20px;
  position: relative;
}

.gallery-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scroll-behavior: smooth;
}

.gallery-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.gallery {
  display: flex;
  gap: 15px;
  padding: 10px 0;
}

.gallery-item {
  flex: 0 0 auto;
  width: 380px;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.nav-btn.prev {
  left: 10px;
}

.nav-btn.next {
  right: 10px;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .gallery-item {
    width: 320px;
    height: 240px;
  }
}

@media (max-width: 992px) {
  .gallery-item {
    width: 280px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .gallery-item {
    width: 260px;
    height: 200px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
  }

  .nav-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .gallery-item {
    width: 240px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    padding: 10px;
  }

  .gallery-item {
    width: 223px;
    height: 278px;
  }

  .nav-btn {
    width: 36px;
    height: 36px;
  }
}



/* Instagram Section */

.instagram-section {
  text-align: center;
  margin-bottom: 50px;
}

.instagram-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.instagram-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-items: center;
}

.instagram-post {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border: 3px solid #ddd;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-post:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .instagram-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-post {
    grid-template-columns: repeat(2, 1fr);
    width: 95%;
    max-width: 300px;
    height: 234px;
  }
}

@media (max-width: 480px) {
  .instagram-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-post {
    grid-template-columns: repeat(2, 1fr);
    width: 95%;
    max-width: 300px;
    height: 234px;
  }
}











.instagram-section {
  padding: 2rem 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.instagram-section h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #333;
}

.instagram-reels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.instagram-reel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: white;
}

.instagram-reel:hover {
  transform: translateY(-5px);
}

.reel-container {
  position: relative;
  width: 100%;
  height: auto; /* Allow video to set the height */
  overflow: hidden;
  cursor: pointer;
}

.reel-container video {
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 3; /* Ensure video is above the overlay */
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 4; /* Ensure it's above video initially */
  transition: opacity 0.3s ease;
  pointer-events: none; /* Ensure click reaches the video */
}

.reel-container.playing .play-overlay {
  opacity: 0;
  pointer-events: none; /* Hide play button when video is playing */
}

/* 
.play-overlay i {
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hide play button when video is playing */
.reel-container.playing .play-overlay {
  opacity: 0;
  pointer-events: none;
} */


.view-more {
  margin-top: 1.5rem;
}

.view-more a {
  margin-top: 30px;
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.view-more a:hover {
  background-color: #e0e0e0;
}
.reel-info {
  padding: 1rem;
}

.reel-caption {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}

.reel-stats {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 0.8rem;
  color: #777;
}

/* Responsive design - 2 reels side by side on larger screens */
@media (min-width: 768px) {
  .instagram-reels {
      grid-template-columns: 1fr 1fr;
      max-width: 1000px;
  }
}

@media (max-width: 576px) {
  .instagram-section h2 {
      font-size: 1.5rem;
  }
  
  .instagram-reels {
      gap: 1rem;
  }
  
  .play-overlay i {
      font-size: 2.5rem;
  }
  
  .reel-info {
      padding: 0.75rem;
  }
  
  .reel-caption {
      font-size: 0.8rem;
  }
}