.bg-light-doctor{
    background-color: var(--color-green-10);
    border-top: 1px solid var(--color-green-100);
    border-bottom: 1px solid var(--color-green-100);


}

.bg-light-doctor h6{
    color: var(--color-green-600) !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
}

.bg-light-doctor p.small{
    color: var(--color-green-500) !important;
    font-size: .875rem !important;
}

/* ===============================
   Doctor Card – Main Wrapper
================================= */
.doctor-card {
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    position: relative;
    background-color:transparent !important;
    border-radius: 1rem;
    padding: 0 !important;
    min-height: 100%;
    border: 1px solid var(--color-green-100) !important;


}

.doctor-card h6{
    font-size: 1rem !important;
}


.doctor-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 4px 10px rgba(87, 101, 191, 0.1);
}

/* ===============================
   Doctor Image
================================= */
.doctor-img {
    transition: transform 0.4s ease;
    height: 10rem;
    width: 100% !important;
    object-fit: cover;
    border-radius: 1rem;
    overflow: hidden;
}

.doctor-card:hover .doctor-img {
    transform: scale( 1.05 );
}

/* ===============================
   Specialty Tag / Badge
================================= */



.doctor-card  .badge{
    background-color: var(--color-green-50) !important;
    color: var(--color-green-600) !important;

    font-size: .75rem !important;
    font-weight: normal !important;
    padding: .35rem 1rem !important;
    border-radius: .5rem !important;
}



/* ===============================
   Description Reveal on Hover
================================= */
.doctor-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    line-height: 1.5;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}

.doctor-card:hover .doctor-description {
    opacity: 1;
    max-height: 4.5em; /* approx 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show 3 lines */
    -webkit-box-orient: vertical;

}

/* ===============================
   CTA Circle Button (Arrow)
================================= */
.doctor-link {
    opacity: 0;
    transition: all 0.3s ease;
    background-color: rgba(87, 101, 191, 0.08);
    color: var(--color-green-600);
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.doctor-card:hover .doctor-link {
    opacity: 1 !important;
    background-color: var(--color-green-100) !important;
    color: var(--color-green-600) !important;
    transition: all 0.2s ease-in-out;
}

.doctor-card .doctor-link:hover{
    background-color: var(--color-green-200) !important;
    transition: all 0.2s ease-in-out;
}

.doctor-card p:hover{
    text-decoration: underline;
}


/* ===============================
   Optional: Responsive Tweaks
================================= */
@media (max-width: 576px) {
    .doctor-img {
        height: 200px;
    }

    .doctor-description {
        font-size: 0.8rem;
    }
}
