/* General styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #ffffff;
  color: #000000;
}

/* Header Styling */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #86d3ff;
  padding: 10px 120px;
}

.header a {
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 24px;
  line-height: 25px;
  border-radius: 4px;
}

.logo-image {
  width: 80px;
  height: auto;
  margin-right: 30px;
  margin-left: 30px;
}

.header-right {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
}

.header-right a {
  margin: 0 20px;
}

.header a:hover {
  color: grey;
}

/* Gallery Header Styling to Match Intro Section */
.gallery-header {
  margin: 40px 120px;
  text-align: left;
}

.gallery-header h1 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #000000;
}

.gallery-header .subheading {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000;
}
/* Gallery Grid Layout */
/* Gallery Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 images per row on desktop */
  gap: 10px; /* Reduced gap for closer spacing */
  padding: 10px 100px; /* Reduced padding on the sides */
  text-align: center;
}

.gallery-item img {
  width: 100%; /* Ensures the image spans the width of its container */
  aspect-ratio: 1 / 1; /* Forces a square aspect ratio */
  object-fit: cover; /* Ensures the image covers the entire square area */
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Responsive styling for mobile */
@media screen and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 image per row on mobile */
    padding: 20px; /* Reduce padding on smaller screens */
  }
}


.gallery-item img {
  width: 100%; /* Ensures the image spans the width of its container */
  aspect-ratio: 1 / 1; /* Forces a square aspect ratio */
  object-fit: cover; /* Ensures the image covers the entire square area */
  border-radius: 0px;
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
}

.caption {
  font-size: 16px;
  color: #555;
  margin-top: 8px;
}
