/* Fade-in animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

/* Alternating layout */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.package-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 4rem;
  gap: 2rem;
}

.package-section img.package-image {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.package-content {
  flex: 1 1 400px;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-left: 5px solid #00bfa6; /* teal accent */
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Alternate layout on even sections */
.left-offset .package-section {
  flex-direction: row;
}

.right-offset .package-section {
  flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
  .package-section {
    flex-direction: column !important;
    text-align: center;
  }

  .package-content {
    border-left: none;
    border-top: 5px solid #00bfa6;
  }
}

.package-content h2 {
  margin-top: 0;
  color: #333;
}

.package-content p {
  margin: 0.4rem 0;
  color: #555;
}

.package-content strong {
  color: #111;
}

.package-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-section:hover .package-image {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
