* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fbff 0%, #e6f3ff 50%, #d6ebff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
}

.doctor-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbff 100%);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(78, 115, 175, 0.15), 0 2px 8px rgba(78, 115, 175, 0.08);
    border: 1px solid rgba(78, 115, 175, 0.1);
    overflow: hidden;
    display: flex;
    min-height: 500px;
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(78, 115, 175, 0.2), 0 4px 12px rgba(78, 115, 175, 0.12);
}

.photo-section {
    flex: 1;
    background: linear-gradient(135deg, #f5f8ff 0%, #e8f1ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.doctor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(78, 115, 175, 0.2), 0 2px 10px rgba(78, 115, 175, 0.1);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8fa5c7;
    font-size: 14px;
    text-align: center;
}

.info-section {
    flex: 2;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.doctor-name {
    font-size: 1.3em;
    color: #1a365d;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.specialty {
    font-size: 1.2em;
    color: #4e73af;
    margin-bottom: 28px;
    font-weight: 500;
    opacity: 0.9;
}

.description {
    margin-bottom: 30px;
}

.description p {
    line-height: 1.7;
    color: #4a5568;
    font-size: 1.05em;
    font-weight: 400;
    text-align: justify;
}

.contact h3 {
    font-size: 1.3em;
    color: #1a365d;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-label {
    font-weight: 600;
    color: #4e73af;
    width: 80px;
    margin-right: 10px;
}

.contact-item a {
    color: #1a365d;
    text-decoration: none;
    font-size: 1.05em;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-item a:hover {
    color: #4e73af;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .doctor-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .photo-section {
        padding: 30px 20px;
    }
    
    .doctor-photo {
        width: 150px;
        height: 150px;
    }
    
    .info-section {
        padding: 30px 20px;
    }
    
    .doctor-name {
        font-size: 1.3em;
        text-align: center;
        line-height: 1.2;
        white-space: nowrap;
    }
    
    .specialty {
        font-size: 1.2em;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .description p {
        font-size: 1em;
    }
    
    .contact {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .contact-label {
        margin-right: 0;
        margin-bottom: 5px;
        width: auto;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .doctor-card {
        border-radius: 15px;
    }
    
    .photo-section,
    .info-section {
        padding: 20px;
    }
    
    .doctor-name {
        font-size: 1.0em;
        line-height: 1.2;
        white-space: nowrap;
    }
    
    .specialty {
        font-size: 1.1em;
    }
}