/* 
  Note:
  the css of header and footer is not here. its directly
  linked in the head section through link tag
*/

/* this portion is of header part */

.bottom-bar {
  background: linear-gradient(
    to top right,
    #285d8877,
    #0a447377,
    #1f3e5777,
    #0b569477
  );
  background-color: rgba(0, 95, 173, 0.486);
}

/* Gallery Section */
/* Gallery Section */
.gallery-section h2 {
  font-size: 2.5rem; /* Adjusted for better readability on smaller screens */
  text-align: center;
  color: #1b1f2e;
  font-weight: 600;
  padding: 20px 0;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.gallery-container {
  min-height: 100vh;
  width: 100%;
  padding: 20px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 15px;
  column-gap: 15px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9px);
}

.gallery-item {
  width: 30%;
  height: 370px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(3, 24, 24, 0.493);
}

.gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.2s ease-out;
}
.gallery-item img:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .gallery-item {
    width: 45%; /* Two items per row on tablets */
    height: 300px;
  }
}

@media (max-width: 768px) {
  .gallery-item {
    width: 100%; /* One item per row on mobile */
    height: 250px;
  }

  .gallery-section h2 {
    font-size: 2rem; /* Slightly smaller heading for mobile */
  }
}

@media (max-width: 480px) {
  .gallery-item {
    height: 200px; /* Adjust image height for smaller screens */
  }

  .gallery-section h2 {
    font-size: 1.8rem; /* Smaller heading for very small screens */
    padding: 10px 0;
  }
}
