.header {
  margin-bottom: 3px;
  margin-top: 20px;
  margin-left: 90px;
}

.header h1 {
  font-size: 2.5rem;
}

.header h2 {
  font-size: 1rem;
  color: #555;
  font-weight: normal;
}

.description {
  max-width: 34%;
  font-size: 0.9rem;
  color: #333;
  margin-left: 90px;
  /* line-height: 1rem; */
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 90px;
  margin-right: 90px;
  border-radius: 15px;
  overflow: hidden;
  /* background-color: #d3d3d3; */
  padding: 0; /* no extra space */
  border: 0.5px solid black;
}
.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
}
.responsive-video {
  width: 100%;
  height: auto;
  border-radius: 15px; /* preserves rounded corners */
  display: block;
  max-width: 100%;
}

.text-columns {
  text-align: center;
  margin-top: 20px;
}

.text-column {
  font-size: 0.9rem;
  color: #333;
}


@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  .header{
    margin-top: 20px;
    margin-left: 30px;
  }
  .description {
    font-size: 0.7rem;
    max-width: 90%;
    margin-left: 30px;
    margin-right: 30px;
  }
  .image-container {
    height: 300px;
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
    border: none;
  }
  
  .text-columns .col-4 {
    flex: 0 0 33.333%; /* Forces three columns on mobile */
    max-width: 33.333%;
    font-size: 0.6rem;
  }
  footer.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    color:  white;
    background:  black;
    padding: 20px 40px;
    gap: 10px;
    margin-top: 2%;
  }
  .footer-col p,
  .footer-col a {
    margin: 3px 0;
    font-size: 0.5rem;
  }
}

.gallery-section h3 {
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
  margin-left: 15px;
}

.gallery-image {
  width: 200px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .gallery-image {
    width: 150px;
    height: auto;
    margin-left: 20px;
  }

  .gallery-section h3 {
    margin-left: 20px;
    font-size: 0.9rem;
  }
}

.image-gallery-nanzer {
  margin-left: 90px;
  margin-right: 90px;
  margin-top: 30px;
}

.nanzer-image {
  width: 100%;
  max-width: 500px; /* Control maximum size */
  height: auto;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .image-gallery-nanzer {
    margin-left: 20px;
    margin-right: 20px;
  }

  .nanzer-image {
    max-width: 90%;
  }
}

.image-gallery-safewalk {
  margin-left: 90px;
  margin-right: 90px;
  margin-top: 30px;
}

.media-item {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  display: block;
  object-fit: contain;
}

.image-gallery-safewalk video.media-item {
  width: 100%;
  height: auto;
}

.image-gallery-safewalk img.media-item {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .image-gallery-safewalk {
    margin-left: 20px;
    margin-right: 20px;
  }

  .media-item {
    max-width: 50%;
    height: auto;
  }
}