.specialists-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding-bottom: 3rem;
}

.specialists-header {
    text-align: center;
    margin-bottom: 4rem;
}

.specialists-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.specialists-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.specialists-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.specialist-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.specialist-image {
    margin-top: 1.5rem;
    height: 150px;
    overflow: hidden;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.specialist-image img {
    width: 100px;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.specialist-card:hover .specialist-image img {
    transform: scale(1.05);
}

.specialist-info {
    padding: 1.5rem;
}

.specialist-name {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.specialist-title {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.specialist-details {
    color: #666;
}

.specialist-details li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.specialist-details i {
    color: #3498db;
    margin-right: 0.5rem;
    width: 20px;
}

@media (max-width: 768px) {
    .specialists-section {
        padding: 2rem 0;
    }

    .specialists-header h1 {
        font-size: 2rem;
    }

    .specialist-image {
        height: 250px;
    }
} 