.header, .hero, .body, .bar, .footer, .final-section{
    background-color: rgb(43, 42, 42);
}

.box{
    margin: 10px 0;
    min-height: 80px;
    background-color: brown;
    color: white;
    font-size:30px ;
}
.blue{
    background-color: blue;
}
.fox{
    background-color: orange;
}
.last{
    background-color: purple;
    
}

.final-section {
  position: relative;
  overflow: hidden;
}

.final-image-wrapper img {
  width: 80%;
  height: auto; 
  
  /* Automatically responsive */
  max-height: 70vh; 
  /* Desktop height, mobile will scale */
  object-fit: cover;
  animation: slowZoom 2s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Overlay */
.final-image-wrapper .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.0); 
  
  /* Transparent overlay */
  padding: 20rem; 
  /* Responsive padding */
}

/* Fade-in on scroll */
.final-image-wrapper.in-view .overlay {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s ease-out;
}
.final-image-wrapper .overlay {
  opacity: 0;
  transform: translateY(20px);
}