.obstet > h2 {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin: 20px auto clamp(38px, 5vw, 64px);
    padding-bottom: 18px;
    color: var(--brand-900, #17346f);
    font-size: clamp(28px, 5vw, 34px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.045em;
    text-align: center;
    text-wrap: balance;
}



.obstet > h2::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: 0;
    left: 18%;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--accent, #20a7a0),
        var(--brand-600, #3c69c7)
    );
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(47, 87, 173, 0.2);
}
.odst{
    text-align: center;
}
.odst>p{
    font-weight: bold;
    font-size:20px ;
    padding: 10px;
}
.odst_frm{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    width: 80%;
    margin-left: 17%;
}
.odst_frm>div{
    width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 3px 5px #17346f;
}
.odst_frm h3{
    color: #17346f;
    padding: 5px;
}
.odst_frm p{
    text-align: center;
   color: black;
   padding: 5px;
}
.odst_frm>div:hover{
  transform: scale(1.1);
  transition: 0.5s;
  background-color: #17346f;
  color: white;
}
.odst_frm>div:hover h3,.odst_frm>div:hover p{
    color: white;
}

@media (max-width: 780px) {
   .odst_frm{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;
    width: 80%;
    margin-left: 15%;
}
.odst_frm>div{
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 3px 5px #17346f;
}
}