.ph-packages-section {
  background: radial-gradient(
      circle at 18% 20%,
      rgba(158, 39, 168, 0.32) 0%,
      transparent 32%
    ),
    radial-gradient(
      circle at 82% 12%,
      rgba(255, 161, 255, 0.25) 0%,
      transparent 30%
    ),
    linear-gradient(135deg, #150d1b 0%, #2b1535 100%);
  padding: 25px 16px 80px;
  color: #f8efff;
  position: relative;
  overflow: hidden;
}

.ph-packages-inner {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
}

.ph-packages-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  color: #fff9ff;
}

.ph-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}

.ph-card {
  position: relative;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 22px 18px 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

/* .ph-card:hover {
  z-index: 999;
} */

.tooltip:hover {
  position: relative;
  z-index: 1000;
}

.ph-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 58px;
  height: auto;
}

.ph-card-header {
  text-align: center;
  margin-bottom: 6px;
}

.ph-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fdf7ff;
}

.ph-card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffbdf7;
  letter-spacing: 0.3px;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.42);
}

.ph-feature-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 6px 0 0;
  max-height: 230px;
  overflow-y: auto;
}

.ph-feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.96rem;
  line-height: 1.45;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ph-feature-list li:last-child {
  border-bottom: none;
}

.ph-feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffbdf7 0%, #9e27a8 100%);
  color: #190a21;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Firefox */
.ph-feature-list {
  scrollbar-width: thin !important;
  scrollbar-color: #ffffffff #ffe4e406 !important;
}

.ph-card-actions {
  text-align: center;
  margin-top: 6px;
}

.btn {
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

/*.btn:hover::before {*/
/*  width: 300px;*/
/*  height: 300px;*/
/*}*/

.ph-cta-btn {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.ph-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.45);
}

.ph-cta-btn:active {
  transform: translateY(0);
}

.ph-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
}

.ph-footer-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.ph-footer-label {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
  color: #fdf7ff;
}

.ph-phone,
.ph-chat {
  font-weight: 800;
  color: #fdf7ff;
  text-decoration: none;
}

.ph-chat {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #ffbdf7;
}

.ph-compare-btn {
  margin: 28px auto 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* background: linear-gradient(135deg, #ffbdf7 0%, #9e27a8 100%);
      color: #1b0c24;
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 999px;
      padding: 10px 18px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);*/
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ph-compare-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.ph-btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.9rem;
}

.ph-comparison {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease,
    border 0.3s ease;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ph-comparison.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-width: 0;
  pointer-events: none;
  margin-top: 0;
}

.ph-comparison.expanded {
  max-height: 1600px;
  opacity: 1;
  padding: 14px;
  margin-top: 14px;
}

.ph-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.ph-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  /* background: linear-gradient(180deg, #fdf3ff 0%, #f6ddff 100%); */
  color: #2c142f;
}

.ph-table thead th {
  background: linear-gradient(135deg, #9e27a8 0%, #c646d5 100%);
  color: #fff9ff;
  padding: 14px 10px;
  font-weight: 800;
  /* border: 1px solid rgba(255, 255, 255, 0.22); */
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.ph-table thead th:first-child {
  width: 32%;
  border-left: 0;
}

.ph-table thead th:last-child {
  border-right: 0;
}

.ph-table tbody {
  background: linear-gradient(180deg, #fdf3ff 0%, #f6ddff 100%);
}

.ph-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 1);
}

.ph-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.1);
}

.ph-table td {
  padding: 12px 10px;
  border: 1px solid rgba(158, 39, 168, 0.22);
  font-weight: 700;
  color: #2c142f;
}

.ph-table td:first-child {
  text-align: left;
  color: #2c142f;
  width: 32%;
}

.ph-table td:not(:first-child) {
  text-align: center;
  color: #2c142f;
}

.ph-check {
  color: #41d6a0 !important;
  font-size: 1.1rem;
}

.ph-cross {
  color: #f96d9c !important;
  font-size: 1.1rem;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltip-content {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  background: rgba(255, 255, 255, 0.81);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 16px;
  border-radius: 10px;
  /* color: #fff; */
  font-size: 0.4rem;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 99 !important;
}

/* Arrow */
.tooltip .tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.14) transparent transparent transparent;
}

/* SHOW ON HOVER */
.tooltip:hover .tooltip-content,
.tooltip:focus .tooltip-content {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-5px);
}

/* UL inside tooltip */
.tooltip-content ul {
  margin: 0;
  padding-left: 18px;
}

.tooltip-content li {
  margin-bottom: 6px;
  color: #000000;
}

@media (max-width: 960px) {
  .ph-packages-title {
    font-size: 1.6rem;
  }

  .ph-card-grid {
    gap: 18px;
  }

  .ph-card {
    padding: 18px 16px;
  }
}

@media (max-width: 640px) {
      .certi-img {
    width: 300px !important;
  }
  .ph-packages-section {
    padding: 48px 12px 64px;
  }

  .ph-card-footer {
    flex-direction: column;
    align-items: center;
  }

  .ph-footer-divider {
    width: 100%;
    height: 1px;
  }

  .ph-compare-btn {
    width: 100%;
    justify-content: center;
  }
}


.certi-img {
  width: 400px;
}