body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  perspective: 1000px;
}

.top-banner {
  text-align: center;
  padding-top: 20px;
  margin-bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  transform-style: preserve-3d;
  padding: 0 15px;
  box-sizing: border-box;
}

.top-banner img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 5px;
  transform-origin: center center;
  transition: transform 0.1s ease-out;
  object-fit: contain;
}


.middle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  perspective: 800px;
  padding: 0 15px;
  margin-bottom: 40px;
  flex-wrap: nowrap; 
}

.middle-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  background-color: #ddd;
  border: 2px solid #fff;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.bottom-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding-bottom: 40px;
  width: 100%;
  perspective: 600px;
  padding: 0 15px;
  flex-wrap: wrap; 
}

.bottom-image {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  background-color: #bbb;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

@media (max-width: 768px) {
  .middle-container {
    flex-wrap: nowrap;
    gap: 15px; 
    margin-bottom: 30px;
  }

  .middle-image {
    width: 45%; 
    max-width: 150px; 
    height: auto;
    flex: 0 1 auto;
  }

  .bottom-container {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }

  .bottom-image {
    width: 32%; 
    max-width: 80px;
    height: auto;
    flex: 0 1 auto;
  }
  

@media (max-width: 320px) {
      .middle-image {
          width: 100%;
          margin-bottom: 10px;
      }
      .bottom-image {
          width: 100%;
          margin-bottom: 10px;
      }
  }
}


@media (min-width: 769px) {
  .top-banner {
    padding-top: 50px;
    margin-bottom: 80px;
  }
  
  .middle-container {
    gap: 100px;
    margin-bottom: 60px;
    flex-wrap: nowrap;
  }
  
  .middle-image {
    width: 350px;
    height: 350px;
    flex: 0 0 350px;
  }
  
  .bottom-container {
    gap: 40px;
    padding-bottom: 60px;
    flex-wrap: wrap;
  }
  
  .bottom-image {
    width: 40px;
    height: 40px;
    flex: 0 0 100px;
  }
}