/************************************/
/***     Doctor Feature Card      ***/
/************************************/

.doctor-profile-card {
    border-radius: 0;
    padding: 0px;
    border: none;
    overflow: hidden;
}

.doctor-profile-card .row {
    margin: 0;
}

.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image figure {
    height: 100%;
    margin: 0;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    transition: transform 0.5s ease;
    border-radius: 15px;
}

.doctor-image:hover img {
    transform: scale(1.03);
}

.doctor-content {
    padding: 0;
    padding-left: 30px;
}

.doctor-title h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.doctor-title h3 {
    font-size: 24px;
    /* Large and readable */
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.doctor-title .designation {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.doctor-description p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.9;
}

.doctor-specialties {
    margin-bottom: 20px;
}

.doctor-specialties ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.doctor-specialties ul li {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 50px;
}

.doctor-specialties ul li i {
    color: var(--accent-color);
}

.doctor-contact-info {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-contact-info p {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.doctor-contact-info i {
    color: var(--accent-color);
    width: 20px;
}

.doctor-action {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .doctor-profile-card {
        padding: 0;
        overflow: hidden;
    }

    .doctor-image img {
        border-radius: 0;
        /* Only top corners rounded on mobile */
        min-height: 200px;
    }

    .doctor-content {
        padding: 0;
    }

    .doctor-title h3 {
        font-size: 26px;
    }
}

.small-specialties p {
    font-size: 14px;
    margin-bottom: 10px;
}

.small-specialties ul {
    gap: 8px;
}

.small-specialties ul li {
    font-size: 13px;
    padding: 6px 12px;
}