/* =================================================================== */
/* SECTION: BẢNG GIÁ - OVERLAP (ID: #table_price)
/* Cấu trúc đã được tổ chức lại và responsive (Mobile First)
/* =================================================================== */

/* --- 1. Cấu trúc chung của Section --- */

#table_price {
  background-color: #10396a; /* Màu nền cho phần dưới */
  padding-bottom: 80px; /* Tạo khoảng đệm dưới cùng */
}

.section-pricing-overlap {
  padding: 0;
}

.pricing-overlap-header {
  background-color: #054d2b; /* Màu nền cho phần trên */
  padding: 60px 20px 100px; /* Giảm padding trên mobile */
  color: #fff;
  text-align: center;
}

.pricing-overlap-content {
  margin-top: -80px; /* Kéo các card lên trên */
  position: relative;
  z-index: 2;
  padding-left: 15px; /* Thêm padding ngang cho an toàn trên mobile */
  padding-right: 15px;
}

/* --- 2. Tiêu đề và Mô tả --- */

#price_title {
  color: white;
  font-family: "VNEFont1", sans-serif; /* Giữ lại font của bạn */
  font-size: 2rem; /* Giảm kích thước chữ trên mobile */
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 15px; /* Giảm khoảng cách */
}

.pricing-section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-top: 0;
  max-width: 600px; /* Giới hạn chiều rộng để dễ đọc */
  margin-left: auto;
  margin-right: auto;
}

/* --- 3. Kiểu dáng của một Card --- */

.pricing-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  z-index: 1;
}

.pricing-card-highlighted {
  border-color: #f59e0b;
  z-index: 2;
}

.pricing-ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 3;
}

/* --- 4. Nội dung bên trong Card --- */

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex-grow: 1; /* Đẩy nút bấm xuống dưới cùng */
}

.btn-pricing {
  background-color: #054d2b;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 1.5rem;
  display: block;
  width: 100%;
  transition: background-color 0.3s;
}

.btn-highlight {
  background-color: #f59e0b;
}

.btn-pricing:hover {
  filter: brightness(110%);
}

/* =================================================================== */
/* --- 5. ĐIỂM NGẮT RESPONSIVE --- */
/* =================================================================== */

/* == 1. Cho màn hình Tablet (Ví dụ: từ 768px trở lên) == */
@media screen and (min-width: 768px) {
  .pricing-overlap-header {
    padding: 80px 0 120px; /* Trả lại padding lớn hơn */
  }

  #price_title {
    font-size: 2.25rem; /* Tăng kích thước chữ */
  }

  .pricing-overlap-content {
    padding-left: 0;
    padding-right: 0;
  }
}

/* == 2. Cho màn hình Desktop (Ví dụ: từ 992px trở lên) == */
@media screen and (min-width: 992px) {
  #price_title {
    font-size: 2.5rem; /* Kích thước chữ lớn nhất */
  }

  /* Hiệu ứng nhấc lên cho card được highlight trên desktop */
  .pricing-card-highlighted {
    transform: scale(1.05);
  }

  .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  }
}
