.app-section.section-pkg {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 0;
}
.pkg-card,
.pkg-form {
  flex-direction: column;
}
.container.section-grid.section-pkg {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 20px;
  margin: 10px auto;
}
.pkg-card {
  background-color: rgb(236, 236, 236);
  display: flex;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: transform 0.4s ease-in-out;
}
.pkg-card:hover {
  transform: scale(1.05);
  z-index: 6;
}
.pkg-card.promo {
  border-radius: 12px;
  border: 1px solid var(--color-primary);
  background-color: rgb(236, 236, 236);
  transform: scale(1.1);
  z-index: 5;
}
.pkg-card.promo:hover {
  transform: scale(1.15);
}
.pkg-header {
  margin-bottom: 12px;
  background-color: var(--color-normal-card);
  border-radius: 8px 8px 0 0;
  padding: 15px;
}
.pkg-features {
  padding: 0 20px;
}
.pkg-price {
  position: relative;
  padding: 15px;
  margin-bottom: auto;
  background-color: var(--color-normal-card);
  color: #fff;
  font-weight: 700;
}
.pkg-header.promo {
  background-color: var(--color-promo-card);
}
.pkg-subtitle,
.pkg-title {
  color: #fff;
  margin: 0;
}
.pkg-details {
  color: #fff;
  margin-top: 4px;
  font-size: 0.8rem;
}
.pkg-details.small {
  font-size: 0.7rem;
  color: #dfdfdf;
  font-style: italic;
  font-weight: 400 !important;
}
.pkg-btn {
  margin-top: auto;
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 400 !important;
  border: none;
  border-radius: 0 0 8px 8px;
  cursor: pointer;
}
.pkg-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.pkg-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pkg-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
.pkg-modal-content,
.pkg-modal-form-container {
  position: relative;
  max-width: 600px;
  margin: 5% auto;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  z-index: 10;
  animation: 0.3s fadeIn;
  font-size: 0.8rem;
  overflow-y: scroll;
}
.pkg-modal-close {
  position: absolute;
  top: 3px;
  right: 3px;
  background: 0 0;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-subtitle {
  font-weight: 500;
  margin-bottom: 10px;
  color: #777;
}
.modal-details {
  margin-bottom: 15px;
  font-weight: 600;
}
.modal-description,
.modal-features {
  margin-bottom: 20px;
}
.modal-features li {
  margin-bottom: 6px;
}
.modal-price {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 5px;
}
.modal-price-details {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #777;
  margin-bottom: 20px;
  font-weight: 400;
}
.pkg-form {
  display: flex;
}
.pkg-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.pkg-form-group input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.pkg-form-group select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
.pkg-form-group {
  position: relative;
}
.pkg-form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  padding-right: 30px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .offer-summary-table {
    font-size: 0.8rem;
  }
  .offer-summary-table h3 {
    font-size: 1rem;
  }
  .pkg-card {
    grid-area: 1/1;
  }
  .pkg-card.first {
    transform: translateX(-20%);
  }
  .pkg-card.second {
    transform: translateX(-15%);
  }
  .pkg-card.third {
    transform: translateX(-10%);
  }
}
