/* Doctors Page Styles */
:root {
    --primary-red: #ed1c23;
    --primary-green: #479442;
    --text-dark: #130803;
    --text-light: #4c4440;
    --white: #FDFDFD;
    --bg-gray: #f4f8f9;
    --border-color: #eee;
}

.doctors-listing-section {
    padding: 60px 0;
    background-color: var(--bg-gray);
}

.section-title {
    text-align: center;
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.6;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.card-header {
    padding: 25px;
    display: flex;
    gap: 20px;
    position: relative;
}

.doc-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

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

.doc-info {
    flex-grow: 1;
}

.doc-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.doc-desig {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.doc-dept {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.view-profile {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.doc-loc {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.share-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    opacity: 0.6;
}

.card-tabs {
    display: flex;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    text-align: center;
}

.tab-link.active {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

.card-content {
    padding: 20px 25px;
    flex-grow: 1;
    min-height: 150px;
}

.exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.exp-list li {
    font-size: 13px;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.exp-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.card-footer {
    padding: 20px;
    text-align: center;
}

.meet-btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.meet-btn:hover {
    background-color: #d60d2d;
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
}
