.hmbp2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.hmbp2-card {
    display: flex;
    background: #f4f4f4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.hmbp2-left {
    width: 50%;
    text-align: center;
    padding: 30px 20px;
}

.hmbp2-circle {
    width: 230px;
    height: 230px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.hmbp2-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hmbp2-bottom-title {
    background: #0f5a86;
    color: #fff;
    padding: 18px;
    border-radius: 0 0 20px 20px;
    font-size: 18px;
    font-weight: 600;
}

.hmbp2-right {
    width: 50%;
    background: #0f5a86;
    color: #fff;
    padding:30px;
}



.hmbp2-right p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hmbp2-read {
    display: inline-block;
    background: #fff;
    color: #0f5a86;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.hmbp2-card {
    display: flex !important;
    position: relative !important;
    overflow: hidden !important;
}

.hmbp2-left {
    width: 100% !important;
}

.hmbp2-right {
    position: absolute !important;
    bottom: -100% !important;   /* LEFT se hidden */
    width: 100% !important;
    height: 100% !important;
    background: #0f5a86 !important;
    color: #fff !important;
    padding:20px !important;
    transition: 0.5s ease-in-out !important;
    z-index: 2;
}

.hmbp2-card:hover .hmbp2-right {
   bottom: 0 !important;   /* LEFT se slide in */
}

.hmbp2-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #1d5d84;
    transform: translateY(100%);   /* bottom se start */
    transition: transform 0.6s ease;
}

.hmbp2-card:hover .hmbp2-overlay {
    transform: translateY(0);
}



.hmbp2-card {
    display: flex;
    background: #f3f3f3;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-height: 340px;
    position: relative;
}

/* LEFT SIDE */
.hmbp2-left {
    width: 50%;
   padding: 10px 0px 0 0px;
  text-align: center;
  position: relative;
  z-index: 0;
}

.hmbp2-circle {
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.hmbp2-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hmbp2-bottom-title {
    background: #1d5d84;
    color: #fff;
    padding: 18px 15px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 18px;
    margin-top: -25px;z-index: 1000;
  position: relative;
}



.hmbp2-right h3 {
font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 18px;
  color: #fff !important;
  text-align: center;
}

.hmbp2-right p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px; text-align:justify;
}

/* READ MORE GREY AREA */
.hmbp2-read {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #e9e9e9;
    text-align: center;
    padding: 18px 0;
    font-weight: 600;
    color: #1d5d84;
    text-decoration: none;
    border-radius: 0 0 22px 0;
}

/* GRID */
.hmbp2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .hmbp2-grid {
        grid-template-columns: 1fr;
    }

    .hmbp2-card {
        flex-direction: column;
    }

    .hmbp2-left,
    .hmbp2-right {
        width: 100%;
    }

    .hmbp2-right {
        border-radius: 0 0 22px 22px;
    }

    .hmbp2-read {
        border-radius: 0 0 22px 22px;
    }
}

