.head_accordion {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; /* 🔥 important: prevents equal height rows */
  gap: 20px;
  padding: 20px;
  background-color: #e6f0ff;
}

/* ===== Each Accordion Card ===== */
.child_accordion {
  flex: 1 1 300px;
  max-width: 320px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column; /* 🔥 ensures panel stays within same box */
  transition: transform 0.2s ease;
}

.child_accordion:hover {
  transform: translateY(-3px);
}

/* ===== Accordion Button ===== */
.accordion {
  background-color: #185B9B;
  color: #fff;
  cursor: pointer;
  padding: 15px 20px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
/* 
.accordion span {
  background: linear-gradient(90deg, #ff4da6 0%, #ff7bb0 100%);
  color: #fff;
  padding: 3px 10px;
  text-align: center;
  border-radius: 6px;
} */
/* .panel p{
    text-align: center;
    background:#ff7bb0 100%;
    background:#ff7bb0 100%;
    color: white;
}
.panel li{
    text-align: left;
    background:#ff7bb0 100%;
    background:#ff7bb0 100%;
    color: white;
} */
/* .accordion_in_text{
    background:#ff7bb0 100%;
  color: #fff;
  padding: 3px 10px;
  text-align: center; */
  /* border-radius: 6px; */
/* } */
/* Active button state */
/* .accordion.active {
  background-color: #15487a;
} */

/* ===== Panel ===== */
.panel_accordino {
  display: none;
  background-color: #185B9B;
  color: #ffffff;
  border-top: 1px solid #ffd6e5;
  font-size: 14px;
  line-height: 1.6;
  padding: 15px 20px;
  width: 100%;
  box-sizing: border-box;
  flex-grow: 1;
  margin-bottom: 0px;
}

/* Responsive */
@media (max-width: 768px) {
  .head_accordion {
    flex-direction: column;
    align-items: center;
  }
  .child_accordion {
    /* max-width: 90%; */
    width: 85%;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
  }
}