/* ===== THEME (scoped to this section) ===== */
.test-package { background:#fff; }
.test-title { font-weight:800; color:#111; line-height:1.15; }
.test-subheading { font-size: 28px;  color:#222222; margin: 30px auto; }

.test-package .container {
    max-width: 1250px;
}

.test-header .test-price {
  font-size:1.1rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.test-price__mrp { color:#7a7a7a; text-decoration:line-through; }
.test-price__sep { color:#7a7a7a; }
.test-price__offer {
  color:#fff;
  background:#4c0000;
  border-radius:999px;
  padding:.25rem .7rem;
  font-weight:700;
}

/* Precaution */
.test-precaution {
  background: rgba(76,0,0,.06);
  border:1px solid rgba(76,0,0,.18);
  border-left:4px solid #4c0000;
  border-radius:.75rem;
  margin: 50px auto;
}
.test-pill-icon {
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:50%;
  background:#fff; border:1px solid rgba(76,0,0,.25);
}

/* Why book with us */
.test-feature {
  height: 100%;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: .75rem;
  padding: 20px 15px;
  display: flex;
  flex-direction: column; /* stack icon and text vertically */
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.test-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;   /* bigger circle */
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(76,0,0,.25);
}

.test-feature__icon svg {
  width: 32px;   /* bigger SVG icon */
  height: 32px;
}

.test-feature__text {
  font-weight: 600;
  color: #111;
  font-size: 1rem;
}

.test-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  border-color: #d9d9d9;
}

/* Accordion (Tests Included) */
.test-accordion .accordion-item { border:1px solid #ececec; border-radius:.75rem; overflow:hidden; margin-bottom:.75rem; }
.test-accordion .accordion-button {
  padding:.9rem 1rem;
  font-weight:700; color:#111;
  background:#fff;
}
.test-accordion .accordion-button .test-count { color:#7a7a7a; font-weight:600; margin-left:.5rem; }
.test-accordion .accordion-button:not(.collapsed) {
  color:#4c0000; background:rgba(76,0,0,.05);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06);
}
.test-accordion .accordion-button:focus { box-shadow:none; border-color:#e9e9e9; }
.test-accordion .accordion-button::after {
  /* override BS chevron color */
  filter: invert(11%) sepia(78%) saturate(2863%) hue-rotate(330deg) brightness(92%) contrast(106%);
}
.test-accordion .accordion-body { padding:1rem; }
.test-list { margin:0; padding-left:1.15rem; }
.test-list li { margin:.2rem 0; }

/* Assurance */
.test-assurance {
  background: linear-gradient(0deg, #fff, #fff);
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.test-assurance__item {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: .75rem;
  padding: 20px 15px;
  height: 100%;
  display: flex;
  flex-direction: column;  /* stack vertically */
  align-items: center;     /* center horizontally */
  justify-content: center; /* center vertically */
  gap: 12px;
  text-align: center;      /* center text */
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.test-assurance__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;   /* bigger icon */
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(76,0,0,.25);
}

.test-assurance__icon svg {
  width: 32px;   /* larger SVG */
  height: 32px;
}

.test-assurance__text {
  font-weight: 600;
  color: #111;
  font-size: 1rem;
  line-height: 1.4;
}

.test-assurance__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  border-color: #d9d9d9;
}

/* Responsive tweaks */
@media (max-width: 575.98px) {
  .test-title { font-size:1.4rem; }
  .test-header .test-price { font-size:1rem; }
  .test-feature__text, .test-assurance__text { font-size:.9rem; }
}
.accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 500;
  background: #f9f9f9;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.accordion-title {
  flex: 1;
}

.accordion-title span {
  color: #777;
  font-size: 14px;
  margin-left: 6px;
}

.accordion-header::after {
  content: "+";
  float: right;
  font-weight: bold;
  font-size: 1.2rem;
}

.accordion-item.open .accordion-header::after {
  content: "-";
}


.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;          /* horizontal padding always */
  background: #fff;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion-item.open .accordion-body {
  padding: 15px 18px;       /* padding appears when open */
}


.accordion-body.open {
  padding: 15px 18px;
}
