.info-div {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-wrap: wrap;
  opacity: 1;
  animation: none;
}
.info-div img {
  max-width: 300px; 
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  flex-shrink: 0;
  opacity: 1;
  animation: floatAnimation 3s ease-in-out infinite;
  transition: transform 0.3s ease-in-out;
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.info-div img:hover {
  transform: translateY(-20px) scale(1.05);
}

.fade-in {
  opacity: 0;
  animation: fadeInAnimation 1s ease forwards;
}

@keyframes fadeInAnimation {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-div {
  animation: fadeInAnimation 1s ease forwards;
}

.back-button {
  animation: fadeInAnimation 1s ease forwards;
}
.info-div .text-content {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  color: #333;
  min-width: 250px;
  text-align: justify;
}
.back-button {
  position: fixed;
  font-family: 'poppins', sans-serif;
  top: 20px;
  left: 20px;
  z-index: 9999;
  display: inline-block;
  margin-bottom: 40px;
  padding: 10px 20px;
  background-color:#ff2f2f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 1;
  animation: none;
}
.back-button:hover {
  background-color: #ff2f2f76;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .info-div {
    flex-direction: column;
    align-items: flex-start;
  }
  .info-div img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .info-div .text-content {
    min-width: 100%;
  }
}

/* Fade in animation */
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
