* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: rgb(179, 179, 179);
}

.header {
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.left-section,
.right-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}

.icon {
  width: 20px;
  height: 20px;
}

.center-section {
  text-align: center;
}

.logo {
  height: 60px;
  width: auto;
}

.image-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 10px;
  gap: 5px;
  overflow: hidden;
}

.image-box {
  flex: 1;
  min-width: 0; /* helps in shrinkage */
  height: auto;
  aspect-ratio: 1 / 1; /* keeps square shape */
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-box:hover img {
  transform: scale(1.1);
}

.overlay-text {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: rgba(0,0,0,0.5);
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
}

/* ==================== Responsive Breakpoints ==================== */

/* Laptop & Large screens */
@media (max-width: 1200px) {
  .header {
    padding: 15px 20px;
  }

  .logo {
    height: 55px;
  }
}

/* Tablet: iPad */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .left-section,
  .right-section {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .logo {
    height: 50px;
  }

  .image-grid {
    gap: 5px;
  }

  .overlay-text {
    font-size: 11px;
    padding: 3px 5px;
  }

}

/* Mobile phones */
@media (max-width: 480px) {
  .info-item {
    font-size: 14px;
  }

  .icon {
    width: 18px;
    height: 18px;
  }

  .logo {
    height: 45px;
  }

  .overlay-text {
    font-size: 10px;
  }

}

/* Very small mobile (e.g., 280px) */
@media (max-width: 280px) {
  .header {
    padding: 10px;
  }

  .info-item {
    font-size: 12px;
  }

  .icon {
    width: 16px;
    height: 16px;
  }

  .logo {
    height: 40px;
  }

  .overlay-text {
    font-size: 9px;
  }

}
