/* ============================= */
/* HOME PAGE – PACKAGE CARDS     */
/* ============================= */

.home-packages {
  padding: 40px 20px;
}

.home-packages .package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Card */
.home-packages .package-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-packages .package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

/* Image collage */
.home-packages .package-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.home-packages .package-images img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  background: #f4f6f8;
  border-radius: 8px;
}

/* Text */
.home-packages h3 {
  font-size: 1.1rem;
  margin: 6px 0;
}

.home-packages .items {
  font-size: .85rem;
  color: #6c757d;
}

.home-packages .price {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 6px 0 12px;
}

/* CTA */
.home-packages .view-package {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0d6efd; /* BlueWave blue */
  color: #fff;
  text-decoration: none;
}

.home-packages .view-package:hover {
  background: #0b5ed7;
}
/* Mobile-first package hover / tap preview zoom    */
/* ============================= */
/* IMAGE GRID */
.package-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* IMAGE WRAP */
.package-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
}

/* DESKTOP HOVER */
@media (hover: hover) {
  .package-images img:hover {
    transform: scale(1.35);
    z-index: 3;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
  }
}

/* MOBILE TAP (active) */
.package-images img:active {
  transform: scale(1.25);
}
/* AGENT BADGE */
/* AGENT BADGE */
.agent-badge {
  position: absolute;
  top: 14px;
  right: -38px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  padding: 6px 40px;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 5;
  cursor: pointer;
}
/*Animated price emphasis (subtle, classy)*/
.package-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2563eb;
  animation: pricePulse 4s ease-in-out infinite;
}

/* Respect accessibility */
@media (prefers-reduced-motion: reduce) {
  .package-price {
    animation: none;
  }
}

@keyframes pricePulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
/*Mobile-first refinements*/
@media (max-width: 768px) {
  .package-images {
    grid-template-columns: repeat(3, 1fr);
  }

  .agent-badge {
    font-size: 11px;
    padding: 5px 34px;
  }

  .package-price {
    font-size: 1.6rem;
  }
}
.package-card {
  position: relative; /* REQUIRED */
}
