


body {
  background: #f0ecec;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0px;
  color: #fff;
  box-sizing: border-box;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #020202;
  margin: 40px 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #f8f7f7 !important;
  
}

/* ===== GRID ===== */
.package-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
  background: rgb(247, 245, 245);
}

/* ===== CARD BASE ===== */
.package-item {
  width: 280px;
  height: 380px;
  perspective: 1000px;
}

.package-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  background: rgba(9, 9, 9, 0.979);
}

.package-item:hover .package-inner {
  transform: rotateY(180deg);
}

/* ===== FRONT & BACK ===== */
.package-front,
.package-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  backface-visibility: hidden;
  background: rgba(117, 101, 101, 0.393);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* FRONT CONTENT */
.package-front {
  text-align: center;
  color: #fff;
}

.package-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-percentage {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 13px;
}

.package-content {
  padding: 15px;
}

.package-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.package-content p {
  font-size: 14px;
  opacity: 0.9;
}

.price {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.real-price {
  color: #bbb;
  text-decoration: line-through;
}

.offer-price {
  color: #00ffb3;
  font-weight: 700;
}

/* BACK CONTENT */
.package-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 20px;
}

.package-back label {
  font-weight: 600;
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}

.package-back ul {
  margin: 0 0 15px 0;
  padding-left: 20px;
}

.package-back li {
  font-size: 14px;
  line-height: 1.6;
  list-style-type: disc;
  color: #ddd;
}

/* BUTTON */
.view-more-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 123, 255, 0.7);
  padding: 8px 18px;
  border-radius: 20px;
  transition: 0.3s;
  font-weight: 600;
  margin-top: 10px;
}

.view-more-btn:hover {
  background: rgba(0, 123, 255, 1);
}

/* ===== FULLSCREEN OVERLAY / MODAL ===== */
.fullscreen-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  color: #fff;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.fullscreen-overlay:target {
  display: flex;
}

.overlay-content {
  max-width: 600px;
  background: rgba(7, 7, 7, 0.833);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.15);
  animation: fadeIn 0.4s ease;
  text-align: left;
}

.overlay-content h2 {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
}

.price-info {
  text-align: center;
  margin-bottom: 20px;
}

.offer_price {
  color: #00ffb3;
  font-weight: 700;
  font-size: 18px;
}

.real_price {
  color: #ccc;
  margin-left: 8px;
  font-size: 15px;
}

.overlay-content label {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

.overlay-content ul {
  list-style-type: disc;
  padding-left: 25px;
  margin: 0 0 25px 0;
  columns: 2;
  column-gap: 25px;
}

.overlay-content li {
  font-size: 14px;
  line-height: 1.7;
  color: #ddd;
}

/* BUTTONS INSIDE MODAL */
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #007bff, #00bfff);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056b3, #0095ff);
}

.btn-secondary {
  background: #444;
  color: #fff;
}

.btn-secondary:hover {
  background: #666;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}