body {
  background-color: #f4f4f4;
  font-family: Arial, sans-serif;
}

/* Gallery Section */
.gallery-section {
  
  color:white;
}
#background{
  #section-core{
    min-height: 100vh;
            background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('images/machine5.jpeg') no-repeat center center/cover;
            display: flex;
            align-items: center;
            padding: 100px 5% 80px;
            position: relative;
            overflow: hidden;
}
}

h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
}

/* Gallery Item Style */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

/* Uniform Image Size */
.gallery-item img {
  width: 100%;
  height: 250px; /* Fixed height for all images */
  object-fit: cover; /* Ensures images are cropped to fit */
  transition: transform 0.3s ease;
}

/* Overlay Effect */
.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 15px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

/* Hover Effects */
.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

/* Modal Image */
.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}


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

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
}

.gallery-item {
  width: calc(25% - 15px);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Lightbox Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.overlay.show {
  display: flex;
  opacity: 1;
}

/* Lightbox Content */
.lightbox-content {
  position: relative;
  text-align: center;
}

#lightbox-img {
  max-width: 80%;
  max-height: 80vh;
  animation: fadeIn 0.5s ease-in-out;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Animation for fade-in effect */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
/* Footer Styles */
.footer {
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    z-index: 2;
  }
  
  .footer-content {
    max-width: 960px;
    margin: 0 auto;
  }
  
  .footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }
  
  .social-icons a {
    color: #fff;
    font-size: 1.4rem;
    transition: color 0.3s, transform 0.3s;
  }
  
  .social-icons a:hover {
    color: #00acee;
    transform: scale(1.2);
  }
  
  /* Responsive Footer */
  @media (max-width: 480px) {
    .footer p {
      font-size: 0.85rem;
    }
  
    .social-icons a {
      font-size: 1.2rem;
    }
  }