/* =====================
PACKAGES PAGE
===================== */

.packages-page-section {
  padding: 120px 8%;
  background: #07111f;
  position: relative;
}

.packages-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;

  margin-top: 70px;
}

/* CARD */

.package-grid-card {
  position: relative;
  overflow: hidden;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  padding: 15px;

  transition: 0.5s;

  /* ADD */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-grid-card::before {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  background: rgba(212, 175, 55, 0.15);

  border-radius: 50%;

  top: -100px;
  right: -100px;

  filter: blur(90px);

  opacity: 0;

  transition: 0.5s;
}

.package-grid-card:hover::before {
  opacity: 1;
}

.package-grid-card:hover {
  transform: translateY(-10px);

  border-color: rgba(212, 175, 55, 0.4);

  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.package-price-title {
  display: flex;
  justify-content: space-between;
}

.package-image {
  height: 220px;

  border-radius: 20px;

  overflow: hidden;

  margin-bottom: 25px;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: 0.6s;
}

.package-grid-card:hover img {
  transform: scale(1.08);
}

.package-tag {
  display: block;
  width: fit-content;

  padding: 7px 14px;

  border-radius: 50px;

  background: rgba(212, 175, 55, 0.15);

  color: #d4af37;

  font-size: 13px;

  margin-bottom: 15px;
}

.package-grid-card h3 {
  color: white;

  font-size: 24px;

  margin-bottom: 10px;
}

.package-desc {
  color: #b7c4d4;

  line-height: 1.7;

  margin-bottom: 20px;
}

.package-bottom {
  display: flex;

  justify-content: space-between;

  align-items: center;
  flex-direction: column;
  margin-top: auto;
  /* IMPORTANT */

  gap: 15px;
}
.package-bottom .package-btn {
  font-size: 16px;
}

.package-price {
  font-size: 28px;

  font-weight: 700;

  color: #d4af37;
}

.package-price span {
  font-size: 14px;

  color: #d4af37;
}

/* PAGINATION */

.pagination-wrapper {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 15px;

  margin-top: 60px;
}

.pagination-btn,
.page-number {
  width: 50px;
  height: 50px;

  border-radius: 50%;

  border: none;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  cursor: pointer;

  font-size: 18px;

  transition: 0.4s;
}

.page-number.active {
  background: #d4af37;
  color: black;
}

.page-number:hover,
.pagination-btn:hover {
  background: #d4af37;
  color: black;
}

/* =====================
COUPON CARDS UNIQUE UI
===================== */

#couponContainer {
  margin-top: 70px;
}

/* CARD */

#couponContainer .package-grid-card {
  background: linear-gradient(145deg, #132238, #0d1828);

  border: 1px solid rgba(212, 175, 55, 0.18);

  border-radius: 32px;

  overflow: hidden;

  position: relative;

  padding: 0;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);

  transition: 0.5s ease;
}

/* GOLD BORDER GLOW */

#couponContainer .package-grid-card::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 32px;

  padding: 1px;

  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.8),
    transparent,
    rgba(212, 175, 55, 0.4)
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

  -webkit-mask-composite: xor;

  mask-composite: exclude;

  opacity: 0.5;
}

/* HOVER */

#couponContainer .package-grid-card:hover {
  transform: translateY(-12px) rotate(-1deg);

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

/* IMAGE */

#couponContainer .package-image {
  height: 250px;

  margin-bottom: 0;

  border-radius: 0;

  position: relative;
}

#couponContainer .package-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    to top,
    rgba(7, 17, 31, 0.95),
    rgba(7, 17, 31, 0.1)
  );
}

/* CONTENT AREA */

#couponContainer .package-tag,
#couponContainer h3,
#couponContainer .package-desc,
#couponContainer .package-bottom {
  margin-left: 28px;
  margin-right: 28px;
}

/* TAG */

#couponContainer .package-tag {
  margin-top: -22px;

  position: relative;

  z-index: 5;

  background: #d4af37;

  color: #07111f;

  font-weight: 700;

  letter-spacing: 0.5px;

  padding: 10px 18px;

  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

/* TITLE */

#couponContainer h3 {
  font-size: 28px;

  margin-top: 22px;

  margin-bottom: 14px;

  color: #fff;
}

/* DESC */

#couponContainer .package-desc {
  color: #b9c7d8;

  line-height: 1.8;

  margin-bottom: 28px;
}

/* BOTTOM */

#couponContainer .package-bottom {
  flex-direction: row;

  align-items: center;

  justify-content: space-between;

  padding-bottom: 30px;

  gap: 20px;
}

/* PRICE */

#couponContainer .package-price {
  font-size: 38px;

  font-weight: 800;

  color: #d4af37;
}

/* BUTTON */

#couponContainer .package-btn {
  flex: unset;

  min-width: 190px;

  background: #d4af37;

  color: #07111f;

  border-radius: 16px;

  font-weight: 700;
  font-size: 15px;
  transition: 0.4s;
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  #couponContainer .package-bottom {
    flex-direction: column;

    align-items: flex-start;
  }

  #couponContainer .package-btn {
    width: 100%;
  }

  #couponContainer .package-price {
    font-size: 32px;
  }
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1272px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
COUPON
===================== */

.coupon-section {
  background: #f0f0f0;
}
.packages-topheading h2 {
  color: #0c1f36;
  line-height: 1.2;
}
/* MODAL */
